Difference between revisions of "MediaWiki:Common.css"
From BTGuard Wiki
| Line 38: | Line 38: | ||
float:left; | float:left; | ||
| − | width: | + | width:325px; |
| − | + | height:100%; | |
| + | |||
} | } | ||
| Line 45: | Line 46: | ||
.right-content | .right-content | ||
{ | { | ||
| − | + | width:100%; | |
| + | max-width:684px; | ||
float:right; | float:right; | ||
| − | + | ||
| − | + | ||
margin-left:30px; | margin-left:30px; | ||
} | } | ||
Revision as of 17:25, 23 April 2013
/* CSS placed here will be applied to all skins overflow:hidden; */
pre, .mw-code, #container-top
{
float:left;
background-color: white;
border: none;
margin-left: -6px;
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
}
pre, .mw-code, #container
{
float:left;
height:100%;
width:100%;
max-width:1040px;
background-color: white;
border: none;
margin-left: -6px;
}
pre, .mw-code, #container-right
{
float:left;
height:100%;
width:100%;
max-width:1040px;
background-color: white;
border: none;
margin-left: -6px;
}
.left-content
{
float:left;
width:325px;
height:100%;
}
.right-content
{
width:100%;
max-width:684px;
float:right;
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;
}
img {
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
}