Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
283 lines (271 loc) · 9.83 KB
/
Copy pathstyle.css
File metadata and controls
283 lines (271 loc) · 9.83 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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
:root {
color-scheme: light;
--dark: #142236;
--dark-deep: #0b1729;
--dark-text: #edf3fb;
--background: #eef2f6;
--panel: #fff;
--line: #dbe2ec;
--text: #1b2a3c;
--muted: #4d5e73;
--accent: #254d82;
--accent-warm: #fbd8a6;
--page-width: 72rem;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
font-size: 100%;
line-height: 1.65;
color: var(--text);
background: var(--background);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.19em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 0.2rem; }
.shell { width: min(var(--page-width), calc(100% - 3rem)); margin-inline: auto; }
.skip-link {
position: fixed;
z-index: 5;
top: 0.85rem;
left: 0.85rem;
padding: 0.45rem 0.85rem;
transform: translateY(-250%);
border-radius: 0.4rem;
color: var(--dark);
background: var(--accent-warm);
}
.skip-link:focus { transform: translateY(0); }
.site-top { background: var(--dark-deep); }
.site-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.45rem 1.5rem;
min-height: 4.55rem;
padding-block: 0.75rem;
color: var(--dark-text);
border-bottom: 1px solid #ffffff17;
}
.brand {
color: inherit;
font-size: 1.08rem;
font-weight: 700;
letter-spacing: 0.015em;
text-decoration: none;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 0.12rem 1.35rem; }
.site-nav a {
padding-block: 0.28rem;
color: #c5d2e3;
font-size: 0.94rem;
font-weight: 550;
text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current='page'] { color: #fff; text-decoration: underline; }
.banner {
position: relative;
isolation: isolate;
color: var(--dark-text);
background: radial-gradient(ellipse at 88% 41%, #2d4962 0%, transparent 45%),
linear-gradient(115deg, #0d192c 14%, #182e47 77%, #13263d 100%);
}
.banner::before {
position: absolute;
z-index: -1;
inset: 0;
background:
radial-gradient(ellipse at 77% 72%, #e0a06b62, transparent 15%),
radial-gradient(ellipse at 78% 72%, #bf794152, transparent 34%),
repeating-radial-gradient(ellipse at 79% 74%, transparent 0 21px, #b8c9e31c 23px 24px, transparent 26px 43px),
repeating-linear-gradient(146deg, transparent 0 23px, #abc4dd19 24px, transparent 25px 53px);
mask-image: linear-gradient(100deg, transparent 22%, #000 72%);
content: '';
pointer-events: none;
}
.banner-inner {
position: relative;
padding-block: clamp(4.3rem, 7.6vw, 7.6rem) clamp(6.3rem, 10vw, 9.3rem);
}
.eyebrow {
margin: 0 0 0.9rem;
color: var(--accent-warm);
font-size: 0.87rem;
font-weight: 660;
letter-spacing: 0.07em;
}
.banner h1 {
max-width: 18ch;
margin: 0;
font-size: clamp(2.7rem, 7.6vw, 6.2rem);
font-weight: 695;
line-height: 0.99;
letter-spacing: -0.055em;
text-wrap: balance;
}
.banner-description {
max-width: 38rem;
margin: 1rem 0 0;
color: #d5e1ef;
font-size: clamp(1.02rem, 2.2vw, 1.25rem);
line-height: 1.5;
}
.content-layout {
position: relative;
display: grid;
grid-template-columns: minmax(0, 2.47fr) minmax(13rem, 1fr);
align-items: start;
gap: clamp(1rem, 2.6vw, 2rem);
margin-top: -3.65rem;
}
.content-layout.subpage-layout { margin-top: 2rem; }
.feed, .sidebar { min-width: 0; }
.feed > .post-card + .section { margin-top: 1.65rem; }
.section-heading {
display: flex;
justify-content: space-between;
align-items: baseline;
flex-wrap: wrap;
gap: 0.35rem 1rem;
margin-bottom: 0.82rem;
}
.section-heading .section-title, .section-heading .read-link { margin: 0; }
.project-feed, .publication-list, .detail-list { margin: 0; padding: 0; list-style: none; }
.project-feed { display: grid; gap: 1.15rem; }
.section { margin-bottom: 2.2rem; scroll-margin-top: 1.25rem; }
.section-title { margin: 0 0 0.82rem; font-size: clamp(1.42rem, 3.3vw, 2rem); line-height: 1.25; }
.post-card, .profile-card, .sidebar-section {
overflow: hidden;
border: 1px solid var(--line);
border-radius: 0.8rem;
background: var(--panel);
box-shadow: 0 0.3rem 0.9rem #2135510a;
}
.post-body { padding: clamp(1.15rem, 3vw, 1.9rem); }
.post-card h2, .post-card h3 {
margin: 0;
font-size: clamp(1.25rem, 3.6vw, 1.75rem);
font-weight: 680;
line-height: 1.2;
letter-spacing: -0.019em;
text-wrap: pretty;
}
.post-card h2 a, .post-card h3 a { color: var(--text); text-decoration-color: #9aabc1; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--accent); }
.post-meta {
margin: 0 0 0.48rem;
color: var(--accent);
font-size: 0.93rem;
font-weight: 650;
}
.details { margin: 0.55rem 0 0; color: var(--muted); }
.read-link {
display: inline-block;
margin-top: 0.8rem;
color: var(--accent);
font-size: 0.93rem;
font-weight: 700;
}
.read-link:hover, .back-link:hover { color: #102b4f; }
.post-cover {
min-height: clamp(7.5rem, 15vw, 12rem);
border-bottom: 1px solid var(--line);
background-color: #18324d;
}
.cover-thermal {
background-image: repeating-radial-gradient(ellipse at 72% 60%, transparent 0 14px, #f0d9b13d 16px 17px, transparent 19px 34px),
radial-gradient(ellipse at 72% 60%, #ffd598 0%, #bd7050 10%, #5b4b5d 27%, transparent 56%),
linear-gradient(110deg, #233954, #16304a 51%, #3a3f50);
}
.cover-field {
background-image: repeating-radial-gradient(ellipse at 44% 110%, transparent 0 17px, #a9c8e03d 19px 20px, transparent 22px 40px),
radial-gradient(ellipse at 44% 100%, #d2a477, #4d5f7c 30%, transparent 55%),
linear-gradient(95deg, #1b334f, #192942 65%, #566477);
}
.cover-monitoring {
background-image: radial-gradient(ellipse at 72% 53%, #7db3c4 0%, #375b78 15%, transparent 33%),
linear-gradient(154deg, transparent 39%, #a8c8d233 39.5% 40%, transparent 40.5% 57%, #a8c8d232 57.5% 58%, transparent 58.5%),
repeating-linear-gradient(90deg, #91b9d224 0 1px, transparent 1px 20px),
repeating-linear-gradient(0deg, #91b9d21c 0 1px, transparent 1px 20px),
linear-gradient(105deg, #162b45, #345774);
}
.cover-solver {
background-image: repeating-linear-gradient(27deg, #b1c3e42b 0 1px, transparent 1px 33px),
repeating-linear-gradient(152deg, #b1c3e42b 0 1px, transparent 1px 34px),
radial-gradient(ellipse at 60% 70%, #5d779c 0%, #304d6b 30%, transparent 58%),
linear-gradient(110deg, #25364f, #172d46 65%, #31465e);
}
.profile-card { display: grid; align-content: start; }
.portrait { width: 100%; height: auto; aspect-ratio: 344 / 250; object-fit: cover; object-position: center 36%; }
.profile-body { min-width: 0; padding: 1.15rem; }
.profile-body h2, .sidebar-section h2 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.profile-body .details, .sidebar-section li { font-size: 0.94rem; }
.profile-links {
display: flex;
flex-wrap: wrap;
gap: 0.22rem 0.8rem;
margin-top: 0.75rem;
}
.profile-links a { font-size: 0.92rem; font-weight: 650; }
.sidebar-section { margin-top: 1rem; padding: 1.1rem 1.15rem; }
.sidebar-section ul { margin: 0.7rem 0 0; padding-inline-start: 1.15rem; color: var(--muted); }
.publication-list, .detail-list { border-top: 1px solid var(--line); }
.publication {
display: grid;
grid-template-columns: 3.5rem minmax(0, 1fr);
gap: 0.2rem 0.9rem;
padding: 0.95rem 0.25rem;
border-bottom: 1px solid var(--line);
scroll-margin-top: 1.25rem;
}
.publication:target { background: #e3ebf6; }
.publication-year { margin: 0; color: var(--accent); font-weight: 680; }
.publication-copy { min-width: 0; }
.post-card .publication h2, .detail-list h3 { margin: 0; font-size: 1.03rem; line-height: 1.4; letter-spacing: normal; }
.publication .details, .detail-list .details { margin-top: 0.2rem; font-size: 0.94rem; }
.detail-list > li { padding: 0.77rem 0; border-bottom: 1px solid var(--line); }
.project-page { max-width: 54rem; padding-block: 2rem 3rem; }
.page-title, .post-body h1 { margin: 0; font-size: clamp(1.85rem, 4vw, 2.7rem); line-height: 1.09; letter-spacing: -0.035em; }
.page-title, .post-body h1.section-title { margin-bottom: 1.15rem; }
.project-detail, .project-back { display: none; }
.project-detail:target { display: block; scroll-margin-top: 4.75rem; }
.project-page:has(.project-detail:target) .project-index { display: none; }
.project-page:has(.project-detail:target) .project-back { display: inline-block; }
.back-link { margin-bottom: 1rem; font-weight: 650; }
.article-content { max-width: 68ch; }
.article-content p { margin-block: 0.9rem; }
.article-sources { margin-top: 1.2rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.site-footer {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.55rem 1rem;
padding-block: 1rem 1.5rem;
border-top: 1px solid var(--line);
color: var(--muted);
font-size: 0.91rem;
}
.site-footer p { margin: 0; }
@media (max-width: 47rem) {
.shell { width: min(var(--page-width), calc(100% - 2rem)); }
.site-header { min-height: 3.9rem; }
.site-nav { column-gap: 0.9rem; }
.site-nav a { font-size: 0.88rem; }
.banner-inner { padding-block: 3.5rem 5.9rem; }
.content-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: -2.75rem; }
.sidebar { order: -1; }
.subpage-layout .sidebar { order: 0; }
.profile-card { grid-template-columns: minmax(5.1rem, 0.29fr) minmax(0, 1fr); align-items: center; }
.portrait { align-self: stretch; width: 100%; height: 100%; min-height: 5.5rem; aspect-ratio: auto; }
.profile-body { padding: 0.8rem 0.92rem; }
.sidebar-section { margin-top: 0.7rem; padding: 0.75rem 0.92rem; }
.sidebar-section ul { display: flex; flex-wrap: wrap; gap: 0.2rem 1.2rem; margin-top: 0.3rem; }
}
@media (max-width: 25rem) {
.site-header { gap: 0.3rem 1rem; }
.site-nav { flex: 1 0 100%; justify-content: space-between; gap: 0.1rem 0.55rem; }
.banner-inner { padding-block: 2.6rem 4.85rem; }
.banner h1 { font-size: clamp(2.35rem, 11vw, 3.2rem); }
.publication { grid-template-columns: minmax(0, 1fr); }
.post-body { padding: 1.1rem; }
}