From 7ec53dcda4481f5bcf18b3cf912105de574e4296 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sun, 21 May 2023 15:50:55 +0200 Subject: [PATCH 1/2] Fix: integrity op style-tag heeft geen nut, weggehaald --- themes/nluug/layouts/partials/style.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/nluug/layouts/partials/style.html b/themes/nluug/layouts/partials/style.html index 3c60914..cb4db2b 100644 --- a/themes/nluug/layouts/partials/style.html +++ b/themes/nluug/layouts/partials/style.html @@ -1,6 +1,6 @@ {{/* Zoek alle scss-bestanden, combineer ze, zet om naar CSS, verkleinen en voorzien van fingerprint */}} -{{ $styles := resources.Match "scss/**.scss" | resources.Concat "combined.scss" | toCSS (dict "outputStyle" "compressed") | minify | fingerprint }} - +{{ $styles := resources.Match "scss/**.scss" | resources.Concat "combined.scss" | toCSS (dict "outputStyle" "compressed") | minify }} + {{/* From aca96545273c0f9a0f954e8eb4aa6d45d2245df0 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sun, 21 May 2023 16:21:00 +0200 Subject: [PATCH 2/2] Fix: w3c-validator, A-tag mag niet binnen BUTTON-tag --- .../assets/scss/styles_navigation_menu.scss | 19 +++++++++++-------- themes/nluug/layouts/partials/header.html | 15 ++++++++++----- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/themes/nluug/assets/scss/styles_navigation_menu.scss b/themes/nluug/assets/scss/styles_navigation_menu.scss index a203b39..9eae694 100644 --- a/themes/nluug/assets/scss/styles_navigation_menu.scss +++ b/themes/nluug/assets/scss/styles_navigation_menu.scss @@ -80,9 +80,9 @@ ul.menu li { } ul.menu li button { - font-size: inherit; - font-family: inherit; - font-weight: bold; + //font-size: inherit; + //font-family: inherit; + //font-weight: bold; border: none; background-color: transparent; cursor: pointer; @@ -92,11 +92,14 @@ ul.menu li button { ul.menu li a { display: block; color: inherit; + font-size: inherit; + font-family: inherit; + font-weight: 600; text-decoration: none; } ul.menu li a, ul li button { - padding: 0.7rem 0.5rem; + padding: 0.7rem 0.8rem; text-align: left; } @@ -205,8 +208,8 @@ li:focus-within > button > .arrow { // height: 135px; height: auto; } - ul.menu li:hover > button > .arrow { - transform: rotate(-225deg); - margin-top: 4px; - } + //ul.menu li:hover > button > .arrow { + // transform: rotate(-225deg); + // margin-top: 4px; + //} } diff --git a/themes/nluug/layouts/partials/header.html b/themes/nluug/layouts/partials/header.html index e4457e0..9e5872e 100644 --- a/themes/nluug/layouts/partials/header.html +++ b/themes/nluug/layouts/partials/header.html @@ -19,9 +19,8 @@ {{ $.Scratch.Set "counter" (add ($.Scratch.Get "counter") 1) }} {{ if .Children }}
  • - + + {{ .Name }}
  • {{ else }} -
  • +
  • + + {{ .Name }} +
  • {{ end }} {{ end }} -
  • +
  • + + {{ partial "show-svg-icon.html" (dict "context" . "icon" "magnifying-glass" "class" "shownormal") }} +