-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
177 lines (162 loc) · 6.02 KB
/
Copy pathstyle.css
File metadata and controls
177 lines (162 loc) · 6.02 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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/* Cabin — the closest freely-available match to Gill Sans (mirrors the main Unary Lab site) */
@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
:root {
--text: #333;
--heading: #111;
--muted: #666;
--faint: #888;
--border: #eee;
--border-strong: #ddd;
--link: navy;
--header-bg: #B0B5AB;
--header-border: #9da29a;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: "Gill Sans", "Gill Sans MT", "Gill Sans Nova", Cabin, Calibri, sans-serif;
font-size: 18px;
line-height: 1.6;
color: var(--text);
background: #fff;
}
a { color: var(--text); text-decoration: underline; }
a:hover { color: #000; }
.container {
max-width: 900px;
margin: 0 auto;
padding: 0 32px;
}
main { padding: 32px 0 72px; }
/* ── Site header ────────────────────────────────────── */
.site-header {
background: var(--header-bg);
border-bottom: 1px solid var(--header-border);
position: relative;
}
.nav-inner {
max-width: 900px;
margin: 0 auto;
padding: 0 32px;
display: flex;
align-items: center;
justify-content: space-between;
min-height: 72px;
}
.site-copy { flex: 1; text-align: center; }
.site-title {
font-family: "Gill Sans", "Gill Sans MT", "Gill Sans Nova", Cabin, Calibri, sans-serif;
font-weight: 700;
font-size: 18px;
color: #1a1a1a;
text-decoration: none;
display: flex;
flex-direction: column;
align-items: center;
gap: 3px;
flex-shrink: 0;
padding: 10px 0;
}
.site-title:hover { color: #000; text-decoration: none; }
.nav-logo { height: 48px; width: auto; display: block; }
.site-heading { font-size: 25px; font-weight: 700; color: var(--heading); margin-bottom: 4px; }
.site-description { color: #444; font-size: 15px; }
.site-description a { color: var(--link); }
.site-description a:hover { color: #000033; }
/* ── Page header ─────────────────────────────────────── */
.page-header { margin-bottom: 32px; }
.page-title { font-size: 18px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.contributors { color: var(--muted); font-size: 15px; padding-left: 20px; }
/* ── Sections ────────────────────────────────────────── */
.section { margin-bottom: 44px; }
.section-title {
font-size: 18px;
font-weight: 700;
color: var(--heading);
border-bottom: 1px solid var(--border-strong);
padding-bottom: 6px;
margin-bottom: 18px;
}
/* ── Filters ─────────────────────────────────────────── */
.filters {
display: flex;
flex-wrap: wrap;
gap: 20px;
align-items: flex-end;
margin-bottom: 32px;
}
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-group label { font-size: 13px; font-weight: 600; color: var(--faint); }
select {
padding: 7px 12px;
border: 1px solid var(--border-strong);
border-radius: 2px;
font-size: 15px;
font-family: inherit;
background: #fff;
color: var(--text);
cursor: pointer;
min-width: 150px;
}
select:focus { outline: none; border-color: var(--faint); }
/* ── Metric / setup cards ────────────────────────────── */
.metrics-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 14px;
}
.metric-card {
padding: 12px 14px;
border: 1px solid var(--border);
border-left: 3px solid var(--header-bg);
border-radius: 2px;
}
.metric-card .name { font-weight: 700; font-size: 15px; color: var(--heading); margin-bottom: 3px; }
.metric-card .desc { font-size: 14px; color: var(--muted); line-height: 1.5; }
.metric-card .better { font-size: 13px; margin-top: 4px; color: var(--faint); font-weight: 600; }
/* ── Leaderboard table ───────────────────────────────── */
.table-container { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--border); }
th {
font-weight: 700;
color: var(--heading);
font-size: 14px;
border-bottom: 2px solid var(--border-strong);
cursor: pointer;
user-select: none;
white-space: nowrap;
}
th:hover { color: #000; }
th.sorted-asc::after { content: ' ▲'; font-size: 11px; color: var(--faint); }
th.sorted-desc::after { content: ' ▼'; font-size: 11px; color: var(--faint); }
th.no-sort { cursor: default; }
th.no-sort:hover { color: var(--heading); }
tbody tr:hover { background: #f6f6f4; }
.rank { font-weight: 700; width: 60px; color: var(--heading); }
.rank-1 { color: #c8951b; }
.rank-2 { color: #8a8a8a; }
.rank-3 { color: #a05a1e; }
.medal { font-size: 1.15rem; }
.team-name { font-weight: 600; color: var(--heading); width: 115px; }
.loading { text-align: center; padding: 48px; color: var(--faint); }
.no-data { text-align: center; padding: 32px; color: var(--faint); font-style: italic; }
/* ── Charts ──────────────────────────────────────────── */
.charts-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 20px;
}
.chart-container {
border: 1px solid var(--border);
border-radius: 2px;
padding: 14px;
position: relative;
height: 280px;
}
/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
.container, .nav-inner { padding: 0 16px; }
.site-heading { font-size: 22px; }
.filters { flex-direction: column; align-items: stretch; }
select { width: 100%; }
}