diff options
| author | Jouan Amate <jouan.amate@gmail.com> | 2017-08-22 09:24:18 -0700 |
|---|---|---|
| committer | Jouan Amate <jouan.amate@gmail.com> | 2017-08-22 09:24:18 -0700 |
| commit | 4729f22f8b3cc9faaf147909c6fbec3f9e434d4c (patch) | |
| tree | fb501cbe3e6cffada9034192c501c52c7ddddcd5 /src/librustdoc/html/static | |
| parent | c8d58a306e9cc9afcc125a0b00fe110033bb7a49 (diff) | |
| download | rust-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.css | 9 |
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; |
