aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.css
blob: a55d276b3bd8dc1f8f8219449ffa59a1bb2680bf (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
:root {
	font-family: sans-serif;
}

@media screen {

	body {
		max-width: 920px;
		margin: auto;
		padding: 0.5rem;
	}

	:any-link {
		color: inherit;
		text-decoration: underline;
	}

	.menu :any-link {
		text-decoration: inherit;
	}

	.menu ul {
		background: darkred;
		color: white;
		padding: 1rem;
		font-size: 1rem;
	}

	.menu li {
		display: inline;
		margin-right: 1rem;
		padding-left: 0rem;
		padding-right: 0rem;
	}
	
	.err {
		color: darkred;
	}

	@media (prefers-color-scheme: dark) {
		:root {
			background: black;
			color: white;
		}
		
		.menu ul {
			background: red;
		}
		
		.err {
			color: red;
		}

	}
}

@media print {
	header,nav,footer{
		display:none;
	}
}