Jump to content

User:Anomie/monobook.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*** Diff display ***/
td.diff-deletedline .diffchange,
td.diff-addedline .diffchange {
    /* Maybe my display contrast is bad, but I can hardly see the highlight. */
    background:#f88;
}

td.diff-addedline {
    /* And oddly, these are too dark. */
    border-color:#E8F4FF #A3D3FF;
}

td.diff-deletedline {
    /* And oddly, these are too dark. */
    border-color:#FFF1CD #FFE49C;
}

td.diff-context, td.diff-deletedline, td.diff-addedline {
    overflow:auto;
}

.diff-multi {
    background-color:yellow;
}

table.diff {
    /* Ugh, too much space. */
    border-spacing:0;
}

table.diff td {
    /* Ugh, too much space. */
    padding:0 0.33em;
}

table.diff td div {
    /* I prefer not to force-wrap long lines */
    word-wrap:normal;
    overflow:auto;

    /* Preserve spaces so they show up in the diff */
    white-space:pre-wrap;
}

.watchlistredir {
    font-style:italic;
}

/*** Turn the "Save page" button green if I'm logged in ***/
INPUT#wpSave {
    background-color:#88ff88;
    border-color:#88ff88;
}

/*** Hide junk, I know this and don't need to see it ***/
span.editHelp { display:none; }
span.cancelLink { display:none; }
#editpage-copywarn { display:none; }
.editpage-head-copywarn { display:none; }
span#minoredit_helplink a { display:none; }
span#minoredit_helplink:before { content:'minor edit'; }
#wpSummaryLabel label a { display:none; }
#wpSummaryLabel label small { display:none; }
#wpSummaryLabel label span:before { content:'Edit summary: '; }
input#wpSummary { margin-bottom:0; }

/*** For [[User:Anomie/previewtemplatelastmod.js]] ***/
span.PreviewTemplateLastMod_comment {
    color:#888;
}
span.PreviewTemplateLastMod_no_comment {
    color:#ccc;
}

/*** Highlight non-free image links ***/
a.image.nonfree-media:after, a.mw-file-description.nonfree-media:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Red_copyright.svg/10px-Red_copyright.svg.png);
    vertical-align:bottom;
    margin:-10px -5px 0 -5px;
}

/*** For [[User:Anomie/revdel-checkboxes.js]] ***/
.mw-warning-with-logexcerpt .log-revdel-button {
    font-size:50%;
}

/*** More useful "templates used" listing ***/
.templatesUsed .mw-redirect {
    color:#00bf00;
}
.templatesUsed .mw-redirect:visited {
    color:#3ebf3e;
}
.templatesUsed A.mw-watched {
    font-weight:bold;
}

/*** Hide rollback link on watchlist (Too easy to accidentally click, and I never use it anyway) ***/
/* todo: Figure out how to hide extraneous pipes, they changed it now to be really unfriendly to CSS */
.mw-special-Watchlist .mw-rollback-link {
    display:none;
}

/*** Default FlaggedRevs coloring is ugly, try this instead ***/
.flaggedrevs-pending, .flaggedrevs-color-1 {
	background-color:transparent;
}
.mw-fr-hist-difflink {
	background-color:rgba(255,136,0,.25);
}

/*** Number various lists. ***/
.mw-special-Log #mw-content-text ul,
#mw-whatlinkshere-list {
    list-style-image: none;
    list-style-type: decimal;
}

/*** Have to do extra work to work around the bogus day headers in the contributions list. ***/
.mw-special-Contributions .mw-pager-body {
    counter-reset: contributions-list;
}
.mw-special-Contributions .mw-pager-body ul.mw-contributions-list {
    list-style-image: none;
    list-style-type: decimal;
}
.mw-special-Contributions .mw-pager-body ul.mw-contributions-list > li {
    counter-increment: contributions-list;
}
.mw-special-Contributions .mw-pager-body ul.mw-contributions-list > li::marker {
    content: counter(contributions-list) '. ';
}

/*** Eeew, [[User:Edokter]] screwed up [[MediaWiki:Gadget-charinsert-core.css]] ***/
div#editpage-specialchars a {
	background-color: transparent;
	border: none;
	padding: 0;
}

/*** Weird extra spacing ***/
.editOptions {
    margin-bottom: 0;
}

/* Highlight undated maintenance cats */
#catlinks .undated-maintenance-cat {
    border-bottom: 1px dotted red;
}

/* Highlight this category */
#catlinks a[title='Category:Articles with invalid date parameter in template'] {
    border-bottom: 1px solid red;
}

/* This does not seem like something I'd find useful. */
#ca-dt-page-subscribe {
    display: none !important;
}