From 69f4cddd005ae04bd94625114f36c21a3e82f63f Mon Sep 17 00:00:00 2001 From: isUnknown Date: Mon, 3 Feb 2025 13:32:17 +0100 Subject: [PATCH] fix #11 --- assets/css/src/nav.css | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/assets/css/src/nav.css b/assets/css/src/nav.css index 12ef239..8303155 100644 --- a/assets/css/src/nav.css +++ b/assets/css/src/nav.css @@ -154,9 +154,30 @@ button.see-more { } /* ================= TEXT ITEM ================= */ -.text { +.panel .text { margin-bottom: var(--unit--vertical); } +.panel .text:first-child, +.panel .text:last-child { + margin-bottom: calc(var(--unit--vertical) * 2); +} + +.panel .text:first-child .text__title { + display: inline-block; + padding-left: var(--unit--horizontal); +} +.panel .text:first-child .text__infos { + padding-left: var(--unit--horizontal); +} +.panel .text:first-child .text__infos::before { + content: ""; + position: absolute; + left: 0; + top: 0; + height: 100%; + width: 1px; + background-color: #fff; +} @media screen and (min-width: 640px) { nav.panel {