Skip to content

Commit

Permalink
Fixed changes to .in-band CSS
Browse files Browse the repository at this point in the history
:target will specifically override .in-band background
  • Loading branch information
Jouan committed Aug 22, 2017
1 parent c8d58a3 commit 4729f22
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/librustdoc/html/static/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -80,6 +84,11 @@ pre {
}

:target { background: #FDFFD3; }

:target > .in-band {
background: #FDFFD3;
}

.content .highlighted {
color: #000 !important;
background-color: #ccc;
Expand Down

0 comments on commit 4729f22

Please sign in to comment.