From 257f2e79b70313b882979bdd2ea25c184e0e5cf2 Mon Sep 17 00:00:00 2001 From: abhishekspeer Date: Sat, 21 Mar 2020 01:53:32 +0530 Subject: [PATCH] Remove design glitches, improve responsive CSS --- systers_portal/static/css/style.css | 66 +++++++++++++++++++++++++++++ systers_portal/templates/base.html | 38 +++++++++++++++-- 2 files changed, 100 insertions(+), 4 deletions(-) diff --git a/systers_portal/static/css/style.css b/systers_portal/static/css/style.css index cad2e7ff..44f4112c 100755 --- a/systers_portal/static/css/style.css +++ b/systers_portal/static/css/style.css @@ -170,6 +170,7 @@ body > .container-fluid { #signup-btn { background-color: #8d2165; right: 20%; + border-radius: 5px; } .auth-img { @@ -650,4 +651,69 @@ table.decoration-none tr a { .featurette .img-responsive { margin: 0 auto; } + #systers-logo { + height: 70px; + width: 298px; + margin: 6px; + } + #upper-nav { + display: none; + } +} + +@media (max-width: 991px) { + .navbar-header { + float: none; + } + .navbar-toggle { + display: block; + } + .navbar-collapse { + border-top: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255,255,255,0.1); + } + .navbar-collapse.collapse { + display: none; + } + .navbar-nav { + float: none; + margin: 7.5px -15px; + } + .navbar-nav>li { + float: none; + } + .navbar-nav>li>a { + padding-top: 10px; + padding-bottom: 10px; + } + .navbar-text { + float: none; + margin: 15px 0; + } + .navbar-collapse.collapse.in { + display: block; + } + .collapsing { + overflow: hidden; + } + #log-btn { + margin-right: 19px; + margin-top: 3px; + } + #signup-btn { + margin-left: 19px; + margin-bottom: 3px; + } +} + +@media (min-width: 769px) { + #log-btn-menu { + display: none; + } + #signup-btn-menu { + display: none; + } + #user-dropdown-menu { + display: none; + } } diff --git a/systers_portal/templates/base.html b/systers_portal/templates/base.html index 46d87a4d..69ea2af5 100644 --- a/systers_portal/templates/base.html +++ b/systers_portal/templates/base.html @@ -59,7 +59,7 @@ {% url 'unapproved_community_requests' as url %}
  • - View community requests + View community requests
  • {% endif %} {% if user.is_authenticated and user.is_active and user.is_staff %} @@ -72,7 +72,7 @@