/** * Notes: bip-kit's article classes, dressed in Substrata's tokens. * * bip-kit emits semantic `bp-*` class names and ships no opinion about how * they look, which is the point — the shared package owns the parsing and the * security model, this file owns every visual decision, and a note ends up * looking like the rest of the site rather than like a blog bolted onto it. * * Nothing here is a literal colour. Every value is one of the tokens above. */ .bp-article { color: var(--color-fg-secondary); font-size: 1.0625rem; line-height: 1.75; } /* The renderer nests its own wrapper, so the blocks are not direct children of .bp-article. Spacing therefore goes on the block classes themselves. */ .bp-p, .bp-blockquote, .bp-figure, .bp-callout, .bp-table-wrap, .bp-pre, .bp-codeblock, .bp-stats, .bp-embed, .bp-article ul, .bp-article ol { margin-top: 1.15rem; } .bp-h2, .bp-h3, .bp-h4 { color: var(--color-fg-primary); font-family: var(--font-heading); font-weight: 600; letter-spacing: var(--tracking-display); text-wrap: balance; } .bp-h2 { margin-top: 2.5rem; font-size: 1.6rem; line-height: 1.25; } .bp-h3 { margin-top: 2rem; font-size: 1.25rem; line-height: 1.3; } .bp-h4 { margin-top: 1.5rem; font-size: 1.05rem; } .bp-p { margin-bottom: 0; } .bp-article strong { color: var(--color-fg-primary); font-weight: 600; } .bp-link { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; } .bp-article ul, .bp-article ol { padding-left: 1.3rem; } .bp-li { margin-top: 0.4rem; } .bp-li::marker { color: var(--color-fg-muted); } .bp-blockquote { margin-left: 0; border-left: 2px solid var(--color-accent); padding: 0.15rem 0 0.15rem 1.1rem; color: var(--color-fg-primary); font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.5; } .bp-hr { border: 0; border-top: 1px solid var(--color-border-subtle); margin: 2.5rem 0; } .bp-inline-code { border-radius: 3px; background: var(--color-surface-raised); padding: 0.1em 0.35em; font-family: var(--font-mono); font-size: 0.875em; color: var(--color-fg-primary); } .bp-pre, .bp-codeblock { overflow-x: auto; border: 1px solid var(--color-border-subtle); border-radius: 6px; background: var(--color-surface-raised); padding: 0.9rem 1rem; font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.6; } .bp-table-wrap { overflow-x: auto; } .bp-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; } .bp-table th, .bp-table td { border-bottom: 1px solid var(--color-border-subtle); padding: 0.5rem 0.9rem 0.5rem 0; text-align: left; vertical-align: top; } .bp-table th { border-bottom-color: var(--color-border-strong); color: var(--color-fg-tertiary); font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: var(--tracking-caps); text-transform: uppercase; } .bp-callout { border-left: 2px solid var(--color-border-strong); border-radius: 0 6px 6px 0; background: var(--color-surface-raised); padding: 0.8rem 1rem; } .bp-callout--warn { border-left-color: var(--color-status-warning); } .bp-callout--note { border-left-color: var(--color-accent); } .bp-callout-title { color: var(--color-fg-primary); font-weight: 600; } .bp-figure { margin: 2rem 0; } .bp-img { max-width: 100%; height: auto; border-radius: 6px; } .bp-figcaption { margin-top: 0.5rem; color: var(--color-fg-tertiary); font-size: 0.85rem; line-height: 1.5; } .bp-footnotes { margin-top: 3rem; border-top: 1px solid var(--color-border-subtle); padding-top: 1rem; font-size: 0.9rem; } .bp-fnref, .bp-fn-back { color: var(--color-accent); }