User:Anomie/monobook.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .js page for this skin is at User:Anomie/monobook.js. |
/*** 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;
}