mirror of
https://github.com/rust-lang-nursery/rust-cookbook
synced 2024-11-22 03:23:05 +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%;
|
||||
}
|
||||
|
||||
/* hide only the playground button */
|
||||
i.fa.fa-play.play-button {
|
||||
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…
Reference in a new issue