Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,29 @@ kbd {
text-transform: none !important;
}

/* inline code — the global Inter font family bleeds onto bare <code> spans, so
variables like `payload` render in a proportional font with no chip and read
as malformed prose rather than code. force a monospace stack and a subtle
background so inline code looks like code. code blocks live inside <pre> and
keep their own styling. tinted with kernel green (#81b300) as a fill so it
reads as brand, not sterile grey — green is used as the chip fill with the
existing charcoal text, per the brand rule (never green body text). */
:not(pre) > code {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
"Liberation Mono", "Courier New", monospace !important;
font-size: 0.875em !important;
padding: 0.1em 0.35em !important;
background-color: rgba(129, 179, 0, 0.12) !important;
border: 1px solid rgba(129, 179, 0, 0.35) !important;
letter-spacing: normal !important;
font-weight: 400 !important;
}

html.dark :not(pre) > code {
background-color: rgba(129, 179, 0, 0.16) !important;
border-color: rgba(129, 179, 0, 0.4) !important;
}

/* remove all rounded corners site-wide */
*,
*::before,
Expand Down
Loading