1
Fork 0
mirror of https://github.com/glassflame/glassflame.github.io.git synced 2024-11-22 16:14:26 +00:00

Fancy blockquotes

This commit is contained in:
Steffo 2023-11-06 17:59:22 +01:00
parent bc5a9fbb6a
commit 03474556c2
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -20,6 +20,7 @@
--font-text: sans-serif; --font-text: sans-serif;
--font-mono: monospace; --font-mono: monospace;
--math-border-width: 1px; --math-border-width: 1px;
--blockquote-border-width: 2px;
} }
@media screen { @media screen {
@ -67,6 +68,15 @@ svg line {
stroke-width: var(--edge-width); stroke-width: var(--edge-width);
} }
blockquote {
border-left: var(--blockquote-border-width) solid var(--color-accent);
margin-block-start: 0;
margin-block-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
padding-left: 1.5ex;
}
.math { .math {
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: hidden;