Style tweaks: remove "Toggle alternative EPUB content"

With MathML support, this is no longer all or nothing.
As it's quite rare and technical, let this be handled
via user style tweaks.
This commit is contained in:
poire-z
2021-04-02 18:12:12 +02:00
parent bc5881668e
commit 25aabd69d9

View File

@@ -823,20 +823,6 @@ This tweak can be duplicated as a user style tweak when books contain footnotes
]],
},
},
{
id = "epub_switch_show_case";
title = _("Toggle alternative EPUB content"),
description = _([[
The EPUB3 format allows a
<epub:switch> <epub:case> <epub:default>
construct to provide alternative content to engines that support optional features.
KOReader currently falls back to hiding all <epub:case> content and shows the <epub:default> content (usually an image).
This tweak toggles this behavior, and may show the <epub:case> content as plain text.]]),
css = [[
switch > case { display: inline; }
switch > default { display: none; }
]],
},
{
id = "no_pseudo_element_before_after";
title = _("Disable before/after pseudo elements"),