From d2020506842eea3a9b6dc6335580f72ef415b690 Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Sun, 31 Aug 2014 03:43:25 -0600 Subject: [PATCH] Fix loading of Lato font in style.css for docs The "@import url()" statement for loading Lato from Google Fonts was ignored because "@import are not allowed after any valid statement other than @charset and @import" according to the W3C CSS Validator. Also remove the line for importing line-icons.css which no longer exists. --- docs/static/css/style.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/static/css/style.css b/docs/static/css/style.css index 44c83c3cf..a19a9b117 100755 --- a/docs/static/css/style.css +++ b/docs/static/css/style.css @@ -1,3 +1,5 @@ +/* Import fonts */ +@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,900,300italic,400italic,700italic,900italic); /* ****************************** For the github btn @@ -90,13 +92,9 @@ h1, h2, h3 { pre code { font-size: 18px !important; - font-family: "courier new", monospace; + font-family: 'Courier New', monospace; } -/* Import fonts */ -@import url(http://fonts.googleapis.com/css?family=Lato:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic); -@import url(line-icons.css); - body { color: #353b44; background: #edece4;