/* Colors */ :root { --ink: #1a2748; --muted: #5a6b92; --line: #e6eaf2; --line-strong: #dce8fc; --surface: #ffffff; --tint: #f3f7fe; --canvas: #f7f9fc; --accent: #054fb3; --focus: #7db6ff; --shadow: rgb(7 32 76 / 0.04); } /* The colors to pick from, above the pages */ .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; } .swatch { width: 32px; height: 32px; border: 2px solid var(--surface); border-radius: 50%; padding: 0; cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.15s ease; } .swatch:hover { box-shadow: 0 0 0 1px var(--focus); } .swatch[aria-pressed='true'] { box-shadow: 0 0 0 2px var(--accent); } .swatch:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; } .button { font: inherit; font-size: 13px; font-weight: 550; line-height: 1; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 9px 13px; cursor: pointer; box-shadow: 0 1px 2px var(--shadow); transition: background-color 0.15s ease, border-color 0.15s ease; } .button:hover { background: var(--tint); border-color: var(--line-strong); } .button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; } /* A checkbox in a pill that lights up while it's on */ .option { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: 13px; font-weight: 550; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 7px 11px; cursor: pointer; user-select: none; box-shadow: 0 1px 2px var(--shadow); } .option:has(input:checked) { color: var(--accent); background: var(--tint); border-color: var(--focus); } .option input { margin: 0; accent-color: #0876fd; } /* The pages */ .stage { height: 420px; border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); box-shadow: 0 1px 2px var(--shadow), 0 18px 40px -28px rgb(7 32 76 / 0.28); } /* CSS wins over the settings: an orange selection, whichever color is picked */ .stage.from-css { --epdf-text-selection: rgb(249 115 22 / 0.35); --epdf-text-selection-handle: #ea580c; } .loading { margin: 0; padding: 24px 0; text-align: center; font-size: 13px; color: var(--muted); }