/* 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 !important;
  color: inherit !important;
}

: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);
}