pedf
/
fakulta-online
Archived
1
0
Fork 0

Ikona menu

master
Emil Miler 5 years ago
parent 5a4b087543
commit 30765c2c17

@ -30,13 +30,31 @@ header {
font-size: 1.35em;
img { width: 250px; }
h1 {
font-size: inherit;
color: #fff;
}
#menu {
display: flex;
align-items: center;
justify-content: flex-end;
height: 100%;
width: 250px;
text-align: right;
#menuicon {
margin-left: 1em;
width: 1.5em;
div {
background: #fff;
height: .15em;
width: 100%;
margin: .5em 0;
border-radius: .25em;
}
}
}
}

@ -12,7 +12,12 @@
<header>
<img src="/logo.png" alt="Logo">
<a href="{{ config.base_url }}"><h1>{{ config.title }}</h1></a>
<span id="menu" onclick="togglevisible('#nav')">Menu</span>
<div id="menu" onclick="togglevisible('#nav')">
Menu
<div id="menuicon">
<div></div><div></div><div></div>
</div>
</div>
</header>
<main>
{% block content %}