223015b-2026 kap1: Noto Sans Mono für code-tags geladen + an code-stack-anfang. Problem: vorher hat code-font auf Noto Sans JP gefallen (war im stack vor 'monospace' generic) → Latin chars wurden proportional sans gerendert statt mono. Fix: 'Noto Sans Mono' (mono google-font) als first-choice + JP/SC weiter hinten für CJK-fallback. hex1/hex2/.jpg etc. wieder monospace

This commit is contained in:
2026-05-14 22:54:14 +02:00
parent 351e3dfc23
commit 9fd647be86
+2 -2
View File
@@ -9,7 +9,7 @@ title: Dateiformate, Schnittstellen, Speichermedien & Distributionswege
---
<style>
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Noto+Sans+SC:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Noto+Sans+SC:wght@400;700&family=Noto+Sans+Mono:wght@400;700&display=swap');
:root {
--color-foreground: #1a1a2e;
--color-highlight: #1e5f8a;
@@ -45,7 +45,7 @@ code {
background: #0f0f23;
padding: 0.15em 0.4em;
border-radius: 4px;
font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Noto Sans JP", "Noto Sans SC", "Apple Color Emoji", "Segoe UI Emoji", monospace;
font-family: "Noto Sans Mono", ui-monospace, "SF Mono", Menlo, Consolas, "Noto Sans JP", "Noto Sans SC", monospace;
}
section code:not(.hljs) { color: #5fb3e4 !important; }
section code.hljs { color: #f8f8f8 !important; }