From f32d8cbf54e73168e6548b2867345d0befbacf6b Mon Sep 17 00:00:00 2001 From: micha Date: Tue, 20 Dec 2022 12:16:16 +0100 Subject: [PATCH] changed table layout --- layouts/_default/baseof.html | 4 ++-- static/css/style.css | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 678a172..04091c6 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -8,7 +8,7 @@ {{ .Site.Title }} {{ with .Site.Params.description }}{{ end }} {{ with .Site.Params.author }}{{ end }} - + {{ range .Site.Params.customCSS -}} {{- end }} @@ -21,4 +21,4 @@ {{ block "main" . }}{{ end }} {{ partial "footer" . }} - \ No newline at end of file + diff --git a/static/css/style.css b/static/css/style.css index 2046caf..b4512c6 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -13,8 +13,8 @@ body{ max-width:800px; margin:40px auto; padding:0 10px; - font:16px/1.5 monospace; - text-align: justify; + font:14px/1.5 monospace; + text-align: left; color:var(--fontcolor); background: var(--bgcolor) } a:link{ @@ -86,3 +86,9 @@ div.ascii-art a{ div.nav a { text-decoration: none; } +table, th, td { + border: 1px solid; + border-collapse: collapse; + padding-left: 10px; + padding-right: 10px; +}