1
Fork 0

Use a new custom font

This commit is contained in:
Jan-Erik Rediger 2022-01-30 00:44:00 +01:00
parent aab92f452f
commit 8761af1089
6 changed files with 32 additions and 0 deletions

BIN
font/crimson-bold.woff Normal file

Binary file not shown.

Binary file not shown.

BIN
font/crimson-italic.woff Normal file

Binary file not shown.

BIN
font/crimson-roman.woff Normal file

Binary file not shown.

BIN
font/crimson-semibold.woff Normal file

Binary file not shown.

View file

@ -1,3 +1,35 @@
@font-face {
font-family: 'Crimson';
src: url("font/crimson-roman.woff") format("woff");
}
@font-face {
font-family: 'Crimson';
src: url("font/crimson-italic.woff") format("woff");
font-style: italic;
}
@font-face {
font-family: 'Crimson';
src: url("font/crimson-semibold.woff") format("woff");
font-weight: 600;
}
@font-face {
font-family: 'Crimson';
src: url("font/crimson-bold.woff") format("woff");
font-weight: bold;
}
@font-face {
font-family: 'Crimson';
src: url("font/crimson-bolditalic.woff") format("woff");
font-style: italic;
font-weight: bold;
}
html{
font-family:Crimson,Palatino,Georgia,Lucida Bright,Book Antiqua,serif;
font-size:16px;
line-height:1.5rem
}
html,
body {
font-size: 17px;