From af3982b386e835d31bf4151486f9afcbf7fc97b4 Mon Sep 17 00:00:00 2001 From: Hauke Stieler Date: Sun, 8 Aug 2021 22:58:03 +0200 Subject: Add basic table styling --- static/css/color-theme.css | 5 +++++ static/css/main.css | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/static/css/color-theme.css b/static/css/color-theme.css index 9423607..e0aac99 100644 --- a/static/css/color-theme.css +++ b/static/css/color-theme.css @@ -164,3 +164,8 @@ blockquote { border: 1px solid #dcedc8; border-left: 3px solid #9ccc65; } + +/* Table */ +table, th, td { + border: 1px solid #bdbdbd; +} diff --git a/static/css/main.css b/static/css/main.css index 29e846f..3e08185 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -372,3 +372,14 @@ I don't use the default pager-class because I want to use the normal buttons wit padding: 20px; margin: 15px 0px; } + +/* Table */ +table { + width: 100%; +} + +table, th, td { + border: 1px solid black; + border-collapse: collapse; + padding: 5px; +} -- cgit v1.2.3 From 271cab45b90bf83e87dcca032bc6b98492836d84 Mon Sep 17 00:00:00 2001 From: Hauke Stieler Date: Sun, 8 Aug 2021 23:05:16 +0200 Subject: Add margin --- static/css/main.css | 1 + 1 file changed, 1 insertion(+) diff --git a/static/css/main.css b/static/css/main.css index 3e08185..574a0cd 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -376,6 +376,7 @@ I don't use the default pager-class because I want to use the normal buttons wit /* Table */ table { width: 100%; + margin: 15px 0px; } table, th, td { -- cgit v1.2.3