forked from tscnlab/QuartoWebsite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
94 lines (75 loc) · 1.5 KB
/
Copy pathstyles.css
File metadata and controls
94 lines (75 loc) · 1.5 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
/* --- Base --- */
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
line-height: 1.5;
}
/* --- Colours & variables --- */
:root {
--cv-accent: #57b596; /* heading color */
--cv-muted: #666666;
--cv-rule: #314b57;
}
/* --- Header block --- */
.cv-header {
margin-bottom: 2.5rem;
}
.cv-header h1 {
margin-bottom: 0.25rem;
}
.cv-header em {
color: var(--cv-muted);
}
/* --- Section headings --- */
h2 {
margin-top: 2.5rem;
margin-bottom: 0.75rem;
font-size: 1.1rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--cv-accent);
border-bottom: 2px solid var(--cv-rule);
padding-bottom: 0.25rem;
}
h3 {
margin-top: 1.5rem;
margin-bottom: 0.5rem;
font-size: 1.10rem;
color: #222222;
}
/* --- CV item layout: institution left, date right --- */
.cv-item-header {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 1rem;
margin-top: 0.75rem;
}
.cv-item-subblock {
margin-top: 0.35rem;
}
.cv-item-date {
white-space: nowrap;
font-size: 0.9rem;
color: var(--cv-muted);
}
.cv-item-location {
font-size: 0.9rem;
color: var(--cv-muted);
font-style: italic;
margin-bottom: 0.25rem;
}
/* --- Lists --- */
ul {
margin-top: 0.25rem;
margin-bottom: 0.75rem;
}
/* --- Responsive: stack institution + date on narrow screens --- */
@media (max-width: 720px) {
.cv-item-header {
flex-direction: column;
align-items: flex-start;
}
.cv-item-date {
text-align: left;
}
}