We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f9ea21 commit 13869f4Copy full SHA for 13869f4
theme/reference.css
@@ -298,11 +298,18 @@ main > .rule {
298
navigate to it. This adds an indicator that the linked rule is the one that
299
is "current", just like normal headers are in mdbook.
300
*/
301
-.rule:target::before {
+.rule:target a span::before {
302
display: inline-block;
303
content: "»";
304
- margin-inline-start: -20px;
305
- width: 20px;
+ padding-right: 5px;
+}
306
+
307
+/* Dodge » from headings */
308
+.rule:has(+ h1:target),
309
+.rule:has(+ h2:target),
310
+.rule:has(+ h3:target),
311
+.rule:has(+ h4:target) {
312
+ padding-right: 24px;
313
}
314
315
/* Hide the rules if the width of the container is too small.
0 commit comments