aboutsummaryrefslogtreecommitdiff
path: root/_sass
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-24 21:15:21 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-24 21:15:21 +0100
commit126fa877f904a894e43c423fe19427e9221e36d1 (patch)
tree4522622d5719a78dee7b60d97dba5d58695496ea /_sass
parent1892bc38d8416a6ec79f37c41a9ffb38b6f44938 (diff)
more tweaks
Diffstat (limited to '_sass')
-rw-r--r--_sass/layout.scss1
-rw-r--r--_sass/theme.scss35
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;
+}
+