From b86696f33cfc2dba03ad1b140f074587b1472967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kate=C5=99ina=20=C4=8C=C3=AD=C5=BEkov=C3=A1?= Date: Wed, 15 Jan 2020 23:10:19 +0100 Subject: [PATCH] =?UTF-8?q?pr=C3=A1ce=20na=20menu=20v=20mobiln=C3=AD=20ver?= =?UTF-8?q?zi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/static/css/mamweb.css | 17 +---------------- mamweb/templates/base.html | 9 ++++----- 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/mamweb/static/css/mamweb.css b/mamweb/static/css/mamweb.css index 609d89e8..d4cc27e1 100644 --- a/mamweb/static/css/mamweb.css +++ b/mamweb/static/css/mamweb.css @@ -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 { diff --git a/mamweb/templates/base.html b/mamweb/templates/base.html index a5f3ceb8..920d20e0 100644 --- a/mamweb/templates/base.html +++ b/mamweb/templates/base.html @@ -75,14 +75,13 @@