shithub: hugo

Download patch

ref: d2020506842eea3a9b6dc6335580f72ef415b690
parent: a6022293af0df79ca451e9e9f398b635ab2252be
author: Anthony Fok <[email protected]>
date: Sat Aug 30 23:43:25 EDT 2014

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.

--- 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,12 +92,8 @@
 
 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;