From cf89b8db7fb26d057b52e7831e013930aae98db0 Mon Sep 17 00:00:00 2001 From: slonkazoid Date: Sat, 17 Aug 2024 18:44:59 +0300 Subject: [PATCH] add styles for blockquotes --- static/post.css | 19 +++++++++++++++++++ static/style.css | 3 ++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/static/post.css b/static/post.css index 1518428..8c68ffc 100644 --- a/static/post.css +++ b/static/post.css @@ -54,3 +54,22 @@ th, td:nth-child(1) { 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); + } + } + } + } +} diff --git a/static/style.css b/static/style.css index 13922fc..19bf53a 100644 --- a/static/style.css +++ b/static/style.css @@ -1,4 +1,5 @@ -/* colors */ +/* colors from catppuccin https://github.com/catppuccin/catppuccin + licensed under the MIT license, available in the source tree */ :root { --base: #1e1e2e; --text: #cdd6f4;