From b7086c2666ef5687ff3ab9b095ef4fc30b8be0bb Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 19 Jun 2025 14:56:00 +0200 Subject: [PATCH] STYLE refining secondary nav padding and network redirector --- resources/css/layout/nav.css | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/resources/css/layout/nav.css b/resources/css/layout/nav.css index c8e8f8a..195d4e5 100644 --- a/resources/css/layout/nav.css +++ b/resources/css/layout/nav.css @@ -149,16 +149,38 @@ } } .secondary-menu-container { - @apply bg-primary flex justify-between items-center px-8 + @apply bg-primary items-center px-8 py-4 2xl:px-32; a { @apply text-white; } .secondary-menu-nav { + @apply max-w-screen-2xl w-full mx-auto flex justify-between items-center; ul { @apply flex justify-between gap-4; } + a { + @apply font-medium text-xl; + } + .network-redirector { + a { + @apply flex items-center gap-4; + &:after { + transition: all 0.3s ease-out; + @apply w-8 h-8 bg-no-repeat bg-contain bg-center text-xl; + filter: invert(1); + content: ''; + background-image: url('../resources/img/carhop-fleche-lien-externe-full.svg'); + display: inline-block; + } + &:hover { + &:after { + @apply translate-x-2 rotate-45; + } + } + } + } } } button#burger-menu-toggle {