CSS my beloathed. UGHH
This commit is contained in:
parent
59dac432d9
commit
45bd2e975f
4 changed files with 20 additions and 13 deletions
|
|
@ -1,2 +1,14 @@
|
|||
{{/* This will be injected into <head> via $FORGEJO_CUSTOM/templates/custom/header.tmpl */}}
|
||||
<link rel="stylesheet" href="{{AppSubUrl}}/assets/css/theme-custom.css">
|
||||
{{/* Custom header content - inject custom fonts that apply to all themes */}}
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: 'Maple Mono NF';
|
||||
src: url('{{AppSubUrl}}/assets/fonts/MapleMonoNerd.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
:root {
|
||||
--fonts-monospace: 'Maple Mono NF' !important;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[[:Template:Template "base/head" .]]
|
||||
<div role="main" aria-label='[[:Template:If .IsSigned]][[:Template:Ctx.Locale.Tr "dashboard"]][[:Template:Else]][[:Template:Ctx.Locale.Tr "home"]][[:Template:End]]' class="page-content home">
|
||||
{{template "base/head" .}}
|
||||
<div role="main" aria-label='{{if .IsSigned}}{{.Ctx.Locale.Tr "dashboard"}}{{else}}{{.Ctx.Locale.Tr "home"}}{{end}}' class="page-content home">
|
||||
<div class="tw-mb-8 tw-px-8">
|
||||
<div class="center">
|
||||
<div class="hero">
|
||||
|
|
@ -10,4 +10,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[[:Template:Template "base/footer" .]]
|
||||
{{template "base/footer" .}}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
@import "./theme-forgejo-auto.css";
|
||||
|
||||
@font-face {
|
||||
font-family: 'Maple Mono NF';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue