/* Content */ /* Lucent's heaviest weight is 650 (titles); bold text in prose is 600. */ .markdown strong, .markdown b { font-weight: 600; } /* Content type and rhythm: Lucent's scale on Lucent's 4px spacing grid. */ .markdown { /* About 80 characters a line. */ max-width: 720px; font: var(--lu-type-docs-body); --ifm-h1-vertical-rhythm-bottom: 1; } .markdown header h1 { font: var(--lu-type-docs-h1); letter-spacing: var(--lu-type-display-tracking); margin-bottom: var(--lu-space-4); } .markdown h2 { font: var(--lu-type-docs-h2); letter-spacing: -0.018em; margin: var(--lu-space-8) 0 var(--lu-space-2); } .markdown h3 { font: var(--lu-type-docs-h3); letter-spacing: -0.01em; margin: var(--lu-space-6) 0 var(--lu-space-2); } .markdown h4, .markdown h5, .markdown h6 { font: var(--lu-type-docs-h4); margin: var(--lu-space-4) 0 var(--lu-space-1); } .markdown > p, .markdown > ul, .markdown > ol, .markdown li { text-wrap: pretty; } .markdown ul, .markdown ol { padding-left: 22px; } .markdown .theme-code-block, .markdown .theme-admonition, .markdown .tabs-container, .markdown table { margin-bottom: var(--lu-space-4); } /* Supporting text: breadcrumbs, table of contents, pager, footer. */ .breadcrumbs__link { font: var(--lu-type-label); font-weight: 400; padding: 4px 10px; } .table-of-contents { font: var(--lu-type-label); font-weight: 400; } .table-of-contents__link { color: var(--lu-ink-muted); } /* The table of contents gets a fixed 280px column; the text column takes the rest (it is capped at 720px anyway). */ @media (min-width: 997px) { .row:has(> [class*='docItemCol_']) > .col--3 { flex: 0 0 280px; max-width: 280px; } .row > [class*='docItemCol_'] { max-width: none !important; min-width: 0; } } /* Below 1200px a third column would squeeze the text, so the table of contents moves into the page as the collapsible "On this page" that phones get (Docusaurus always renders it and hides it with CSS). */ @media (min-width: 997px) and (max-width: 1199px) { .row:has(> [class*='docItemCol_']) > .col--3 { display: none; } article .theme-doc-toc-mobile { display: block; } } /* Code in headings shows in the table of contents as plain text: a mono pill per line is hard to scan. */ .table-of-contents code { padding: 0; border: none; background: none; color: inherit; font: inherit; } .table-of-contents li { margin: 6px var(--ifm-toc-padding-vertical); } .theme-doc-footer, .pagination-nav__label { font: var(--lu-type-label); } .markdown a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--lu-accent) 40%, transparent); text-underline-offset: 0.18em; } .markdown a:hover { text-decoration-color: var(--lu-accent); } /* Inline code: a quiet fill, no border. */ code { border: none; vertical-align: baseline; } /* Code blocks: a sunken panel inside the sheet. */ .theme-code-block { /* The frame (this) and the fill (pre) share one radius. */ border-radius: var(--ifm-pre-border-radius); box-shadow: inset 0 0 0 var(--lu-size-hairline) var(--lu-line); } .theme-code-block pre code { font: var(--lu-type-code); } /* Tables: hairlines between rows only. */ .markdown table { /* Infima makes tables blocks so they scroll; size the box to the rows. */ width: fit-content; max-width: 100%; border-collapse: separate; border-spacing: 0; border: var(--lu-size-hairline) solid var(--lu-line); border-radius: var(--lu-radius-control); /* Wide tables scroll sideways; the scroll box also clips the cells to the rounded corners. (An inset shadow would sit under the cell fills.) */ overflow-x: auto; } .markdown table tr { border: none; } .markdown table th, .markdown table td { border: none; border-bottom: var(--lu-size-hairline) solid var(--lu-line); } .markdown table tr:last-child td { border-bottom: none; } .markdown table th { text-align: start; font: var(--lu-type-caption); font-size: 12px; color: var(--lu-ink-muted); } .pagination-nav__link { /* An outlined card with no fill or sheen: secondary to the page above. */ padding: 12px 16px; border: none; border-radius: var(--lu-radius-control); background: transparent; box-shadow: inset 0 0 0 var(--lu-size-hairline) var(--lu-line); transition: background-color var(--lu-dur-fast) var(--lu-ease); } .pagination-nav__link:hover { background: var(--lu-hover); } .pagination-nav__label { font-weight: 500; } .pagination-nav__sublabel { font: var(--lu-type-caption); color: var(--lu-ink-muted); } /* Badges: soft capsules in the accent, never white text on a saturated fill. Scoped to page content: the sidebar has its own. */ .markdown .badge { padding: 1px 7px; border: none; border-radius: var(--lu-radius-capsule); background: var(--lu-accent-soft); color: var(--lu-accent); font: var(--lu-type-caption); letter-spacing: var(--lu-type-caption-tracking); vertical-align: 0.1em; } .markdown .badge--warning { background: color-mix(in srgb, var(--lu-warning) 16%, transparent); color: var(--lu-ink); } .markdown .badge--info, .markdown .badge--secondary { background: var(--lu-fill); color: var(--lu-ink-muted); } .markdown .badge--danger { background: var(--lu-spark-soft); color: var(--lu-spark); }