-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
162 lines (151 loc) · 4.97 KB
/
Copy pathstyle.css
File metadata and controls
162 lines (151 loc) · 4.97 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
/* ComparEdge open dataset - shared stylesheet */
:root {
--bg: #ffffff;
--surface: #f7f8fa;
--surface-2: #eef1f5;
--border: #e2e6ec;
--ink: #161b22;
--text: #2b323c;
--muted: #5c6470;
--accent: #0f766e;
--accent-dark: #0b5750;
--accent-soft: #e6f2f0;
--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--maxw: 900px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0;
font-family: var(--sans);
color: var(--text);
background: var(--bg);
line-height: 1.62;
font-size: 17px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
/* Header */
.site-header {
border-bottom: 1px solid var(--border);
background: var(--bg);
}
.site-header .wrap {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding-top: 16px;
padding-bottom: 16px;
flex-wrap: wrap;
}
.brand {
display: flex;
align-items: center;
gap: 10px;
font-weight: 650;
color: var(--ink);
font-size: 16px;
}
.brand:hover { text-decoration: none; }
.brand .mark {
width: 24px; height: 24px;
border-radius: 6px;
background: var(--accent);
display: inline-flex; align-items: center; justify-content: center;
}
.brand .mark svg { display: block; }
nav.main a {
color: var(--muted);
font-size: 15px;
margin-left: 18px;
}
nav.main a:hover { color: var(--ink); text-decoration: none; }
nav.main a.ext::after { content: " \2197"; font-size: 12px; color: var(--muted); }
/* Hero / main */
main { padding: 40px 0 8px; }
h1 {
font-size: 33px;
line-height: 1.18;
color: var(--ink);
margin: 0 0 14px;
letter-spacing: -0.01em;
font-weight: 700;
}
.lede { font-size: 19px; color: var(--muted); margin: 0 0 26px; }
h2 {
font-size: 23px;
color: var(--ink);
margin: 40px 0 12px;
letter-spacing: -0.005em;
font-weight: 660;
}
h3 { font-size: 18px; color: var(--ink); margin: 28px 0 8px; }
p { margin: 0 0 16px; }
main a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; text-decoration-color: rgba(15,118,110,0.35); }
main a:hover { text-decoration-color: var(--accent-dark); }
/* Stat strip */
.stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1px;
background: var(--border);
border: 1px solid var(--border);
border-radius: 10px;
overflow: hidden;
margin: 4px 0 30px;
}
.stat { background: var(--surface); padding: 16px 18px; }
.stat .num { font-size: 26px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat .lab { font-size: 13px; color: var(--muted); margin-top: 2px; }
/* Tables */
.table-wrap { overflow-x: auto; margin: 18px 0 22px; border: 1px solid var(--border); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
caption { caption-side: bottom; text-align: left; color: var(--muted); font-size: 13px; padding: 10px 14px; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
thead th { background: var(--surface-2); color: var(--ink); font-weight: 620; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--surface); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); }
td.wrap-cell { white-space: normal; }
.yes { color: var(--accent-dark); font-weight: 600; }
.no { color: var(--muted); }
/* Category distribution bars */
.bars { margin: 18px 0 26px; }
.bar-row { display: grid; grid-template-columns: 160px 1fr 40px; align-items: center; gap: 12px; margin: 7px 0; font-size: 14px; }
.bar-row .cname { color: var(--text); }
.bar-track { background: var(--surface-2); border-radius: 5px; height: 12px; overflow: hidden; }
.bar-fill { background: var(--accent); height: 100%; border-radius: 5px; }
.bar-row .cnum { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-family: var(--mono); font-size: 13px; }
/* Callout */
.note {
background: var(--accent-soft);
border: 1px solid #cfe6e2;
border-radius: 10px;
padding: 14px 18px;
margin: 22px 0;
font-size: 15px;
color: #244742;
}
.note a { color: var(--accent-dark); }
/* Footer */
.site-footer {
border-top: 1px solid var(--border);
margin-top: 50px;
padding: 26px 0 44px;
color: var(--muted);
font-size: 14px;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
@media (max-width: 620px) {
body { font-size: 16px; }
h1 { font-size: 27px; }
.lede { font-size: 17px; }
.stats { grid-template-columns: repeat(2, 1fr); }
.bar-row { grid-template-columns: 120px 1fr 34px; }
nav.main a { margin-left: 14px; }
}