Jump to content

User:The Earwig/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.
/* See [[meta:User:The Earwig/global.css]] */

#pt-optin-try { display: none !important; }

.editHelp { display: none !important; }

#pt-betafeatures { display: none !important; }

#watchlist-message > li {
	background-color: #fffac0 !important;
}

#mw-scribunto-output {
	font-family: monospace;
}

#ps-gender-male, #ps-gender-female, #ps-gender-unknown {
	padding-left: 0.5em !important;
	font-family: "Osaka", "Menlo", "Lucida Grande", sans-serif !important;
	line-height: 1em;
}

#utcdate {
	padding-top: 0 !important;
}

.mw-contributions-current > span[id^="tw-revert"] strong {
	font-weight: normal;
}

.mw-contributions-current > span[id^="tw-revert"] a::before,
.inspectDiffButton::before {
	content: '[';
	color: #202122;
}

.inspectDiffButton:not(:first-child)::before {
	margin-left: 0.25em;
}

.mw-contributions-current > span[id^="tw-revert"] a::after,
.inspectDiffButton::after {
	content: ']';
	color: #202122;
}

.mw-contributions-current > span[id^="tw-revert"] > strong:nth-child(2) span:nth-child(2) {
	color: #8b0000 !important;
}

.inspectDiffButton span:nth-child(2) {
	color: #002bb8 !important;
	font-weight: normal;
}

.mw-contributions-current > span[id^="tw-revert"] span:not(:nth-child(2)),
.inspectDiffButton span:not(:nth-child(2)) {
	display: none;
}

.mw-changeslist-line-inner-articleLink > .inspectDiffButton:first-child::after {
	margin-right: 0.25em;
}

.mw-contributions-current > span[id^="tw-revert"] > strong:nth-child(1) span:nth-child(2)::before {
	content: 'tw-';
}

.diff-title > td > div[id^="tw-revert-to"] {
	font-weight: normal !important;
}

.diff-ntitle > #tw-revert strong {
	font-weight: normal;
}

.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 */

/* Link classifier: [[User:Anomie/linkclassifier]] */

a                         { color: #002bb8; }
a.new                     { color: #ba0000; }
a.redirect:hover          { color: #00aa00; }
a.self-redirect           { background-color: #ccffaa; }
a.soft-redirect-cats      { background-color: #ffff88; }
a.deletion                { background-color: #ffe5f0; }
a.broken-redirect         { color: #ba0000; border-bottom: 1px solid #00bf00; }

a:visited                 { color: #5a3696; }
a.new:visited             { color: #a55858; }
a.broken-redirect:visited { color: #a55858; }

body.ns-0.action-view a.disambiguation,             body.ns-0 #wikiPreview a.disambiguation             { background-color: #ffff88; }
body.ns-0.action-view a.intentional-disambiguation, body.ns-0 #wikiPreview a.intentional-disambiguation { background-color: inherit; }

a.unprintworthy:not(.unprintworthy-shortcut):not(.intentional-disambiguation) { border-bottom: 1px dotted #ff0000; }

body:not(.ns-0) a.image.nonfree-media       > img { outline:3px double #ff0000; }
                a.image.nonfree-media:hover > img { outline:3px double #ff0000; }

a.image.deletion         > img { outline: 2px dashed #ff0088; }
a.image.deletion:visited > img { outline-color:      #ff55cc; }

a.nonimage.protection-create-extendedconfirmed:not(.mw-unwatch-link)::after,
a.nonimage.protection-create-templateeditor:not(.mw-unwatch-link)::after,
a.nonimage.protection-create-sysop:not(.mw-unwatch-link)::after {
	content: '';
	display: inline-block;
	background-image: url(https://upload.wikimedia.org/wikipedia/en/thumb/0/02/Create-protection-shackle.svg/28px-Create-protection-shackle.svg.png);
	background-size: 1em;
	height: 1em;
	width: 1em;
	margin-left: 0.2em;
}

/* Reflow workarounds for user scripts */

#mw-diff-otitle1:first-child, #mw-diff-ntitle1:first-child { /* Twinkle + offset-history-link */
	margin-top: 44.8px;
}

tr.diff-title div[id^="tw-revert-to"]:first-child { /* Twinkle */
    margin-top: 22.4px;
}

.mw-special-Contributions #contentSub { /* Contribsrange */
	min-height: 28px;
}

body:not(.ns-0) #sdh { /* Shortdesc helper */
	display: none;
}

/* Workaround for broken diff styling in [[User:Evad37/rater]] */

td.diff-addedline, td.diff-deletedline, td.diff-context {
	font-size: 13px !important;
	white-space: break-spaces !important;
}

td.diff-context {
	background: #f8f9fa !important;
	border-color: #eaecf0 !important;
	color: #202122 !important;
}

table.diff {
	width: 100% !important;
}

table.diff td {
	padding: 0.33em 0.5em !important;
}

table.diff td div {
	overflow: visible !important;
}

/* Fix for [[MediaWiki:Gadget-Shortdesc-helper-pagestyles-vector.css]] */

body.skin-vector.ns-0 div.noarticletext {
    margin-top: 0;
}