From: Dan Allen Date: Thu, 1 Aug 2019 23:00:56 +0000 (-0600) Subject: only thicken bottom border of th inside thead X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f21614b5015a50ffeba9c04e1e6d962678f442fe;p=working%2Feg-antora.git only thicken bottom border of th inside thead --- diff --git a/src/css/doc.css b/src/css/doc.css index 3bd4502..3adc34a 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -118,9 +118,9 @@ .doc thead code { color: var(--code-font-color); background: var(--code-background); - border-radius: 0.2rem; - font-size: calc(16 / var(--rem-base) * 1rem); - padding: 0.075rem 0.25rem 0.125rem; + border-radius: 0.25em; + font-size: 0.95em; + padding: 0.125em 0.25em; } .doc pre { @@ -172,18 +172,16 @@ width: 100%; } -.doc table.tableblock th, -.doc table.tableblock td { - padding: 0.5rem; -} - -.doc table.tableblock th { +.doc table.tableblock thead th { border-bottom: 2.5px solid var(--table-border-color); + padding: 0.5rem; } -.doc table.tableblock td { +.doc table.tableblock td, +.doc table.tableblock > :not(thead) th { border-top: 1px solid var(--table-border-color); border-bottom: 1px solid var(--table-border-color); + padding: 0.5rem; } .doc .halign-left {