From: silverwind Date: Fri, 4 Dec 2020 01:21:34 +0000 (+0100) Subject: Update font stack to bootstrap's latest (#13834) (#13837) X-Git-Tag: v1.13.1~29 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=87997cccbb47c0219a0c0955cf09eadfef588b46;p=gitea.git Update font stack to bootstrap's latest (#13834) (#13837) Backport #13834 --- diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 765c0f9c93..5cc52ecf0e 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -18,8 +18,8 @@ url('../fonts/noto-color-emoji/NotoColorEmoji.ttf') format('truetype'); } -@default-fonts: -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla"; -@monospaced-fonts: 'SF Mono', Consolas, Menlo, 'Liberation Mono', Monaco, 'Lucida Console'; +@default-fonts: system-ui, -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", "Arial", "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "Twemoji Mozilla"; +@monospaced-fonts: "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace; .override-fonts(@fonts) { textarea {