From 808bca2c6df1bbb1a3036acddac36f3be4b4a686 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 15 Oct 2023 19:27:44 +0200 Subject: [PATCH] fix links in header not only for anchors --- static/css/blog/post.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/static/css/blog/post.css b/static/css/blog/post.css index f9ad3ec..57bbb46 100644 --- a/static/css/blog/post.css +++ b/static/css/blog/post.css @@ -88,10 +88,19 @@ a.anchor::before { a.anchor { text-decoration: none; - font-size: calc(var(--font-size) * 1.3); vertical-align: baseline; } +/* Links in headers */ +h1 a, +h2 a, +h3 a, +h4 a, +h5 a, +h6 a { + font-size: inherit; +} + /* Separators */ hr { border: 0;