Skip to content

Commit aeeb04d

Browse files
authored
Merge pull request #260 from matthewjasper/monospace-links
Color inline code links
2 parents e490727 + cc13d03 commit aeeb04d

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

src/theme/reference.css

+13-2
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,21 @@ p.warning a {
4545
color: rgb(0, 136, 204)
4646
}
4747

48-
a .hljs {
48+
/* color hyperlinked inline code items identically to normal links */
49+
.light a > .hljs {
4950
color: #4183c4;
5051
}
5152

53+
.rust a > .hljs,
54+
.coal a > .hljs,
55+
.navy a > .hljs {
56+
color: #2b79a2;
57+
}
58+
59+
.ayu a > .hljs {
60+
color: #0096cf;
61+
}
62+
5263
/*
5364
.parenthetical class used to keep e.g. "less-than symbol (<)" from wrapping
5465
the end parenthesis onto its own line. Use in a span between the last word and
@@ -57,4 +68,4 @@ the parenthetical. So for this example, you'd use
5768
*/
5869
.parenthetical {
5970
white-space: nowrap;
60-
}
71+
}

0 commit comments

Comments
 (0)