From 94392c082192b1fc69fda2954e7b60eb0b741a72 Mon Sep 17 00:00:00 2001 From: a73x Date: Mon, 2 Sep 2024 18:32:22 +0100 Subject: feat(html): new css styling --- templates/layouts/_default.html | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/layouts/_default.html b/templates/layouts/_default.html index ada283c..0762919 100644 --- a/templates/layouts/_default.html +++ b/templates/layouts/_default.html @@ -17,16 +17,31 @@ font-weight: normal; font-style: normal; } + + code:not(pre > code) { + background-color: #f0f0f0; + padding: 0.2em 0.4em; + border-radius: 3px; + } + + blockquote { + border-left: 2px solid #000000; + padding-left: 10px; + } + code { font-family: "Mono"; } + h1 { margin-bottom: 0; } + body { max-width: 70ch; font-family: "Mono"; } + nav ul { display: flex; list-style: none; @@ -53,9 +68,10 @@ {{ template "content" . }} + -- cgit v1.2.3