mirror of
https://git.librezo.fr/Librezo/website.git
synced 2024-11-21 18:41:37 +01:00
remove js
This commit is contained in:
parent
a5ed3add25
commit
67921ddfaa
@ -43,13 +43,13 @@ header {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1024px) {
|
@media (min-width: 768px) {
|
||||||
.phone-only {
|
.phone-only {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1023px) {
|
@media (max-width: 767px) {
|
||||||
.menu-phone {
|
.menu-phone {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -81,4 +81,9 @@ header {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
summary {
|
||||||
|
list-style: none;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,7 +28,17 @@
|
|||||||
<h1 class="sr-only">Librezo</h1>
|
<h1 class="sr-only">Librezo</h1>
|
||||||
</a>
|
</a>
|
||||||
<nav id="header-menu">
|
<nav id="header-menu">
|
||||||
<ul id="menu" class="hidden-phone menu-phone ">
|
<ul class="hidden-phone">
|
||||||
|
<li><a href="/fonctionnement">Fonctionnement</a></li>
|
||||||
|
<li><a href="/tarifs">Services et tarifs</a></li>
|
||||||
|
<li><a href="/qui-sommes-nous">Qui sommes-nous</a></li>
|
||||||
|
<li><a href="/charte">Charte</a></li>
|
||||||
|
<li><a href="/contact">Contact</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<li><details class="phone-only hamburger-menu" >
|
||||||
|
<summary>☰</summary>
|
||||||
|
<ul id="menu" class=" menu-phone ">
|
||||||
<li>
|
<li>
|
||||||
<picture class="phone-only">
|
<picture class="phone-only">
|
||||||
<source srcset="/img/librezo-little-white.png" media="(prefers-color-scheme: dark)"/>
|
<source srcset="/img/librezo-little-white.png" media="(prefers-color-scheme: dark)"/>
|
||||||
@ -42,14 +52,8 @@
|
|||||||
<li><a href="/charte">Charte</a></li>
|
<li><a href="/charte">Charte</a></li>
|
||||||
<li><a href="/contact">Contact</a></li>
|
<li><a href="/contact">Contact</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<li><button class="phone-only hamburger-menu" onclick="toggleMenu()">☰</button></li>
|
</details></li>
|
||||||
</nav>
|
</nav>
|
||||||
<script>
|
|
||||||
var menu = document.getElementById('menu');
|
|
||||||
function toggleMenu() {
|
|
||||||
menu.classList.toggle('hidden-phone');
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</header>
|
</header>
|
||||||
{% block body %}{% endblock body %}
|
{% block body %}{% endblock body %}
|
||||||
<footer>
|
<footer>
|
||||||
|
Loading…
Reference in New Issue
Block a user