blob: 20c039bcfb73c3b2ecea0903becbdcb28d3303ec (
plain) (
blame)
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
|
.blog__header {
font-size: 2.4rem;
font-weight: 900;
margin-top: 1cm;
}
.blog__footer {
margin-bottom: 2cm;
}
.posts {
font-size: 1.1rem;
list-style: none;
@media (max-width: 780px) {
font-size: 1rem;
padding-left: 0%;
margin-left: 0%;
}
}
.post {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.post__link {
}
.post__date {
font-weight: bold;
}
.post__content {
h1, h2, h3, h4, h5, h6 {
margin-bottom: 0px;
}
h1 {
font-size: 1.6rem;
}
h2 {
font-size: 1.35rem;
}
blockquote {
margin-left: 0;
margin-right: 30px;
padding-left: 26px;
border-left-width: 4px;
border-left-style: solid;
}
sub {
font-size: 70%;
}
// Code (not only code blocks)
code {
opacity: 0.6;
font-size: 90%;
}
// Code-block highlighting
pre {
font-size: 90%;
overflow: auto;
opacity: 1;
> code {
opacity: 1;
> span {
height: 1.5rem; // for some reason, the default is messed up (3rd line is always higher value)
margin-left: 16px;
margin-right: 16px;
&:first-child {
padding-top: 8px;
}
&:last-child {
padding-bottom: 8px;
}
}
}
}
a.footnote-ref {
&:before {
content: '[';
}
&:after {
content: ']';
}
}
}
.footnotes {
hr {
display: none;
}
&:before {
content: "Footnotes";
}
li {
font-size: 85%;
margin-top: 1rem;
}
p {
margin-top: 0rem;
margin-bottom: 0.25rem;
}
}
|