summaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-09-08 21:18:44 +0200
committerBotond Hende <nettingman@gmail.com>2024-09-08 21:18:44 +0200
commitaea9c553db304da10a94d2f175f2a97a7d5be17c (patch)
tree517c8e0590ddc94263315c6ffc99016dffb7dc2e /assets/css
parent76d59dcd86f02ca37667cf0e7ed8e0096fff0c34 (diff)
inline code block and list styling
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/blog.css20
1 files changed, 20 insertions, 0 deletions
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;