Something went wrong. Try again.
A free, open-source, self-hosted place to write a novel.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148@import './tokens.css';
/* Self-hosted faces. The first viewport requests nothing from another host. */@import './fonts.css';
@layer base { *, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; background-color: var(--dr-surface-base); color: var(--dr-text-primary); font-family: var(--dr-font-body); /* Inherited, so a heading styled in a component takes the same width as one styled here. Only Cabin carries a width axis, and the other faces pin theirs, so this reaches chrome and nothing else. */ font-stretch: var(--dr-font-stretch-heading); font-size: var(--dr-text-base); line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6 { font-family: var(--dr-font-heading); font-weight: 600; letter-spacing: 0.01em; color: var(--dr-heading); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--dr-text-link); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dr-transition-fast); }
a:hover { color: var(--dr-text-link-hover); }
/* Browser surfaces belong to the design system too. */ ::selection { background: var(--dr-editor-selection-bg); color: var(--dr-text-primary); }
:focus-visible { outline: var(--dr-focus-ring); outline-offset: var(--dr-focus-ring-offset); }
/* The caret is a machined part: warm gold on dark, dark gold in Safe Mode. */ * { caret-color: var(--dr-cursor); }
* { scrollbar-color: var(--dr-scrollbar-thumb) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--dr-scrollbar-thumb); border: 3px solid var(--dr-surface-base); border-radius: var(--dr-radius-sm); }
::-webkit-scrollbar-thumb:hover { background: var(--dr-scrollbar-thumb-hover); }
/* Numerals in readouts line up, always. */ .tnum { font-family: var(--dr-font-mono); font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
/* An uppercase label in the chrome voice. It names a thing, and it never decorates a heading. */ .label { font-family: var(--dr-font-heading); font-weight: 600; font-size: var(--dr-text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dr-text-secondary); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
/* Reduced motion cuts spatial travel while keeping non-spatial colour cooling. */ *:not(.heat-sent, .heat-cooling), *:not(.mark)::before, *:not(.mark)::after { transition-duration: 0.001ms !important; } }}