/*
* About this page: This page contains CSS settings that I share between all MediaWiki wikis (in
* any skin).
* To use it, add the following CSS code to your common.css file:
* @import url("//en.wikipedia.org/w/index.php?title=User:PartTimeGnome/common-all.css&action=raw&ctype=text/css");
*
* NOTE to anyone reading this: My uses of "content:" in this file are not CSS-compliant.
* They work in my browser, but probably won't in yours. The rest should be fine in modern
* browsers.
*/
/*
== Link colours ==
*/
/* Change colour when hovering over links. */
a:link:hover, a:visited:hover
{
color: #ff6000 !important;
background-color: transparent !important; /* default is white, even if normal background isn't! */
}
/* Highlight visited links for external/interwiki links too. */
#bodyContent a.extiw:visited, #bodyContent a.external:visited { color: #663366; }
#bodyContent a.extiw:active, #bodyContent a.external:active { color: #bb6633; }
/*
== Headings ==
*/
/* Use serif font for headings in article body. */
#firstHeading, #bodyContent h1, #bodyContent h2, #bodyContent h3,
#bodyContent h4, #bodyContent h5, #bodyContent h6 { font-family: serif; }
/* Exclude some abuses of headings. */
#bodyContent h3#mw-userloginlink { font-family: inherit; }
/* Float edit links in the right place. See [[meta:Change to section edit links]]. */
.mw-editsection, .mw-editsection-like {
float: right;
line-height: inherit;
}
/*
== MediaWiki common UI ==
a.k.a. Agora
I don't like all these fancy glow effects and gradients, and they seem to slow stuff down.
*/
.mw-ui-button, .mw-ui-button.mw-ui-primary, a.mw-ui-button {
background-image: none;
background-color: #dcdad5;
color: black;
border: 2px outset #dcdad5;
border-radius: 0;
cursor: default;
}
.mw-ui-button:hover, .mw-ui-button.mw-ui-hover, a.mw-ui-button:hover,
.mw-ui-button.mw-ui-primary:hover, .mw-ui-button.mw-ui-primary.mw-ui-hover {
background-image: none;
background-color: #eeebe7 !important;
color: black !important;
}
.mw-ui-button { font-weight: normal; }
.mw-ui-button.mw-ui-primary { font-weight: bold; }
.mw-ui-button:active, .mw-ui-button.mw-ui-primary:active, a.mw-ui-button:active {
background-image: none;
background-color: #c4c2bd;
border: 2px inset #dcdad5;
}
.mw-ui-button:disabled, .mw-ui-button.mw-ui-primary:disabled {
color: #808080;
}
.mw-ui-input, .mw-ui-input:focus,
.mw-ui-vform > div input:not([type=button]):not([type=submit]):not([type=file]),
.mw-ui-vform > div input:not([type=button]):not([type=submit]):not([type=file]):focus {
border: 1px solid #c9c9c9;
color: black;
box-shadow: none;
}
.mw-ui-label, .mw-ui-vform > div label {
color: black;
}
/*
== Central notices and friends ==
*/
/* Hide "[dismiss]" link – yet another stupid link that does nothing when clicked. */
.mw-dismissable-notice-close { display: none; }
/*
== Personal tools ==
Remove "beta" – it can be accessed via preferences anyway.
*/
li#pt-betafeatures { display:none; }
/*
== Content action tabs ==
Call talk pages "Talk pages", not "Discussion".
Note: The "en" translation of MediaWiki already says "Talk". I don't know why "en-gb" is different.
*/
#ca-talk a { content: "Talk page"; }
/*
== Side bar links ==
*/
/* Links to the page I'm on are pointless and make for unnecessary scrolling. */
.mw-special-Contributions #t-contributions { display: none; }
.mw-special-Log #t-log { display: none; }
/* Hide the blank bullet points from the languages list. */
li.uls-p-lang-dummy { display: none; }
li.uls-p-lang-dummy:only-child { display: list-item; }
li.uls-p-lang-dummy:only-child:after { content: "Not applicable here."; }
li.wbc-editpage.wbc-nolanglinks:after { content: "No language links in Wikidata."; }
/*
== Watchlist and recent changes ==
*/
/* Cut down the bulky legend */
.mw-changeslist-legend dt.newpage + dd { content: "New page"; }
.mw-changeslist-legend dt.minoredit + dd { content: "Minor edit"; }
.mw-changeslist-legend dt.botedit + dd { content: "Bot edit"; }
.mw-changeslist-legend dt.wikibase-edit + dd { content: "Wikidata"; }
.mw-changeslist-legend dt.mw-plusminus-pos { display: none; }
.mw-changeslist-legend dd.mw-changeslist-legend-plusminus { display: none; }
.mw-changeslist-legend dd { margin-bottom: 0; } /* see "Talk pages" below */
/* Alternate line colouring in various special lists (e.g. watchlist) */
.mw-line-odd { background-color: #e4dfff; }
/* Watchlist: Italicise redirects */
.watchlistredir { font-style: italic; }
/*
== Contributions ==
Change "current" to "top" for brevity.
*/
.mw-uctop { content: "(top)"; }
/*
== Page history ==
*/
/* Change "my" to "your". I was the one who last visited the page, not the wiki. */
.updatedmarker { content: "updated since your last visit"; }
/*
== Edit interface ==
*/
/* Eliminate gap above edit box when adding a new section to a talk page
* (I don't use the toolbars anyway.) */
#toolbar { display: none; }
/* Reduce space used by the edit options (under the edit area) */
.editOptions
{
margin-bottom: 0;
padding: 0.25em 0.5em 0.5em 0.5em;
}
.editCheckboxes { margin-bottom: 0.25em; }
.mw-summary { display: inline !important; }
#wpSummary { margin-bottom: 0 !important; }
#editpage-copywarn { font-size: 85%; }
/* Reduce space used by other boiler plate on the edit page */
#editpage-copywarn2, .mw-tos-summary { font-size: 85%; }
#templatesandbox-editform
{
border: none;
margin: 0.5em 0 0 0;
padding: 0;
}
#templatesandbox-editform legend { display: none; }
#templatesandbox-editform label { content: "Preview template in this page:"; }
#wpTemplateSandboxPreview { margin-left: 0.5em; }
/* I don't need this – I have the hidden categories preference on,
* so this showed them twice! */
.hiddencats { display: none; }
.templatesUsed { margin-top: 1.2em; margin-bottom: 1.2em; }
.templatesUsed ul
{
font-size: 85%;
column-width: 35em;
-moz-column-width: 35em;
-webkit-column-width: 35em;
}
.limitreport
{
float: left;
border: 1px solid #aaaaaa;
padding: 0.5em;
margin-bottom: 1.2em;
}
.limitreport:empty { display: none; }
.mw-limitReportExplanation p
{
padding-top: 0;
margin-top: 0;
}
.preview-limit-report.wikitable
{
margin: 0;
font-size: 85%;
line-height: 120%;
}
.preview-limit-report.wikitable, .preview-limit-report.wikitable th, .preview-limit-report.wikitable td
{
border: none;
background-color: inherit;
}
.preview-limit-report.wikitable th { text-align: right; }
/* Remove external link markers for links to licences, etc, which are really internal. */
#editpage-copywarn a, .mw-tos-summary
{
background: none !important;
padding: 0 !important;
}
/* Floating preview warning */
h2#mw-previewheader:before
{
content: "Preview";
position: fixed;
left: 1em;
top: 1em;
font-family: sans-serif;
font-size: 18pt;
color: red;
border-bottom: none;
}
/*
== Talk pages ==
Add space between talk page comments for clarity.
*/
dd { margin-bottom: 0.5em; }
dd:last-child { margin-bottom: 0; }
/*
== File pages ==
Remove external link markers for links to Commons, which should be interwiki links rather
than external.
*/
.sharedUploadNotice a
{
background: none !important;
padding: 0 !important;
}
/*
== Template pages ==
Fix missing separator between parameter aliases in TemplateData
*/
.mw-templatedata-doc-param-alias:before
{
content: ", ";
font-family: sans-serif;
}
/*
== Preferences ==
*/
/* Reduce space used on preferences (page is long enough as it is)! */
fieldset
{
margin-top: 0;
padding-top: 0;
}
/* Beta preferences prettification */
div.mw-ui-feature-field { margin-top: 1em; }
div.mw-ui-feature-checkbox { float: left; }
div.mw-ui-feature-title-contain
{
font-size: larger;
font-weight: bold;
}
p.mw-ui-feature-title { display: inline; }
div.mw-ui-feature-info-links { float: right; }
a.mw-ui-feature-info-link { padding-right: 0.5em; }
div.mw-ui-feature-main { position: relative; }
div.mw-ui-feature-meta
{
margin-right: 264px;
padding-right: 2em;
min-height: 162px;
}
div.mw-ui-feature-screenshot-contain
{
position: absolute;
top: 0;
right: 0;
width: 264px;
height: 162px;
}
/*
== Echo notifications ==
Background colour fix.
*/
.mw-echo-notification { background-color: inherit; }