práce na menu v mobilní verzi
This commit is contained in:
parent
244a6658a3
commit
b86696f33c
2 changed files with 5 additions and 21 deletions
|
@ -214,13 +214,6 @@ h1 a:hover {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
img.decor { /*todo bug při zmenšování okna */
|
||||
position: relative;
|
||||
top: 2px;
|
||||
width: 100%;
|
||||
filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.4));
|
||||
}
|
||||
|
||||
/* nové menu */
|
||||
|
||||
ul.menu {
|
||||
|
@ -440,18 +433,10 @@ ul.submenu {
|
|||
ul.menu_mobile br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.submenu_mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.submenu_mobile active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
nav.nav-button {
|
||||
display: block;
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
p.license-mobile {
|
||||
|
|
|
@ -75,14 +75,13 @@
|
|||
|
||||
<!--Navbar-->
|
||||
<nav class="nav-button">
|
||||
|
||||
|
||||
<!-- Collapse button -->
|
||||
<button class="navbar-toggler toggler-example" type="button" data-toggle="collapse" data-target="#navbarSupportedContent1"
|
||||
aria-controls="navbarSupportedContent1" aria-expanded="false" aria-label="Toggle navigation"><span class="dark-blue-text"><i
|
||||
class="fas fa-bars fa-1x"></i></span></button>
|
||||
<button class="navbar-button" type="button" data-toggle="collapse" data-target="#navbar-content"
|
||||
aria-controls="navbar-content" aria-expanded="false">Menu</button>
|
||||
|
||||
<!-- Collapsible content -->
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent1">
|
||||
<div class="collapse navbar-collapse" id="navbar-content">
|
||||
|
||||
<!-- Links -->
|
||||
{% sitetree_menu from "main_menu" include "trunk" template "menu_mobile.html" %}
|
||||
|
|
Loading…
Reference in a new issue