about summary refs log tree commit diff
path: root/src/librustdoc/html/static
diff options
context:
space:
mode:
authorJouan Amate <jouan.amate@gmail.com>2017-08-22 09:24:18 -0700
committerJouan Amate <jouan.amate@gmail.com>2017-08-22 09:24:18 -0700
commit4729f22f8b3cc9faaf147909c6fbec3f9e434d4c (patch)
treefb501cbe3e6cffada9034192c501c52c7ddddcd5 /src/librustdoc/html/static
parentc8d58a306e9cc9afcc125a0b00fe110033bb7a49 (diff)
downloadrust-4729f22f8b3cc9faaf147909c6fbec3f9e434d4c.tar.gz
rust-4729f22f8b3cc9faaf147909c6fbec3f9e434d4c.zip
Fixed changes to .in-band CSS
:target will specifically override .in-band background
Diffstat (limited to 'src/librustdoc/html/static')
-rw-r--r--src/librustdoc/html/static/styles/main.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/styles/main.css b/src/librustdoc/html/static/styles/main.css
index 9c88c12086e..c5f4272b932 100644
--- a/src/librustdoc/html/static/styles/main.css
+++ b/src/librustdoc/html/static/styles/main.css
@@ -27,6 +27,10 @@ h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.t
 	border-bottom-color: #DDDDDD;
 }
 
+.in-band {
+	background-color: white;
+}
+
 .docblock code, .docblock-short code {
 	background-color: #F5F5F5;
 }
@@ -80,6 +84,11 @@ pre {
 }
 
 :target { background: #FDFFD3; }
+
+:target > .in-band {
+	background: #FDFFD3;
+}
+
 .content .highlighted {
 	color: #000 !important;
 	background-color: #ccc;