From a1e6ac1d58c7239a62d2f6051d60015ac1c321ee Mon Sep 17 00:00:00 2001 From: daudix Date: Sat, 27 Jul 2024 16:30:15 +0300 Subject: [PATCH] Move color and font-size properties to ::after --- sass/_typography.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sass/_typography.scss b/sass/_typography.scss index 9ed121b..8064a57 100644 --- a/sass/_typography.scss +++ b/sass/_typography.scss @@ -167,14 +167,14 @@ hr { border: none; border-top: 0.1875rem double var(--fg-muted-2); overflow: visible; - color: var(--fg-muted-4); - font-size: 1.5rem; text-align: center; &::after { position: relative; top: -1.5rem; content: "☙❧"; + color: var(--fg-muted-4); + font-size: 1.5rem; // An ugly hack to fix mirroring in rtl :root[dir*="rtl"] & {