diff options
author | Martin Fischer <martin@push-f.com> | 2025-03-09 13:48:00 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-03-09 21:36:04 +0100 |
commit | 232f1499bb9a2cc85a63abcc1c22776ef77781fb (patch) | |
tree | 50b9b429140e6d597090e5d1264496555fd0edf7 /static/style.css | |
parent | 42c737aa1a7731170e8369482f96b557a1bd7a36 (diff) |
Diffstat (limited to 'static/style.css')
-rw-r--r-- | static/style.css | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..66fe28f --- /dev/null +++ b/static/style.css @@ -0,0 +1,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); +} |