aboutsummaryrefslogtreecommitdiff
path: root/public/global.css
blob: a34b503c8511ffde33d439988b80c7ddf727fac5 (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
100
101
102
103
104
105
@import url("nav.css");
@import url("footer.css");

:root {
	--width: 750px;
	--bg: #dddddd;
	--bg-alt: #ffffff;
	--fg: #000000;
	--fg-alt: #111111;
}
input.buttonstyle.filled[type=number] { color-scheme: dark; }

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #000000;
		--bg-alt: #222222;
		--fg: #dddddd;
		--fg-alt: #ffffff;
	}
	input.buttonstyle.filled[type=number] { color-scheme: light; }
}

body, html {
	background-color: var(--bg);
	color: var(--fg);
	margin: 0;
	font-family: "Inter", "Neue Haas Grotesk", "Helvetica", "Helvetica Neue", -apple-system, BlinkMacSystemFont, sans-serif;
	color-scheme: light dark;
}

.limwidth {
	margin: 0 auto;
	max-width: var(--width);
	padding: 0 12px;
}

.nolinkstyle {
	text-decoration: none !important;
	color: currentColor;
}

.main {
	margin-top: 2rem;
}

.price::before {
	content: "\20ac";
	margin-right: 0.3ex;
	font-size: 80%;
}

.button,
.buttonstyle {
	padding: 9px 12px;
	border-radius: 8px;
	border: none;
	background-color: var(--bg-alt);
	transition: opacity .3s;
}
.button[disabled],
.buttonstyle[disabled] {
	opacity: 0.4;
	cursor: not-allowed !important;
}

.button {
	cursor: pointer;
}

.button.dashed,
.buttonstyle.dashed {
	padding: 7px 10px;
	border: 2px dashed currentColor;
}

.button.filled,
.buttonstyle.filled {
	background-color: var(--fg);
	color: var(--bg-alt);
	font-weight: bold;
	cursor: pointer;
}

.button.outlined,
.buttonstyle.outlined {
	padding: 7px 10px;
	border: 2px solid currentColor;
}

input.buttonstyle[type=number] { cursor: unset; }

.center {
	text-align: center;
}

.d-ib { display: inline-block; }

.twocolumn {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 16px;
}

.skipafter { margin-bottom: 16px; }
.alignright { text-align: right; }