Skip to content

Commit a14678f

Browse files
f
1 parent 62cd1bb commit a14678f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/librustdoc/html/static/css/rustdoc.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,16 @@ h2.small-section-header > .anchor {
769769
padding-right: 6px;
770770
}
771771
.doc-anchor {
772-
margin-right: 6px;
772+
color: var(--main-color);
773+
display: none;
774+
position: absolute;
775+
left: -6px;
776+
}
777+
*:hover > .doc-anchor {
778+
display: block;
779+
}
780+
#top-doc > *:first-child > .doc-anchor {
781+
display: none;
773782
}
774783

775784
.main-heading a:hover,

0 commit comments

Comments
 (0)