font faces
This commit is contained in:
parent
95603d106c
commit
2a5ba61bb5
1 changed files with 35 additions and 7 deletions
|
@ -1,10 +1,38 @@
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible&display=swap');
|
@font-face {
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap');
|
font-family: "mono";
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo&display=swap');
|
src: url("/public/fonts/HurmitNerdFontMono-Regular.otf");
|
||||||
html {
|
font-weight: normal;
|
||||||
height: 100dvh;
|
font-style: normal;
|
||||||
margin: 0 auto;
|
font-display: swap;
|
||||||
max-width: 600px;
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "mono";
|
||||||
|
src: url("/public/fonts/HurmitNerdFontMono-Italic.otf");
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: italic;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "mono";
|
||||||
|
src: url("/public/fonts/HurmitNerdFontMono-Bold.otf");
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "legible";
|
||||||
|
src: url("/public/fonts/AtkinsonHyperlegible-Regular.ttf");
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "brand";
|
||||||
|
src: url("/public/fonts/HelveticaNeueMedium.otf");
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
* {
|
* {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
Loading…
Add table
Reference in a new issue