diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-02-11 14:52:28 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-02-15 12:18:30 +0100 |
commit | 87eb7db7edac63fb82f0f144d08a12c409609800 (patch) | |
tree | f8a6f8600a9f7909df07f640e2f09c9a6764a7f6 /public/style.css | |
parent | b967bfc72c54ceafe800e44568aa4fa20fabd675 (diff) | |
download | server-87eb7db7edac63fb82f0f144d08a12c409609800.tar.gz |
Add explicit thead/tbody/tfoot tags to tables.
Diffstat (limited to 'public/style.css')
-rw-r--r-- | public/style.css | 15 |
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; } |