changed appearance of .website-nav

This commit is contained in:
Vrifox 2020-09-23 18:17:31 +02:00
parent 969c338499
commit c512e8f8e2
2 changed files with 21 additions and 9 deletions

View file

@ -20,14 +20,24 @@ nav {
ul { ul {
display: flex; display: flex;
padding: 0; padding: 0;
} margin: 0;
li { li {
list-style-type: none; list-style-type: none;
padding: 10px 0 10px 30px; a {
} color: rgb(245, 245, 245);
a { text-decoration: none;
color: rgb(245, 245, 245); padding: 20px 30px;
text-decoration: none; display: block;
transition: background .2s;
}
a:hover {
background: rgb(50, 50, 75);
}
.seperator {
padding: 20px 10px;
display: block;
}
}
} }
} }
} }

View file

@ -14,7 +14,9 @@
</a> </a>
</li> </li>
{{ end }} {{ end }}
<li>|</li> <li>
<span class="seperator">&middot;</span>
</li>
{{ range .Site.Menus.links }} {{ range .Site.Menus.links }}
<li> <li>
<a href="{{ .URL }}"> <a href="{{ .URL }}">