This commit is contained in:
Dávid Jančár 2024-05-16 09:25:11 +02:00
parent 4977c37879
commit 46f859bed8
2 changed files with 32 additions and 36 deletions

@ -82,6 +82,8 @@ header{
/* Add a black background color to the top navigation */ /* Add a black background color to the top navigation */
nav{ nav{
background-color: #333; background-color: #333;
display: flex;
flex-direction: row;
} }
.topnav { .topnav {
background-color: #333; background-color: #333;

@ -4,12 +4,10 @@
<p>Slovanská mytológia</p> <p>Slovanská mytológia</p>
</div> </div>
</div> </div>
<nav> <nav class="topnav container_menu" id="myTopnav">
<div class="topnav container_menu" id="myTopnav">
<a href="/index" class="active">Domov</a> <a href="/index" class="active">Domov</a>
<div class="dropdown"> <div class="dropdown">
<button class="dropbtn">Bohovia <p class="dropbtn">Bohovia</p>
</button>
<div class="dropdown-content"> <div class="dropdown-content">
<a href="/perun">Perún</a> <a href="/perun">Perún</a>
<a href="/veles">Veles</a> <a href="/veles">Veles</a>
@ -18,8 +16,7 @@
</div> </div>
</div> </div>
<div class="dropdown"> <div class="dropdown">
<button class="dropbtn">Bohyne <p class="dropbtn">Bohyne</p>
</button>
<div class="dropdown-content"> <div class="dropdown-content">
<a href="/morena">Morena</a> <a href="/morena">Morena</a>
<a href="/lada">Lada</a> <a href="/lada">Lada</a>
@ -28,8 +25,7 @@
</div> </div>
</div> </div>
<div class="dropdown"> <div class="dropdown">
<button class="dropbtn">Bytosti a Démoni <p class="dropbtn">Bytosti a Démoni</p>
</button>
<div class="dropdown-content"> <div class="dropdown-content">
<a href="/rusalka">Rusalka</a> <a href="/rusalka">Rusalka</a>
<a href="/lesovik">Lesovik</a> <a href="/lesovik">Lesovik</a>
@ -38,6 +34,4 @@
</div> </div>
</div> </div>
<a href="javascript:void(0);" class="icon" onclick="myFunction()"></a> <a href="javascript:void(0);" class="icon" onclick="myFunction()"></a>
<br>
</div>
</nav> </nav>