From d3bd14134a3176785ae25aaaca56a1ad28f7d04a Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Wed, 3 Nov 2021 11:35:31 +0100 Subject: [PATCH] Change title markers to squares --- themes/custom/assets/style.scss | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/themes/custom/assets/style.scss b/themes/custom/assets/style.scss index 512db60..994e603 100644 --- a/themes/custom/assets/style.scss +++ b/themes/custom/assets/style.scss @@ -50,13 +50,16 @@ content: ""; } -.content h2:before, -.content h3:before { - content: "#"; - color: $grey; - position: absolute; - left: 0; - margin-left: -2rem; +@media screen and (min-width: $desktop) { + .content h2:before, + .content h3:before { + content: "◼"; + color: lighten($background-base-color, 6); + position: absolute; + left: 0; + margin-left: -2.5rem; + line-height: 1em; + } } .message {