Repository navigation
Expand file tree
/
Copy pathcv.css
More file actions
149 lines (147 loc) · 6.6 KB
/
Copy pathcv.css
File metadata and controls
149 lines (147 loc) · 6.6 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
/* The CV uses the same two typefaces, on a white document surface. */
:root {
--cv-accent: #235c50;
--cv-text: #242e2b;
--cv-gray: #58625d;
--cv-rule: #d1d7cf;
}
.cv-toolbar {
max-width: 210mm;
margin: 0 auto 1rem;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 0.75rem;
font-size: 0.8rem;
color: var(--text-2);
}
.cv-print {
background: var(--accent);
border: 1px solid var(--accent);
color: #fff;
font: 600 0.88rem/1.5 var(--font-sans);
min-height: 44px;
padding: 0.5rem 1rem;
border-radius: 3px;
cursor: pointer;
}
.cv-print:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.cv-sheet {
box-sizing: border-box;
width: 100%;
max-width: 210mm;
margin: 0 auto 2rem;
padding: 13mm 14mm;
background: #fff;
color: var(--cv-text);
border: 1px solid var(--cv-rule);
box-shadow: 0 4px 24px #242e2b0a;
font: 400 10.5pt/1.45 var(--font-sans);
overflow-wrap: anywhere;
}
.cv-sheet p { margin: 0; font-size: inherit; line-height: inherit; }
.cv-sheet a { color: var(--cv-accent); text-decoration: underline; text-underline-offset: 0.13em; }
.cv-sheet a:hover { color: var(--accent-hover); }
.cv-sep { color: var(--cv-gray); margin: 0 0.15rem; }
.cv-header { padding-bottom: 0.9rem; border-bottom: 2px solid var(--cv-accent); }
.cv-name { font: 500 29pt/1.15 var(--font-serif); letter-spacing: -0.035em; margin: 0 0 0.55rem; color: var(--cv-text); }
.cv-first, .cv-last { font-weight: inherit; }
.cv-header .cv-position { color: var(--cv-accent); font-size: 10pt; font-weight: 600; margin-top: 0.25rem; }
.cv-header .cv-affil { color: var(--cv-gray); font-size: 9pt; margin-top: 0.2rem; }
.cv-header .cv-contact { color: var(--cv-gray); font-size: 9pt; line-height: 1.7; margin-top: 0.55rem; }
.cv-section { margin-top: 1.1rem; }
.cv-sheet h2 {
font: 600 13pt/1.3 var(--font-serif);
color: var(--cv-accent);
margin: 0 0 0.55rem;
padding: 0 0 0.2rem;
border-bottom: 1px solid var(--cv-rule);
letter-spacing: -0.01em;
text-transform: none;
}
.cv-h2-accent { color: inherit; }
.cv-sheet h3 { font: 600 10.5pt/1.4 var(--font-sans); color: var(--cv-text); margin: 0.75rem 0 0.25rem; }
.cv-entry { margin-bottom: 0.85rem; break-inside: avoid; }
.cv-entry:last-child { margin-bottom: 0; }
.cv-entry-row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.cv-entry-row > * { min-width: 0; }
.cv-entry-title { flex: 1; font-weight: 700; }
.cv-gpa { font-weight: 400; color: var(--cv-gray); font-size: 9pt; }
.cv-entry-date { flex: 0 1 36%; text-align: right; color: var(--cv-accent); font-size: 9pt; }
.cv-entry-org { flex: 1; font-size: 9.5pt; color: var(--cv-gray); }
.cv-entry-loc { flex: 0 1 30%; text-align: right; font-size: 9pt; color: var(--cv-gray); }
.cv-items { margin: 0.3rem 0 0; padding-left: 1.05rem; font-size: 9.5pt; color: var(--cv-gray); }
.cv-items li { margin: 0 0 0.2rem; line-height: 1.45; }
.cv-items li::marker { color: var(--cv-accent); }
.cv-sheet .cv-para { font-size: 10pt; text-align: left; }
.cv-research > h2 + .cv-items { margin-top: 0; color: var(--cv-text); font-size: 10pt; }
.cv-research > h2 + .cv-items > li { padding-left: 0.1rem; margin-bottom: 0.35rem; line-height: 1.5; }
.cv-research > h2 + .cv-items > li:last-child { margin-bottom: 0; }
.cv-research > h2 + .cv-items > li::marker { color: var(--cv-gray); }
.cv-research .rs-tech, .cv-research .rs-method { color: inherit; font-weight: 600; }
.cv-research .rs-mat { color: inherit; }
.cv-status { color: var(--cv-gray); font-size: 9pt; }
.cv-sheet .cv-note { color: var(--cv-gray); font-size: 9pt; margin-bottom: 0.5rem; }
.cv-pubs { margin: 0; padding: 0; list-style: none; font-size: 9.5pt; }
.cv-pubs li { margin: 0 0 0.6rem; line-height: 1.45; break-inside: avoid; }
.cv-pubs li[id] { scroll-margin-top: 6rem; }
.cv-me { color: var(--cv-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 0.12em; }
.cv-pub-venue { font-style: italic; }
.cv-doi { font-size: 9pt; overflow-wrap: anywhere; }
.cv-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0; font-size: 9.5pt; }
.cv-table th, .cv-table td { padding: 0.25rem 0.35rem; border: 0; vertical-align: top; }
.cv-table tr > :first-child { padding-left: 0; }
.cv-table tr > :last-child { padding-right: 0; }
.cv-award-year { width: 15%; font-weight: 600; color: var(--cv-accent); }
.cv-award-title { font-weight: 600; }
.cv-award-detail { color: var(--cv-gray); }
.cv-award-org { width: 26%; text-align: right; font-size: 9pt; color: var(--cv-gray); }
.cv-skill-cat { width: 26%; text-align: left; font-weight: 600; color: var(--cv-accent); }
.cv-footer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 0.35rem 1rem;
margin-top: 1.5rem;
padding-top: 0.5rem;
border-top: 1px solid var(--cv-rule);
color: var(--cv-gray);
font-size: 8.5pt;
}
@media screen and (max-width: 680px) {
.cv-sheet { padding: 1.4rem 1.15rem; }
.cv-name { font-size: 25pt; }
.cv-entry-row { flex-direction: column; gap: 0.15rem; }
.cv-entry-date, .cv-entry-loc { text-align: left; }
.cv-entry-sub { margin-top: 0.2rem; }
.cv-table, .cv-table tbody, .cv-table tr, .cv-table th, .cv-table td { display: block; width: 100%; }
.cv-table tr { padding-bottom: 0.5rem; }
.cv-table th, .cv-table td { padding: 0; text-align: left; }
.cv-table tr:last-child { padding-bottom: 0; }
}
/* A4 pages flow naturally; no fixed sheet height or clipped content. */
@page { size: A4; margin: 12mm 14mm 14mm; }
@media print {
html, body, #quarto-content, .page-layout-article, main, .quarto-container {
display: block !important;
background: #fff !important;
color: var(--cv-text) !important;
margin: 0 !important;
padding: 0 !important;
max-width: none !important;
min-height: 0 !important;
width: auto !important;
}
#quarto-header, .navbar, .nav-footer, footer:not(.cv-footer),
#quarto-search, #quarto-search-results, .cv-toolbar, #quarto-back-to-top,
#quarto-margin-sidebar, #quarto-sidebar, .anchorjs-link, #title-block-header { display: none !important; }
.cv-sheet { border: 0; box-shadow: none; max-width: none; margin: 0; padding: 0; font-size: 10pt; }
.cv-sheet h2, .cv-sheet h3 { break-after: avoid; }
.cv-research > h2 + .cv-items { break-inside: avoid; }
.cv-header, .cv-entry, .cv-pubs li, .cv-items li, .cv-table tr { break-inside: avoid; }
.cv-sheet p, .cv-sheet li { orphans: 3; widows: 3; }
.cv-sheet a { color: var(--cv-accent); }
.cv-sheet a::after { content: none !important; }
* { animation: none !important; transition: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}