Skip to content

Commit

Permalink
Rollup merge of rust-lang#59822 - GuillaumeGomez:fix-dark-theme-css, …
Browse files Browse the repository at this point in the history
…r=Manishearth

Fix dark css rule

Fixes rust-lang#59817.

r? @rust-lang/rustdoc
  • Loading branch information
Centril authored Apr 24, 2019
2 parents 48cb6be + 0e6049a commit 31a5371
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/librustdoc/html/static/themes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ a.test-arrow {
color: #ddd;
}

.stab.unstable {background: #FFF5D6; border-color: #FFC600; color: #2f2f2f; }
.stab.unstable { background: #FFF5D6; border-color: #FFC600; color: #2f2f2f; }
.stab.internal { background: #FFB9B3; border-color: #B71C1C; color: #2f2f2f; }
.stab.deprecated { background: #F3DFFF; border-color: #7F0087; color: #2f2f2f; }
.stab.portability { background: #C4ECFF; border-color: #7BA5DB; color: #2f2f2f; }

.stab > code {
.stab.portability > code {
color: #ddd;
}

Expand Down
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/themes/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ a.test-arrow {
.stab.deprecated { background: #F3DFFF; border-color: #7F0087; }
.stab.portability { background: #C4ECFF; border-color: #7BA5DB; }

.stab > code {
.stab.portability > code {
color: #000;
}

Expand Down

0 comments on commit 31a5371

Please sign in to comment.