Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hauke96/hugo-theme-hamburg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Stieler <mail@hauke-stieler.de>2021-08-08 23:58:03 +0300
committerHauke Stieler <mail@hauke-stieler.de>2021-08-08 23:58:03 +0300
commitaf3982b386e835d31bf4151486f9afcbf7fc97b4 (patch)
treeff4a662ff54000001182d1a5c39863da0460c920
parent1b5a76d016f6d72336b416c026bb9c7eb9e9a6de (diff)
Add basic table styling
-rw-r--r--static/css/color-theme.css5
-rw-r--r--static/css/main.css11
2 files changed, 16 insertions, 0 deletions
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;
+}