Move color and font-size properties to ::after

This commit is contained in:
daudix
2024-07-27 16:30:15 +03:00
parent e16b8c1767
commit a1e6ac1d58

View File

@ -167,14 +167,14 @@ hr {
border: none; border: none;
border-top: 0.1875rem double var(--fg-muted-2); border-top: 0.1875rem double var(--fg-muted-2);
overflow: visible; overflow: visible;
color: var(--fg-muted-4);
font-size: 1.5rem;
text-align: center; text-align: center;
&::after { &::after {
position: relative; position: relative;
top: -1.5rem; top: -1.5rem;
content: "☙❧"; content: "☙❧";
color: var(--fg-muted-4);
font-size: 1.5rem;
// An ugly hack to fix mirroring in rtl // An ugly hack to fix mirroring in rtl
:root[dir*="rtl"] & { :root[dir*="rtl"] & {