File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -374,9 +374,15 @@ impl Step for Standalone {
374
374
}
375
375
376
376
if filename == "not_found.md" {
377
- cmd. arg ( "--markdown-css" ) . arg ( "https://doc.rust-lang.org/rust.css" ) ;
377
+ cmd. arg ( "--markdown-css" )
378
+ . arg ( format ! ( "https://doc.rust-lang.org/rustdoc{}.css" , & builder. version) )
379
+ . arg ( "--markdown-css" )
380
+ . arg ( "https://doc.rust-lang.org/rust.css" ) ;
378
381
} else {
379
- cmd. arg ( "--markdown-css" ) . arg ( "rust.css" ) ;
382
+ cmd. arg ( "--markdown-css" )
383
+ . arg ( format ! ( "rustdoc{}.css" , & builder. version) )
384
+ . arg ( "--markdown-css" )
385
+ . arg ( "rust.css" ) ;
380
386
}
381
387
builder. run ( & mut cmd) ;
382
388
}
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ h5, h6 {
38
38
39
39
h1 {
40
40
font-size : 28px ;
41
+ font-weight : 500 ;
41
42
padding : .1em .4em ;
42
43
border-bottom : 2px solid # ddd ;
43
44
}
@@ -47,10 +48,12 @@ h1.title {
47
48
h2 {
48
49
font-size : 26px ;
49
50
padding : .2em .5em ;
51
+ border-bottom : 1px solid # ddd ;
50
52
}
51
53
h3 {
52
54
font-size : 24px ;
53
55
padding : .2em .7em ;
56
+ border-bottom : 1px solid # DDE8FC ;
54
57
}
55
58
h4 {
56
59
font-size : 22px ;
@@ -105,7 +108,9 @@ footer {
105
108
/* Links layout */
106
109
107
110
a {
111
+ text-decoration : none;
108
112
color : # 428BCA ;
113
+ background : transparent;
109
114
}
110
115
a : hover , a : focus {
111
116
color : # 2A6496 ;
You can’t perform that action at this time.
0 commit comments