I don't like CSS... weh
This commit is contained in:
parent
b8d8cc34ce
commit
e2a8420dce
2 changed files with 9 additions and 0 deletions
|
|
@ -16,3 +16,6 @@ code, pre, kbd, tt, samp, .ui code, .ui pre, .monospace {
|
||||||
font-family: 'Maple Mono NF', ui-monospace, SFMono-Regular, Menlo, Monaco, "Segoe UI Mono", Roboto Mono, "Courier New", monospace !important;
|
font-family: 'Maple Mono NF', ui-monospace, SFMono-Regular, Menlo, Monaco, "Segoe UI Mono", Roboto Mono, "Courier New", monospace !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<!-- Load the custom theme CSS (served from $FORGEJO_CUSTOM/public/assets/css) -->
|
||||||
|
<link rel="stylesheet" href="{{AppSubUrl}}/assets/css/theme-custom.css">
|
||||||
|
|
|
||||||
|
|
@ -135,6 +135,8 @@ in {
|
||||||
"d '${config.services.forgejo.customDir}/public/assets' - forgejo forgejo - -"
|
"d '${config.services.forgejo.customDir}/public/assets' - forgejo forgejo - -"
|
||||||
# ensure fonts directory exists
|
# ensure fonts directory exists
|
||||||
"d '${config.services.forgejo.customDir}/public/assets/fonts' - forgejo forgejo - -"
|
"d '${config.services.forgejo.customDir}/public/assets/fonts' - forgejo forgejo - -"
|
||||||
|
# ensure css directory exists so we can place theme css
|
||||||
|
"d '${config.services.forgejo.customDir}/public/assets/css' - forgejo forgejo - -"
|
||||||
# install the TTF from the Nix store into the Forgejo customDir
|
# install the TTF from the Nix store into the Forgejo customDir
|
||||||
"C+ '${config.services.forgejo.customDir}/public/assets/fonts/MapleMonoNerd.ttf' - forgejo forgejo - ${mapleFonts}/fonts/MapleMonoNerd.ttf"
|
"C+ '${config.services.forgejo.customDir}/public/assets/fonts/MapleMonoNerd.ttf' - forgejo forgejo - ${mapleFonts}/fonts/MapleMonoNerd.ttf"
|
||||||
"C+ '${config.services.forgejo.customDir}/templates/home.tmpl' - forgejo forgejo - ${
|
"C+ '${config.services.forgejo.customDir}/templates/home.tmpl' - forgejo forgejo - ${
|
||||||
|
|
@ -144,6 +146,10 @@ in {
|
||||||
"C+ '${config.services.forgejo.customDir}/templates/custom/header.tmpl' - forgejo forgejo - ${
|
"C+ '${config.services.forgejo.customDir}/templates/custom/header.tmpl' - forgejo forgejo - ${
|
||||||
../styling/forgejo/header.tmpl
|
../styling/forgejo/header.tmpl
|
||||||
}"
|
}"
|
||||||
|
# copy your theme CSS into the public assets so Forgejo serves it directly
|
||||||
|
"C+ '${config.services.forgejo.customDir}/public/assets/css/theme-custom.css' - forgejo forgejo - ${
|
||||||
|
../styling/forgejo/theme-custom.css
|
||||||
|
}"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue