Difference between revisions of "MediaWiki:Common.css"

From The iPhone Wiki
Jump to: navigation, search
m
m (whoops)
Line 26: Line 26:
   
 
/* {{Archive Page}} */
 
/* {{Archive Page}} */
#archive-page-notice {
+
.archive-page-notice {
 
background-color: #CC9;
 
background-color: #CC9;
 
}
 
}
Line 32: Line 32:
   
 
/* {{internal software}} */
 
/* {{internal software}} */
#internal-software-notice {
+
.internal-software-notice {
 
background-color: #F44;
 
background-color: #F44;
 
border: 3px solid #933;
 
border: 3px solid #933;
Line 42: Line 42:
 
padding: 8px;
 
padding: 8px;
 
}
 
}
#internal-software-notice a {
+
.internal-software-notice a {
 
color: white;
 
color: white;
 
text-decoration: underline;
 
text-decoration: underline;

Revision as of 22:13, 3 December 2014

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