-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
89 lines (76 loc) · 1.42 KB
/
styles.css
File metadata and controls
89 lines (76 loc) · 1.42 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
/* Shared font stack with Yana site and HRF */
:root {
--font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--text: #1e1f22;
--muted: #5b5e63;
}
/* --- Reset & base --- */
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
}
body {
font-family: var(--font-sans);
max-width: 42rem;
margin: 0 auto;
padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
line-height: 1.65;
color: var(--text);
background: #fafafa;
-webkit-font-smoothing: antialiased;
}
/* --- Typography --- */
h1 {
font-size: clamp(1.5rem, 4vw, 1.875rem);
font-weight: 600;
letter-spacing: -0.02em;
margin: 0 0 1.75em;
color: var(--text);
}
p {
margin: 0 0 1.25em;
font-size: clamp(0.9375rem, 2vw, 1rem);
}
p:last-child {
margin-bottom: 0;
}
a {
color: #2c5282;
text-decoration: none;
border-bottom: 1px solid rgba(44, 82, 130, 0.35);
transition: border-color 0.2s ease, color 0.2s ease;
}
a:hover {
color: #1a365d;
border-bottom-color: #1a365d;
}
/* --- Responsive: tighter on small screens --- */
@media (max-width: 480px) {
body {
padding-top: 1.25rem;
padding-bottom: 2rem;
}
h1 {
margin-bottom: 1.5em;
}
p {
margin-bottom: 1.1em;
}
}
/* --- Print --- */
@media print {
body {
background: #fff;
color: #000;
max-width: none;
}
a {
color: #000;
border-bottom-color: #666;
}
}