Repository navigation
Expand file tree
/
Copy pathversion-tag.css
More file actions
117 lines (104 loc) · 2.25 KB
/
Copy pathversion-tag.css
File metadata and controls
117 lines (104 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/* Clickable version tag + build-details popover (see docs/version-tag.md). */
.version-tag {
position: relative;
display: inline-block;
}
.version-tag-button {
margin: 0;
padding: 0;
border: 0;
background: none;
font: inherit;
font-size: inherit;
color: inherit;
letter-spacing: inherit;
text-decoration: none;
cursor: pointer;
}
.version-tag-button:hover,
.version-tag-button:focus-visible {
text-decoration: underline;
text-underline-offset: 2px;
}
.version-tag-popover {
position: absolute;
right: 0;
bottom: calc(100% + 8px);
z-index: 30;
box-sizing: border-box;
width: max-content;
max-width: calc(100vw - 24px);
padding: 4px 8px;
border-radius: 6px;
border: 1px solid rgba(246, 239, 224, 0.12);
background: rgba(15, 42, 31, 0.96);
color: rgba(246, 239, 224, 0.72);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
text-align: left;
line-height: 1.2;
font-family: var(--body, "Jost", Futura, "Century Gothic", sans-serif);
font-style: normal;
font-weight: 400;
font-variation-settings: normal;
}
.version-tag-meta {
margin: 0;
min-height: 0;
display: flex;
flex-wrap: nowrap;
gap: 0;
align-items: baseline;
line-height: 1.2;
font-size: 9px;
letter-spacing: 0.04em;
color: rgba(246, 239, 224, 0.45);
font-family: inherit;
font-style: normal;
font-weight: inherit;
font-variation-settings: normal;
}
.version-tag-version {
flex: 0 0 auto;
white-space: nowrap;
font-weight: 600;
color: rgba(246, 239, 224, 0.72);
}
.version-tag-updated-line {
flex: 0 0 auto;
white-space: nowrap;
}
.version-tag-tail {
flex: 0 0 auto;
white-space: nowrap;
}
.version-tag-updated-label {
font-weight: 600;
}
.version-tag-sep {
color: rgba(246, 239, 224, 0.35);
}
.version-tag-changelog {
font-size: inherit;
letter-spacing: inherit;
font-family: inherit;
font-style: normal;
font-variation-settings: normal;
color: inherit;
text-decoration: none;
}
.version-tag-changelog:hover,
.version-tag-changelog:focus-visible {
color: rgba(246, 239, 224, 0.72);
text-decoration: underline;
text-underline-offset: 2px;
}
@media (max-width: 402px) {
.version-tag-popover {
right: 0;
left: auto;
max-width: calc(100vw - 32px);
}
.version-tag-meta {
flex-wrap: wrap;
}
}