fixed mobile nav

This commit is contained in:
Alex Wolfe 2015-03-04 20:54:55 -08:00
parent 94d86ec02d
commit d783c5e014
1 changed files with 15 additions and 2 deletions

View File

@ -4,6 +4,12 @@
padding: 0px ($unit * 2); padding: 0px ($unit * 2);
box-shadow: 0px 2px 5px 0 rgba($coal, 0.26); box-shadow: 0px 2px 5px 0 rgba($coal, 0.26);
@media handheld and (max-width: $phone-breakpoint),
screen and (max-device-width: $phone-breakpoint),
screen and (max-width: $tablet-breakpoint) {
padding: 0px 0px 0px ($unit * 2);
}
h1 { h1 {
margin: 0px ($unit * 9) 0px 0px; margin: 0px ($unit * 9) 0px 0px;
padding: 0px; padding: 0px;
@ -11,6 +17,12 @@
width: 136px; width: 136px;
float: left; float: left;
@media handheld and (max-width: $phone-breakpoint),
screen and (max-device-width: $phone-breakpoint),
screen and (max-width: $tablet-breakpoint) {
margin: 0;
}
a { a {
background: url('/resources/images/logos/standard/logo-nav.png') 0px 8px no-repeat; background: url('/resources/images/logos/standard/logo-nav.png') 0px 8px no-repeat;
display: block; display: block;
@ -110,11 +122,12 @@
// DROPDOWN TRIGGER BUTTON // DROPDOWN TRIGGER BUTTON
.main-nav-mobile-trigger { .main-nav-mobile-trigger {
display: none; display: none;
padding-right: 30px + ($unit * 2); padding: 0px (24px + $unit) 0px $unit;
font-size: 14px;
.icon { .icon {
left: auto; left: auto;
right: ($unit * 2); right: ($unit );
opacity: .56; opacity: .56;
} }