CSS my beloathed.

This commit is contained in:
Root User 2026-02-12 22:57:56 +01:00
parent 45baa88a03
commit 33af8ac5b3
Signed by: root
GPG key ID: 087F0A95E5766D72
3 changed files with 14 additions and 5 deletions

View file

@ -0,0 +1,2 @@
{{/* This will be injected into <head> via $FORGEJO_CUSTOM/templates/custom/header.tmpl */}}
<link rel="stylesheet" href="{{AppSubUrl}}/assets/css/theme-custom.css">

View file

@ -1,3 +1,5 @@
@import "./theme-forgejo-auto.css";
@font-face {
font-family: 'Maple Mono NF';
src: url('/assets/fonts/MapleMonoNerd.ttf') format('truetype');
@ -6,11 +8,7 @@
font-display: swap;
}
/* import base Forgejo theme so we only override what we need */
@import "./theme-forgejo-auto.css";
:root {
/* prefer the Maple Mono Nerd Font for monospace usage */
--fonts-monospace: 'Maple Mono NF' !important;
}
}