diff --git a/assets/css/v2/style.css b/assets/css/v2/style.css index 46a8c075..f517c014 100644 --- a/assets/css/v2/style.css +++ b/assets/css/v2/style.css @@ -488,39 +488,47 @@ ol li:last-child { } } - > ul { - padding: 0; - } - } + .header__f5sites { + li.nav-item-explore { + margin: 0; + position: relative; + display: inline-block; + } - .dropdown-content { - position: absolute; - background-color: oklch(var(--color-background)); - border: oklch(var(--color-foreground)) 1px solid; - box-shadow: 3px 3px 0px oklch(var(--color-shadow)); - z-index: 1; - right: 0; - display: none; - width: 400px; - max-width: 80vw; - margin-right: 1rem; - } + .dropdown-button { + padding: 0.5rem 0.5rem; + border: none; + text-align: center; + text-decoration: none; + cursor: pointer; + } - .dropdown-content ul { - padding: 20px 10px; - } + .dropdown-content { + position: absolute; + background-color: oklch(var(--color-background)); + border: oklch(var(--color-foreground)) 1px solid; + box-shadow: 3px 3px 0px oklch(var(--color-shadow)); + z-index: 1; + right: 0; + display: none; + width: 400px; + max-width: 80vw; + margin-block-start: 0.5rem; - .nav-item-explore { - margin: 0; - } + ul { + padding: 20px 10px; + margin: 0.5rem 1rem; - .navbar-button { - padding: 0.5rem 0.5rem; - border: none; - border-radius: 0.25rem; - text-align: center; - text-decoration: none; - cursor: pointer; + li:first-child { + margin-block-start: 0; + } + } + } + } + + > ul { + padding: 0; + } } ul { diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c8c5ca96..dc8bfbae 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -93,11 +93,11 @@