add roboto slab and fira sans fonts

This commit is contained in:
infidel 2022-04-10 20:11:19 +07:00
parent dde98b730b
commit 2ddd844680

View File

@ -1,4 +1,6 @@
/* 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=Roboto+Slab&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');
@ -17,7 +19,7 @@
} }
html { html {
font-size: calc(1em + 0.33vw); font-size: calc(1em + 0.33vw);
font-family: Arial, Helvetica Neue, sans-serif; font-family: Roboto Slab, Arial, Helvetica Neue, sans-serif;
line-height: 1.5; line-height: 1.5;
color: #111; color: #111;
background-color: #fefefe; background-color: #fefefe;