From 2f7f43a9cd2c53ff60ce33f28e7842921f2372e7 Mon Sep 17 00:00:00 2001 From: Aroy-Art <39088602+Aroy-Art@users.noreply.github.com> Date: Mon, 4 Oct 2021 09:13:42 +0200 Subject: [PATCH] Added dropdown to navbar --- assets/css/style.css | 16 ++++++++++++++++ layouts/partials/navigation.html | 7 +++++++ 2 files changed, 23 insertions(+) diff --git a/assets/css/style.css b/assets/css/style.css index 213234d..3664943 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -498,6 +498,22 @@ nav[aria-label="breadcrumb"] li:last-child a{ outline: 0; } +.dropdown-menu { + color: #fff; + background-color: #040b1e; + border: 1px solid #57cbcc; +} + +.dropdown-item { + color: rgba(255,255,255,.75); +} + +.dropdown-item:focus, .dropdown-item:hover { + color: #f8f9fa; + text-decoration: none; + background-color: #0f1e31; +} + .bg-1 { background-repeat: no-repeat; background-size: cover; diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index fe65e28..506adc1 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -21,6 +21,13 @@ {{ .Name }} {{ end }} + + {{- if site.IsMultiLingual }}