From 53de5d6bd1e67f3415f135f12e7f4b7535250e35 Mon Sep 17 00:00:00 2001 From: Thomas Bonnet Date: Wed, 29 May 2024 15:47:10 +0200 Subject: [PATCH] :art: display flex for nav starlight on this page --- src/assets/css/hello.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/assets/css/hello.css b/src/assets/css/hello.css index 28aa017..a10dbf5 100644 --- a/src/assets/css/hello.css +++ b/src/assets/css/hello.css @@ -74,6 +74,7 @@ code { .main-pane a { font-weight: 600; } + .main-pane img { display: block; margin-left: auto; @@ -110,15 +111,18 @@ select:where(.astro-4yphtoen) { min-width: min-content; } -nav[aria-labelledby="starlight__on-this-page"] ul li { - padding: 0.2rem 0; +nav[aria-labelledby="starlight__on-this-page"] > ul { + display: flex; + flex-direction: column; + gap: .3rem; } nav[aria-labelledby="starlight__on-this-page"] ul li a { - font-size: 14px; + font-size: 15px; + line-height: 1.6; text-wrap: balance; } nav[aria-labelledby="starlight__on-this-page"] a[aria-current="true"] { font-weight: 600; -} \ No newline at end of file +}