From fee5eb133a4dcce5f0e6ccd57b8096bfbb8264df Mon Sep 17 00:00:00 2001 From: Nicholas Lamicela Date: Thu, 26 Dec 2024 19:19:10 -0800 Subject: [PATCH] fix: css header border on characters page --- _includes/layouts/home.njk | 2 +- content/index.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/layouts/home.njk b/_includes/layouts/home.njk index 741393f..05f5f16 100644 --- a/_includes/layouts/home.njk +++ b/_includes/layouts/home.njk @@ -3,7 +3,7 @@ layout: layouts/base.njk --- {% css %} -h2 { +h2 ~ h2 { border: none; padding-top: 20px; border-top: 12px double var(--xkcd-magenta); diff --git a/content/index.css b/content/index.css index 06ae735..4f7e5f5 100644 --- a/content/index.css +++ b/content/index.css @@ -195,7 +195,7 @@ a[href].header-anchor:focus, color: #aaa; } -h1:not(:has(+h2)) { +h1 { padding-bottom: 20px; border-bottom: 12px double var(--xkcd-magenta); }