CSS my beloathed.
This commit is contained in:
parent
45baa88a03
commit
33af8ac5b3
3 changed files with 14 additions and 5 deletions
2
nix-system-configs/modules/styling/forgejo/header.tmpl
Normal file
2
nix-system-configs/modules/styling/forgejo/header.tmpl
Normal 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">
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue