The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
MediaWiki:Common.css
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]] */
body.page-Main_Page h1.firstHeading {
display: none;
}
body.page-Main_Page div.mw-headline {
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;
margin: 10px 0 10px 0;
padding: 0.2em 0.4em;
}
/* {{keys}} */
span.keypage-filename {
color: #333;
float: right;
font-size: 1rem; /* [http://snook.ca/archives/html_and_css/font-size-with-rem] */
text-transform: none;
}
/* {{Archive Page}} */
.archive-page-notice {
background-color: #CC9;
}
/* {{internal software}} */
.internal-software-notice {
background-color: #F44;
border: 3px solid #933;
color: white;
margin-bottom: 0.5em;
text-align: center;
text-shadow: none;
width: 100%;
padding: 8px;
}
.internal-software-notice a {
color: white;
text-decoration: underline;
}
/* ============================================================================
* Borrowed from [[wikipedia:MediaWiki:Common.css]] */
* ============================================================================
*/
/* Infobox */
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
clear: right;
color: black;
float: right;
font-size: 88%;
line-height: 1.5em;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
text-align: left;
}
.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;
}
/* {{n/a}}, {{no}}, {{partial}}, {{yes}} */
.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: #AFA;
}
.table-na {
background-color: #ECECEC;
color: gray;
text-align: center;
vertical-align: middle;
}
/* {{hatnote}} */
.rellink,
.hatnote {
font-style: italic;
}
.rellink i,
.hatnote i {
font-style: normal;
}
div.rellink,
div.hatnote {
padding-left: 1.6em;
margin-bottom: 0.5em;
}
/* 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;
}