@readium/css
Version:
A set of reference stylesheets for EPUB Reading Systems
30 lines (21 loc) • 590 B
CSS
/* Readium CSS
Sepia mode
A preset theme for sepia mode
Repo: https://github.com/readium/css */
/* CONFIG */
:root:--sepia-mode {
@import-json "../../vars/sepia.json";
}
/* we don’t need to redeclare bg-color and color for :root since we will inherit and update from base */
:root:--sepia-mode *:not(a) {
background-color: transparent ;
color: inherit ;
}
:root:--sepia-mode a:link,
:root:--sepia-mode a:link * {
color: var(--RS__linkColor);
}
:root:--sepia-mode a:visited,
:root:--sepia-mode a:visited * {
color: var(--RS__visitedColor);
}