Skip to content

Instantly share code, notes, and snippets.

@moisesnandres
Last active July 17, 2017 01:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moisesnandres/6ef04992138508fbb078be0176174fa9 to your computer and use it in GitHub Desktop.
Save moisesnandres/6ef04992138508fbb078be0176174fa9 to your computer and use it in GitHub Desktop.
github navbar
.wrapper {
width: 900px;
margin: auto;
}
ul {
padding: 0;
list-style: none;
}
input {
outline: none;
}
.github {
display: flex;
background-color: #24292E;
padding: 10px;
align-items: center;
}
.github li {
color: rgba(255,255,255,0.75);
font-weight: 600;
padding: 5px 7px;
transition: color .3s ease-in-out;
}
.github li:hover {
color: rgba(255,255,255,1);
}
.github input {
padding: 5px;
border-radius: 3px;
border: 0px;
background-color: #3F4448;
color: #fff;
}
.github input:focus {
background-color: #4B4F53;
}
.github .fa + .fa {
margin-left: 3px;
}
.github .github__brand {
color: #fff;
}
.github__notification {
margin-left: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment