blob: 551bb211880dcbee523766b37f22f44845e3ca4e (
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
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
|
body {
--font-color: #000;
--bg-color: #f8f8f8;
--header-bg-color: #ddd;
--footer-text-color: #333;
--footer-bg-color: #eee;
--meta-color: #777;
--nickwrap-color: #999;
--link-color: #33f;
}
@media (prefers-color-scheme: dark) {
body {
--font-color: #ddd;
--header-bg-color: #282828;
--bg-color: #1d1d1d;
--footer-bg-color: #333;
--footer-text-color: #eee;
--meta-color: #676767;
--nickwrap-color: var(--meta-color);
--link-color: #abf;
}
}
html, body {
margin: 0;
}
body {
font-family: "Adwaita Sans", sans-serif;
font-variant-numeric: tabular-nums;
background-color: var(--bg-color);
color: var(--font-color);
}
a {
text-decoration: none;
color: var(--link-color);
}
a:hover {
text-decoration: underline;
}
/* put footer at bottom */
#gridwrapper {
min-height: 100vh;
display: grid;
}
#gridwrapper[data-page="index"] {
grid-template-rows: 1fr auto;
}
#gridwrapper[data-page="withheader"] {
grid-template-rows: auto 1fr auto;
}
header {
background-color: var(--header-bg-color);
padding: 10px;
padding-left: 20px;
}
main {
margin: 0 20px 30px 20px;
}
footer {
background-color: var(--footer-bg-color);
padding: 20px;
font-size: smaller;
color: var(--footer-text-color);
}
.hdrspacer {
display: inline-block;
width: 15px;
}
.hdritem {
margin-top: auto;
margin-bottom: auto;
}
/* index page */
.chanlink {
font-weight: bold;
font-size: large;
}
/* log page */
#pagepicker {
display: inline-block;
background-color: var(--footer-bg-color);
padding: 5px;
border-radius: 5px;
margin-bottom: 10px;
}
#pagepicker-pages {
display: inline-block;
margin-left: 10px;
}
#pagepicker-pages a, #pagepicker-pages b {
padding: 0 6px;
}
table#events td {
padding: 2px;
vertical-align: top;
}
table#events td:nth-child(2) {
text-align: right;
}
table#events td:nth-child(-n + 2) {
white-space: nowrap;
padding-right: 10px;
}
span.nickwrap { color: var(--nickwrap-color); }
table#events tr.ev-meta > td:nth-child(n + 2) { color: var(--meta-color); }
table#events tr.ev-act > td:nth-child(n + 2) { font-style: italic; }
table#events tr.ev-notice > td:nth-child(n + 2) { font-weight: bold; }
table#events tr.ev-parseerror > td:nth-child(n + 2) { color: red; }
|