From 793d95c21ea5845dfc22f88a247e101a648b7462 Mon Sep 17 00:00:00 2001 From: cnst Date: Sat, 26 Jul 2025 16:14:02 +0200 Subject: [PATCH] homepage font testing 2 --- modules/server/homepage-dashboard/default.nix | 63 ++++++++++--------- 1 file changed, 33 insertions(+), 30 deletions(-) diff --git a/modules/server/homepage-dashboard/default.nix b/modules/server/homepage-dashboard/default.nix index e1ad286a..a916e997 100644 --- a/modules/server/homepage-dashboard/default.nix +++ b/modules/server/homepage-dashboard/default.nix @@ -42,10 +42,12 @@ in { environmentFile = config.age.secrets.homepage-env.path; customCSS = '' @font-face { - font-family:"vcr-mono"; - src: url("https://git.sr.ht/~canasta/fonts/tree/main/item/fonts/vcr-mono/TTF/vcr-mono.ttf") format("truetype"); + font-family: "VCR OSD Mono"; + src: url("https://git.sr.ht/~canasta/fonts/tree/main/item/fonts/vcr-mono/TTF/vcr-mono.ttf") + format("truetype"); } - body, html { + body, + html { --mint: #d7ffff; --outerspace: #f8ffff; --ghostY: #0d090f; @@ -70,34 +72,35 @@ in { left: 0; right: 0; overflow: hidden; - body { - background: var(--ghostY); - color: var(--mint); - fill: var(--outerspace); - min-width: 320px; - max-width: 100%; - min-height: 100%; - -webkit-font-smoothing: antialiased; - --overlayA: rgba(130, 0, 100, 0.07); - --overlayB: rgba(30, 190, 180, 0.07); - margin: 0; - padding: 0; - font: inherit; - font-family: vcr-mono; - font-size: 16px; - font-weight: 600; - position: relative; + body { + background: var(--ghostY); + color: var(--mint); + fill: var(--outerspace); + min-width: 320px; + max-width: 100%; + min-height: 100%; + -webkit-font-smoothing: antialiased; + --overlayA: rgba(130, 0, 100, 0.07); + --overlayB: rgba(30, 190, 180, 0.07); + margin: 0; + padding: 0; + font: inherit; + font-family: VCR OSD Mono Regular; + font-size: 16px; + font-weight: 600; + position: relative; + } + #information-widgets { + padding-left: 1.5rem; + padding-right: 1.5rem; + } + div#footer { + display: none; + } + .services-group.basis-full.flex-1.px-1.-my-1 { + padding-bottom: 3rem; + } } - #information-widgets { - padding-left: 1.5rem; - padding-right: 1.5rem; - } - div#footer { - display: none; - } - .services-group.basis-full.flex-1.px-1.-my-1 { - padding-bottom: 3rem; - }; ''; settings = { layout = [