Style tweaks: add "Reset main text font size"

reviewable/pr9307/r1
poire-z 2 years ago
parent 6fb266cb71
commit c782d66c18

@ -427,11 +427,20 @@ Further small adjustments can be done with 'Line Spacing' in the bottom menu.]])
},
{
id = "font_size_all_inherit",
conflicts_with = "font_size_most_reset",
title = _("Ignore publisher font sizes"),
description = _("Disable font-size specified in embedded styles."),
priority = -1, -- so in-page footnotes smaller can override this
css = [[* { font-size: inherit !important; }]],
},
{
id = "font_size_most_reset",
conflicts_with = "font_size_all_inherit",
title = _("Reset main text font size"),
description = _("Disable font-size set on the main text (keeping possibly larger headings untouched), so that KOReader's font size is used."),
priority = -1, -- so in-page footnotes smaller can override this
css = [[body, p, li, div, blockquote { font-size: 1rem !important; }]],
},
},
{
title = _("Line heights"),

Loading…
Cancel
Save