pyc-website

main website for pyc inc.

git clone https://9o.is/git/pyc-website.git

commit aeda45e89ece527d055b76a83350fe1d811674a9
parent d608df647b7851246c746d7cb581b0504fc5c45b
Author: Jul <jul@9o.is>
Date:   Mon, 25 Aug 2014 14:33:17 -0400

navbar collapse css fix. main message in front page does not obstruct navbar links now

Diffstat:
Msrc/main/webapp/less/override/navbar.less | 14++++++++++++++
Msrc/main/webapp/less/pages/index.less | 2+-
2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/src/main/webapp/less/override/navbar.less b/src/main/webapp/less/override/navbar.less @@ -54,6 +54,20 @@ } } +@media (max-width: @screen-xs-max) { + #navbar-main { + .navbar-collapse { + position: fixed; + top: @navbar-height; + left: 0; + background-color: @body-bg; + width: 100%; + z-index: @zindex-navbar-fixed; + padding: 0 30px; + } + } +} + @media (min-width: @screen-sm) { #navbar-main { .collapse { diff --git a/src/main/webapp/less/pages/index.less b/src/main/webapp/less/pages/index.less @@ -42,7 +42,7 @@ margin-top: -175px + (@navbar-height + 5); height: 350px; width: 100%; - z-index: 5; + z-index: 0; #view-locations-btn { border-radius: 25px;