blob: e93f9b779939c9463141334af5da9fd09b9a71b2 (
plain)
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
|
/* post */
.post-header {
margin-bottom: 2rem;
.post-title {
font-size: 2rem;
font-weight: 900;
filter: url(#x);
}
.post-subtitle {
display: block;
color: var(--secondary-text-color);
font-style: italic;
font-size: 1.2rem;
}
}
.post-meta {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
align-items: center;
.post-date, .tag {
color: var(--secondary-text-color)
}
.post-category {
@include postCategoryPill;
}
}
.page-content {
min-height: 60%;
}
.post-content {
margin-bottom: 50px;
line-height: 2
}
/* related posts */
.nrt {
margin-top: 2rem;
padding-bottom: 2rem; /* in case nrt-title overlaps */
position: relative;
.nrt-title {
position: absolute;
z-index: -1;
bottom: 0;
right: 0;
font-size: 2rem;
margin: 0;
opacity: .25;
font-style: italic;
}
.nrt-header {
display: flex;
justify-content: space-between;
.nrt-link {
font-weight: 800;
}
.nrt-reading-time {
color: var(--secondary-text-color)
}
}
.nrt-subtitle {
color: var(--secondary-text-color);
font-weight: normal;
}
.nrt-summary {
font-weight: light
}
}
/* endnotes */
#post-endnotes {
color: var(--secondary-text-color);
font-size: 1rem;
h3 {
font-size: 1rem;
width: fit-content;
margin: 0;
}
ul {
li {
list-style-type: '→';
padding-left: 1rem;
&::marker {
color: var(--secondary-text-color);
}
}
}
}
|