Underline source code links on hover

This commit is contained in:
Guillaume Gomez 2021-04-14 13:26:49 +02:00 committed by Guillaume Gomez
parent 89bdc33781
commit b5c27b49d0

View File

@ -450,6 +450,10 @@ nav.sub {
border-bottom-left-radius: 5px;
}
.example-wrap > pre.rust a:hover {
text-decoration: underline;
}
.rustdoc:not(.source) .example-wrap > pre:not(.line-number) {
width: 100%;
overflow-x: auto;