Minor style fix.

Implement Google's recommendation for the fonts loading.
See https://web.dev/font-display/?utm_source=lighthouse&utm_medium=unknown
This commit is contained in:
denisbaranov
2020-03-27 19:39:27 +02:00
parent 1c0e1852d0
commit 4f3325b4e2
4 changed files with 6 additions and 3 deletions
+1
View File
@@ -7,6 +7,7 @@
url("../font/fontawesome-webfont.woff?v=4.2.0") format("woff"),
url("../font/fontawesome-webfont.ttf?v=4.2.0") format("truetype"),
url("../font/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular") format("svg");
font-display: swap;
font-weight: normal;
font-style: normal;
}
+1
View File
@@ -7,6 +7,7 @@
url("../font/ionicons.woff?v=2.0.0") format("woff"),
url("../font/ionicons.ttf?v=2.0.0") format("truetype"),
url("../font/ionicons.svg?v=2.0.0#Ionicons") format("svg");
font-display: swap;
font-weight: normal;
font-style: normal;
}
+2 -1
View File
@@ -7,6 +7,7 @@
src: url("../font/raty.svg#raty") format("svg");
src: url("../font/raty.ttf") format("truetype");
src: url("../font/raty.woff") format("woff");
font-display: swap;
}
.cancel-on-png, .cancel-off-png, .star-on-png, .star-off-png, .star-half-png {
@@ -28,7 +29,7 @@
}
.star-on-png,
.star-half-png
.star-half-png
{color: #ffbe32}
/* Icons */
+2 -2
View File
File diff suppressed because one or more lines are too long