From f21614b5015a50ffeba9c04e1e6d962678f442fe Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Thu, 1 Aug 2019 17:00:56 -0600 Subject: [PATCH] only thicken bottom border of th inside thead --- src/css/doc.css | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) 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 { -- 2.11.0