gitea/web_src/less
zeripath 0c2cbfcb3b
Move sans-serif fallback font higher than emoji fonts (#15855) (#15892)
Backport #15855

The Tor browser does not use the system-ui font and no other fonts in the stack match
its default fonts. In fact it is possible that it will in future only
match generic fonts. This means that all rendering will first try the
emoji fonts before falling back to the sans-serif font for glyphs.

In this case has the emoji fall back fonts for Tor contains empty glyphs
for numbers - in order to protect privacy - and leads to numbers being
rendered as empty glyphs. This is clearly not ideal and whilst we could
use the Arimo font - as I state above I suspect that Tor will eventually
ban detecting this and we should instead move the sans-serif font higher
in the stack so that it matches before the emoji fonts.

Partial fix of #15844

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-05-16 16:42:12 +03:00
..
chroma Reorganize Chroma styles (#13934) 2020-12-11 17:38:47 +01:00
features Move tooltip down to allow selection of Remove File on error (#15672) (#15714) 2021-05-04 07:00:29 +01:00
markdown Fix mermaid chart size (#13863) 2020-12-06 11:05:22 +08:00
shared Issue list alignment tweaks (#15483) (#15766) 2021-05-07 15:06:19 +02:00
standalone
themes Fix webkit calendar icon color on arc-green (#15728) 2021-05-05 13:10:01 +08:00
_admin.less Fix webhook list styling (#14001) 2020-12-16 19:22:21 +01:00
_base.less Move sans-serif fallback font higher than emoji fonts (#15855) (#15892) 2021-05-16 16:42:12 +03:00
_dashboard.less Fix dashboard UI bugs and more (#14767) 2021-02-25 13:35:43 +01:00
_editor.less Monaco improvements (#15333) (#15345) 2021-04-08 13:24:23 +02:00
_explore.less Branch page and misc css improvements (#15208) (#15274) 2021-04-04 16:31:54 +03:00
_font_i18n.less Fix CJK fonts again and misc. font issues (#14575) 2021-03-19 00:43:43 +01:00
_form.less Branch page and misc css improvements (#15208) (#15274) 2021-04-04 16:31:54 +03:00
_home.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00
_install.less
_markdown.less Fix markdown checkboxes on Blink (#13988) 2020-12-15 02:00:41 -05:00
_organization.less Fix margin between avatars on org pages (#15194) (#15197) 2021-03-29 23:36:00 +02:00
_repository.less Implement delete release attachments and update release attachments' name (#14130) (#15666) 2021-05-03 13:27:00 -04:00
_review.less Diff box fixes (#15214) (#15227) 2021-04-01 08:04:47 +03:00
_svg.less
_tribute.less CSS color variables, less bold font weight and more (#13567) 2020-11-15 15:58:16 -05:00
_user.less Font weight tweaks (#13854) 2020-12-05 19:00:36 +08:00
helpers.less Search and Diff CSS enhancements (#14050) 2020-12-20 13:00:03 -05:00
index.less Project board improvements (#15429) (#15560) 2021-04-20 20:45:00 +01:00
variables.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00