Skip to content

Instantly share code, notes, and snippets.

@jon-grangien
Created October 14, 2015 23:05
Show Gist options
  • Save jon-grangien/3cc2848c5e80b2486f26 to your computer and use it in GitHub Desktop.
Save jon-grangien/3cc2848c5e80b2486f26 to your computer and use it in GitHub Desktop.
pure-css header for portfolio (css)
.header {
position:fixed;
top: 0;
display: block;
width: 100%;
z-index: 10;
border-bottom-color: black;
border-radius: 0;
}
.home-menu {
text-align: center;
background: rgb(1, 44, 61);
}
.home-menu .pure-menu-heading {
color: white;
font-weight: 300;
font-size: 120%;
}
.home-menu a {
padding: 0.8em 0.8em;
text-decoration: none;
color: rgb(238, 227, 202);
line-height: 1.0;
}
.home-menu li a:hover,
.home-menu li a:focus {
background: none;
border: none;
}
.active a {
color: rgb(218, 248, 254);
background: url("../img/underline.png") repeat-x 100% 100% !important;
background-size: 100% 3px !important;
white-space: nowrap !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment