diff options
Diffstat (limited to '_sass')
-rw-r--r-- | _sass/layout.scss | 1 | ||||
-rw-r--r-- | _sass/theme.scss | 35 |
2 files changed, 35 insertions, 1 deletions
diff --git a/_sass/layout.scss b/_sass/layout.scss index d699ee1..9666867 100644 --- a/_sass/layout.scss +++ b/_sass/layout.scss @@ -115,4 +115,3 @@ footer ul { flex-grow: 1; } - diff --git a/_sass/theme.scss b/_sass/theme.scss index f3fd683..d599fc4 100644 --- a/_sass/theme.scss +++ b/_sass/theme.scss @@ -58,3 +58,38 @@ nav .right a { font-style: italic; } +td, th { + padding: 0 1ex; +} +table { + border-color: currentColor; + border-spacing: 0; +} + +// booktabs tables +table th { + border-bottom-style: solid; // \midrule + padding-bottom: .4ex; // \aboverulesep + border-bottom-width: .05em; // \lightrulewidth +} +table tr:has(th) + tr td { + padding-top: .65ex; // \belowrulesep +} +table { + border-top-style: solid; // \toprule + margin-top: 0; // \abovetopsep + border-top-width: .08em; // \heavyrulewidth + padding-top: .65ex; // \belowrulesep + + border-bottom-style: solid; // \bottomrule + padding-bottom: .4ex; // \aboverulesep + border-bottom-width: .08em; // \heavyrulewidth + margin-bottom: 0; // \belowbottomsep +} + +.sortcolumn { + display: list-item; + list-style: inside; + list-style-type: disclosure-open; +} + |