Skip to content

Commit

Permalink
Fixes text becoming invisible when element targetted
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jan 15, 2019
1 parent aea9f0a commit feda604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 1 addition & 7 deletions src/librustdoc/html/static/themes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ pre {
border-bottom-color: #ddd;
}

:target { background: #494a3d; }

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

.content .method .where,
.content .fn .where,
.content .where.fmt-newline {
Expand Down Expand Up @@ -252,7 +246,7 @@ a.test-arrow:hover{
color: #999;
}

:target > code {
:target > code, :target > .in-band {
background-color: #494a3d;
}

Expand Down
8 changes: 1 addition & 7 deletions src/librustdoc/html/static/themes/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,6 @@ pre {
border-bottom-color: #ddd;
}

:target { background: #FDFFD3; }

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

.content .method .where,
.content .fn .where,
.content .where.fmt-newline {
Expand Down Expand Up @@ -247,7 +241,7 @@ a.test-arrow:hover{
color: #999;
}

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

Expand Down

0 comments on commit feda604

Please sign in to comment.