Style tweaks: add "Tailor widths and text-indent for CJK"

Also add a timeout to the "Changed language for
typography rules" InfoMessages.
This commit is contained in:
poire-z
2022-06-05 12:36:31 +02:00
parent ccd527ee48
commit f29ee8475e
2 changed files with 11 additions and 0 deletions

View File

@@ -430,6 +430,13 @@ p {
margin-bottom: 1em;
}
]],
},
{
id = "cjk_tailored";
title = _("Tailor widths and text-indent for CJK"),
description = _([[
Adjust paragraph width and text-indent to be an integer multiple of the font size, so that lines of Chinese and Japanese characters don't need space added between glyphs for text justification.]]),
css = [[ body { -cr-hint: cjk-tailored; }]], -- This hint is inherited
separator = true,
},
{