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
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
|
.nav
color: $haze
display: flex
justify-content: space-between
@include content
&_active
background-color: rgba($light, 0.05)
&, &_body
&_icon
width: 0.7rem
margin-left: 0.33rem
transition: transform 0.3s var(--ease)
transform-origin: 50% 50%
&_body
display: flex
flex: 1
&_header
background-color: $bg
padding: 0 1.5rem
position: fixed
width: 100%
z-index: 99
left: 0
&_item
padding: 0.5rem 1rem
display: inline-flex
align-items: center
&_sub
position: absolute
z-index: 20
border-radius: 0 0 0.5rem 0.5rem
top: 3rem
transition: height 0.3s ease-in-out
height: 0
overflow: hidden
padding: 0.96rem 0 0
background: transparent
&_parent
position: relative
display: flex
align-items: center
margin: 0.25rem 0
border-radius: 0.5rem
&_open + &_sub
height: initial
z-index: 999
@media screen and (min-width: 769px)
background-color: $bg
min-width: 20.5rem
box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.17)
&_open &_icon
transform: rotate(180deg)
&_sub &_item
position: relative
z-index: 5
display: block
padding-top: 0.75rem
padding-bottom: 0.75rem
transition: background 0.3s ease-out
margin: 0
&_brand
img
max-width: 15rem
margin: 0
@media screen and (min-width: 769px)
padding-left: 0
// margin-left: -16rem
// transform: translateX(50rem)
img
background: transparent !important
&_center
display: none
@media screen and (min-width: 769px)
display: flex
flex: 1
align-items: center
justify-content: center
+ .follow
flex: initial
&_hide
@media screen and (min-width: 769px)
display: none
&_close
display: none
.content, .footer
padding: 1.5rem
@media screen and (min-width: 1441px)
padding: 1.5rem 0
.content
padding-top: 5rem
@include content
.footer
// border-top: 1px solid $xhaze
background: var(--footer-bg)
margin-top: 2rem
font-size: 0.9rem
&_inner
@include content
display: grid
grid-template-columns: 4rem 1fr
align-items: center
position: relative
.button
background-color: $theme
color: $light
display: inline-flex
padding: 0.5rem 1.5rem
text-transform: uppercase
border: 1px solid $theme
border-radius: 1.5rem
font-size: 0.9rem
align-items: center
user-select: none
&:hover, &:focus
background-color: darken($theme, 20%)
color: $light
border: 1px solid darken($theme, 20%)
&_translucent
background-color: rgba($theme, 0.15)
color: $theme
border: 1px solid transparent
&_tally
padding: 0 0.75rem
border-radius: 0.5rem
background-color: $theme
display: inline-flex
justify-content: center
align-items: center
color: $light
margin: 0.1rem 0 0.1rem 0.2rem
font-size: 0.7rem
.post
&_link, &_title
margin-bottom: 0
&s
margin-top: 2rem
&_header
height: 50vh
max-height: 35rem
background-color: $bg
// background-image: url(/images/island.jpg)
background-size: cover
background-position: center
margin-top: 4.2rem
@media screen and (max-width: 992px)
height: 40vh
margin-top: 3rem
@media screen and (max-width: 667px)
height: 30vh
& + .content
padding-top: 0
&_item
// box-shadow: 0 2.25rem 1.25rem -1.25rem var(--shadow)
margin-bottom: 3rem
border-radius: 0.5rem
background: var(--post-bg)
&_tag
padding: 0.2rem 0.8rem
font-size: 0.8rem
&s
display: none
&.jswidgetopen
display: initial
position: fixed
top: 0
left: 0
height: 100vh
overflow-y: auto
width: 100vw
padding: 5rem 1.5rem
background: var(--translucent-light)
cursor: pointer
z-index: 999
overflow-y: auto
&_toggle
margin-top: 0.5rem
margin-left: 0.5rem
cursor: pointer
&_tag, &_share
margin: 0.5rem
&_share
display: inline-flex
&_meta
display: inline-flex
flex-flow: row wrap
align-items: center
.button
margin-bottom: 0
&_date
margin-right: 0.5rem
margin-left: 0.25rem
&_content
a
color: $theme
ul, ol
list-style: initial
padding: 0.5rem 1.25rem
li
padding-top: 0.25rem
ol
list-style: decimal
.scrollable
display: grid
width: 100%
max-width: 100%
overflow-x: auto
.to-top
position: fixed
bottom: 2rem
@media screen and (max-width: 667px)
bottom: 2.25rem
right: 1.5rem
height: 2.25rem
width: 2.25rem
background-color: $theme
display: flex
align-items: center
justify-content: center
border: none
-webkit-appearance: none
border-radius: 50%
color: $light !important
text-decoration: none !important
font-size: 1.25rem
cursor: pointer
&, &:focus
outline: none
.mb-0
margin-bottom: 0 !important
.tag
&s
&_list
cursor: initial
background: var(--choice-bg)
padding: 4.5rem 1.5rem 1.5rem 1.5rem
border-radius: 1rem
max-width: 720px
margin: 0 auto
box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.12)
position: relative
display: flex
flex-flow: row wrap
&_nav
position: relative
&_hide
position: absolute
top: 1rem
right: 1.5rem
padding: 0.5rem
border-radius: 50%
cursor: pointer
@media screen and (min-width: 992px)
display: none
&_sort
font-size: 1rem
color: var(--light)
background: var(--theme)
position: absolute
top: 1.5rem
left: 1.5rem
border-radius: 1.5rem
padding: 0.1rem
&, span
user-select: none
span
display: inline-flex
justify-content: center
align-items: center
height: 2rem
position: relative
z-index: 5
cursor: pointer
width: 5rem
font-weight: 500
&::before
content: ""
position: absolute
width: 4.5rem
top: 0.25rem
bottom: 0.25rem
left: 0.25rem
z-index: 3
background: var(--bg)
opacity: 0.5
border-radius: 1.5rem
transition: 0.25s transform var(--ease)
&.sorted
&::before
transform: translateX(5rem)
&-title
border-bottom: none !important
display: inline-block !important
position: relative
font-size: 2rem
margin-bottom: -1rem
&::after
content: attr(data-count)
margin-left: 1.5rem
background-color: #eee
padding: 0.25rem 1rem
border-radius: 15%
font-size: 1.5rem
.icon
display: inline-flex
justify-content: center
align-items: center
margin: 0 0.5rem
&, img, svg
width: 1.1rem
height: 1.1rem
&_2
width: 2.2rem
height: 2.2rem
.link
opacity: 0
position: relative
&_yank
opacity: 1
&ed
position: absolute
right: -1rem
top: -2rem
background-color: $theme
color: $light
width: 7rem
padding: 0.25rem 0.5rem
font-size: 0.9rem
border-radius: 1rem
text-align: center
&::after
position: absolute
top: 1rem
content: ""
border-color: $theme transparent
border-style: solid
border-width: 1rem 1rem 0 1rem
height: 0
width: 0
transform-origin: 50% 50%
transform: rotate(145deg)
right: 0.45rem
.excerpt
&_header, &_footer
padding: 1rem
&_footer
padding: 0 1rem 2.25rem 1rem
&_thumbnail
min-height: 10rem
display: none
@media screen and (min-width: 769px)
display: block
border-radius: 0.5rem
&_footer
&.partition
display: grid
@media screen and (min-width: 769px)
grid-template-columns: 2fr 7fr
grid-gap: 1rem
.sidebar
&_inner
position: relative
&::before
content: ""
padding: 0.5px
top: 0
bottom: 0
// background: var(--light)
background: linear-gradient(to bottom, var(--haze), var(--light), var(--haze))
position: absolute
left: -2rem
// display: none
.pagination
display: flex
.page
&-item
padding: 0.2rem
&.disabled
opacity: 0.7
&:first-child, &:last-child
display: none
&.active a
background-color: darken($theme, 20%)
&-link
padding: 0.25rem 0.75rem
background-color: $theme
color: $light
border-radius: 1rem
.float
&_left
float: left
margin-right: 1rem
+ p
padding-top: 0
&_right
float: right
margin-left: 1rem
&_left, &_right
&::after
clear: both
.follow
display: flex
align-items: center
flex: 1
justify-content: flex-end
svg
fill: $haze
margin-left: 0.75rem
.img
&_alt
font-style: italic
padding-top: 0rem
opacity: 0.67
font-size: 0.9rem
.to
&_top
background-color: $theme
width: 2.75rem
height: 2.75rem
display: flex
justify-content: center
align-items: center
cursor: pointer
border-radius: 50%
position: fixed
bottom: 1.5rem
right: 1.5rem
z-index: 99
&.ios
position: absolute
bottom: 0.75rem
right: 0
&:hover
background-color: $theme
svg
fill: $light
opacity: 0.5
transition: 0.3s opacity var(--ease)
&:hover svg
opacity: 1
.color
&_mode
// width: 3rem
height: 1.5rem
display: grid
align-items: center
margin: 0 0.5rem
@media screen and (min-width: 769px)
margin: 0 1.5rem
grid-template-columns: 1fr
&_choice
width: 3rem
background-color: var(--translucent-light)
border-radius: 1rem
height: 1.5rem
outline: none
border: none
-webkit-appearance: none
cursor: pointer
position: relative
position: relative
overflow: hidden
box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.15)
&::after
content: ""
position: absolute
top: 0.1rem
left: 0.1rem
width: 1.3rem
height: 1.3rem
background-image: url("#{$images}sun.svg")
background-position: center
background-size: cover
border-radius: 50%
z-index: 2
&_animate
transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1)
&::after
transition: transform 0.5s cubic-bezier(.19,1,.22,1)
will-change: transform
.taxonomy
text-transform: capitalize
.image
&-scale
position: fixed
z-index: 999999
left: 0
right: 0
height: 100vh
top: 0
padding: 1.5rem
background-color: var(--bg)
display: grid
align-items: center
overflow: auto
&-scale &-scalable
background-color: var(--text)
&-scalable
cursor: pointer
transition: transform 0.3s var(--ease)
&_featured
display: block
margin-left: auto !important
margin-right: auto !important
|