Merge branch 'hamburger-mobile' into dev
This commit is contained in:
commit
25135304f9
@ -13,8 +13,9 @@
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-open">☰︎</a>
|
<div id="hamburger">
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-close">╳︎</a>
|
<div class="container" onclick="mobilemenu()"><div class="bar1"></div><div class="bar2"></div><div class="bar3"></div></div>
|
||||||
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="title"><a href="index.html">Ginou</a></li>
|
<li class="title"><a href="index.html">Ginou</a></li>
|
||||||
<li class="selected"><a href="biographie.html">Biographie</a></li>
|
<li class="selected"><a href="biographie.html">Biographie</a></li>
|
||||||
|
@ -20,8 +20,9 @@
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-open">☰︎</a>
|
<div id="hamburger">
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-close">╳︎</a>
|
<div class="container" onclick="mobilemenu()"><div class="bar1"></div><div class="bar2"></div><div class="bar3"></div></div>
|
||||||
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="title"><a href="index.html">Ginou</a></li>
|
<li class="title"><a href="index.html">Ginou</a></li>
|
||||||
<li><a href="biographie.html">Biographie</a></li>
|
<li><a href="biographie.html">Biographie</a></li>
|
||||||
|
@ -13,8 +13,9 @@
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-open">☰︎</a>
|
<div id="hamburger">
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-close">╳︎</a>
|
<div class="container" onclick="mobilemenu()"><div class="bar1"></div><div class="bar2"></div><div class="bar3"></div></div>
|
||||||
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="title"><a href="index.html">Ginou</a></li>
|
<li class="title"><a href="index.html">Ginou</a></li>
|
||||||
<li><a href="biographie.html">Biographie</a></li>
|
<li><a href="biographie.html">Biographie</a></li>
|
||||||
|
@ -18,8 +18,9 @@
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-open">☰︎</a>
|
<div id="hamburger">
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-close">╳︎</a>
|
<div class="container" onclick="mobilemenu()"><div class="bar1"></div><div class="bar2"></div><div class="bar3"></div></div>
|
||||||
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="title"><a href="index.html">Ginou</a></li>
|
<li class="title"><a href="index.html">Ginou</a></li>
|
||||||
<li><a href="biographie.html">Biographie</a></li>
|
<li><a href="biographie.html">Biographie</a></li>
|
||||||
|
@ -13,8 +13,9 @@
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-open">☰︎</a>
|
<div id="hamburger">
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-close">╳︎</a>
|
<div class="container" onclick="mobilemenu()"><div class="bar1"></div><div class="bar2"></div><div class="bar3"></div></div>
|
||||||
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="title selected"><a href="index.html">Ginou</a></li>
|
<li class="title selected"><a href="index.html">Ginou</a></li>
|
||||||
<li><a href="biographie.html">Biographie</a></li>
|
<li><a href="biographie.html">Biographie</a></li>
|
||||||
|
@ -15,8 +15,9 @@
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-open">☰︎</a>
|
<div id="hamburger">
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-close">╳︎</a>
|
<div class="container" onclick="mobilemenu()"><div class="bar1"></div><div class="bar2"></div><div class="bar3"></div></div>
|
||||||
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="title"><a href="index.html">Ginou</a></li>
|
<li class="title"><a href="index.html">Ginou</a></li>
|
||||||
<li><a href="biographie.html">Biographie</a></li>
|
<li><a href="biographie.html">Biographie</a></li>
|
||||||
|
@ -13,8 +13,9 @@
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-open">☰︎</a>
|
<div id="hamburger">
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-close">╳︎</a>
|
<div class="container" onclick="mobilemenu()"><div class="bar1"></div><div class="bar2"></div><div class="bar3"></div></div>
|
||||||
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="title"><a href="index.html">Ginou</a></li>
|
<li class="title"><a href="index.html">Ginou</a></li>
|
||||||
<li><a href="biographie.html">Biographie</a></li>
|
<li><a href="biographie.html">Biographie</a></li>
|
||||||
|
@ -82,29 +82,39 @@ header nav .mobile-menu-close {
|
|||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
header nav .mobile-menu-open {
|
header nav #hamburger {
|
||||||
display:block;
|
display:block;
|
||||||
position:absolute;
|
|
||||||
right:1rem;
|
right:1rem;
|
||||||
font-size:1.5rem;
|
font-size:1.5rem;
|
||||||
cursor:pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
header nav.active .mobile-menu-open {
|
|
||||||
display:none;
|
|
||||||
}
|
|
||||||
|
|
||||||
header nav.active .mobile-menu-close {
|
|
||||||
display:block;
|
|
||||||
position:absolute;
|
position:absolute;
|
||||||
right:1rem;
|
}
|
||||||
font-size:1.5rem;
|
|
||||||
|
header nav #hamburger .container {
|
||||||
|
display:inline-block;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
header nav.active .mobile-menu-close span {
|
header nav #hamburger .bar1,
|
||||||
|
header nav #hamburger .bar2,
|
||||||
|
header nav #hamburger .bar3 {
|
||||||
|
width:30px;
|
||||||
|
height:3px;
|
||||||
|
background-color:#38686A;
|
||||||
|
margin:6px 0;
|
||||||
|
transition:0.4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
header nav.active #hamburger .bar1 {
|
||||||
|
transform:rotate(-45deg) translate(-4px, 6px);
|
||||||
|
}
|
||||||
|
|
||||||
|
header nav.active #hamburger .bar2 {
|
||||||
|
opacity:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
header nav.active #hamburger .bar3 {
|
||||||
|
transform:rotate(45deg) translate(-6px, -9.5px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
header nav ul li {
|
header nav ul li {
|
||||||
display:none;
|
display:none;
|
||||||
|
Loading…
Reference in New Issue
Block a user