mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
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.
This commit is contained in:
8
docs/static/css/style.css
vendored
8
docs/static/css/style.css
vendored
@@ -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
|
For the github btn
|
||||||
@@ -90,13 +92,9 @@ h1, h2, h3 {
|
|||||||
|
|
||||||
pre code {
|
pre code {
|
||||||
font-size: 18px !important;
|
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 {
|
body {
|
||||||
color: #353b44;
|
color: #353b44;
|
||||||
background: #edece4;
|
background: #edece4;
|
||||||
|
Reference in New Issue
Block a user