summaryrefslogtreecommitdiffhomepage
path: root/src/style.css
blob: cdde77523bd5562f91b665caa67e1c2345c81db7 (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
*, *::before, *::after {
	box-sizing: border-box;
}

:root {
	color-scheme: light dark;
}

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;
}

@media (prefers-color-scheme: light) {
	.quote {
		border-left: 4px solid black;
	}
}

@media (prefers-color-scheme: dark) {
	.quote {
		border-left: 4px solid white;
	}
}

.quote {
	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;
}