Jump to content

MediaWiki:Common.css

From Wikibooks, open books for an open world
Note: After saving, changes may not occur immediately. Click here to learn how to bypass your browser's cache.
  • Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac);
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5;
  • Konqueror: simply click the Reload button, or press F5;
  • Opera users may need to completely clear their cache in Tools→Preferences.
@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/Lists.css&action=raw&ctype=text/css") screen;
@import url("/w/index.php?title=MediaWiki:Common.css/Messages.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/search.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/top.css&action=raw&ctype=text/css") screen;
@import url("/w/index.php?title=MediaWiki:Common.css/Slideshows.css&action=raw&ctype=text/css") screen;

.mobile-only {
  display: none;
}

.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;
}

/* Add arrows to toggle-blocks for collapsible elements */
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-expanded {
 padding-left: 20px !important;
 background-image: url('//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('//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; }

/* 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;
    }
}

/* 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;
}

/* Category tree */
#mw-subcategories ul {
    list-style: none none;
    margin-left: 0.25em;
}
.CategoryTreeChildren {
    margin-left: 1.25em;
}

/* To color the "updated since my last visit" in the history */
span.updatedmarker {
 color: #000;
 background: #99D642;
}

/* Geographical coordinates defaults. See [[Template:Coord/link]]
   for how these are used. The classes "geo", "longitude", and
   "latitude" are used by the [[w:Geo microformat]].
 */
.geo-default, .geo-dms, .geo-dec  { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude             { white-space: nowrap; }

.nobuttons input.searchboxSearchButton,
.nobuttons input.mw-ui-button {
    display:none;
}

/* T156351: Support for Parsoid's Cite implementation */
span[ rel="mw:referencedBy" ] {
    counter-reset: mw-ref-linkback 0;
}   
span[ rel="mw:referencedBy" ] > a::before {
    font-weight: bold;
    font-style: italic;
    content: counter( mw-ref-linkback, lower-alpha );
}