From 6db37bb147c06cddf7ae6a99eb913a5ceaee792b Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sun, 16 Feb 2014 21:56:14 -0800 Subject: [PATCH] rustdoc: Highlight methods jumped to This helps figure out where you actually jumped to, especially if the thing you jumped to is at the very bottom of the page. Closes #9905 --- src/librustdoc/html/static/main.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css index e0f4a9c167d2..8e1876bad036 100644 --- a/src/librustdoc/html/static/main.css +++ b/src/librustdoc/html/static/main.css @@ -301,3 +301,5 @@ a { .stability.Stable { border-color: #AEC516; color: #7c8b10; } .stability.Frozen { border-color: #009431; color: #007726; } .stability.Locked { border-color: #0084B6; color: #00668c; } + +:target { background: #FDFFD3; }