Use a new custom font
This commit is contained in:
parent
aab92f452f
commit
8761af1089
BIN
font/crimson-bold.woff
Normal file
BIN
font/crimson-bold.woff
Normal file
Binary file not shown.
BIN
font/crimson-bolditalic.woff
Normal file
BIN
font/crimson-bolditalic.woff
Normal file
Binary file not shown.
BIN
font/crimson-italic.woff
Normal file
BIN
font/crimson-italic.woff
Normal file
Binary file not shown.
BIN
font/crimson-roman.woff
Normal file
BIN
font/crimson-roman.woff
Normal file
Binary file not shown.
BIN
font/crimson-semibold.woff
Normal file
BIN
font/crimson-semibold.woff
Normal file
Binary file not shown.
32
style.css
32
style.css
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue