From 45d857f27f5057983a181453f77ad5cead2816fc 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 20:23:37 +0200 Subject: [PATCH] =?UTF-8?q?li=C5=A1ta=20p=C5=99ihl=C3=A1=C5=A1en=C3=A9ho?= =?UTF-8?q?=20orga?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/static/css/mamweb.css | 25 +++++++++++++++++++++++++ mamweb/templates/base.html | 28 ++++++++++++++-------------- 2 files changed, 39 insertions(+), 14 deletions(-) diff --git a/mamweb/static/css/mamweb.css b/mamweb/static/css/mamweb.css index 5089f46e..3cc88707 100644 --- a/mamweb/static/css/mamweb.css +++ b/mamweb/static/css/mamweb.css @@ -14,8 +14,31 @@ div.container { margin: auto; } +.org-logged-in div.container { + margin-top: 20px; +} + div.login-bar { background: #6a0043; + color: #fffbf6; + width: 100%; + + position: fixed; + margin-top: -20px; + min-height: 20px; + z-index: 20; + + padding-left: 5px; + padding-right: 5px; +} + +div.login-bar div { + display: inline-block; +} + +a.login-ref-admin { + display: inline; + color: inherit; } /* odkazy a nadpisy */ @@ -123,6 +146,8 @@ h1 { margin-top: 0px; } + + /* Comments */ #id_comment { diff --git a/mamweb/templates/base.html b/mamweb/templates/base.html index a53fa3df..bfc14023 100644 --- a/mamweb/templates/base.html +++ b/mamweb/templates/base.html @@ -36,21 +36,21 @@ -
- - {% if user.is_staff %} - - {% endif %} + {% if user.is_staff %} + + {% endif %} +