style: improve the contrast for top navigation bar

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2023-10-09 10:39:36 +02:00
parent 5949b2a589
commit 341d09dccd
1 changed files with 2 additions and 2 deletions

View File

@ -4,9 +4,9 @@
<nav> <nav>
<ul class="box-content flex mt-1 gap-4 md:hidden"> <ul class="box-content flex mt-1 gap-4 md:hidden">
{{ range site.Menus.main }} {{ range site.Menus.main }}
<li class="opacity-100 border-b-4 hover:opacity-100 <li class="border-b-4
{{- if not (eq $firstSection .Name) }} {{- if not (eq $firstSection .Name) }}
opacity-60 border-blue-light dark:border-blue-dark-200 hover:border-blue-light-600 dark:hover:border-blue-dark-100 border-blue-light dark:border-blue-dark-200 hover:border-blue-light-600 dark:hover:border-blue-dark-100
{{- end }}"> {{- end }}">
<a class="block py-1 px-2" href="{{ .URL }}">{{ .Name }}</a> <a class="block py-1 px-2" href="{{ .URL }}">{{ .Name }}</a>
</li> </li>