Skip to content

Instantly share code, notes, and snippets.

@ZhangYiJiang
Last active July 10, 2016 12:42
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 ZhangYiJiang/ec9103a5057c2e34e122e0e01f8357b0 to your computer and use it in GitHub Desktop.
Save ZhangYiJiang/ec9103a5057c2e34e122e0e01f8357b0 to your computer and use it in GitHub Desktop.
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document
domain("gaming.stackexchange.com"),
domain("meta.gaming.stackexchange.com") {
/* Tag hover fix */
a.post-tag::before, span.post-tag::before {
transition: all .15s;
}
a.post-tag:hover::before, span.post-tag:hover::before {
background-color: #def7ff !important;
}
/* Push top nav tabs behind content */
#content {
position: relative !important;
z-index: 1 !important;
}
/* Reduce bottom spacing on ask question title box */
.form-item.ask-title {
padding-bottom: 0 !important;
}
/* Make hot network question block */
#hot-network-questions img, #hot-network-questions .favicon {
margin: 0 !important;
position: absolute !important;
}
#hot-network-questions a {
display: block !important;
padding: 0 0 4px 24px !important;
}
#hot-network-questions h4 a {
padding: 12px 0 0 0 !important;
}
/* Question counter size and positioning */
.narrow .mini-counts {
font-size: 18px !important;
margin-bottom: 1px !important;
margin-top: 2px !important;
}
}
@-moz-document domain("meta.gaming.stackexchange.com") {
/* Tag hover fix */
a.post-tag:hover::before, span.post-tag:hover::before {
background-color: #e1e3e5 !important;
}
a.post-tag.required-tag:hover::before, span.post-tag.required-tag:hover::before {
background-color: #c8ccd0 !important;
}
a.post-tag.moderator-tag:hover::before, span.post-tag.moderator-tag:hover::before {
background-color: #ad150d !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment