From 87eb7db7edac63fb82f0f144d08a12c409609800 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 11 Feb 2022 14:52:28 +0100 Subject: Add explicit thead/tbody/tfoot tags to tables. --- public/style.css | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'public/style.css') 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; } -- cgit v1.2.3