From 80e05938c7aa04309dfe2e5dc6ac198444fa8223 Mon Sep 17 00:00:00 2001 From: PLanCompS <18308236+pdmosses@users.noreply.github.com> Date: Tue, 29 Sep 2020 17:25:34 +0200 Subject: [PATCH] prettier --- _sass/content.scss | 55 ++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 29 deletions(-) diff --git a/_sass/content.scss b/_sass/content.scss index 96cddc8..45be6bc 100644 --- a/_sass/content.scss +++ b/_sass/content.scss @@ -130,32 +130,6 @@ grid-column: 2; margin-bottom: 0; margin-left: 1em; - } - - .anchor-heading { - position: absolute; - right: -$sp-4; - width: $sp-5; - height: 100%; - padding-right: $sp-1; - padding-left: $sp-1; - overflow: visible; - - @include mq(md) { - right: auto; - left: -$sp-5; - } - - svg { - display: inline-block; - width: 100%; - height: 100%; - color: $link-color; - visibility: hidden; - } - } - - dd { blockquote, div, dl, @@ -178,9 +152,9 @@ } } } - - dd, - ol, + + dd, + ol, ul { dl:first-child { dt:first-child, @@ -190,6 +164,29 @@ } } + .anchor-heading { + position: absolute; + right: -$sp-4; + width: $sp-5; + height: 100%; + padding-right: $sp-1; + padding-left: $sp-1; + overflow: visible; + + @include mq(md) { + right: auto; + left: -$sp-5; + } + + svg { + display: inline-block; + width: 100%; + height: 100%; + color: $link-color; + visibility: hidden; + } + } + .anchor-heading:hover, h1:hover > .anchor-heading, h2:hover > .anchor-heading,