add custom fonts
This commit is contained in:
parent
2eb50b55d8
commit
d8af0ecfc9
BIN
errorpages/fonts/opensans-regular.ttf
Normal file
BIN
errorpages/fonts/opensans-regular.ttf
Normal file
Binary file not shown.
BIN
errorpages/fonts/opensanscondensed-bold.ttf
Normal file
BIN
errorpages/fonts/opensanscondensed-bold.ttf
Normal file
Binary file not shown.
@ -85,16 +85,32 @@ styles for this page
|
||||
--------------------
|
||||
*/
|
||||
|
||||
/* define our fonts */
|
||||
@font-face {
|
||||
font-family: 'Open Sans Condensed';
|
||||
font-weight: bold;
|
||||
src: url(/errorpages/fonts/opensanscondensed-bold.ttf) format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-weight: normal;
|
||||
src: url(/errorpages/fonts/opensans-regular.ttf) format("truetype");
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
flex-direction: column;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
align-items: center;
|
||||
background-color: #323232;
|
||||
color: #9D9B9B;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Open Sans Condensed';
|
||||
font-size: 7rem;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user