summaryrefslogtreecommitdiff
path: root/style.css
blob: d9ec5eb137d22ed575e82f616076cb057569593a (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
/* use local iokalant fontface */
@font-face {
	font-family:
		"iol";
	src:
		local('IOKALANT_STANT_FATENC');
	unicode-range:
		U+18900-189FF;

}
/*use hosted iokalant fontface */
@font-face {
	font-family:
		"io";
	src:
		url("fonts/IOKALANT_STANT_FATENC.ttf")format('truetype');
	unicode-range:
		U+18900-189FF;

}
* {
	font-family: Console, iol, io, monospace;
	color: #000000;
	margin: 0px; /*default margins get in the way*/
	/*font size sets font height, assuming font width = 1/2 font height,
	 * then fh /2 * 80 = 60vw
	 * fh = 100/80
	 * fh = 1.1vw
	 */
	font-size:  1.1vw;
}
a {
	text-decoration: none; /*no underline*/
	color: #801040;
 
}
a:hover {
	color: #ffffff;
	background-color: #801040;
}
.content {
	display: block;
	width: 50vw;
	min-width: 50vh;
	max-width: 90vw;
	margin-left: auto;
	margin-right: auto;
}

img {
	display: block;
	/*overrides not margin to center from bounds of the <pre> tag*/
	margin-left: auto;
	margin-right: auto;
	/*default width*/
	width: 100%;
	/*preserves aspect ratio*/
	height: auto;
}