summaryrefslogtreecommitdiff
path: root/css/content.css
blob: 0a47ec1d59305cdf09a3f922a057b3ccd0e52eff (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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
div.content {
	background-color:var(--backgroundColour);
	border-top-color:var(--foregroundColour);
	border-top-style:solid;
	border-top-width:calc(1rem / 3);
	box-sizing:      border-box;
	height:          100%;
	margin:          auto;
	max-width:       var(--maximumPageWidth);
	min-width:       var(--minimumPageWidth);
	padding:         1rem 2rem;
	padding-bottom:  calc(3rem / 2 + 2rem);
	width:           100%;
}

div.content img {
	border-color: var(--foregroundColour);
	border-radius:calc(1rem / 3 * 2);
	border-style: solid;
	border-width: calc(1rem / 3);
	display:      block;
	margin:       auto;
	max-height:   12rem;
}

div.content p a,div.content p a:visited {
	color:          var(--colour);
	font-weight:    bold;
	text-decoration:none;
}

div.content p a:hover {
	color:var(--foregroundColour);
}

div.content p img {
	border-style:none;
	display:     inline-block;
	height:      1em;
}

div.content p.pagePath {
	font-family:  "Courier New","monospace";
	font-size:    calc(2rem / 3);
	margin-bottom:1rem;
}

div.content p.pagePath::before {
	content:"path: ";
}

div.content p.pagePath a {
	color:     var(--foregroundColour);
	font-style:italic;
	text-decoration:underline;
}

div.content p.pagePath a:hover {
	text-decoration-color:var(--backgroundColour);
}

div.content p.pageTitle,div.content p.large {
	font-family:"Helvetica","sans-serif";
}

div.content p.pageTitle {
	font-size:    3rem;
	margin-bottom:1rem;
	text-align:   center;
}

div.content div.section + div.section::before {
	content:         "";
	background-color:var(--colour);
	display:         block;
	height:          calc(1rem / 3);
	margin:          1rem 0;
	width:           calc(100% / 2);
}

div.content div.section p.large {
	font-size:    2rem;
	font-weight:  bold;
}

div.content div.section p.small {
	font-size:  calc(11rem / 12);
	font-weight:bold;
}

div.content div.section p.small span.data + span.data::before {
	content:    "\0020\2014\0020";
	font-weight:normal;
}

div.content div.section p.math {
	margin:calc(1rem / 2) 0;
}

div.content div.section ul li,div.content div.section ol li {
	margin-left:2rem;
}

div.content div.section table {
	background-color:var(--foregroundColour);
	border-collapse: collapse;
	border-color:    var(--foregroundColour);
	border-style:    solid;
	border-width:    calc(1rem / 12);
	color:           var(--backgroundColour);
	margin:          auto;
}

div.content div.section table tr.small {
	font-size:calc(2rem / 3);
}

div.content div.section table tr td,div.content div.section table tr th {
	box-sizing:border-box;
	padding:   calc(1rem / 12) calc(1rem / 3);
}

div.content div.section table tr td {
	background-color:var(--backgroundColour);
	color:           var(--foregroundColour);
}

div.content div.section table tr td + td,div.content div.section table tr td + th,div.content div.section table tr th + td {
	border-left-color:var(--foregroundColour);
	border-left-style:solid;
	border-left-width:calc(1rem / 12);
}

div.content div.section table tr td.rightAligne {
	text-align:right;
}

div.content div.section table.data {
	font-family:   "Courier New","monospace";
	word-break:    break-all;
	letter-spacing:calc(1rem / 12);
}

div.content div.section table.data tr + tr {
	border-top-color:var(--foregroundColour);
	border-top-style:solid;
	border-top-width:calc(1rem / 12);
}

div.content div.section div.graphicsPreview {
	align-items:     center;
	background-color:var(--foregroundColour);
	border-radius:   calc(1rem);
	box-sizing:      border-box;
	display:         flex;
	height:          calc(12rem + 1rem * 2 + 1rem / 3 * 2);
	margin-top:      1rem;
	padding:         1rem;
	width:           calc(12rem + 1rem * 2 + 1rem / 3 * 2);
}

div.content div.section div.graphicsPreview + * {
	margin-bottom:1rem;
}

div.content div.section div.graphicsPreview img {
	background-color:var(--backgroundColour);
	border-color:    var(--backgroundColour);
	border-radius:   calc(1rem / 3 * 2);
	border-style:    solid;
	border-width:    calc(1rem / 3);
	margin:          auto;
	max-height:      12rem;
	max-width:       12rem;
}

div.content div.section img.subgroup,div.content div.section img.subgroup-mc {
	border-radius:calc(6rem / 24);
	border-style: none;
	margin:       0;
	margin-bottom:1rem;
	width:        6rem;
}

div.content div.section img.subgroup-mc,div.content div.section img.subgroup-mc:hover {
	transition:1s;
}

div.content div.section img.subgroup-mc:hover {
	transform:rotate3d(0,1,0,180deg);
}