Fonts auf lokal geändert
release-tag / release-image (push) Successful in 1m59s

This commit is contained in:
2025-05-04 20:01:26 +02:00
parent 2cdc782395
commit e4b060b753
7 changed files with 17 additions and 19 deletions
-3
View File
@@ -1,3 +0,0 @@
<!--{"title": "ChatGPT + Go: So geht's", "date": "2025-05-04", "slug": "chatgpt-go", "cover": ""}-->
# Hello Gophers 🤖
*(Markdown‑Inhalt)*
-5
View File
@@ -1,5 +0,0 @@
<!--{"title": "Mein erster Markdown‑Posty", "date": "2025-05-04", "slug": "mein-erster-markdown-posty", "cover": "/static/img/placeholder.png"}-->
# Hello Markdown 🌟
Dies ist *kursiv*, **fett** und ein [Link](https://example.com).
-5
View File
@@ -1,5 +0,0 @@
<!--{"title": "Mein erster Markdown‑Post", "date": "2025-05-04", "slug": "mein-erster-markdown-post", "cover": "/static/img/placeholder.png"}-->
# Hello Markdown 🌟
Dies ist *kursiv*, **fett** und ein [Link](https://example.com).
Binary file not shown.
Binary file not shown.
+17 -1
View File
@@ -1,3 +1,19 @@
/* ---------- Local Web‑Fonts ---------- */
@font-face {
font-family: "Fira Code";
src: url("/static/fonts/FiraCode-VariableFont.woff2") format("woff2");
font-weight: 400 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Inter";
src: url("/static/fonts/Inter-VariableFont.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
/* ---------- Farbpalette ---------- */
:root {
/* Light theme */
@@ -14,7 +30,7 @@
--gap: 2rem;
--shadow: 0 4px 16px rgba(0,0,0,.08);
font-size: 16px;
font-family: "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
font-family: "Inter", system-ui, sans-serif;
color-scheme: light;
}
-5
View File
@@ -6,11 +6,6 @@
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>{{ block "title" . }}B1tsblog{{ end }}</title>
<link rel="stylesheet" href="/static/main.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<!-- Monospace‑Font für Code (optional) -->
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet">
</head>
<body>
<header>