summary refs log tree commit diff
path: root/default.css
blob: 609ad61db93a2df43981bfe496dff9278e682005 (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
:root {
	--background: #fff;
	--foreground: #222;
	--accent: #c29;
	--dim: #777;
}

@media (prefers-color-scheme: dark) {
	:root {
		--background: #111;
		--foreground: #bbb;
	}
}

html {
	font-family: monospace;
	line-height: 1.25em;
	color: var(--foreground);
	background-color: var(--background);
}

a, a:visited {
	color: var(--accent);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

body {
	max-width: 130ch;
	margin: auto;
	padding: 1em 1ch;
}

h1 {
	margin: 0;
}

nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5em;
}

nav ol {
	margin: 1em 1ch 0 0;
	padding: 0;
	list-style-type: none;
}
nav ol li {
	display: inline;
}
nav ol li::before {
	content: '/';
}

nav form {
	margin-top: 1em;
}

table {
	border-collapse: collapse;
}
tr {
	vertical-align: top;
}
tr td:not(:last-child) {
	padding-right: 1ch;
}

td.time {
	white-space: nowrap;
}
td.time a {
	color: var(--dim);
}
tr:target td.time a {
	color: var(--accent);
	text-decoration: underline;
}

td.network a, td.context a {
	color: var(--dim);
}

td.nick {
	text-align: right;
}
tr.privmsg td.nick span::before {
	content: '<';
}
tr.privmsg td.nick span::after {
	content: '>';
}
tr.action td.nick span::before {
	content: '* ';
}
tr.notice td.nick span::before, tr.notice td.nick span::after {
	content: '-';
}

footer {
	font-size: 0.83em;
	color: var(--dim);
	margin-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
footer a, footer a:visited {
	color: var(--dim);
}
footer span[title] {
	cursor: help;
}
footer span[title]:hover {
	text-decoration: underline;
	text-decoration-style: dotted;
}