0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 17:44:15 +01:00

Override fomantic monospace fonts and set size (#13435)

We did not override those yet so default `monospace` was applied. Also
added a tweak to slightly reduce font size because monospace fonts
usually render slightly larger than proportional ones.

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
silverwind 2020-11-06 18:16:21 +01:00 committed by GitHub
parent c178a36438
commit eebaa81f43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,6 +123,13 @@ h5,
font-family: var(--fonts-regular);
}
code,
kbd,
samp {
font-size: .9em; /* compensate for monospace fonts being usually slighty larger */
font-family: var(--fonts-monospace);
}
body {
background-color: var(--color-body);
overflow-y: auto;