aboutsummaryrefslogtreecommitdiff
path: root/docs/gen/style.css
blob: eb47f5ea972e75cb02b0f44a8b81db81a3e7e4ff (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
106
107
108
@media print {
	@page {
		size: A4;
		margin: 1in;

		@bottom-center {
			content: counter(page);
		}
	}

	html, body {
		width: 100%;
		margin: 0;
		padding: 0;
		overflow: visible;

		font-family: "TeX Gyre Schola";
		font-size: 11pt;
	}

	a {
		text-decoration: none;
		color: unset;
		font-style: italic;
	}

	pre, code {
		font-family: "JetBrainsMono Nerd Font";
		font-size: 9pt;
	}

	figure {
		text-align: center;
	}

	figcaption, p {
		text-align: justify;
		text-justify: auto;
		hyphens: auto;
	}

	figcaption {
		display: inline-block;
		counter-increment: fig;
	}

	figcaption::before {
		content: "Figure " counter(fig) ": ";
	}

	table {
		border-collapse: collapse;
		border-style: solid;
		border-width: 0.7pt 0;
		border-color: black;
	}

	th, td {
		padding: 2pt 6pt;
	}

	th {
		border-bottom: 1pt solid black;
	}

	.docintro {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		margin: 0;
	}

	.docintro .left,
	.docintro .right {
		display: block;
	}

	.docintro .right {
		text-align: right;
	}

	.pagebr {
		break-before: page;
	}

	nav ol {
		counter-reset: item;
		list-style-type: none;
	}

	nav li {
		position: relative;
		counter-increment: item;
	}

	nav li::before {
		position: absolute;
		transform: translateX(-100%) translateX(-5pt);
		left: 0;
		content: attr(heading-num-fix);
	}

	img {
		max-width: 13cm;
		display: block;
		margin: 0 auto;
	}
}