Skip to content

Commit

Permalink
no more custom font
Browse files Browse the repository at this point in the history
  • Loading branch information
NotLe0n committed Oct 21, 2024
1 parent aa95e0d commit 07cb328
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
8 changes: 1 addition & 7 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@
--hamburger-background: #d8dbdc;
}

@font-face {
font-family: 'Futura';
src: url('/Bedienungsanleitung/fonts/Futura.ttf');
font-display: swap;
}

/* screen width larger than 830px (desktop/tablet) */
@media screen and (min-width: 831px) {
.hamburger-btn {
Expand Down Expand Up @@ -102,7 +96,7 @@ html, body {
height: 100%;
width: 100%;
margin: 0;
font-family: 'Futura', sans-serif;
font-family: sans-serif;
font-size: medium;
background-color: var(--bg-color);
color: var(--text-color);
Expand Down
Binary file removed assets/fonts/Futura.ttf
Binary file not shown.
4 changes: 0 additions & 4 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
<link rel="mask-icon" href="favicon/safari-pinned-tab.svg" color="#000000">
<link rel="shortcut icon" href="favicon/favicon.ico">

{{- range resources.Match "fonts/*" -}}
<link rel="preload" as="font" href="{{ .RelPermalink }}" type="font/ttf" crossorigin>
{{ end }}

{{- range resources.Match "img/*" -}}
{{ .Publish }}
{{ end }}
Expand Down

0 comments on commit 07cb328

Please sign in to comment.