Try to limit the nb of items per menu page to 5 or 6 by
splitting related ones into sub-menus, so we get more
room below to see how they affect the content.
Adds "No indentation on first/following paragraphs" and
"Paragraphs margins and paddings", and Links underlining.
description=_("Do not indent the first line of the first paragraph of its container. This might be needed to correctly display drop caps, while still having indentation on following paragraphs."),
priority=2,-- so it can override 'paragraph_indent'
title=_("No indentation on following paragraphs"),
description=_("Do not indent the first line of following paragraphs, but leave the first paragraph of its container untouched."),
priority=2,-- so it can override 'paragraph_indent'
css=[[p + p { text-indent: 0 !important; }]],
},
},
{
title=_("Spacing between paragraphs"),
{
id="paragraph_whitespace";
title=_("Spacing between paragraphs"),
description=_("Add a line of whitespace between paragraphs."),
priority=5,-- Override "Ignore margins and paddings" below
css=[[p + p { margin-top: 1em !important; }]],
},
{
id="paragraph_whitespace_half";
title=_("Spacing between paragraphs (half)"),
description=_("Add half a line of whitespace between paragraphs."),
priority=5,
css=[[p + p { margin-top: .5em !important; }]],
},
{
id="paragraph_no_whitespace";
title=_("No spacing between paragraphs"),
description=_("No whitespace between paragraphs is the default, but it may be overridden by publisher styles. This will re-enable it for paragraphs and list items."),
priority=5,
css=[[p, li { margin-top: 0 !important; margin-bottom: 0 !important; }]],
separator=true,
},
{
id="paragraph_no_vertical_padding";
title=_("Ignore vertical paragraph padding"),
priority=3,-- Override "Pages > Ignore margin and padding"
css=[[p, li { padding-top: 0 !important; padding-bottom: 0 !important; }]],
},
},
{
title=_("Horizontal paragraph margins"),
{
id="paragraph_no_horizontal_margin";
title=_("Ignore horizontal paragraph margins"),
priority=3,-- Override "Pages > Ignore margin and padding"
css=[[p, li { margin-left: 0 !important; margin-right: 0 !important; }]],
},
{
id="paragraph_no_horizontal_padding";
title=_("Ignore horizontal paragraph padding"),
priority=3,
css=[[p, li { padding-left: 0 !important; padding-right: 0 !important; }]],