Fix loading of Lato font in style.css for docs - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit d2020506842eea3a9b6dc6335580f72ef415b690
DIR parent a6022293af0df79ca451e9e9f398b635ab2252be
HTML Author: Anthony Fok <foka@debian.org>
Date: Sun, 31 Aug 2014 03:43:25 -0600
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.
Diffstat:
M docs/static/css/style.css | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
DIR diff --git 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;