/* IMPORTS */
/* See also https://meta.wikimedia.org/w/index.php?title=User:SMcCandlish/global.css
for cross-site stuff, like hiding all the copyright notices and other crap. /*
/* Flag bad code for cleanup */
@import url("https://meta.wikimedia.org/w/index.php?title=User:SMcCandlish/lint.css&action=raw&bcache=1&maxage=86400&ctype=text/css");
/* ************************************************************************* */
/* TEMPORARY TESTS */
/* - None at present. */
/* ************************************************************************* */
/* Toggle visiblity of citation error and wwarning messages */
.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 */
.mw-parser-output span.cs1-visible-error {display: inline;} /* Explicitly don't hide Citation Style 1 error messages */
/* Toggle visibility of {{Short description}} metadata: */
.shortdescription {
display:block !important;
white-space: pre-wrap;
}
.shortdescription::before {
content: "\A[Short description:\0020";
}
.shortdescription::after {
content: "]\A";
}
/* Identify admins at a glance, not too obtrusively (just with little crown icons).
Requires some JS code; see
- https://en.wikipedia.org/wiki/User:Quiddity/User_style_customization_tutorial#Highlight_admin_names
- https://en.wikipedia.org/wiki/User:Theopolisme/Scripts/adminhighlighter.js
- etc.
This supports every such script I know of. If one's Unicode font doesn't have
the "🜲" symbol, "♔" is an alternative.
*/
.ais523_adminrights_admin:after,
.mw-userlinkais523_adminrights_admin:after,
.amalthea_userhighlighter_sysop:after,
a.userhighlighter_sysop.userhighlighter_sysop:after { content: "🜲" !important; font-weight: normal !important; font-style: normal !important; font-size: 100% !important;
color: Goldenrod !important; }
.ais523_adminrights_admin,
.mw-userlinkais523_adminrights_admin,
.amalthea_userhighlighter_sysop,
a.userhighlighter_sysop.userhighlighter_sysop { background-color: inherit !important }
/* Yes, the doubled class on that is necessary for some reason. */
/* UN-hide stuff meant for accounts with special permissions.
I like to know what's going on.
*/
.sysop-show,
.accountcreator-show,
.templateeditor-show,
.extendedmover-show,
.autoconfirmed-show {
display: inline-block;
}
/* Double-redirect warning */
div.redirectMsg a.mw-redirect:after {
content: ' <double redirect>';
color: Red;
font-style: italic;
}
/* Enables editing links on some stub and banner templates. Not sure I want this; just adding it to test it. */
.stub .mw-parser-output .navbar { display:inline !important; }
/* Enable visibilty of Template:As_of's "[ref]" links, when present (i.e. when |url=... is used), for editors who do as-of updating maintenance */
/* Note: This will force display of "[update]" when |url... is not used. */
.asof-tag { display: inline !important; } /* Show all as-of links */
/* Prevent the new CSS in "Typography Refresh" (since early 2014) from showing page titles and headings in serif font */
h1, h2 { font-family: inherit !important; }
/* Display persondata boxes in articles */
table.persondata { display:table; }
/* Get rid of obnoxious warnings */
/* Get rid of tedious noob boilerplate */
/* Save space */
/* - All moved to https://meta.wikimedia.org/wiki/User:SMcCandlish/denoise.css
and @imported into https://meta.wikimedia.org/wiki/User:SMcCandlish/global.css
/* Use my font, when available, for code */
/* Make some of the editable stuff monospaced */
/* For <pre> sections, use scroll bar instead of ugly cutoff/overlap in Firefox */
/* Use browser prefs for text size and font */
/* - All moved to https://meta.wikimedia.org/wiki/User:SMcCandlish/codefont.css
and @imported into https://meta.wikimedia.org/wiki/User:SMcCandlish/global.css
/* strike "Upload File" link as a reminder to usually upload to Commons instead */
li#t-upload { text-decoration: line-through; }
/* underline just the diff text that's different */
span.diffchange { text-decoration: underline; }
/* change the logo */
#p-logo a { background: url(https://upload.wikimedia.org/wikipedia/commons/9/93/Color-chars-logo.png) 35% 50% no-repeat; }
/* New-ish ACE editor used by CSS and JS pages was pretty unreadable for me, with a medium-grey background; trying lighter grey: */
.ace_content { background-color: #BBBBBB !important; }