From 4729f22f8b3cc9faaf147909c6fbec3f9e434d4c Mon Sep 17 00:00:00 2001 From: Jouan Amate Date: Tue, 22 Aug 2017 09:24:18 -0700 Subject: Fixed changes to .in-band CSS :target will specifically override .in-band background --- src/librustdoc/html/static/styles/main.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/librustdoc/html/static') 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; -- cgit 1.4.1-3-g733a5