// The look pass: Archivo titles, mono section labels, depth by tone and a faint accent wash at the // top of the page. Imported last in main.scss so it restyles shared classes. It changes type, // tone and depth only; which colour a thing uses is decided where the thing is styled. // Titles. Page titles and major headings use --display (Archivo) at 700 and 110% width, 24px at // most. Body text stays on --font. h1, h2 { font-family: var(--display); font-weight: 700; font-stretch: 110%; letter-spacing: -0.01em; } h1 { font-size: 1.5rem; } // Mono section labels: table headers, pane headers, card headings that are labels, and the small // muted captions that head a card's table or list. Only static UI text takes this; prose and user // content (commit messages, names, descriptions) keep their case. %mono-label { color: var(--muted); font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: 0; line-height: 1.4; text-transform: none; } th, .table th, .ci-warnings-title, .row-title, .mx-caption, .card > .muted.small:first-child:has(+ .table-wrap, + .table, + ul, + ol) { @extend %mono-label; } // Depth by tone. Cards and panes sit on the surface tone with an inset 1px hairline instead of a // drop shadow or a heavy border. The border keeps its width (transparent), so nothing moves. .card, .pin-card, .ci-side, .ci-main, .readme { border-color: transparent; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); } .card.notice { border-color: var(--border); box-shadow: none; } // Only floating things (popovers, menus, dialogs, the palette, the profile panel) keep --shadow. // A faint accent wash at the top of the page, as on the canvases, centred left of the middle. body { background-color: var(--bg); background-image: radial-gradient( ellipse 1000px 300px at 26% -120px, color-mix(in srgb, var(--accent) 9%, transparent), transparent ); background-repeat: no-repeat; }