summaryrefslogtreecommitdiff
path: root/style
diff options
context:
space:
mode:
Diffstat (limited to 'style')
-rw-r--r--style/main.css28
1 files changed, 28 insertions, 0 deletions
diff --git a/style/main.css b/style/main.css
index e650d1b..e4e0e0e 100644
--- a/style/main.css
+++ b/style/main.css
@@ -392,6 +392,34 @@ footer, #about_pane
transform: rotate(180deg);
}
+table, td, th, td
+{
+ border-collapse: separate;
+ border-spacing: 0;
+}
+
+table
+{
+ border: none !important;
+}
+
+td, th, td
+{
+ padding: 5pt;
+ border-left: solid 1px var(--border);
+ border-right: none;
+ border-top: solid 1px var(--border);
+ border-bottom: none;
+}
+
+tr:last-of-type td { border-bottom: solid 1px var(--border); }
+td:last-of-type { border-right: solid 1px var(--border); }
+
+tr:first-of-type td:first-of-type { border-top-left-radius: 0.5em; }
+tr:first-of-type td:last-of-type { border-top-right-radius: 0.5em; }
+tr:last-of-type td:first-of-type { border-bottom-left-radius: 0.5em; }
+tr:last-of-type td:last-of-type { border-bottom-right-radius: 0.5em; }
+
@media (prefers-color-scheme: dark)
{