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); }