Last active
August 29, 2015 14:01
-
-
Save kenmickles/aedf950b8f575c408030 to your computer and use it in GitHub Desktop.
CSS snippet for Rachel's blog
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
/* Option 1: right align the menu on just the blog page */ | |
.blog-sidebar-left #topNav { | |
width: 1000px; | |
max-width: 100%; | |
text-align: center; | |
margin: 0 auto; | |
float: none; | |
} | |
.blog-sidebar-left #topNav .main-nav { | |
float: right; | |
margin-right: 0; | |
margin-bottom: 40px; | |
} | |
/* Option 2: right align the menu on all pages */ | |
#topNav { | |
width: 1000px; | |
max-width: 100%; | |
text-align: center; | |
margin: 0 auto; | |
float: none; | |
} | |
#topNav .main-nav { | |
float: right; | |
margin-right: 0; | |
margin-bottom: 40px; | |
} | |
/* Option 3: Add a border below the menu */ | |
#topNav { | |
border-bottom: 1px solid #eee; | |
margin-bottom: 40px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment