summaryrefslogtreecommitdiff
path: root/style.css
blob: de3bbef944171a5a5da59cea6bc36e21c45f6718 (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
/*
 * Colors from randoma11y.com for accessibility.
 */
/* 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: #ffffff;
	background-color: #241f3b;
	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: #89bdcd;
 
}
a:hover {
	color: #241f3b;
	background-color: #89bdcd;
}
.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;
}