Difference between revisions of "MediaWiki:Common.css"

From The iPhone Wiki
Jump to: navigation, search
(Adding common CSS for wikitables.)
m (Makes the text on archive notice normal-sized.)
Line 49: Line 49:
 
table.wikitable {
 
table.wikitable {
 
font-size:smaller;
 
font-size:smaller;
  +
}
  +
table#archive-page-notice {
  +
font-size:small;
 
}
 
}
 
table.wikitable * {
 
table.wikitable * {
Line 56: Line 59:
 
.table-partial,
 
.table-partial,
 
.table-yes {
 
.table-yes {
color: black;
+
color:#000;
text-align: center;
+
text-align:center;
vertical-align: middle;
+
vertical-align:middle;
 
}
 
}
 
.table-no {
 
.table-no {
background-color: #FF9090;
+
background-color:#FF9090;
 
}
 
}
 
.table-partial {
 
.table-partial {
background-color: #FFA;
+
background-color:#FFA;
 
}
 
}
 
.table-yes {
 
.table-yes {
background-color: #90FF90;
+
background-color:#90FF90;
 
}
 
}
 
.table-na {
 
.table-na {
  +
background-color:#ECECEC;
text-align: center;
 
  +
color:gray;
vertical-align: middle;
 
  +
text-align:center;
color:grey;
 
  +
vertical-align:middle;
background-color: #ECECEC;
 
 
}
 
}

Revision as of 07:53, 3 December 2013

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