Rollup merge of #38480 - clarcharr:import_css, r=steveklabnik
Don't @import normalize.css. This lets the browser load both files in parallel instead of waiting for `rustdoc.css` to load first.
This commit is contained in:
commit
80d745a132
2 changed files with 1 additions and 2 deletions
|
|
@ -46,6 +46,7 @@ r##"<!DOCTYPE html>
|
|||
|
||||
<title>{title}</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{root_path}normalize.css">
|
||||
<link rel="stylesheet" type="text/css" href="{root_path}rustdoc.css">
|
||||
<link rel="stylesheet" type="text/css" href="{root_path}main.css">
|
||||
{css_extension}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
@import "normalize.css";
|
||||
|
||||
/**
|
||||
* Copyright 2013 The Rust Project Developers. See the COPYRIGHT
|
||||
* file at the top-level directory of this distribution and at
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue