summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-02-11 14:52:28 +0100
committerTor Andersson <tor@ccxvii.net>2022-02-15 12:18:30 +0100
commit87eb7db7edac63fb82f0f144d08a12c409609800 (patch)
treef8a6f8600a9f7909df07f640e2f09c9a6764a7f6 /public
parentb967bfc72c54ceafe800e44568aa4fa20fabd675 (diff)
downloadserver-87eb7db7edac63fb82f0f144d08a12c409609800.tar.gz
Add explicit thead/tbody/tfoot tags to tables.
Diffstat (limited to 'public')
-rw-r--r--public/style.css15
1 files changed, 8 insertions, 7 deletions
diff --git a/public/style.css b/public/style.css
index b5a69ad..5d99512 100644
--- a/public/style.css
+++ b/public/style.css
@@ -50,18 +50,19 @@ div.logo img {
table {
min-width: min(50rem,100%);
border-collapse: collapse;
+ border: 1px solid black;
}
-th, td {
+thead, tfoot {
+ background-color: gainsboro;
border: 1px solid black;
- padding: 3px 1ex;
}
-th {
+th, td {
+ vertical-align: top;
text-align: left;
- background-color: gainsboro;
+ padding: 5px 10px;
}
-td.body {
- white-space: pre-wrap;
- padding: 10px 10px;
+tbody tr:nth-child(2n) {
+ background-color: whitesmoke;
}
table a:not(:hover) { text-decoration: none; color: black; }
td.command a { text-decoration: underline; color: blue; }