MediaWiki:Common.css

From The iPhone Wiki
Revision as of 14:17, 14 January 2014 by Kirb (talk | contribs) (add toclimit styles from wikipedia)
Jump to: navigation, search

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* [[Main Page]] specifics */
body.page-Main_Page h1.firstHeading {
    display: none;
}
body.page-Main_Page div.mw-headline {
    padding: 0.2em 0.4em;
    margin: 10px 0 10px 0;
    border-bottom: 4px solid #A3BFB1;
    border-bottom: 4px solid rgba(163, 191, 177, 0.5);
    background-color: white;
    background-color: rgba(255, 255, 255, 0.4);
    color: black;
    font-size: 120%;
    font-weight: bold;
}



/* [[Template:keys]] page file names */
span.keypage-filename {
    position: relative;
    top: -35px;
    float: right;
    font-size: 1.25em;
}


.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: right;
    clear: right;
    text-align: left;
    font-size: 88%;
    line-height: 1.5em;
}
.infobox caption {
    font-size: 125%;
    font-weight: bold;
}
.infobox td,
.infobox th {
    vertical-align: top;
}

table.wikitable {
	font-size:smaller;
}
table#archive-page-notice {
	font-size:small;
}
table.wikitable * {
	text-align:center;
}
.table-no,
.table-partial,
.table-yes {
	color:#000;
	text-align:center;
	vertical-align:middle;
}
.table-no {
	background-color:#FF9090;
}
.table-partial {
	background-color:#FFA;
}
.table-yes {
	background-color:#90FF90;
}
.table-na {
	background-color:#ECECEC;
	color:gray;
	text-align:center;
	vertical-align:middle;
}

/* Borrowed from Wikipedia's Common.css */

/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
	display: none;
}