UNPKG

@readium/css

Version:

A set of reference stylesheets for EPUB Reading Systems

17 lines (13 loc) 433 B
/* Readium CSS Font weight pref A submodule managing font weight for user settings Part of “User Overrides” class – no flag required. Repo: https://github.com/readium/css */ :root[style*="--USER__fontWeight"] body { font-weight: var(--USER__fontWeight) !important; } /* Attempt to handle known bolds */ :root[style*="--USER__fontWeight"] b, :root[style*="--USER__fontWeight"] strong { font-weight: bolder; }