chore: refactor navbar, remove trailing whitespace

main-old
Francesco Minnocci 3 years ago
parent 9890bd2c58
commit 7a7fef0580

@ -28,7 +28,6 @@
box-sizing: border-box; box-sizing: border-box;
} }
html, body { html, body {
margin: 0; margin: 0;
} }
@ -215,7 +214,6 @@ nav .nav-main .nav-item.dropdown .nav-items {
display: none; display: none;
background: var(--bg-dark); background: var(--bg-dark);
border-radius: 4px; border-radius: 4px;
border: 1px solid var(--bg-darker-2); border: 1px solid var(--bg-darker-2);

@ -73,9 +73,6 @@
<div class="nav-item"> <div class="nav-item">
<a class="nav-element" href="/utenti">Utenti</a> <a class="nav-element" href="/utenti">Utenti</a>
</div> </div>
<div class="nav-item">
<a class="nav-element" href="/news">News</a>
</div>
<div class="nav-item dropdown"> <div class="nav-item dropdown">
<div class="name"> <div class="name">
<a class="nav-element" href="/progetti"> <a class="nav-element" href="/progetti">
@ -94,11 +91,31 @@
<div class="nav-item"> <div class="nav-item">
<a class="nav-element" href="{{ .Config.ForumUrl }}">Zulip</a> <a class="nav-element" href="{{ .Config.ForumUrl }}">Zulip</a>
</div> </div>
<div class="nav-item">
<a class="nav-element" href="/seminari">Seminari</a>
</div>
</div>
</div>
<div class="nav-item dropdown">
<div class="name">
<a class="nav-element" href="/risorse">
<div class="icon">
<i class="fas fa-chevron-down"></i>
</div>
<div class="label">
Risorse
</div>
</a>
</div>
<div class="nav-items">
<div class="nav-item">
<a class="nav-element" href="/news">News</a>
</div>
<div class="nav-item"> <div class="nav-item">
<a class="nav-element" href="/guide">Guide</a> <a class="nav-element" href="/guide">Guide</a>
</div> </div>
<div class="nav-item"> <div class="nav-item">
<a class="nav-element" href="/seminari">Seminari</a> <a class="nav-element" href="/link">Link Utili</a>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save