-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
170 lines (135 loc) · 2.77 KB
/
Copy pathstyle.css
File metadata and controls
170 lines (135 loc) · 2.77 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
:root {
--bg: #f4f1ea;
--ink: #1c1917;
--mute: #6f6a64;
--line: #ddd8ce;
--max: 36rem;
}
* { box-sizing: border-box; }
html {
font-size: 18px;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
background: var(--bg);
color: var(--ink);
font-family: "Iowan Old Style", Palatino, Palatino Linotype, "Palatino LT STD", "Book Antiqua", Georgia, serif;
line-height: 1.55;
}
a {
color: inherit;
text-underline-offset: 0.15em;
}
a:hover { text-decoration-thickness: 2px; }
.wrap {
max-width: var(--max);
margin: 0 auto;
padding: 2.5rem 1.25rem 5rem;
}
header {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 1rem;
margin-bottom: 2.5rem;
}
.wordmark {
text-decoration: none;
font-weight: 600;
letter-spacing: 0.01em;
}
header nav a {
color: var(--mute);
text-decoration: none;
}
header nav a:hover { text-decoration: underline; }
h1 {
font-size: 1.35rem;
font-weight: 600;
letter-spacing: -0.01em;
margin: 0 0 0.75rem;
}
h2 {
font-size: 1.05rem;
font-weight: 600;
margin: 2.25rem 0 0.6rem;
}
h3 {
font-size: 1rem;
font-weight: 600;
margin: 1.75rem 0 0.5rem;
}
p { margin: 0 0 1rem; }
.project {
padding: 1.5rem 0;
border-top: 1px solid var(--line);
}
.project:last-of-type { border-bottom: 1px solid var(--line); }
.project h2 { margin: 0 0 0.75rem; }
.project img,
.project video {
display: block;
width: 100%;
height: auto;
margin: 0 0 0.85rem;
}
.project video {
background: var(--bg);
}
.project p { color: var(--mute); margin-bottom: 0.5rem; }
.project .src {
font-size: 0.9rem;
word-break: break-all;
}
.notes { list-style: none; padding: 0; margin: 0; }
.notes li {
display: flex;
justify-content: space-between;
gap: 1rem;
padding: 0.7rem 0;
border-top: 1px solid var(--line);
}
.notes li:last-child { border-bottom: 1px solid var(--line); }
.notes time {
color: var(--mute);
font-size: 0.9rem;
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.meta {
color: var(--mute);
font-size: 0.9rem;
margin: 0 0 2rem;
}
article ul, article ol { margin: 0 0 1rem; padding-left: 1.2rem; }
article li { margin: 0.2rem 0; }
article blockquote {
margin: 0 0 1rem;
padding: 0 0 0 1rem;
border-left: 2px solid var(--line);
color: var(--mute);
}
article table {
width: 100%;
border-collapse: collapse;
font-size: 0.9rem;
margin: 0 0 1.25rem;
}
article th, article td {
text-align: left;
vertical-align: top;
padding: 0.4rem 0.6rem 0.4rem 0;
border-bottom: 1px solid var(--line);
}
article th { font-weight: 600; }
.table-wrap { overflow-x: auto; }
hr {
border: 0;
border-top: 1px solid var(--line);
margin: 2rem 0;
}
@media (max-width: 520px) {
html { font-size: 17px; }
.notes li { flex-direction: column; gap: 0.15rem; }
}