Change default font to open-sans

master
Emil Miler 2 years ago
parent e9999202e1
commit c90f4b7cf2

@ -0,0 +1,24 @@
@font-face {
font-family: open-sans;
font-weight: normal;
font-style: normal;
src: url('fonts/open-sans-regular.woff2') format('woff2'),
url('fonts/open-sans-regular.woff') format('woff'),
url('fonts/open-sans-regular.ttf') format('truetype');
}
@font-face {
font-family: open-sans;
font-weight: normal;
font-style: italic;
src: url('fonts/open-sans-italic.woff2') format('woff2'),
url('fonts/open-sans-italic.woff') format('woff'),
url('fonts/open-sans-italic.ttf') format('truetype');
}
@font-face {
font-family: open-sans;
font-weight: bold;
font-style: normal;
src: url('fonts/open-sans-bold.woff2') format('woff2'),
url('fonts/open-sans-bold.woff') format('woff'),
url('fonts/open-sans-bold.ttf') format('truetype');
}

@ -1,3 +1,5 @@
@import "fonts";
*, *:before, *:after { *, *:before, *:after {
box-sizing: border-box; box-sizing: border-box;
} }
@ -8,10 +10,12 @@ body {
margin: 0 auto; margin: 0 auto;
background: #131516; background: #131516;
color: #e8e6e3; color: #e8e6e3;
font-family: open-sans, sans;
text-rendering: optimizeLegibility;
} }
p { p {
line-height: 1.5; line-height: 1.75;
} }
body>header { body>header {

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save