forked from laurens/fediversity_website
Merge branch 'main' of https://github.com/NLUUG/website
This commit is contained in:
commit
52875ceb20
|
@ -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;
|
||||
//}
|
||||
}
|
||||
|
|
|
@ -19,9 +19,8 @@
|
|||
{{ $.Scratch.Set "counter" (add ($.Scratch.Get "counter") 1) }}
|
||||
{{ if .Children }}
|
||||
<li>
|
||||
<button type="button" aria-haspopup="true" aria-expanded="true" aria-controls="dropdown-{{ $.Scratch.Get "counter" }}">
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
</button>
|
||||
<button type="button" aria-haspopup="true" aria-expanded="true" aria-controls="dropdown-{{ $.Scratch.Get "counter" }}"></button>
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
<ul class="dropdown" id="dropdown-{{ $.Scratch.Get "counter" }}">
|
||||
{{ range .Children }}
|
||||
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
||||
|
@ -29,10 +28,16 @@
|
|||
</ul>
|
||||
</li>
|
||||
{{ else }}
|
||||
<li><button type="button" aria-haspopup="true" aria-expanded="true"><a href="{{ .URL }}">{{ .Name }}</a></button></li>
|
||||
<li>
|
||||
<button type="button" aria-haspopup="true" aria-expanded="true"></button>
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<li><button type="button" aria-haspopup="false" aria-expanded="true"><a href="{{ relLangURL "/zoeken/"}}">{{ partial "show-svg-icon.html" (dict "context" . "icon" "magnifying-glass" "class" "shownormal") }}</a></button></li>
|
||||
<li>
|
||||
<button type="button" aria-haspopup="false" aria-expanded="true"></button>
|
||||
<a href="{{ relLangURL "/zoeken/"}}">{{ partial "show-svg-icon.html" (dict "context" . "icon" "magnifying-glass" "class" "shownormal") }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
|
|
@ -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 }}
|
||||
<style integrity="{{ $styles.Data.Integrity }}">{{ $styles.Content | safeCSS }}</style>
|
||||
{{ $styles := resources.Match "scss/**.scss" | resources.Concat "combined.scss" | toCSS (dict "outputStyle" "compressed") | minify }}
|
||||
<style>{{ $styles.Content | safeCSS }}</style>
|
||||
|
||||
|
||||
{{/*
|
||||
|
|
Reference in a new issue