From 577c7cb3812d0ddef82089bf9fbd0e7c37d1baee Mon Sep 17 00:00:00 2001 From: Luca Corrieri Date: Tue, 12 Mar 2019 23:52:22 +0100 Subject: Improved tables style --- assets/css/reset.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/assets/css/reset.css b/assets/css/reset.css index b3abac5..dec0fd8 100644 --- a/assets/css/reset.css +++ b/assets/css/reset.css @@ -57,10 +57,7 @@ table, caption, tbody, tfoot, -thead, -tr, -th, -td { +thead { border: 0; padding: 0; margin: 0; @@ -162,9 +159,11 @@ select { text-transform: none; } -table { +table, td, tr, th { + margin: auto; border-collapse: collapse; - border-spacing: 0; + border: 1px solid var(--primary-text); + padding: 10px; } [hidden] { -- cgit v1.2.3 From 1290a070c62bab86c4889d0bb603f8cd8fbb6394 Mon Sep 17 00:00:00 2001 From: Luca Corrieri Date: Wed, 13 Mar 2019 00:00:08 +0100 Subject: Added a margin-bottom at the end of static pages since they have no tags I found the text a little too close to the footer in that case --- layouts/_default/single.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index f6b15ae..9f108f7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -18,9 +18,15 @@ {{ end }} + {{ if ne .Type "page" }}
{{ .Content }}
+ {{ else }} +
+ {{ .Content }} +
+ {{ end }} {{ if ne .Type "page" }}