about summary refs log tree commit diff
path: root/src/librustdoc/html/static/rustdoc.css
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-31 12:11:05 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-31 15:20:45 +0200
commit9b637fa72e4d6a3aebcbf92cc4e18b94a7bf31b7 (patch)
treefa14777e94c92844e1aa72c15d4f325aff03be54 /src/librustdoc/html/static/rustdoc.css
parenta2ba9ef1ff363341bae9a9ced37f14fee68538ec (diff)
downloadrust-9b637fa72e4d6a3aebcbf92cc4e18b94a7bf31b7.tar.gz
rust-9b637fa72e4d6a3aebcbf92cc4e18b94a7bf31b7.zip
Improve display of the separation between page items and siblings in the sidebar
Diffstat (limited to 'src/librustdoc/html/static/rustdoc.css')
-rw-r--r--src/librustdoc/html/static/rustdoc.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index f3866e211d9..da38052763d 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -304,9 +304,12 @@ nav.sub {
 	border: none;
 }
 
-.location a:first-child {
+.location a:first-of-type {
 	font-weight: 500;
 }
+.location a:hover {
+	text-decoration: underline;
+}
 
 .block {
 	padding: 0;