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
+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 */