fonts hinzugefügt

This commit is contained in:
2026-06-13 20:01:06 +02:00
parent 6f6be79647
commit 60415be021
23 changed files with 106 additions and 62 deletions

View File

@@ -4,10 +4,12 @@
{{ partial "head.html" . }}
</head>
<body>
<div class = "container">
<div class = "title">
<header>
{{ partial "header.html" . }}
</header>
</div>
<div class = "container">
<main>
{{ block "main" . }}{{ end }}
</main>

View File

@@ -1,11 +1,38 @@
@font-face {
font-family: 'x-typewriter';
font-weight: normal;
font-style: normal;
font-display: swap;
unicode-range: U+0000-00FF;
src: url('/fonts/x-typewriter.regular.woff2') format('woff2'),
url('/fonts/x-typewriter.regular.woff') format('woff');
}
@font-face {
font-family: 'if';
font-weight: normal;
font-style: normal;
font-display: swap;
unicode-range: U+0000-00FF;
src: url('/fonts/if.woff2') format('woff2'),
url('/fonts/if.woff') format('woff');
}
.container {
margin: 0, auto;
width: 80%;
font-family: "x-typewriter";
}
nav,footer {
.title {
margin: 0, auto;
width: 80%;
font-family: "if";
}
nav, footer {
background-color: #333;
color: #fff;
color: #fff;
text-align: center;
}

Binary file not shown.

Binary file not shown.