From fa9361f7d4f2c2b494fc36b23cca337609a8160d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 24 Feb 2023 09:04:52 +0100 Subject: Re-add heading highlight --- src/objects/_heading.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/objects') diff --git a/src/objects/_heading.scss b/src/objects/_heading.scss index b6ae3a4..7cfd9af 100644 --- a/src/objects/_heading.scss +++ b/src/objects/_heading.scss @@ -25,6 +25,16 @@ margin-top: fn.global-dim(--heading --margin-top-sibling); } + @include iro.bem-elem('highlight') { + background-image: linear-gradient( + to top, + transparent .15em, + fn.color(--bg) .15em, + fn.color(--bg) .6em, + transparent .6em + ); + } + @include iro.bem-modifier('xxl') { @include mx.heading-strong(fn.global-dim(--heading --lg)); } -- cgit v1.2.3-54-g00ecf