summaryrefslogtreecommitdiffstats
path: root/main.css
blob: 86bd4cb39ea17fe1ab00df53a54930e309f6257a (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
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
body {
	font-family: sans-serif;
}

h1 {
	font-size: 135%;
	border-bottom: dashed 1px black;
}

h2 {
	font-size: 120%;
}

#footer {
	width: 100%;
	border-top: solid 1px;
	font-size: 80%;
	opacity: 0.6;
}

p {
	width: 40%;
	min-width: 30em;
	margin-left: 1.5em;
	line-height: 1.4em;
	text-align: justify;
}

dt {
	font-weight: bold;
}

dl {
	margin-left: 1.5em;
}

span.red {
	color: #dd3333;
}

span.green {
	color: #33dd33;
}

span.node, span.path, span.ipaddr, span.key, .community {
	font-family: monospace;
}

/*
 * asciidoctor puts the content of certain elements inside <p>, which makes
 * them format badly using the default style.
 */
dd p,
dt p,
td p,
th p,
li p {
	min-width: 0;
	width: auto;
	text-align: start;
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	text-align: left;
}

th, td {
	padding: 4px;
	border: none;
}

thead th {
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	border-bottom: 2px solid currentColor;
}

tbody th p {
	background-color: rgba(0, 0, 0, 0.1);
	text-align: center;
	font-weight: bold;
	padding: 5px;
	margin: 0;
}

tbody tr:nth-child(odd) td {
	background-color: rgba(0, 0, 0, 0.05);
}

tfoot {
	font-weight: bold;
	border-top: 2px solid currentColor;
}