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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
|
// container for archive intros
.intro {
@include constrain_wide;
font-family: $fancy_serif;
@include breakpoint(alpha){
display: grid;
grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
grid-gap: 1rem;
}
}
// container for archive intros, narrow version
.intro-narrow {
margin-top: 3rem;
@include constrain_narrow;
p {
@include fontsize(18);
font-style: italic;
}
h1 {
@include smcaps;
@include fontsize(18);
text-align: left;
}
}
.essay-intro {
font-family: $fancy_serif;
border-bottom: 3px double #efefef;
padding-bottom: 3rem;
margin-bottom: 4rem;
p {
font-style: normal !important;
@include fontsize(18);
line-height: 1.3;
margin-top: 1.2rem !important;
&:first-of-type {
margin-top: 2rem !important;
}
}
a {
text-decoration: underline !important;
text-decoration-color: $orange !important;
}
}
// container for archive grid items
.archive-grid {
margin-top: 3rem;
@include constrain_wide;
display: grid;
@include breakpoint(alpha){
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
grid-gap: .75rem;
}
@include breakpoint(beta){
grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
grid-gap: .75rem;
}
}
// body class archive, article header (usually inherits h2)
.archive .post-title {
font-family: $fancy_serif;
@include fontsize(26);
line-height: 1.3;
font-style: italic;
margin: .25rem 0 .5rem;
a {
@include plain_a;
}
}
// the date and location are small caps
.post-date, .post-location {
@include smcaps;
@include fontsize(14);
font-weight: bold;
color: $secondary-link-color;
line-height: 1.2;
text-align: left;
margin: 0;
}
// slightly larger summary than a p in this context
.post-summary {
font-family: $fancy_serif;
@include fontsize(16);
line-height: $archive_p_line_height;
margin-top: .25rem;
text-align: left;
margin: 0;
}
.archive-list {
@include constrain_narrow;
@include breakpoint(epsilon) {
}
text-align: left;
h1 {
text-align: left;
@include fancy_sans;
}
span {
@include fancy_sans;
@include smcaps;
@include fontsize(13);
font-weight: bold;
color: #999;
}
ul {
padding: 0;
list-style-type: none;
}
a {
text-decoration: none;
color: lighten($body_font_color, 20);
&:hover {
color: $link_color;
}
}
h2 {
font-family: $fancy_serif;
@include fontsize(32);
margin: 0;
line-height: 1.1;
}
p {
margin: 0;
@include fontsize(20);
font-style: italic;
}
}
// Specific pages vary slightly
// Books
.book-grid {
@include breakpoint(alpha){
grid-gap: .75rem;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
@include breakpoint(beta){
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
grid-gap: .75rem;
}
.post-title {
@include fontsize(22);
line-height: 1.4;
}
.author {
@include smcaps;
font-weight: 400;
@include fontsize(12);
text-align: left;
margin: 0;
}
.book-stars {
display: block;
}
}
// Dialogues
.dialogue-grid {
.post-title {
font-style: normal;
@include fontsize(22);
line-height: 1.4;
}
}
// Dialogues, used in both archives and details
.sci {
font-style: italic;
@include fontsize(18);
}
// figments
.figments-grid {
@include constrain_narrow;
.post-title {
font-style: normal;
@include smcaps;
@include fontsize(16);
}
}
.wide-list {
@include constrain_wide;
li {
margin-top: 3rem;
margin-left: auto;
margin-top: auto;
margin-bottom: 3rem;
}
.permalink {
display: block;
text-align: left;
}
@include breakpoint(gamma) {
li {
display: flex;
}
.wide-wrapper {
flex: 3 0px;
order: 1;
}
a {
flex: 3 0px;
order: 2;
}
.post-summary p {
@include fontsize(20);
margin-right: 2rem;
}
}
}
// Homepage
#home .header-wrapper {
margin-bottom: 0;
}
#home section {
@extend %clearfix;
@include constrain_wide;
margin-top: 4rem;
margin-bottom: 4rem;
}
#home section.bio-short {
margin-bottom: 6rem;
}
@include breakpoint(gamma){
.recent {
max-width: 64%;
width: 64%;
float: left;
}
.popular {
max-width: 33%;
width: 33%;
float: right;
}
}
.banner {
margin-top: 0 !important;
.post-image {
overflow: hidden;
}
article {
position: relative;
}
figcaption {
border: none;
position: absolute;
margin: 0;
bottom: 0;
width: 100%;
z-index: 100;
background: rgb(0, 0, 0);
background: rgba(0, 0, 0, 0.6);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
filter: alpha(opacity = 70);
font-weight: 400;
padding-bottom: 30px;
time {display: none;}
.btn {text-decoration: none; color: white; }
}
.hero-text-wrapper {
@include constrain_narrow;
color: white;
font-family: $headline_font_serif;
h2 {
text-align: center;
margin-bottom: 0;
line-height: 1;
a {
color: white;
margin-bottom: 0;
font-family: $headline_font_serif;
text-decoration: none;
@include fontsize(36);
}
}
a {
color: $body_font_light;
padding: 0;
border: none;
}
.post-summary {
text-align: center;
}
.p-summary {
display: block;
margin-top: .75rem;
@include fontsize(20);
}
}
.post-location {
color: lighten($body_font_light, 5);
a {
color: lighten($body_font_light, 5);
text-decoration: none;
}
}
.btn {
@include smcaps;
@include fancy_sans_bold;
@include fontsize(12);
line-height: 1;
display: block;
max-width: 40px;
background: #b53a04;
border-radius: .35em;
color: white !important;
text-transform: uppercase;
padding: .85rem 1rem .55rem !important;
text-align: center;
margin: 2rem auto 0;
}
@include breakpoint(gamma){
max-height: 900px;
.post-image {
max-height: 900px;
}
}
}
.homepage-map-img {
width: 350px;
height: auto;
@include breakpoint(delta){
float: left;
width: 350px;
margin-right: 2rem;
}
}
@include breakpoint(delta){
.addafter {
&:after {
content: "to the left";
}
}
.subcontent {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
}
.homepage-section-header {
@include fancy_sans;
@include fontsize(24);
font-weight: normal;
text-align: left;
@include breakpoint(gamma){
@include fontsize(28);
line-height: 1.4;
}
}
.popular, .recent {
.post-title {
@include fontsize(22);
}
.post-image {
max-height: 12rem;
overflow: hidden;
}
img {
margin-top: -20%
}
}
.homepage-next {
margin: 0 auto;
text-align: center;
a {
@include fontsize(14);
@include fancy_sans;
@include smcaps;
font-weight: 500;
text-decoration: none;
padding: 12px 10px 8px;
border: $link_color 1px solid;
&:after {
content: "\21E2";
margin-left: 4px;
}
&:hover {
background: $link_color;
color: white;
}
}
}
.essay-archive {
li {
margin-bottom: 2.8rem;
}
}
|