From f72739239a2987c6f66f942ae44f5e1bbff885dd Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 20 Aug 2022 09:14:39 +0300 Subject: Updated style of tables --- src/styles.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/styles.css') diff --git a/src/styles.css b/src/styles.css index 668fe5f..e222616 100644 --- a/src/styles.css +++ b/src/styles.css @@ -133,10 +133,6 @@ ul, ol { padding-inline-start: 30px; } -table code { - white-space: normal; -} - h1, h2, h3, h4, h5, h6, b { color: var(--header-color); border-color: var(--border-color); @@ -278,17 +274,21 @@ table th:not(:empty) { } table code { + white-space: normal; font-size: 0.7em; } -table td, -table th { - border: 1px solid var(--td-border-color); +table td:not(:first-of-type), +table th:not(:first-of-type) { + border-left: 1px solid var(--td-border-color); } -table tr { +table tr:not(:first-of-type) { background-color: var(--tr-bg-color); - border-top: 1px solid var(--tr-border-color); +} + +thead tr { + border-bottom: 2px dashed var(--td-border-color); } table tr:nth-child(2n) { -- cgit v1.3.1-23-gd82d