syncthing/gui/default/assets/css
tomasz1986 c396124bc9
gui: Don't use italic text for CJK languages (#8172)
Even though technically possible, CJK languages normally don't use
italic text at all, as not only does it make the characters/letters look
unnatural, but also, in the case of complex characters, unreadable too.
For these reasons, it is usually recommended not to use the italic font
style at all [1][2].

This commit changes the default font-style of the i element for Chinese,
Japanese, and Korean langauge to "normal" instead of "italic". In order
to do so, the HTML lang attribute is also changed following each change
of the GUI language.

[1] https://bobtung.medium.com/best-practice-in-chinese-layout-f933aff1728f
[2] https://devblogs.microsoft.com/oldnewthing/20060914-02/?p=29743

Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2022-02-08 07:07:22 +01:00
..
dev.css gui: Prevent log bar from flashing up while page is loading 2016-05-30 13:16:15 +00:00
overrides.css gui: Don't use italic text for CJK languages (#8172) 2022-02-08 07:07:22 +01:00
theme.css lib/api: Make theme paths relative (#6142) 2019-11-09 12:07:46 +00:00
tree.css gui: Tweak the Restore Versions modal for better usability (#7972) 2022-01-25 23:08:27 +01:00