aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/main.css
blob: 13911c62ffab0c6f3311217b60f93d496cf857c4 (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
/* fontface */

@font-face {
	font-family: "IBM Plex Mono";
	src: url("/static/fonts/ibm-plex-mono-medium-normal.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
}

@font-face {
	font-family: "IBM Plex Mono";
	src: url("/static/fonts/ibm-plex-mono-medium-italic.woff2") format("woff2");
	font-style: italic;
	font-weight: 400;
}

@font-face {
	font-family: "IBM Plex Mono";
	src: url("/static/fonts/ibm-plex-mono-bold-normal.woff2") format("woff2");
	font-style: normal;
	font-weight: 600;
}

@font-face {
	font-family: "IBM Plex Mono";
	src: url("/static/fonts/ibm-plex-mono-bold-italic.woff2") format("woff2");
	font-style: italic;
	font-weight: 600;
}

/* page */

* {
	font-family: "IBM Plex Mono", monospace;
}

body {
	margin: 2em auto 2em auto;
	max-width: 72ch;
}

header {
	margin-bottom: 2em;
}

header ul {
	padding-left: 0;
}

header ul li {
	display: inline-block;
}

header ul li:last-child {
	float: right;
}

footer {
	margin-top: 16em;
	background-color: yellow;
}

/* link */

a,
a:hover,
a:visited {
	color: blue;
	word-break: break-all;
}

/* list */

ul.index {
	padding-inline-start: 0;
}

ul.index li {
	margin: .4em 0 .4em 0;
	display: block;
}

li {
	overflow-wrap: break-word;
}

* li p {
	margin-top: .6em;
	margin-bottom: .6em;
}

* li, p {
	line-height: 1.5em;
}

/* table */

table {
	font-size: .8em;
	overflow: auto;
	width: 100%;
	border-collapse: collapse;
}

table th,
table td {
	padding: .4em 1em .4em 1em;
	margin: 0;
	overflow: hidden;
}

/* code */

pre,
p code,
li code {
	background-color: #eeeeee;
	overflow: auto;
}

/* media file */

img,
video {
	max-width: 100%;
	cursor: crosshair;
}

/* screen size */

@media only screen and (max-width: 72ch) {
	* {
		text-align: left;
	}

	body {
		width: 80%;
		margin: 2em;
	}

	header ul li {
		display: block;
		float: inherit !important;
	}

	table {
		table-layout: fixed;
	}
}
remember that computers suck.