Skip to content

Commit

Permalink
Improve loading speed by removing font downloading
Browse files Browse the repository at this point in the history
  • Loading branch information
ihordyrman committed Jan 26, 2025
1 parent 610f746 commit e3e2844
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
Binary file removed homepage/Bahnschrift.ttf
Binary file not shown.
19 changes: 7 additions & 12 deletions homepage/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,9 @@ body {
background-color: var(--3);
}

@font-face {
font-family: Bahnschrift;
src: url('Bahnschrift.ttf') format('truetype');
}

body {
margin: 0;
font-family: Bahnschrift, Verdana, sans-serif;
font-family: "Sitka Text", Calibri, sans-serif;
}

.h1, h1 {
Expand All @@ -40,8 +35,8 @@ h1 {
font-size: 2em;
margin-block-start: 0.67em;
margin-block-end: 0.67em;
margin-inline-start: 0px;
margin-inline-end: 0px;
margin-inline-start: 0;
margin-inline-end: 0;
font-weight: bold;
unicode-bidi: isolate;
}
Expand All @@ -51,8 +46,8 @@ h2 {
font-size: 1.5em;
margin-block-start: 0.83em;
margin-block-end: 0.83em;
margin-inline-start: 0px;
margin-inline-end: 0px;
margin-inline-start: 0;
margin-inline-end: 0;
font-weight: bold;
unicode-bidi: isolate;
}
Expand All @@ -62,8 +57,8 @@ h3 {
font-size: 1.17em;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
margin-inline-start: 0;
margin-inline-end: 0;
font-weight: bold;
unicode-bidi: isolate;
}
Expand Down

0 comments on commit e3e2844

Please # to comment.