Skip to content

Instantly share code, notes, and snippets.

@tiesont
Created February 8, 2017 07:17
Show Gist options
  • Select an option

  • Save tiesont/9b5eb8e15552a3790b6d47ec9ac2b7d8 to your computer and use it in GitHub Desktop.

Select an option

Save tiesont/9b5eb8e15552a3790b6d47ec9ac2b7d8 to your computer and use it in GitHub Desktop.
Stack Overflow new navbar tweak - greyish
@-moz-document domain("stackoverflow.com") {
/* Uncomment if removing sticky header */
/*body.newheader {
padding-top: 0;
}*/
.so-header {
background-color: #f3f3f3;
/* Uncomment to remove sticky header */
/*position: relative;*/
}
.so-header .indicator-badge {
border-color: rgba(255,255,255,.75);
}
.so-header .navigation .-link,
.so-header .secondary-nav .-item .-link,
.so-header .my-profile .-rep,
.topbar-dialog .header h3,
.topbar-dialog .header a,
.topbar-dialog .header a:visited {
color: #666;
transition: background .3s, color .3s;
}
.so-header .navigation .-link:hover,
.so-header .navigation .-link:focus,
.so-header .my-profile:hover,
.so-header .secondary-nav .-item .-link:hover,
.so-header .secondary-nav .-item .-link:focus,
.so-header .navigation .-item._current .-link {
background-color: #dedede;
color: #555;
}
.topbar-dialog .header {
background-color: #dcdcdc;
}
.topbar-dialog .header a:hover {
color: #fff;
}
}
@-moz-document domain("meta.stackoverflow.com") {
.so-header {
background-color: #f3f3f3;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment