Skip to content

Instantly share code, notes, and snippets.

@samliew
Last active May 7, 2018 00:32
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 samliew/41cdfb1afddf3e68b8dd183ca3b2008e to your computer and use it in GitHub Desktop.
Save samliew/41cdfb1afddf3e68b8dd183ca3b2008e to your computer and use it in GitHub Desktop.
Mod style improvements for Stack Exchange sites. Install Stylish (Chrome) here: https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe
@-moz-document domain("stackexchange.com"), domain("stackoverflow.com"), domain("serverfault.com"), domain("superuser.com"), domain("askubuntu.com"), domain("stackapps.com"), domain("mathoverflow.net") {
/* Mod interface styles */
#mod-history,
#chat-feature,
.module .more-info,
.module.t-flag,
.module.t-flag ~ .module,
#chat-feature ~ .module {
display: none;
}
.sidebar-linked,
.sidebar-related {
display: block !important;
}
.expander-arrow-small-hide {
transform: scale3d(2,2,1);
margin-right: 10px;
}
table.flagged-posts .delete-options {
width: 450px;
text-align: right;
}
table.flagged-posts .delete-options > div {
text-align: left;
}
table.flagged-posts .delete-options .no-further-action-popup {
max-width: 410px !important;
width: 410px;
}
input#dis_ok {
position: relative;
z-index: 1;
}
.mod-page #sidebar {
position: sticky;
top: 80px;
}
tr.comment > td {
word-break: break-word;
}
/* Always show post history for mods */
.left-sidebar+#content .post-issue .post-issue-display {
top: 110px;
right: auto !important;
left: -82px !important;
opacity: 1 !important;
}
.left-sidebar+#content .post-issue .post-issue-display a {
display: block;
}
.left-sidebar+#content .post-issue .post-issue-display:after {
display: none;
}
/* General styles */
.post-text img {
max-width: 100%;
max-height: 500px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment