Repository navigation
Expand file tree
/
Copy pathhero.css
More file actions
291 lines (245 loc) · 4.95 KB
/
Copy pathhero.css
File metadata and controls
291 lines (245 loc) · 4.95 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
284
285
286
287
288
289
290
291
/* Homepage hero: introduction and four small figures, one per strand of the
group's work. The colours match the site theme and switch with Quarto's
dark mode. */
:root {
--ef-surface: #ffffff;
--ef-teal-bright: #17a398;
--ef-coral: #e4572e;
--ef-muted: #5c6b7a;
--ef-rule: #e3e1da;
--ef-fit: #14213d;
--ef-band-inner: rgba(228, 87, 46, 0.30);
--ef-band-outer: rgba(228, 87, 46, 0.13);
--ef-card-shadow: 0 1px 2px rgba(20, 33, 61, 0.06), 0 6px 20px rgba(20, 33, 61, 0.06);
}
body.quarto-dark {
--ef-surface: #161f30;
--ef-teal-bright: #3dd6c4;
--ef-coral: #ff7a59;
--ef-muted: #9aa7b6;
--ef-rule: #263247;
--ef-fit: #e3e8ef;
--ef-band-inner: rgba(255, 122, 89, 0.34);
--ef-band-outer: rgba(255, 122, 89, 0.14);
--ef-card-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
}
/* The hero carries the page's heading, so Quarto's title block is not shown;
the title still names the page in the browser tab */
#title-block-header {
display: none;
}
.ef-wrap {
max-width: 1180px;
margin: 0 auto;
padding: 0 1.25rem;
}
/* Hero */
.ef-hero {
background: transparent;
border-bottom: 1px solid var(--ef-rule);
padding: 1.75rem 0 2.5rem;
margin-bottom: 2.5rem;
}
.ef-hero-grid {
display: grid;
grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
gap: 2.5rem;
align-items: center;
}
.ef-hero h1 {
font-size: clamp(2rem, 4.2vw, 3.1rem);
line-height: 1.08;
letter-spacing: -0.025em;
font-weight: 700;
margin: 0 0 1.1rem;
}
.ef-lead {
font-size: 1.12rem;
color: var(--ef-muted);
max-width: 34rem;
}
/* Four panels in a 2 by 2 grid; each title is on hover and its description
is the figure's accessible label */
.ef-panels {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.9rem;
}
.ef-panel {
margin: 0;
padding: 0.4rem;
background: var(--ef-surface);
border: 1px solid var(--ef-rule);
border-radius: 12px;
box-shadow: var(--ef-card-shadow);
}
.ef-panel-svg {
display: block;
width: 100%;
height: auto;
}
.ef-axis {
stroke: var(--ef-rule);
stroke-width: 1.5;
}
.ef-now,
.ef-ref {
stroke: var(--ef-muted);
stroke-width: 1.3;
stroke-dasharray: 4 5;
}
.ef-fit {
fill: none;
stroke: var(--ef-fit);
stroke-width: 2.2;
stroke-linecap: round;
stroke-linejoin: round;
opacity: 0.85;
}
.ef-band-outer {
fill: var(--ef-band-outer);
}
.ef-band-inner {
fill: var(--ef-band-inner);
}
.ef-median {
fill: none;
stroke: var(--ef-coral);
stroke-width: 2.2;
stroke-dasharray: 6 5;
}
.ef-obs.past,
.ef-case {
fill: var(--ef-fit);
}
.ef-obs.inside {
fill: var(--ef-teal-bright);
stroke: var(--ef-surface);
stroke-width: 1.2;
}
.ef-obs.outside {
fill: var(--ef-surface);
stroke: var(--ef-coral);
stroke-width: 2;
}
.ef-bar {
fill: var(--ef-fit);
opacity: 0.8;
}
.ef-edge {
fill: none;
stroke: var(--ef-muted);
stroke-width: 1.2;
opacity: 0.7;
}
.ef-traced {
fill: var(--ef-surface);
stroke: var(--ef-teal-bright);
stroke-width: 2;
}
.ef-flow {
fill: none;
stroke: var(--ef-muted);
stroke-opacity: 0.45;
}
.ef-flow.other {
stroke-opacity: 0.2;
}
.ef-other {
fill: var(--ef-surface);
stroke: var(--ef-muted);
stroke-width: 2;
}
.ef-analysis {
fill: var(--ef-teal-bright);
}
.ef-decision {
fill: var(--ef-coral);
}
.ef-row-label {
fill: var(--ef-muted);
font-size: 15px;
}
/* The theme each panel stands for */
.ef-panel figcaption {
padding: 0.15rem 0.3rem 0.1rem;
font-size: 0.82rem;
color: var(--ef-muted);
text-align: center;
}
@media (max-width: 991px) {
.ef-hero-grid {
grid-template-columns: minmax(0, 1fr);
}
}
/* Homepage sections below the introduction */
.ef-pkgs {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.9rem;
margin: 1rem 0 0.75rem;
}
.ef-pkg {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 0.9rem 0.6rem;
background: var(--ef-surface);
border: 1px solid var(--ef-rule);
border-radius: 12px;
box-shadow: var(--ef-card-shadow);
text-decoration: none;
color: inherit;
transition: transform 0.15s ease;
}
.ef-pkg:hover {
transform: translateY(-2px);
}
.ef-pkg img {
height: 92px;
width: auto;
margin-bottom: 0.5rem;
}
.ef-pkg-name {
font-weight: 600;
}
.ef-pkg-what {
font-size: 0.85rem;
color: var(--ef-muted);
line-height: 1.3;
}
.ef-more {
display: inline-block;
margin-right: 1.25rem;
font-weight: 600;
}
.ef-more::after {
content: " →";
}
.ef-pubs {
list-style: none;
padding: 0;
margin: 1rem 0 0.75rem;
}
.ef-pubs li {
padding: 0.7rem 0;
border-bottom: 1px solid var(--ef-rule);
}
.ef-pubs li a {
font-weight: 600;
text-decoration: none;
}
.ef-pub-meta {
display: block;
font-size: 0.88rem;
color: var(--ef-muted);
}
.ef-join {
margin: 2.5rem 0 1rem;
padding: 1.1rem 1.3rem;
border-left: 4px solid var(--ef-teal-bright);
background: var(--ef-surface);
border-radius: 0 12px 12px 0;
box-shadow: var(--ef-card-shadow);
}