aboutsummaryrefslogtreecommitdiff
path: root/assets/base.css
blob: 4c5ed7fa5dd365b1e00afccb74a37f7bc06cb381 (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
* {
	box-sizing: border-box;
}
body {
	display: grid;
	grid-template-rows: auto 1fr auto;

	font-family: -apple-system, BlinkMacSystemFont,
	"Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
	"Fira Sans", "Droid Sans", "Helvetica Neue",
	sans-serif;

	font-feature-settings: "kern" 1;
	font-kerning: normal;
}
main {
	padding-left:1em;
	padding-right:1em;
	scrollbar-gutter: stable both-edges;
}
p {
	text-align: justify;
	hyphens: auto;
	text-justify: inter-character;
	overflow-wrap: anywhere;
}
pre,code {
	white-space: pre-wrap;
}
nav#TableOfContents ul {
	padding: 0;
	list-style-type: none;
}
nav#TableOfContents ul li ul {
	padding-left:1em;
}
nav#TableOfContents ul li ul li ul {
	padding-left:2em;
}
nav#TableOfContents ul li ul li ul li ul {
	padding-left:3em;
}
h1, h2, h3, h4, h5 {
	font-family: open, serif;
}
@media only screen and (min-width: 60rem) {
	body {
		max-width:60rem;
		margin-left: auto;
		margin-right: auto;
	}
}
.fullwidth {
	width: 100%;
}
img[src*='#center'] { 
    display: block;
    margin: auto;
}