From d8e691b2939cde312ea8df6625bd392a83696867 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 16 Aug 2025 20:54:59 +0200 Subject: fix: blockquote styling A heading in a blockquote had no padding between the border and the heading. --- README.md | 2 ++ assets/css/main.css | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 745f0e0..ce2f3f9 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ Tastefejl is a fork of the [Typo] Hugo theme, with the following changes: * Removed the render image hook that broke Markdown attributes for images (can be enabled with `markup.goldmark.parser.attribute.block = true`). +* Fixed blockquote styling (headings in blockquotes were touching the blockquote border). + * Removed [Simple Icons] because I don't want to plaster brands on my website and at one point a 50MB .html file was committed (I filtered the git history to reduce the size of the repository.) diff --git a/assets/css/main.css b/assets/css/main.css index 83c0e1f..7e267c4 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -606,11 +606,7 @@ blockquote { margin: 1.5rem; margin-left: 0; margin-right: 0; + padding-left: 1rem; border-left: solid 2px; color: var(--content-secondary); } - -blockquote p { - margin-left: 1rem; - margin-right: 1rem; -} -- cgit v1.2.3