From aea9c553db304da10a94d2f175f2a97a7d5be17c Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sun, 8 Sep 2024 21:18:44 +0200 Subject: inline code block and list styling --- assets/css/blog.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'assets/css') diff --git a/assets/css/blog.css b/assets/css/blog.css index a8ccf34..0ae38ad 100644 --- a/assets/css/blog.css +++ b/assets/css/blog.css @@ -173,6 +173,11 @@ p.quote-source { padding: 0.7rem; } +span.code-block, +span.code-block-wrap { + padding: 0.1rem; +} + .code-block { overflow-x: auto; } @@ -207,6 +212,21 @@ p { margin-top: 0.8rem; } +ul { + padding-left: 2rem; +} + +li::marker { + content: "* "; + color: var(--term-cyan); +} + +li { + margin-top: 0.5rem; + margin-bottom: 0.5rem; + color: var(--term-fg); +} + .code-block p, .code-block-wrap p { margin: 0; -- cgit v1.2.3-70-g09d2