MediaWiki:Common.css

From The iPhone Wiki
Revision as of 18:51, 30 November 2013 by Dialexio (talk | contribs) (Adding common CSS for wikitables.)
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.wikitable * {
	text-align:center;
}
.table-no,
.table-partial,
.table-yes {
    color: black;
    text-align: center;
    vertical-align: middle;
}
.table-no {
    background-color: #FF9090;
}
.table-partial {
    background-color: #FFA;
}
.table-yes {
    background-color: #90FF90;
}
.table-na {
    text-align: center;
    vertical-align: middle;
    color:grey;
    background-color: #ECECEC;
}