mirror of
https://github.com/rust-lang-nursery/rust-cookbook
synced 2025-02-16 20:28:27 +00:00
Merge pull request #144 from budziq/link_highlight
Inline code with hyperlink is now highlighted
This commit is contained in:
commit
9fbfa14713
1 changed files with 18 additions and 0 deletions
|
@ -833,6 +833,24 @@ table td:nth-child(2){
|
||||||
width: 20%;
|
width: 20%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* hide only the playground button */
|
||||||
i.fa.fa-play.play-button {
|
i.fa.fa-play.play-button {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* underline hyperlinked inline code items */
|
||||||
|
a:hover > .hljs {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* color hyperlinked inline code items
|
||||||
|
identically to normal links */
|
||||||
|
.rust a > .hljs,
|
||||||
|
.navy a > .hljs,
|
||||||
|
.coal a > .hljs{
|
||||||
|
color: #2b79a2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.light a > .hljs {
|
||||||
|
color: #4183c4;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue