From e5dd727c6d55ca41d2043bd870ae0bb49ecd9a68 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 1 Dec 2023 17:16:04 -0800 Subject: some more CSS tweaks --- layouts/partials/header.html | 2 +- layouts/partials/postlist.html | 2 +- static/css/custom.css | 29 ++++++++++++++++------------- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 48c805e..8f8156a 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,7 +3,7 @@ about diff --git a/layouts/partials/postlist.html b/layouts/partials/postlist.html index 575f0b8..a08c016 100644 --- a/layouts/partials/postlist.html +++ b/layouts/partials/postlist.html @@ -2,7 +2,7 @@ {{ range .GroupByDate "2006" }} {{ range .Pages.ByDate.Reverse }}
  • - {{ .Title }} + {{ .Title }}
  • {{ end }} diff --git a/static/css/custom.css b/static/css/custom.css index d70155f..ff11c59 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -3,9 +3,10 @@ body { margin: 1em auto; padding: 0 0.55em; max-width: 50rem; - line-height: 1.3; - font-size: 1.08em; - background-color: rgb(255, 248, 231); + line-height: 1.5; + font-family: sans-serif; + font-size: 16px; + background-color: rgb(255, 252, 246); } h1,h2,h3,h4 { @@ -18,9 +19,8 @@ h1#header { } h1 { - font-size: 1.2rem; - margin-top: 1em; - margin-bottom: 0.34em; + font-size: 30px; + margin-bottom: 2px; } h2 { @@ -30,9 +30,13 @@ h2 { } a { - color: #4d76ae; + color: rgb(16, 16, 16); } +/* a:link { */ +/* text-decoration: none; */ +/* } */ + a:link, a:hover, a:focus, @@ -54,7 +58,7 @@ code { font-family: monospace; font-size: 95%; padding: 0.2rem; - background-color: #eee; + background-color: #f2f1eb; color: #000; border-radius: 4px; } @@ -70,7 +74,7 @@ pre { word-wrap: normal; padding: 0.8em; overflow-x: auto; - background-color: #f0f0f0; + background-color: #f2f1eb; } #meta { @@ -126,7 +130,6 @@ blockquote { nav { align-items: center; - border-bottom: 0.2em solid #047bc2; display: flex; font-family: monospace; font-size: 1.1em; @@ -163,18 +166,18 @@ nav h2 a { .nav-bold { text-decoration: none; - color: #2a3439; + color: rgb(16, 16, 16); } ul.list-content { list-style: none; padding: 0; line-height: 2em; - font-family: monospace; + /* font-family: monospace; */ } article { - text-align: justify; + text-align: justify; } .post-permalink { -- cgit 1.4.1