This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 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 {
374374 }
375375
376376 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" ) ;
378381 } 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" ) ;
380386 }
381387 builder. run ( & mut cmd) ;
382388 }
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ h5, h6 {
3838
3939h1 {
4040 font-size : 28px ;
41+ font-weight : 500 ;
4142 padding : .1em .4em ;
4243 border-bottom : 2px solid # ddd ;
4344}
@@ -47,10 +48,12 @@ h1.title {
4748h2 {
4849 font-size : 26px ;
4950 padding : .2em .5em ;
51+ border-bottom : 1px solid # ddd ;
5052}
5153h3 {
5254 font-size : 24px ;
5355 padding : .2em .7em ;
56+ border-bottom : 1px solid # DDE8FC ;
5457}
5558h4 {
5659 font-size : 22px ;
@@ -105,7 +108,9 @@ footer {
105108/* Links layout */
106109
107110a {
111+ text-decoration : none;
108112 color : # 428BCA ;
113+ background : transparent;
109114}
110115a : hover , a : focus {
111116 color : # 2A6496 ;
You can’t perform that action at this time.
0 commit comments