mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-13 20:46:48 +00:00
rustbook: use a relative @import path to ensure it works offline.
The URL previously caused the book to require an internet connection to get the full styling, this should mean no internet is required.
This commit is contained in:
parent
6fc0ac5ee3
commit
afe260ff4b
@ -11,7 +11,7 @@
|
||||
// The rust-book CSS in string form.
|
||||
|
||||
pub static STYLE: &'static str = r#"
|
||||
@import url("//static.rust-lang.org/doc/master/rust.css");
|
||||
@import url("../rust.css");
|
||||
|
||||
body {
|
||||
max-width:none;
|
||||
|
Loading…
Reference in New Issue
Block a user