From 0721891864bb75beeca39b82ae5af1707bdbea60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Tue, 25 Mar 2025 00:38:00 +0100 Subject: [PATCH 1/2] [style] Test more card-like style for nodes. --- static/style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/static/style.css b/static/style.css index 493a929..f56be44 100644 --- a/static/style.css +++ b/static/style.css @@ -195,8 +195,11 @@ img { } .node .node { - padding: 1ex 0 1ex 1ex; - border-left: 1px dashed #2c3e50; + padding: 1ex 0.25ex 1ex 1ex; + border-left: 3px solid #5e235e; + margin-bottom: 1ex; + border-radius: 3px; + box-shadow: 0 0 3px 0px rgba(0,0,0,0.3); } .node.collapsed > .contents { From 6d3e4449635080836a875712cad50251da06399b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Tue, 25 Mar 2025 00:46:00 +0100 Subject: [PATCH 2/2] [style] Fix listing connection levels. --- static/style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/style.css b/static/style.css index f56be44..95c86a6 100644 --- a/static/style.css +++ b/static/style.css @@ -266,6 +266,11 @@ img { border-left: 2px solid var(--tree-color); } +.node .contents ul ul ul li, +.global-table-of-contents ul ul ul li { + margin-left: calc(0px + var(--tree-radius) * 2 + .5ex); +} + .node .contents ul ul li::marker, .global-table-of-contents ul ul li::marker { content: '';