0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 10:52:47 +01:00
gitea/web_src/less
zeripath 58646cab22
Move sans-serif fallback font higher than emoji fonts (#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 02:12:55 +02:00
..
chroma Improve Light Chroma style (#15699) 2021-05-02 22:43:08 -04:00
features Use a generic markup class to display externally rendered files and diffs (#15735) 2021-05-07 10:43:41 +02:00
markup Use a generic markup class to display externally rendered files and diffs (#15735) 2021-05-07 10:43:41 +02:00
shared Issue list alignment tweaks (#15483) 2021-05-05 12:57:59 -04:00
standalone Fix tooltips and issue dependency styles (#13458) 2020-11-10 20:28:07 +02:00
themes Reaction improvements (#15836) 2021-05-12 07:16:22 +01: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) 2021-05-16 02:12:55 +02:00
_dashboard.less Fix dashboard UI bugs and more (#14767) 2021-02-25 13:35:43 +01:00
_editor.less Add caret styling CSS (#15651) 2021-05-05 14:14:04 -04:00
_explore.less Branch page and misc css improvements (#15208) 2021-04-03 10:37:32 +02: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) 2021-04-03 10:37:32 +02:00
_home.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00
_install.less Reindent Less to 2-space (#12602) 2020-08-25 22:48:53 +03:00
_organization.less Fix margin between avatars on org pages (#15194) 2021-03-29 20:57:27 +01:00
_repository.less Reaction improvements (#15836) 2021-05-12 07:16:22 +01:00
_review.less Code comments improvements (#15722) 2021-05-08 18:28:25 +03:00
_svg.less Reindent Less to 2-space (#12602) 2020-08-25 22:48:53 +03:00
_tribute.less Update JS dependencies (#15033) 2021-03-22 05:04:19 +01: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 Use a generic markup class to display externally rendered files and diffs (#15735) 2021-05-07 10:43:41 +02:00
misc.css Raw file view tweaks (#15520) 2021-04-22 23:43:44 +02:00
variables.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00