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>
tokarchuk/v1.17
silverwind 4 years ago committed by GitHub
parent c178a36438
commit eebaa81f43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      web_src/less/_base.less

@ -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;

Loading…
Cancel
Save