add roboto font

This commit is contained in:
infidel 2022-04-10 20:13:24 +07:00
parent 2ddd844680
commit 758706bcc3

View File

@ -1,6 +1,8 @@
/* Fonts */ /* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:wght@500&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@font-face { @font-face {
font-family: 'Miriam Libre'; font-family: 'Miriam Libre';
src: url('{{ "css/fonts/miriamlibre-bold.woff2" | absURL }}') format('woff2'), url('{{ "css/fonts/miriamlibre-bold.woff" | absURL }}') format('woff'); src: url('{{ "css/fonts/miriamlibre-bold.woff2" | absURL }}') format('woff2'), url('{{ "css/fonts/miriamlibre-bold.woff" | absURL }}') format('woff');
@ -19,7 +21,7 @@
} }
html { html {
font-size: calc(1em + 0.33vw); font-size: calc(1em + 0.33vw);
font-family: Roboto Slab, Arial, Helvetica Neue, sans-serif; font-family: Roboto, Arial, Helvetica Neue, sans-serif;
line-height: 1.5; line-height: 1.5;
color: #111; color: #111;
background-color: #fefefe; background-color: #fefefe;