From 3cb2b76f15a66d92111635ef96c1b86ebda989d3 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, 8 Apr 2020 21:02:37 +0200 Subject: [PATCH] =?UTF-8?q?li=C5=A1ta=20p=C5=99ihl=C3=A1=C5=A1en=C3=A9ho?= =?UTF-8?q?=20orga=20(mal=C3=BD=20displej)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/static/css/mamweb.css | 10 +++++++--- mamweb/templates/base.html | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/mamweb/static/css/mamweb.css b/mamweb/static/css/mamweb.css index 3cc88707..d64cc878 100644 --- a/mamweb/static/css/mamweb.css +++ b/mamweb/static/css/mamweb.css @@ -20,7 +20,7 @@ div.container { div.login-bar { background: #6a0043; - color: #fffbf6; + color: #f9d59e; width: 100%; position: fixed; @@ -33,12 +33,12 @@ div.login-bar { } div.login-bar div { - display: inline-block; + display: inline; } a.login-ref-admin { display: inline; - color: inherit; + color: #fffbf6; } /* odkazy a nadpisy */ @@ -432,6 +432,10 @@ ul.submenu { /* malý tablet, mobil */ @media (max-width: 650px) { + #hide-if-small.login-bar-flatpage { + display: none; + } + #title { display: none; } diff --git a/mamweb/templates/base.html b/mamweb/templates/base.html index bfc14023..a7616627 100644 --- a/mamweb/templates/base.html +++ b/mamweb/templates/base.html @@ -43,7 +43,7 @@ {% if view.object.admin_url %}[admin]{% endif %} {% endif %} {% if flatpage %} -
Stránka {{ flatpage.url }} ({{ flatpage.title }})
+
Stránka {{ flatpage.url }} ({{ flatpage.title }})
[admin] {% endif %} [admin mainpage]