Skip to content

Commit 2a1e36d

Browse files
committed
Make linked rules are clicked, highlight the color
The current grey color has a low contrast with the background. This changes it so that when selected it uses the foreground color so that it is clearer which rule is currently linked to.
1 parent 0ba97b1 commit 2a1e36d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

theme/reference.css

+5
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,11 @@ main > .rule {
389389
padding-right: 5px;
390390
}
391391

392+
/* Make it bolder/easier to read when selected. */
393+
.rule:target .rule-link {
394+
color: var(--fg) !important;
395+
}
396+
392397
/* Dodge » from headings */
393398
/* Note: Some rules have a .tests-popup in the way, so that's why this selects
394399
either with or without. */

0 commit comments

Comments
 (0)