about summary refs log tree commit diff
path: root/src/librustdoc/html/static/main.css
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-02-16 21:56:14 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-19 01:10:31 -0800
commit6db37bb147c06cddf7ae6a99eb913a5ceaee792b (patch)
tree94ac63d276bc1e33b8e153d6d43c6e0de0f7d8e4 /src/librustdoc/html/static/main.css
parent867988c1dc8b17f358a1066160cd9efc9ac1eff5 (diff)
downloadrust-6db37bb147c06cddf7ae6a99eb913a5ceaee792b.tar.gz
rust-6db37bb147c06cddf7ae6a99eb913a5ceaee792b.zip
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
Diffstat (limited to 'src/librustdoc/html/static/main.css')
-rw-r--r--src/librustdoc/html/static/main.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css
index e0f4a9c167d..8e1876bad03 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; }