forked from slonk/bingus-blog
add styles for blockquotes
This commit is contained in:
parent
f7977412bc
commit
cf89b8db7f
2 changed files with 21 additions and 1 deletions
|
@ -54,3 +54,22 @@ th,
|
||||||
td:nth-child(1) {
|
td:nth-child(1) {
|
||||||
word-break: keep-all;
|
word-break: keep-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
margin-left: 1em;
|
||||||
|
padding-left: 1.5em;
|
||||||
|
border-left: 0.5em solid;
|
||||||
|
border-color: var(--blue);
|
||||||
|
& > blockquote {
|
||||||
|
border-color: var(--mauve);
|
||||||
|
& > blockquote {
|
||||||
|
border-color: var(--pink);
|
||||||
|
& > blockquote {
|
||||||
|
border-color: var(--rosewater);
|
||||||
|
& > blockquote {
|
||||||
|
border-color: var(--text);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
/* colors */
|
/* colors from catppuccin https://github.com/catppuccin/catppuccin
|
||||||
|
licensed under the MIT license, available in the source tree */
|
||||||
:root {
|
:root {
|
||||||
--base: #1e1e2e;
|
--base: #1e1e2e;
|
||||||
--text: #cdd6f4;
|
--text: #cdd6f4;
|
||||||
|
|
Loading…
Reference in a new issue