Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
75 lines (70 loc) · 4.52 KB
/
Copy pathstyles.css
File metadata and controls
75 lines (70 loc) · 4.52 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
:root {
color-scheme: light;
--background: #f8f9f5;
--paper: #fff;
--ink: #172923;
--muted: #475950;
--green: #235d49;
--line: #d7e1d8;
--tint: #eaf2eb;
--serif: Georgia, "Songti SC", "Noto Serif CJK SC", serif;
--sans: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 2px; }
h1, h2, p, dl, dd { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.12; }
sup { line-height: 0; }
[id] { scroll-margin-top: 1.25rem; }
.wrap { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; translate: 0 -150%; background: var(--paper); padding: .4rem .8rem; }
.skip:focus { translate: 0; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .site-header nav, .brand { display: flex; align-items: center; }
.header-inner { min-height: 4.5rem; justify-content: space-between; gap: .8rem 1.5rem; flex-wrap: wrap; }
.site-header nav { gap: .5rem clamp(1rem, 3vw, 2rem); flex-wrap: wrap; }
.site-header a { text-decoration: none; font-size: .9rem; }
.site-header a:hover { text-decoration: underline; }
.brand { color: var(--ink); font-weight: 700; gap: .65rem; }
.brand span { display: grid; place-items: center; background: var(--green); color: white; width: 2rem; aspect-ratio: 1; border-radius: .35rem; font: .8rem/1 var(--serif); }
.hero { max-width: 48rem; padding-block: clamp(2.8rem, 7vw, 5rem); }
.eyebrow { font-size: .72rem; color: var(--green); text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
.hero h1 { margin-block: .5rem 1.1rem; font-size: clamp(3.2rem, 6.6vw, 5.7rem); letter-spacing: -.06em; }
.hero h1 span { display: block; margin-top: .55rem; font-size: .34em; letter-spacing: .13em; color: var(--green); }
.intro { max-width: 36rem; font-size: clamp(1.06rem, 2vw, 1.22rem); }
.affiliation { margin-top: .85rem; color: var(--muted); }
.hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.4rem; margin-top: 1.5rem; font-size: .9rem; font-weight: 650; }
.primary { display: inline-flex; gap: .75rem; color: white; background: var(--green); border-radius: .45rem; padding: .62rem 1rem; text-decoration: none; }
.primary:hover { background: var(--ink); color: white; }
.section { border-top: 1px solid var(--line); padding-block: clamp(2.3rem, 6vw, 4rem); }
.section-heading { margin-bottom: 1.65rem; }
.section-heading h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -.045em; }
.section-heading p { color: var(--muted); margin-top: .45rem; }
.paper-topic { margin: 0 0 .55rem; color: var(--green); font-size: 1rem; }
.papers + .paper-topic { margin-top: 1.5rem; }
.papers { padding: 0; margin: 0; list-style: none; }
.papers li { display: grid; grid-template-columns: 8.75rem minmax(0, 1fr); align-items: start; gap: .5rem 1.25rem; border-top: 1px solid var(--line); padding: 1rem .45rem; }
.papers li:last-child { border-bottom: 1px solid var(--line); }
.papers li:target { background: var(--tint); }
.badge { justify-self: start; color: var(--muted); background: #edf0eb; padding: .18rem .5rem; border-radius: .25rem; font-size: .73rem; font-weight: 650; white-space: nowrap; }
.journal { color: var(--green); background: var(--tint); }
.papers h3 { font-size: 1rem; line-height: 1.45; margin: 0 0 .25rem; }
.papers h3 a { color: var(--ink); text-decoration: none; }
.papers h3 a:hover { color: var(--green); text-decoration: underline; }
.papers p { color: var(--muted); font-size: .86rem; }
.papers strong { color: var(--ink); }
.background-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.background-grid h3 { font-size: 1rem; margin: 0 0 .75rem; }
.background-grid dt { font-size: .94rem; font-weight: 650; }
.background-grid dd { font-size: .88rem; color: var(--muted); }
.background-grid dd + dt { margin-top: .75rem; }
.footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.25rem; padding-block: 1.25rem 2rem; color: var(--muted); font-size: .84rem; }
@media (max-width: 40rem) {
.wrap { width: calc(100% - 2rem); }
.header-inner { min-height: 0; padding-block: .75rem; }
.background-grid { grid-template-columns: minmax(0, 1fr); }
.papers li { grid-template-columns: minmax(0, 1fr); padding-inline: .15rem; }
}