forked from antux18/ChasseTresorPange
Modification de la barre de navigation.
This commit is contained in:
parent
d5a1c77d4f
commit
169db0dc95
@ -12,14 +12,6 @@
|
||||
<nav>
|
||||
<p><a href="index.php"><?= $tr["nav"]["title"] ?></a></p>
|
||||
<ul>
|
||||
<li><a href="index.php"><?= $tr["nav"]["home"] ?></a></li>
|
||||
<li><a href="<?= $url ?>fr">FR</a>/<a href="<?= $url ?>en">EN</a></li>
|
||||
</ul>
|
||||
<nav>
|
||||
<p><a>Menu</a></p>
|
||||
<ul>
|
||||
<li><a href="index.php"><?= $tr["nav"]["home"] ?></a></li>
|
||||
<li><a href="<?= $url ?>fr">FR</a>/<a href="<?= $url ?>en">EN</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</nav>
|
35
style.css
35
style.css
@ -165,33 +165,6 @@ header nav ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
header nav nav {
|
||||
display: none;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
header nav nav ul {
|
||||
display: none;
|
||||
background-color: var(--bg-dark);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
header nav nav:hover p {
|
||||
display: none;
|
||||
}
|
||||
|
||||
header nav nav:hover ul {
|
||||
display: block;
|
||||
}
|
||||
|
||||
header nav nav:active p {
|
||||
display: none;
|
||||
}
|
||||
|
||||
header nav nav:active ul {
|
||||
display: block;
|
||||
}
|
||||
|
||||
header a {
|
||||
padding: 5px;
|
||||
text-decoration: none;
|
||||
@ -350,12 +323,4 @@ video {
|
||||
main > article img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
header nav ul {
|
||||
display: none;
|
||||
}
|
||||
|
||||
header nav nav {
|
||||
display: inline;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user