blob: 8e37c5f8abd226750b3959746908da96f353a546 (
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
112
113
114
115
116
117
118
|
*, *::before, *::after {
box-sizing: border-box;
}
:root {
color-scheme: light dark;
}
@media (prefers-color-scheme: light) {
:root {
--fg: black;
--bg: white;
}
}
@media (prefers-color-scheme: dark) {
:root {
--fg: white;
--bg: black;
}
}
body {
text-align: justify;
width: min(800px, 90%);
margin-inline: auto;
}
blockquote > p:first-child::before { content: '‘'; }
blockquote > p:last-child::after { content: '’'; }
blockquote.de > p:first-child::before { content: '„'; }
blockquote.de > p:last-child::after { content: '“'; }
blockquote + figcaption::before { content: '— '; }
blockquote,
blockquote + figcaption {
font-style: italic;
}
.quote {
border-left: 4px solid var(--fg);
padding: .4rem .8rem;
margin-inline: 1rem 0;
margin-block: 2rem;
}
.quote blockquote {
margin-inline-start: 1rem;
}
.quote blockquote,
.quote blockquote p {
margin-block: .5rem;
}
.quote figcaption {
margin-inline-start: 2rem;
margin-block: .5rem;
}
header > div menu {
display: flex;
gap: 2ch;
}
header > div li {
list-style: none;
}
header div.head {
display: flex;
justify-content: space-between;
align-items: center;
}
header div.head menu {
display: flex;
gap: 2ch;
}
header div.head li {
list-style: none;
}
.article {
display: flex;
justify-content: space-between;
}
figure pre.code-sample {
overflow-x: scroll;
}
figure pre.code-sample > code {
counter-increment: line;
}
figure pre.code-sample > code::before {
position: absolute;
margin-left: -4ch;
padding-right: .5ch;
width: 3ch;
text-align: right;
content: counter(line);
color: var(--fg);
border-right: 1px solid var(--fg);
}
footer {
margin-block: 2rem;
text-align: center;
font-style: italic;
}
ins, del { text-decoration: none; }
ins { color: green; }
del { color: red; }
|