MediaWiki:Gadget-site.css

/* This is the CSS for all skins (for all users) on MediaWiki.org.

SECTIONS: 1. Indication of namespaces 2. Color classes for content 3. Special pages 4. Main page styling 5. Wikitables, warnings, and other such stylings 6. Templates 7. Some other small things

/** * 1. INDICATION OF NAMESPACES * - */

/* #content for Vector and Monobook, #mw-content for Timeless */

/* NS Help (Public Domain icon) */ .action-view.ns-12 #bodyContent { background-image: url(//upload.wikimedia.org/wikipedia/commons/6/67/PD-icon-faded.png); background-repeat: no-repeat; /* @noflip */ background-position: right 5em; }

/** * 3. SPECIAL PAGES * - */

/* * Hide elements on the main page. */ .page-MediaWiki #lastmod, .page-MediaWiki #siteSub, .page-MediaWiki #contentSub, .page-MediaWiki .subtitle, .page-MediaWiki #jump-to-nav, .page-MediaWiki .firstHeading { display: none; }

/** * 6. TEMPLATES * - */ /* Template:Extension, Template:Skin */ .tpl-infobox { box-sizing: border-box; border: 2px solid #a2a9b1; width: 280px; /* @noflip */ clear: right; /* @noflip */ float: right; margin: 0 0 0.5em 0.5em; border-collapse: collapse; background-color: white; } .tpl-infobox td { border: 2px none #a2a9b1; padding: 0.2em 0.5em; border-bottom: 1px solid #f0f0f0 !important; } .tpl-infobox-header { background-color: #a2a9b1; color: white; text-align: left; } .tpl-infobox-header td { padding-top: 0.5em; } .ext-infobox-header img { padding: 0 0.2em 0 0.5em; } .ext-status-unstable, .ext-status-unstable td { border-color: #d33; } .ext-status-unstable .ext-infobox-header { background-color: #d33; color: #fff; } .ext-status-unstable .ext-infobox-header a { color: #fff; } .ext-status-experimental, .ext-status-experimental td { border-color: #ff4500; } .ext-status-experimental .ext-infobox-header { background-color: #ff4500; } .ext-status-beta, .ext-status-beta td { border-color: #fc3; } .ext-status-beta .ext-infobox-header { color: #000; background-color: #fc3; }

.ext-status-stable, .ext-status-stable td { border-color: #00af89; } .ext-status-stable .ext-infobox-header { background-color: #00af89; } .ext-status-stable .ext-infobox-header a { color: #fff; } .ext-status-unmaintained, .ext-status-unmaintained td { border-color: #ac6600; } .ext-status-unmaintained .ext-infobox-header { background-color: #ac6600; } .ext-status-unmaintained .ext-infobox-header a { color: #fff; }

.skin-infobox, .skin-infobox td { border-color: #a7d7f9; } .skin-infobox-header { color: #000; background: #e2f4ff; }

/** * 7. SOME OTHER SMALL THINGS * - */

/* Give a bit of space to the TOC */ margin: 1em 0; }
 * 1) toc {

/* * Styling for links generated by MediaWiki:Edittools * @source www.mediawiki.org/wiki/Extension:CharInsert#Styling * @updated 2012-02-29 */ .mw-charinsert-buttons { margin-top: 10px; border: 1px solid #a2a9b1; padding: 1px; text-align: center; font-size: 110%; } .mw-charinsert-buttons a { color: black; background-color: #cde !important; font-weight: bold; font-size: .9em; text-decoration: none; border: thin #069 outset; padding: 0 .1em .1em; } .mw-charinsert-buttons a:hover, .mw-charinsert-buttons a:active { background-color: #bcd; border-style: inset; } .client-js .mw-edittools-section { display: inline; } .client-js .mw-edittools-section input[type="button"] { font-size: 0.9em; padding-left: 1px; padding-right: 1px; margin-left: 1px; }

/* Fonts for Persian language for consistency with other Wikimedia wikis */
 * lang(fa) {

font-family: '.Arabic UI Text', Tahoma, 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif; }