::selection { color: #ffffff; background: #0000ff; } body { font-family: monospace, "Courier New", Courier; line-height: 1.8; } h1 { text-wrap-style: balance; } a { text-decoration: none; } a:hover { color: #0000ff; text-decoration: underline; } a:visited { color: #800080; } a:active { color: #ff0000; } hr { border-top: 1px solid #cccccc; } .i { line-height: 0; } pre, blockquote { display: block; padding: 20px; margin: 0 auto; } pre { overflow-x: auto; white-space: pre; background: #111111; } blockquote { border-left: 4px solid #cccccc; font-style: italic; } code { word-wrap: break-word; overflow-wrap: break-word; } ol { list-style-type: decimal-leading-zero; } #w { width: 800px; table-layout: fixed; } h1.with-tags { margin-bottom: 0; } @media only screen and (max-width: 800px) { #w, img { width: 100%; } #w { max-width: 800px; } img { height: auto; } section .footnotes { overflow-x: scroll; } } @media (prefers-color-scheme: dark) { ::selection { color: #222222; background: #9bbc0f; } html { scrollbar-color: #9bbc0f #667a0a; } body { background: #222222; color: #eeeeee; } a { color: #9bbc0f; text-decoration: none; } a:hover { color: #bee412; text-decoration: underline; } a:visited { color: #667a0a; } blockquote { border-left: 4px solid #555555; } hr { border-top: 2px solid #333333; } } /* Book format accent stripe */ .book { position: relative; padding-left: 1.2rem; overflow: hidden; } .book::before { content: ""; position: absolute; left: 0; top: 0.5rem; bottom: 0.5rem; width: 3px; border-radius: 2px; background: transparent; /* slightly more muted */ opacity: 0.75; transition: background 0.15s ease-in-out; } .book[data-format=physical] { --format-color: #556a3c ; } .book[data-format=audio] { --format-color: #4c8b97 ; } .book[data-format=digital] { --format-color: #7c6e8b ; } .book[data-format=web] { --format-color: #5e656a ; } .book[data-format=mixed] { --format-color: linear-gradient(180deg, #b85c6b 0%, #b88f4a 20%, #c7b45a 40%, #6aa06a 60%, #5a90a6 80%, #8a6b9a 100%) ; } .book::before { background: var(--format-color, transparent); } /* Reading progress fill via ::after pseudo-element (z-index behind text) */ :root { --progress-fill: #6aa84f; /* muted green for light mode */ } @media (prefers-color-scheme: dark) { :root { --progress-fill: #9bbc0f; } /* Game Boy green for dark mode */ } .book[data-progress]::after { content: ""; position: absolute; top: 0; left: 0.8rem; /* starts right after format bar */ bottom: 0; width: var(--book-progress, 0%); background: var(--progress-fill, #9bbc0f); opacity: 0.2; z-index: -1; } /* if dot mode is used later, give the mixed dot a conic rainbow */ .book[data-format=mixed] .format-dot { background: conic-gradient(from 90deg, #b85c6b, #b88f4a, #c7b45a, #6aa06a, #5a90a6, #8a6b9a); } /* Screen-reader only helper */ .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } /*# sourceMappingURL=styles.css.map */