From b884f443b9e413a660e3c24686a84f394c3abae1 Mon Sep 17 00:00:00 2001 From: Giles Dring Date: Fri, 21 Jun 2024 00:19:34 +0100 Subject: [PATCH] Add table stying --- src/_includes/css/table.css | 18 ++++++++++++++++++ src/css/site.css | 1 + 2 files changed, 19 insertions(+) create mode 100644 src/_includes/css/table.css diff --git a/src/_includes/css/table.css b/src/_includes/css/table.css new file mode 100644 index 0000000..dc5b895 --- /dev/null +++ b/src/_includes/css/table.css @@ -0,0 +1,18 @@ +/* Stolen from Water.css! Thanks! */ +table { + border-collapse: collapse; + width: 100%; + table-layout: fixed; +} + +table caption { + text-align: left; +} + +thead { + border-bottom: 1px solid var(--border); +} + +tfoot { + border-top: 1px solid var(--border); +} \ No newline at end of file diff --git a/src/css/site.css b/src/css/site.css index 171ee81..e4b0be3 100644 --- a/src/css/site.css +++ b/src/css/site.css @@ -2,6 +2,7 @@ @import 'css/components.css'; @import 'css/base.css'; +@import 'css/table.css'; @import 'css/transitions.css'; :root {