summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--style.css23
1 files changed, 23 insertions, 0 deletions
diff --git a/style.css b/style.css
index c2159e6..66fe28f 100644
--- a/style.css
+++ b/style.css
@@ -9,8 +9,31 @@ th {
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);
+}