Move color and font-size properties to ::after
This commit is contained in:
@ -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"] & {
|
||||||
|
Reference in New Issue
Block a user