Skip to content

Commit 5571257

Browse files
authored
Merge pull request #1817 from ehuss/rule-style-color
Make linked rules are clicked, highlight the color
2 parents 0ba97b1 + 2a1e36d commit 5571257

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)