MediaWiki:Common.css
From Phidgets Support
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
@import url("/w/index.php?title=MediaWiki:Common.css/Autocount.css&action=raw&ctype=text/css") screen;
@import url("/w/index.php?title=MediaWiki:Common.css/Hoverbox.css&action=raw&ctype=text/css") screen;
@import url("/w/index.php?title=MediaWiki:Common.css/Infobox.css&action=raw&ctype=text/css") screen;
@import url("/w/index.php?title=MediaWiki:Common.css/Mboxes.css&action=raw&ctype=text/css") screen;
@import url("/w/index.php?title=MediaWiki:Common.css/Media.css&action=raw&ctype=text/css") screen;
@import url("/w/index.php?title=MediaWiki:Common.css/Multilingual.css&action=raw&ctype=text/css") screen;
@import url("/w/index.php?title=MediaWiki:Common.css/Nav.css&action=raw&ctype=text/css") screen;
@import url("/w/index.php?title=MediaWiki:Common.css/toc.css&action=raw&ctype=text/css") screen;
@import url("/w/index.php?title=MediaWiki:Common.css/References.css&action=raw&ctype=text/css") screen;
@import url("/w/index.php?title=MediaWiki:Common.css/top.css&action=raw&ctype=text/css") screen;
@import url("/w/index.php?title=MediaWiki:Common.css/search.css&action=raw&ctype=text/css") screen;
.PrettyTextBox { background-color:#F9F9F9; color:#000000; border:1px solid #AAAAAA; padding:0.2em; }
.archive-box {
border: 1px solid #aaaaff;
background-color: #f2f2f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
text-align: center;
}
/* Style for horizontal UL lists */
.horizontal ul, .DPLFlat ul { padding:0em; margin:0em; }
.horizontal li, .DPLFlat li { display:inline; padding:0em 0.6em 0em 0.4em; border-right:1px solid #AAA; }
.horizontal li:last-child, .DPLFlat li:last-child { border-right:0em; padding-right:0em; }
/* Style for vertical UL lists */
.vertical ul { list-style:none; padding:0px; margin:0px; }
.vertical li { padding:0.6em 0em 0.4em 0em; border-bottom:1px solid #aaaaaa; }
.vertical li:last-child { border-bottom:0px; }
/* Add arrows to toggle-blocks for collapsible elements */
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-expanded {
padding-left: 20px !important;
background-image: url('http://upload.wikimedia.org/wikipedia/commons/1/10/MediaWiki_Vector_skin_action_arrow.png');
background-repeat: no-repeat;
background-position: center left;
}
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-collapsed {
padding-left: 20px !important;
background-image: url('http://upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png');
background-repeat: no-repeat;
background-position: center left;
}
/* Fixes for portal pages */
body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
body.page-Main_Page #firstHeading,
body.page-Wikijunior #deleteconfirm,
body.page-Wikijunior #t-cite,
body.page-Wikijunior #footer-info-lastmod,
body.page-Wikijunior #firstHeading {
display: none;
}
body.page-Main_Page h2,
body.page-Wikijunior h2 { font-size:16pt; margin:0; padding: 0; border-bottom:0; font-weight: bold; }
body #siteSub { display: none; }
/* Fix the background color on the sitenotice */
table#mw-dismissable-notice { background-color: transparent; }
/* For template documentation */
.template-documentation { clear:both; margin:1em 0em 0em 0em; border: 1px solid #aaddff; background-color:#eef5ff; padding:1em; }
/* Remove default styles for [[MediaWiki:Noarticletext]]. */
div.noarticletext { border:none; background:transparent; padding:0px; }
/* Selectively hide headers in WikiProject banners */
.wpb .wpb-header { display: none; }
.wpbs-inner .wpb .wpb-header { display: block; } /* for IE */
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for other browsers */
.wpbs-inner .wpb-outside { display: none; } /* hide things that should only display outside shells */
.nowraplinks a, .nowraplinks .selflink { white-space: nowrap; }
/* Hack to remove comment box for FlaggedRevs, since we seem unable to remove it from configuration. */
#mw-fr-commentbox { display:none; }
/* User block messages */
div.user-block { padding: 5px; margin-bottom: 0.5em; border: 1px solid #A9A9A9; background-color: #FFEFD5; }
/* Keep menus in toolbox from growing too long */
.wikiEditor-ui-toolbar .group .menu .options { height:300px; overflow: auto; }
/* Accessibility experiment: make diff changes not just color-based */
.diffchange { font-weight:bold; background-color: inherit; }
td.diff-addedline, td.diff-deletedline, td.diff-context { font-size:85%; color: inherit; }
/* Show only when printing */
@media screen, projection, handheld {
.printonly { display: none !important; }
}
/* Disable the automatic text-size adjust of WebKit on iPhones etc.
It scales some text, and not the other. Use none, or fixed percentage instead.
Use media selector, because defining a value, overwrites platform defaults. */
@media only screen and (max-device-width: 480px) {
body {
-webkit-text-size-adjust: none;
}
}
/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
[[Bugzilla:26204]]. */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript {
font-family: monospace, "Courier New" !important;
}
/* Re-bold-en minor and bot edits in contributions, history, recent changes */
abbr.minoredit, abbr.botedit {
font-weight: bold;
}
#catlinks li {
padding:0 .3em;
margin:0;
}
#catlinks li:first-child {
padding-left:0;
}