summaryrefslogtreecommitdiff
path: root/css/base.css
blob: 6459ab09a3e5fb191d1f5ffd61fbcb8c7043135c (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
div.page * + p,* + ol,* + table,* + ul {
	margin-top:1rem;
}

li p + ul,li p + ol {
	margin-top:0;
}

p.math,span.math,td.math {
	font-size:  calc(3rem / 2);
	padding:    calc(1rem / 3) 0;
	user-select:none;
}

a,a:visited {
	color:          var(--colour);
	text-decoration:none;
}

a:hover {
	color:var(--foregroundColour);
}

table {
	background-color:var(--foregroundColour);
	border-color:    var(--foregroundColour);
	border-radius:   calc(1rem / 3);
	border-spacing:  0;
	border-style:    solid;
	border-width:    calc(1rem / 3);
	color:           var(--backgroundColour);
}

table tr td,table tr th {
	padding:calc(1rem / 12) calc(2rem / 12);
}

table tr td {
	background-color:var(--backgroundColour);
	color:           var(--foregroundColour);
}

table tr th {
	text-align:center;
}

ul li,ol li {
	margin-left:1rem;
}