Do another workaround for css styling...
This commit is contained in:
parent
02ae029209
commit
bdf317ba18
2 changed files with 19 additions and 1 deletions
|
|
@ -8,8 +8,19 @@
|
|||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Jost Book';
|
||||
src: url('/assets/fonts/Jost-400-Book.otf') format('opentype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
|
||||
:root {
|
||||
/* prefer the Maple Mono Nerd Font for monospace usage */
|
||||
--fonts-monospace: 'Maple Mono NF' !important;
|
||||
--fonts-proportional: 'Jost Book' !important;
|
||||
}
|
||||
|
||||
code, pre, kbd, tt, samp, .ui code, .ui pre, .monospace {
|
||||
|
|
|
|||
|
|
@ -22,4 +22,11 @@
|
|||
/* prefer the Maple Mono Nerd Font for monospace usage */
|
||||
--fonts-monospace: 'Maple Mono NF' !important;
|
||||
--fonts-proportional: 'Jost Book' !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* If some odd reason the themes are not appluing even after rebuild, try the following
|
||||
sudo systemd-tmpfiles --create --remove --exclude-prefix=/dev
|
||||
sudo systemctl restart forgejo
|
||||
|
||||
TODO: Investigate the inconsistencies, see header.tmpl as a workaround.
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue