Created
February 28, 2016 10:00
-
-
Save daz/3ba444a39a7b1f3bf41b to your computer and use it in GitHub Desktop.
Squarespace Pacific CSS tweaks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hide site info*/ | |
#siteInfo { | |
display: none !important; | |
} | |
/* Push logo left */ | |
#header #logoWrapper { | |
position: relative; | |
left: 0; | |
-webkit-transform: translate(0%, 0); | |
-moz-transform: translate(0%, 0); | |
-ms-transform: translate(0%, 0); | |
-o-transform: translate(0%, 0); | |
transform: translate(0%, 0); | |
} | |
#header #mainNavWrapper .index { | |
margin: 0 0 0 0 !important; | |
text-align: right !important; | |
} | |
#mainNavigation div.collection { | |
margin: 0 !important; | |
} | |
#headerNav { | |
margin: -67px 0 0 -55px !important; | |
/* Always show text nav */ | |
display: block !important; | |
} | |
#header #mainNavWrapper { | |
text-align: right !important; | |
margin: 0 important!; | |
right: 0; | |
} | |
/* Hide hamburger on desktop */ | |
.mobile-nav-toggle-label { | |
display: none !important; | |
} | |
/* Mobile */ | |
@media only screen and (max-width: 768px) { | |
/* Center logo */ | |
.header-inner { | |
text-align: center; | |
} | |
/* Show hamburger */ | |
.mobile-nav-toggle-label { | |
display: inline !important; | |
} | |
/* Hide text nav */ | |
#headerNav { | |
display: none !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment