MediaWiki talk:Common.css

From GamerGate Wiki
Jump to: navigation, search

Can an admin add this CSS code to this page? It's the CSS from the old wiki, so it should help fix issues like the broken infobox templates.

/**/

/*Main Page container*/
#mpcontainer {
min-width:900px; /*sets min width of entire front page so the column layout doesn't explode*/
background:white;
}

/*Border used by Main Page boxes*/
div.mpborder {
border:1px solid #ccc;
}

/*Main Page column container*/
#mpcolcontainer {
padding-left:300px; /*width of left column plus padding*/
padding-right:300px; /*width of right column plus padding*/
}

/*Main Page columns*/
div.mpcolumn {
float:left;
position:relative;
}

/*Main Page center column*/
#mpcc {
width:100%;
}

/*Main Page left column*/
#mplc {
width:275px; /*full width minus desired padding*/
right:300px; /*width plus padding*/
margin-left:-100%;
}

/*Main Page right column*/
#mprc {
width:275px; /*full width minus desired padding*/
margin-right:-100%;
padding-left:25px; /*desired padding*/
}

/*Main Page headers*/
div.mpheader {
font-size:130%;
color:white;
padding:5px 5px 5px 13px;
background:#396;
}

/*Main Page button container*/
div.mpbuttoncon {
width:33.3%;
display:inline-block;
}

/*Main Page button*/
div.mpbutton {
position:relative;
font-size:130%;
text-align:center;
padding:5px;
background:#96c;
}

/*Makes links in buttons white no matter what*/
div.mpbutton a:link, div.mpbutton a:visited {
color:white;
}

/*Makes entire button clickable, not just the word*/
span.mpbuttonclick {
position:absolute; 
width:100%;
height:100%;
top:0;
left: 0;
z-index: 1;
}

div.mpcontent {
padding:15px;
padding-left:20px;
}

li.happenings {
margin-bottom:1em;
}

div.mpcatheader {
color:#96c;
font-size:120%;
}

/*Infobox container*/
div.infobox {
font-family: sans-serif;
float:right;
position:relative;
width:300px;
background:#FFF;
font-size:1em;
border:1px solid #aaa;
margin:0 0 1em 1em;
padding-bottom:5px;
}

/*Infobox header*/
div.infobox .heading {
font-weight:700;
text-align:center;
position:relative;
border-bottom: 1px solid #aaa;
font-size:1.5em;
color:white;
background:#396;
padding:.25em;
margin-bottom:5px;
}

/*Infobox labels*/
div.infobox .dt {
font-size:.9em;
float:left;
text-align:right;
width:128px;
line-height:1.5em;
font-weight:700;
clear:left;
border-right:2px solid #396;
margin:0 -2px 0 0;
padding:2px 9px 2px 3px
}

/*Infobox content*/
div.infobox .dd {
font-size:.9em;
float:left;
width:125px;
line-height:1.5em;
font-weight:400;
border-left:2px solid #396;
margin-top:2px;
padding-left: 6px
}

/*Generic table container*/
table.table {
margin: 1em 1em 1em 0;
background: #fff;
border: 1px #999 solid;
border-collapse: collapse;
color: #000;
}

/*Generic table header and content*/
table.table th, table.table td {
border: 1px #999 solid;
padding: 0.5em;
}

/*Extra styles applied to just table header*/
table.table th {
background: #f2f2f2;
text-align: center;
color: #000;
}

/*Content cells on the main page nav table*/
table.table td.mpcell {
text-align:left;
width:33%;
vertical-align:top;
padding-left:25px;
padding-bottom:10px;
}

/* Highlight clicked reference in blue to help navigation */
ol.references li:target,
sup.reference:target, span.citation:target {
background-color: #DEF;
}

/**/