Difference between revisions of "MediaWiki:Common.css"
From BTGuard Wiki
| Line 26: | Line 26: | ||
.left-content | .left-content | ||
{ | { | ||
| − | + | ||
float:left; | float:left; | ||
width:100%; | width:100%; | ||
| Line 36: | Line 36: | ||
.right-content | .right-content | ||
{ | { | ||
| − | + | ||
float:right; | float:right; | ||
width:325px; | width:325px; | ||
| Line 70: | Line 70: | ||
img { | img { | ||
| + | |||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
width: auto\9; /* ie8 */ | width: auto\9; /* ie8 */ | ||
} | } | ||
Revision as of 18:40, 23 April 2013
/* CSS placed here will be applied to all skins overflow:hidden; */
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:100%;
max-width:684px;
}
.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;
}
img {
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
}