Jump to content

User:Tamzin/common.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.
/* Look here! Tutorial on how to see all of the `-show` classes. */
@import url('//en.wikipedia.org/w/index.php?action=raw&title=User:Tamzin/-show_classes.css&ctype=text/css');

@import url('//en.wikipedia.org/w/index.php?action=raw&title=User:Tamzin/main-page-redirect-checker.css&ctype=text/css');

/* From [[User:theleekycauldron/common.css]] */
.mw-body-content a.mw-redirect {color:#147000}
.mw-body-content a.mw-redirect:visited {color:#5c9e4c}
.mw-body-content a.extiw {color:#a6a825;} /* interwiki links */
.mw-body-content a.extiw:visited {color:#b3960b;}
.mw-body-content a.external {color: #b0048b}
.mw-body-content a.external:visited {color: #6e0152}

/* Correct name */
#toc-mw-content-text > a > div {
	display: none;
}
#toc-mw-content-text > a::after {
	display: inline;
	content: "(Lede)";
}

/* bad eyesight + frequent editing in "night light mode" hours + fairly
reflective laptop screen + often editing in direct sunlight = I often can't
discern link color*/
.mw-parser-output a:not([class*="user-blocked-"]) {
	text-decoration: underline dashed 1px;
}
.mw-parser-output .reference a, .mw-parser-output .toc a, .mw-parser-output .mw-editsection a {
	text-decoration: none !important;
}
.mw-parser-output .reference a:hover, .mw-parser-output .toc a:hover, .mw-parser-output .mw-editsection a:hover,
.mw-parser-output .reference a:focus, .mw-parser-output .toc a:focus, .mw-parser-output .mw-editsection a:focus {
	text-decoration: underline !important;
}
/* watchlists are stressful. scanning contribs for revs that aren't"current" is
more pleasant. this is more pleasant still. */
.mw-contributions-current {
	background-color: Aquamarine;
}
/* still needs troubleshooting */
/*.toc {
	float: left;
	clear: right;
	margin: 0.5em 1.5em 0.5em 0;
}*/
/* All those capital letters make me feel like I'm being yelled at.  Wish I
could say I were joking, but I'm not. */
.mw-anonuserlink {
	text-transform: lowercase;
}
.watchlist-message {
	background-color: pink;
}
.popupPreview {
	font-family: monospace;
}

.popup_diff_dates {
	font-family:initial;
}

/* Flag deprecated HTML */
tt, center, dir, font, menu, xmp { 
	text-decoration: underline red solid;
}
strike {
	text-decoration: line-through red;
}
/* Distinguish del/ins from strikethrough and underline */
del {
    border: 1px red dashed;
}
ins {
    border: 1px green dashed;
}
.selfreference {
	background-color: pink;
}
/* I like seeing things */
.ambox-Orphan{
	display: table !important;
}
/* from [[:Category:CS1 maint: url-status]] */
.mw-parser-output span.cs1-maint {display: inline;} /* display Citation Style 1 maintenance messages */
.mw-parser-output span.cs1-hidden-error {display: inline;} /* display hidden Citation Style 1 error messages */
.harv-error {display: inline !important;} /* display Module:Footnotes errors */
/* from [[Template:Short description/doc]] */
.shortdescription {
  display:block !important;
  white-space: pre-wrap;
}
/* Number entries in history and on special pages.  Forked from https://www.wikidata.org/wiki/MediaWiki:Gadget-historyNumbered.css */
.ns--1 #content ul,
#content #pagehistory {list-style: decimal}
.page-Special_Page {list-style-image: url(bullet.gif)}

/* BETA: [[MOS:LISTGAP]] / [[WP:*:]] violation highlighter.

DISCLAIMER: MW markup and HTML are infinitely complex, and there are valid use
cases for all of these, especially `ol + ol`. Correct flagged markup at your
peril. */

/* List gaps */
.mw-parser-output dl + dl, .mw-parser-output ul + ul, .mw-parser-output ol + ol {
	border-top: 1em solid pink;
	border-top: 1em solid rgba(255,192,203,0.5);
}
/* The common mistake of
* Foo
:* Bar / :: Bar
(At any level of nesting) */
.mw-parser-output ul + dl > dd > ul, .mw-parser-output ul + dl > dd > dl {
	border-left: 1em solid pink;
	border-left: 1em solid rgba(255,192,203,0.5);
}