blob: 66fe28f39e6fb6bfe8db3a2895337ef4a06bdc30 (
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
|
body {
font-family: sans-serif;
}
a {
text-decoration: none;
}
th {
position: sticky;
top: 0;
background: gainsboro;
}
td, th {
padding: 0.2em;
}
td:first-of-type { text-align: center; }
.status-voting { background: #baf; }
.status-proposed { background: #eef; }
.status-approved { background: #dfd; }
.status-rejected { background: #fbb; }
/* Cleaner table borders compatible with the sticky table header */
table {
border-spacing: 0;
border: none;
--border: 1px solid #999;
}
table th {
border: var(--border);
border-left: none;
}
table td {
border: var(--border);
border-left: none;
border-top: none;
}
table tr > th:first-child,
table tr > td:first-child {
border-left: var(--border);
}
|