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:
Steve Klabnik
2016-12-24 14:29:22 -05:00
committed by GitHub
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -46,6 +46,7 @@ pub fn render<T: fmt::Display, S: fmt::Display>(
<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}
-2
View File
@@ -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