Last active
August 29, 2015 14:01
-
-
Save bradpotter/184a4340eabe09e7e085 to your computer and use it in GitHub Desktop.
CSS for Header Menu
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
/* Site Header Navigation | |
--------------------------------------------- */ | |
.site-header .genesis-nav-menu a { | |
line-height: 1; | |
padding: 40px 22px 10px; | |
} | |
.site-header .sub-menu a { | |
padding: 16px 20px; | |
} | |
.site-header .sub-menu .sub-menu { | |
margin-top: -48px; | |
} | |
/* | |
Header Menu Dashicons | |
---------------------------------------------------------------------------------------------------- */ | |
.site-header .genesis-nav-menu .menu-item:before { | |
display: block; | |
font-family: 'dashicons'; | |
font-size: 28px; | |
font-style: normal; | |
font-weight: normal; | |
line-height: 0; | |
margin: 0; | |
position: relative; | |
text-align: center; | |
top: 16px; | |
vertical-align: top; | |
transition: color .1s ease-in 0; | |
-webkit-transition: color .1s ease-in 0; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
.site-header .genesis-nav-menu .menu-item:before { | |
color: #333333; | |
} | |
.site-header .genesis-nav-menu .menu-item:hover:before { | |
color: #f15123; | |
} | |
.site-header .genesis-nav-menu .current-menu-item:before { | |
color: #f15123; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment