1
1
mirror of https://github.com/rsms/inter.git synced 2024-11-23 20:55:33 +03:00

website lab: make sure roboto is imported before any other CSS rules

This commit is contained in:
Rasmus Andersson 2017-08-23 15:33:00 -07:00
parent b91dd3afec
commit 7d616dc2b8

View File

@ -607,6 +607,8 @@ for (const ch of uniqueChars) {
<meta charset="utf-8">
<title>👀</title>
<style id="font-css" type="text/css-template">
/* Roboto for comparison */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700,700i,900,900i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese');
@font-face {
font-family: 'Interface-VERSION';
@ -653,9 +655,6 @@ for (const ch of uniqueChars) {
url("fonts/Interface-BoldItalic.woff") format("woff");
}
/* Roboto for comparison */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700,700i,900,900i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese');
.interface, .interface input, .interface select {
font-family: 'Interface-VERSION', 'Interface', serif !important;
}