Difference between revisions of "MediaWiki:Common.css"

From BTGuard Wiki
Jump to: navigation, search
Line 26: Line 26:
 
.left-content
 
.left-content
 
{
 
{
 
+
display: table;
 
float:left;
 
float:left;
 
width:428px;
 
width:428px;
 +
overflow: hidden;
 
}
 
}
 +
 +
.left-content a {
 +
    display: table-cell;
 +
    vertical-align: middle;
 +
    text-align: center;
 +
}
 +
  
 
.right-content
 
.right-content

Revision as of 05:30, 19 April 2013

/* CSS placed here will be applied to all skins */


pre, .mw-code, #container
{
float:left;
height:100%;
width:100%;
max-width:950px;
background-color: white;
border: none;
margin-left: -6px;
}

pre, .mw-code, #container-right
{
float:left;
height:100%;
width:100%;
max-width:950px;
background-color: white;
border: none;
margin-left: -6px;
}

.left-content
{
display: table;
float:left;
width:428px;
overflow: hidden;
}

.left-content a {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}


.right-content
{

float:right;
width:325px;
height:100%;
margin-left:30px;
}


.left-contents
{

float:left;
width:376px;
}

.right-contents
{

float:left;
width:376px;
height:100%;
margin-left:30px;
}

#wiki-text, p, .padding
{
margin-left:5px;
margin-top:25px;
margin-right:5px;
margin-bottom:10px;
}