aboutsummaryrefslogtreecommitdiff
path: root/_sass/theme.scss
diff options
context:
space:
mode:
Diffstat (limited to '_sass/theme.scss')
-rw-r--r--_sass/theme.scss35
1 files changed, 35 insertions, 0 deletions
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;
+}
+