Style inline source blocks.

main
Tom Alexander 4 months ago
parent 45a1076d18
commit 6f049e00d4
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

@ -5,6 +5,8 @@
--site-text-color: #fffffc;
--header-divider-color: #6a687a;
--src-font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
--src-block-background-color: #141414;
--src-block-border-color: #84828f;
--src-block-language-color: #0a0a0a;
@ -61,7 +63,7 @@ body {
border-radius: 3px;
border: 1px solid var(--src-block-border-color);
font-size: 1rem;
font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
font-family: var(--src-font-family);
margin: 1rem 0;
.src_language {
@ -83,6 +85,11 @@ body {
}
}
.inline_source_block {
font-family: var(--src-font-family);
font-size: 1rem;
}
.quote_block {
border-left: 1px solid var(--quote-block-border-color);
padding: 0 0 0 1rem;

@ -1 +1 @@
<code>{.value}</code>
<code class="inline_source_block">{.value}</code>

Loading…
Cancel
Save