/* Colors */ :root { --ink: #1a2748; --muted: #5a6b92; --line: #e6eaf2; --surface: #ffffff; --canvas: #f7f9fc; --ruler: #e5484d; --shadow: rgb(7 32 76 / 0.04); } /* The measurement, above the pages */ .toolbar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; min-height: 20px; margin-bottom: 14px; } .readout { font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; } .readout.muted { font-size: 13px; font-weight: 450; color: var(--muted); } /* The line on the page, and its length at its middle */ .ruler-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; } .ruler-line { stroke: var(--ruler); stroke-width: 2; stroke-dasharray: 6 4; } .ruler-end { fill: var(--surface); stroke: var(--ruler); stroke-width: 2; } .ruler-label { position: absolute; transform: translate(-50%, calc(-100% - 8px)); font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--surface); background: var(--ruler); border-radius: 999px; padding: 4px 9px; box-shadow: 0 2px 6px rgb(7 32 76 / 0.25); pointer-events: none; } /* 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); } .loading { margin: 0; padding: 24px 0; text-align: center; font-size: 13px; color: var(--muted); }