Skip to content

Commit 07c8348

Browse files
Rollup merge of #59424 - GuillaumeGomez:fix-stability-css, r=QuietMisdreavus
Fix code block display in portability element in dark theme Fixes #59261. r? @QuietMisdreavus A little screenshot: <img width="521" alt="Screenshot 2019-03-26 at 00 37 49" src="https://user-images.githubusercontent.com/3050060/54961082-9a41c600-4f5f-11e9-8040-ae6f26d368ff.png">
2 parents 4e19b7a + 868833f commit 07c8348

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/librustdoc/html/static/themes/dark.css

+4
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ a.test-arrow {
189189
.stab.deprecated { background: #F3DFFF; border-color: #7F0087; color: #2f2f2f; }
190190
.stab.portability { background: #C4ECFF; border-color: #7BA5DB; color: #2f2f2f; }
191191

192+
.stab > code {
193+
color: #ddd;
194+
}
195+
192196
#help > div {
193197
background: #4d4d4d;
194198
border-color: #bfbfbf;

src/librustdoc/html/static/themes/light.css

+4
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ a.test-arrow {
190190
.stab.deprecated { background: #F3DFFF; border-color: #7F0087; }
191191
.stab.portability { background: #C4ECFF; border-color: #7BA5DB; }
192192

193+
.stab > code {
194+
color: #000;
195+
}
196+
193197
#help > div {
194198
background: #e9e9e9;
195199
border-color: #bfbfbf;

0 commit comments

Comments
 (0)