syncthing/gui
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
..
black/assets/css gui: Tweak the Restore Versions modal for better usability (#7972) 2022-01-25 23:08:27 +01:00
dark/assets/css gui: Tweak the Restore Versions modal for better usability (#7972) 2022-01-25 23:08:27 +01:00
default gui: Don't use italic text for CJK languages (#8172) 2022-02-08 07:07:22 +01:00
light/assets/css gui: Tweak the Restore Versions modal for better usability (#7972) 2022-01-25 23:08:27 +01:00