chore: Change the font to Vazirmatn

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-06-02 23:20:20 +03:00
parent 669a26309a
commit 8aa940cad4
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F
2 changed files with 9 additions and 3 deletions

View file

@ -14,6 +14,12 @@ body[theme="dark"] { @include dark-appearance; }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
body[theme="auto"] { @include dark-appearance; } body[theme="auto"] { @include dark-appearance; }
} }
@font-face {
font-family: "Vazir";
src: url(fonts/Vazirmatn-Regular.ttf) format("truetype");
}
// -------------------------------------------- // // -------------------------------------------- //
// bg color is also needed in html in order to // bg color is also needed in html in order to
@ -25,7 +31,7 @@ html { height: 100%; }
body { body {
color: black; color: black;
font-family: monospace; font-family: "Vazir";
font-size: 16px; font-size: 16px;
line-height: 1.4; line-height: 1.4;
margin: 0; margin: 0;
@ -46,7 +52,7 @@ li { margin: 0.4rem 0; }
*:target { background: yellow; } *:target { background: yellow; }
.w { .w {
max-width: 640px; max-width: 850px;
margin: 0 auto; margin: 0 auto;
padding: 4rem 2rem; padding: 4rem 2rem;
} }
@ -69,7 +75,7 @@ table, th, td {
code { code {
color: white; color: white;
background: black; background: rgb(99, 99, 99);
} }
pre code { pre code {

Binary file not shown.