mirror of https://github.com/docker/docs.git
Merge pull request #18383 from dvdksn/topnav-contrast-improvement
style: improve the contrast for top navigation bar
This commit is contained in:
commit
e4804db286
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue