Skip to content

Commit 8133b64

Browse files
committed
docs: fix css for sass optimization
1 parent 07e058f commit 8133b64

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/src/css/content/markdown.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ html body pre.prism-code > button {
119119
}
120120

121121
.markdown :target,
122-
h2:target ~ *:not(h2, h2:target ~ *:where(h2):not(:target) ~ *),
123-
h3:target ~ *:not(h2, h3, h3:target ~ *:where(h2, h3):not(:target) ~ *),
124-
h4:target ~ *:not(h2, h3, h4, h4:target ~ *:where(h2, h3, h4):not(:target) ~ *) {
122+
h2:target ~ *:not(h2, h2:target ~ *:where(h1, h2):not(:target) ~ *),
123+
h3:target ~ *:not(h2, h3, h3:target ~ *:where(h1, h2, h3):not(:target) ~ *),
124+
h4:target ~ *:not(h2, h3, h4, h4:target ~ *:where(h1, h2, h3, h4):not(:target) ~ *) {
125125
&:where(:not(details *))::before {
126126
content: " ";
127127
width: 4px;
@@ -139,7 +139,7 @@ h4:target ~ *:not(h2, h3, h4, h4:target ~ *:where(h2, h3, h4):not(:target) ~ *)
139139
}
140140
}
141141

142-
&:where(h2):target::before {
142+
&:where(h1, h2):target::before {
143143
top: 25px;
144144
}
145145

0 commit comments

Comments
 (0)