Update 23 #32
@@ -20,13 +20,14 @@ if ($tab == "") {$tab = "home";}
|
|||||||
|
|
||||||
<header>
|
<header>
|
||||||
|
|
||||||
<input class="side-menu" type="checkbox" id="side-menu"/>
|
|
||||||
<label class="hamb" for="side-menu"><span class="hamb-line"></span></label>
|
|
||||||
|
|
||||||
<h1>
|
<h1>
|
||||||
Mellys Weihnachts Kalender
|
Mellys Weihnachts Kalender
|
||||||
</h1>
|
</h1>
|
||||||
</header>
|
</header>
|
||||||
|
<input class="side-menu" type="checkbox" id="side-menu"/>
|
||||||
|
<label class="hamb" for="side-menu"><span class="hamb-line"></span></label>
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="?tab=home" <?php if ($tab == "home")?>>Home</a></li>
|
<li><a href="?tab=home" <?php if ($tab == "home")?>>Home</a></li>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,32 +1,44 @@
|
|||||||
|
$ulBorderM: 3px ridge darkgreen
|
||||||
|
|
||||||
.side-menu
|
.side-menu
|
||||||
display: none
|
display: none
|
||||||
|
|
||||||
@media (max-width: 768px)
|
@media (max-width: 768px)
|
||||||
nav
|
nav
|
||||||
width: 100%
|
width: 50%
|
||||||
height: 100%
|
height: 100%
|
||||||
position: fixed
|
position: fixed
|
||||||
|
float: none
|
||||||
background-color: #fff
|
background-color: #fff
|
||||||
overflow: hidden
|
|
||||||
max-height: 0
|
max-height: 0
|
||||||
transition: max-height .5s ease-out
|
transition: max-height 0.4s ease-out
|
||||||
|
border-left: $ulBorderM
|
||||||
|
border-right: $ulBorderM
|
||||||
|
border-radius: 2rem 2rem 0 0
|
||||||
|
overflow: hidden
|
||||||
|
right: 0
|
||||||
|
|
||||||
|
|
||||||
ul
|
ul
|
||||||
top: 0
|
top: 0
|
||||||
background: none
|
background: none
|
||||||
display: block
|
|
||||||
border: none
|
border: none
|
||||||
box-shadow: none
|
box-shadow: none
|
||||||
|
|
||||||
a:hover
|
|
||||||
background-color: #fff
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
li
|
||||||
|
float: none
|
||||||
|
|
||||||
|
a
|
||||||
|
font-size: 1.2rem
|
||||||
|
|
||||||
|
&:active, &:hover, &:focus, &.active
|
||||||
|
color: red
|
||||||
|
text-decoration: underline
|
||||||
|
transform: scale(1.1)
|
||||||
|
background-color: lightblue
|
||||||
|
width: 100%
|
||||||
|
|
||||||
header
|
header
|
||||||
height: 1.5rem
|
height: 1.5rem
|
||||||
top: 1rem
|
top: 1rem
|
||||||
@@ -36,7 +48,7 @@
|
|||||||
margin: -0.5rem 0rem 0 40px
|
margin: -0.5rem 0rem 0 40px
|
||||||
display: inline-block
|
display: inline-block
|
||||||
|
|
||||||
|
/* --- Hamburg Menü Start ---
|
||||||
|
|
||||||
|
|
||||||
.hamb
|
.hamb
|
||||||
@@ -44,7 +56,7 @@
|
|||||||
cursor: pointer
|
cursor: pointer
|
||||||
float: right
|
float: right
|
||||||
padding: 30px 20px
|
padding: 30px 20px
|
||||||
margin-top: -2rem
|
margin-top: -5rem
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -53,7 +65,7 @@
|
|||||||
.hamb-line
|
.hamb-line
|
||||||
background: black
|
background: black
|
||||||
display: inline-block
|
display: inline-block
|
||||||
height: 2px
|
height: 3px
|
||||||
position: relative
|
position: relative
|
||||||
width: 24px
|
width: 24px
|
||||||
|
|
||||||
@@ -84,6 +96,7 @@
|
|||||||
.side-menu:checked ~
|
.side-menu:checked ~
|
||||||
nav
|
nav
|
||||||
max-height: 100%
|
max-height: 100%
|
||||||
|
|
||||||
|
|
||||||
.hamb .hamb-line
|
.hamb .hamb-line
|
||||||
background: transparent
|
background: transparent
|
||||||
|
|||||||
Reference in New Issue
Block a user