mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Restyle code links in docs
This commit is contained in:
parent
0291d5d0c0
commit
457c85e5aa
1 changed files with 6 additions and 3 deletions
|
@ -65,7 +65,7 @@ a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover, a:hover code {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -287,11 +287,14 @@ code {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
code a {
|
code a, a code {
|
||||||
|
text-decoration: none;
|
||||||
color: var(--code-link-color);
|
color: var(--code-link-color);
|
||||||
|
background: none;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
code a:visited {
|
code a:visited, a:visited code {
|
||||||
color: var(--code-link-color);
|
color: var(--code-link-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue