From fa49efc93b3a0ae3bfde654f0aa6a0f1c1e49fc2 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 24 Feb 2026 17:31:14 +0100 Subject: [PATCH] FEATURE Refining sub title styling --- resources/css/layout/nav/secondary-menu.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/resources/css/layout/nav/secondary-menu.css b/resources/css/layout/nav/secondary-menu.css index 7cbff63..4a7d37f 100644 --- a/resources/css/layout/nav/secondary-menu.css +++ b/resources/css/layout/nav/secondary-menu.css @@ -70,9 +70,18 @@ @apply border-b border-white; a { @apply py-6 px-4 block w-full; - + .page_subtitle { + @apply opacity-80 font-light mt-3 inline-block; + /* line-height: 1; */ + } + .menu-item__content-inner { + transition: all 0.3s ease-out; + } &:hover { - backdrop-filter: brightness(0.9); + backdrop-filter: brightness(0.8); + .menu-item__content-inner { + transform: translateX(4px); + } } } &:last-child { @@ -87,6 +96,7 @@ } a.menu-item__content { + transition: all 0.3s ease-out; .menu-item__title { @apply font-medium; }