From 16a6e753e446aa42d9c30fc3c92d19fe6318325e Mon Sep 17 00:00:00 2001 From: Morgan Aubert Date: Fri, 19 Aug 2016 16:32:22 -0400 Subject: [PATCH] Improve accessibility in the home page --- eruditorg/static/sass/layout/_nav-public.scss | 91 ------------------- eruditorg/templates/public/base.html | 31 ++++--- eruditorg/templates/public/home.html | 19 ++-- 3 files changed, 25 insertions(+), 116 deletions(-) diff --git a/eruditorg/static/sass/layout/_nav-public.scss b/eruditorg/static/sass/layout/_nav-public.scss index f8f44c9c3..3f85c8a85 100644 --- a/eruditorg/static/sass/layout/_nav-public.scss +++ b/eruditorg/static/sass/layout/_nav-public.scss @@ -180,97 +180,6 @@ } } - -/* - // overrides for mobile nav - &.collapse.in, &.collapsing { - - > .navbar-nav { - position: static; - top: auto; - transform: none; - - .main-section { - border-top: 1px solid $dark-grey; - font-size: 18px; - margin-top: 5px; - } - - li { - display: block; - margin-left: 0; - padding: 5px 0; - font-size: 16px; - } - - } - - .search { - display: none; - } - - .search-form { - opacity: 1; - pointer-events: all; - position: static; - background: none; - top: 0; - - form { - padding-top: 20px; - } - - input { - border-color: #000; - color: #000; - } - - .input-group-btn { - text-align: left; - } - - .btn { - background: #000; - border-color: #000; - color: #FFF; - } - - } - - .dropdown { - - .caret { - display: none; - } - - > ul { - display: block; - position: static; - border: none; - background: none; - - li { - border: none; - } - - a { - padding: 10px 0; - display: inline; - - &:hover, &:active, &:focus { - background: none; - color: #000; - text-indent: 0; - } - - } - - } - - } - - } -*/ } // hamburger menu diff --git a/eruditorg/templates/public/base.html b/eruditorg/templates/public/base.html index e216d5a1c..345fb23e5 100644 --- a/eruditorg/templates/public/base.html +++ b/eruditorg/templates/public/base.html @@ -121,17 +121,18 @@
  • -
  • -
  • -
  • {% endblock %} @@ -265,27 +266,27 @@

    {% trans "Suivez-nous :" %}