summaryrefslogtreecommitdiff
path: root/pages/style.css
blob: e7c850ace5afae87933ba63c45677b40fef139a3 (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
html, body {
  margin: 0;
}

body {
  font-family: sans-serif;
}

#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: #ddd;
  padding: 10px;
  padding-left: 20px;
}

main {
  margin: 0 20px 30px 20px;
}

footer {
  background-color: #eee;
  padding: 20px;
  font-size: smaller;
  color: #333;
}

.hdrspacer {
  display: inline-block;
  width: 15px;
}

.hdrchannel {
  font-size: larger;
  font-weight: bold;
  vertical-align: middle;
  margin-left: 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: #eee;
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 10px;
}

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: #888; }
table#events tr.ev-meta > td:nth-child(n + 2) { color: #666; }
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; }