aboutsummaryrefslogtreecommitdiffstats
path: root/src/style/style.css
blob: ced85734b4382d8a540d5dd9c6cf7c8fd1f45788 (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

/*
 * rgoncalves.se
 * /do whatever you want with that shit/
 */

* {
	font-family: monospace, monospace;
	text-align: justify;
}

html {
	margin: 2em auto 2em auto;
	max-width: 80ch;
}

header {
	margin-bottom: 2em;
}
header ul {
	padding-left: 0;
}
header ul li {
	display: inline-block;
}
header ul li:last-child {
	float: right;
}

a, a:hover, a:visited {
	color: blue;
}
a:hover {
	background-color: #eeeeee;
}

ul.index {
	padding-inline-start: 0;
}
ul.index li {
	margin: .4em 0 .4em 0;
	display: block;
	background-color: #eeeeee;
}
ul.index li span {
	display: block;
}

li {
	overflow-wrap: break-word;
}

table {
	border-collapse: collapse;
	font-size: .8em;
	overflow: auto;
}
table th, table td {
	padding: .4em 1em .4em 1em;
	margin: 0;
	overflow: hidden;
}
table tr:hover {
	background-color: #eeeeee;
}

pre {
	background-color: #eeeeee;
	overflow: auto;
}

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

p code {
	background-color: #cccccc;
	font-style: italic;
}

blockquote {
	margin-inline-end: 0;
	margin-inline-start: 20%;
}
blockquote * {
	background-color: yellow;
	font-style: italic;
}
blockquote p {
	margin-block-start: 0;
	margin-block-end: 0;
}

footer {
	margin-top: 16em;
}

footer blockquote {
	margin-inline-start: 0;
}

@media only screen and (max-width: 100ch) {
	body {
		width: 90%;
	}

	header ul li {
		display: block;
	}
	header ul li:last-child {
		float: left;
	}

	table {
		table-layout: fixed;
		width: 100%
	}

}
remember that computers suck.