From 2f4c7ddd743192f500666220696c791a31fde8de Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Wed, 9 Feb 2022 04:51:18 +0100 Subject: [PATCH] move uppermenu to the menu section of the navbar Signed-off-by: Toshaan Bharvani --- .../assets/css/header.scss | 3 +- .../layouts/partials/navbar.html | 36 +++++++++---------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/themes/openpowerfoundation/assets/css/header.scss b/themes/openpowerfoundation/assets/css/header.scss index c240734..a26f27a 100644 --- a/themes/openpowerfoundation/assets/css/header.scss +++ b/themes/openpowerfoundation/assets/css/header.scss @@ -102,7 +102,8 @@ body { } &__uppermenu { align-items: center; - line-height: 1.0; + line-height: 0.5; + margin-bottom: 0.25em; li { margin-left: 0.25em; margin-right: 0.25em; diff --git a/themes/openpowerfoundation/layouts/partials/navbar.html b/themes/openpowerfoundation/layouts/partials/navbar.html index bd4c88c..968c677 100644 --- a/themes/openpowerfoundation/layouts/partials/navbar.html +++ b/themes/openpowerfoundation/layouts/partials/navbar.html @@ -8,7 +8,23 @@ OpenPOWER
-
 
+
+
    +  |  + {{ range .Site.Menus.discuss }} +
  • {{ .Name }}
  • + {{ end }} +  |  + {{ range .Site.Menus.code }} +
  • {{ .Name }}
  • + {{ end }} +  |  + {{ range .Site.Menus.social }} +
  • {{ .Name }}
  • + {{ end }} +  |  +
+
-
-
    -  |  - {{ range .Site.Menus.discuss }} -
  • {{ .Name }}
  • - {{ end }} -  |  - {{ range .Site.Menus.code }} -
  • {{ .Name }}
  • - {{ end }} -  |  - {{ range .Site.Menus.social }} -
  • {{ .Name }}
  • - {{ end }} -  |  -
-
+