Skip to content

Commit 3a72bc3

Browse files
committed
rustdoc: stop trying to use font-variants we don't have
Browser-generated weights or slants is the last thing we want...
1 parent 5e83424 commit 3a72bc3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/librustdoc/html/static/main.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ nav.sub {
177177
color: #333;
178178
}
179179

180-
.location a:first-child { font-weight: bold; }
180+
.location a:first-child { font-weight: 500; }
181181

182182
.block {
183183
padding: 0 10px;
@@ -494,7 +494,7 @@ pre.rust { position: relative; }
494494
}
495495

496496
.collapse-toggle {
497-
font-weight: 100;
497+
font-weight: 300;
498498
position: absolute;
499499
left: 13px;
500500
color: #999;
@@ -523,7 +523,6 @@ pre.rust { position: relative; }
523523

524524
.toggle-label {
525525
color: #999;
526-
font-style: italic;
527526
}
528527

529528

0 commit comments

Comments
 (0)