Skip to content

Commit

Permalink
Fix code block display in portability element in dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Mar 25, 2019
1 parent 89573b3 commit 868833f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/librustdoc/html/static/themes/dark.css
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ a.test-arrow {
.stab.deprecated { background: #F3DFFF; border-color: #7F0087; color: #2f2f2f; } .stab.deprecated { background: #F3DFFF; border-color: #7F0087; color: #2f2f2f; }
.stab.portability { background: #C4ECFF; border-color: #7BA5DB; color: #2f2f2f; } .stab.portability { background: #C4ECFF; border-color: #7BA5DB; color: #2f2f2f; }


.stab > code {
color: #ddd;
}

#help > div { #help > div {
background: #4d4d4d; background: #4d4d4d;
border-color: #bfbfbf; border-color: #bfbfbf;
Expand Down
4 changes: 4 additions & 0 deletions src/librustdoc/html/static/themes/light.css
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ a.test-arrow {
.stab.deprecated { background: #F3DFFF; border-color: #7F0087; } .stab.deprecated { background: #F3DFFF; border-color: #7F0087; }
.stab.portability { background: #C4ECFF; border-color: #7BA5DB; } .stab.portability { background: #C4ECFF; border-color: #7BA5DB; }


.stab > code {
color: #000;
}

#help > div { #help > div {
background: #e9e9e9; background: #e9e9e9;
border-color: #bfbfbf; border-color: #bfbfbf;
Expand Down

0 comments on commit 868833f

Please sign in to comment.