Fix loading of Lato font in style.css for docs
authorAnthony Fok <foka@debian.org>
Sun, 31 Aug 2014 09:43:25 +0000 (03:43 -0600)
committerspf13 <steve.francia@gmail.com>
Mon, 1 Sep 2014 12:21:42 +0000 (08:21 -0400)
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

index 44c83c3cf190d03ef13649ae3377772fac8742b1..a19a9b1178da574fd56fcdfbdb8a9c7671871e57 100755 (executable)
@@ -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;