UNPKG

@readium/css

Version:

A set of reference stylesheets for EPUB Reading Systems

18 lines (13 loc) 556 B
/* Readium CSS Para indent pref A submodule managing paragraphs’ text-indent for user settings Part of “User Overrides Advanced” class – “advanced settings” flag required. Repo: https://github.com/readium/css */ :root[style*="--USER__paraIndent"] p { text-indent: var(--USER__paraIndent) !important; } /* If there are inline-block elements in paragraphs, text-indent will inherit so we must reset it */ :root[style*="--USER__paraIndent"] p *, :root[style*="--USER__paraIndent"] p:first-letter { text-indent: 0 !important; }