Mercurial > sat_legacy_website
diff static/css/sat_website.css @ 71:a14845624e01
display a banner on top of all pages (but adhesion, adhesion_form and thank_you) to encourage people joining the association
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 27 May 2015 18:56:16 +0200 |
parents | 0d20fb28c32e |
children | 085280c48363 |
line wrap: on
line diff
--- a/static/css/sat_website.css Wed May 27 14:50:51 2015 +0200 +++ b/static/css/sat_website.css Wed May 27 18:56:16 2015 +0200 @@ -19,9 +19,8 @@ /* Overriding Bootstrap styles */ - body { - padding-top: 70px; + padding-top: 50px; padding-bottom: 30px; } @@ -84,6 +83,26 @@ color: #bbb; } +/* prevent collapsing to overlap the body when the navbar is fixed to top */ +@media (max-width: 991px) { + .navbar-header { + float: none; + } + .navbar-toggle { + display: block; + } + .navbar-collapse.collapse { + display: none !important; + } + .navbar-collapse.collapse.in { + display: block !important; + } + .collapsing { + overflow: hidden !important; + } +} + + /* sat_website own styles */ @@ -215,4 +234,15 @@ .presstitle { font-style: italic; +} + +.banner { + border-radius: 0px; + border-left: 0px; + border-right: 0px; + min-height: 20px; +} + +.banner a { + float: right; } \ No newline at end of file