diff options
author | Martin Fischer <martin@push-f.com> | 2025-08-16 20:54:59 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-08-16 22:32:40 +0200 |
commit | d8e691b2939cde312ea8df6625bd392a83696867 (patch) | |
tree | b1aad8d7333ded6768f3709bc79a03f36c2a8ed3 | |
parent | 0417a92524d58685b328a6cfa650d06e931ad054 (diff) |
fix: blockquote styling
A heading in a blockquote had no padding between the border and the heading.
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | assets/css/main.css | 6 |
2 files changed, 3 insertions, 5 deletions
@@ -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; -} |