Difference between revisions of "MediaWiki:Common.css"

From BTGuard Wiki
Jump to: navigation, search
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins overflow:hidden; */
 
/* CSS placed here will be applied to all skins overflow:hidden; */
  
pre, .mw-code, #container
 
{
 
float:left;
 
height:100%;
 
width:100%;
 
 
background-color: white;
 
border: none;
 
margin-left: -6px;
 
  
 +
.wrapper{
 +
  width: 100%;
 +
  margin: 0 auto;
 
}
 
}
 
+
.header{
pre, .mw-code, #container-right
+
  float: left;
{
+
  width: 100%;
float:left;
+
  background-color: #f4f4f4
height:100%;
+
width:100%;
+
 
+
background-color: white;
+
border: none;
+
margin-left: -6px;
+
 
+
 
}
 
}
 
+
.wrapleft{
.left-content
+
  float: left;
{
+
  width: 100%;
 
+
  background-color: #cfcfcf
float:left;
+
width:100%;
+
max-width:684px;
+
 
+
 
}
 
}
 
+
.left{
 
+
  margin-right: 249px;
.right-content
+
  background-color: #afeeee;
{
+
  height: 200px;
 
+
float:left;
+
width:325px;
+
height:100%;
+
margin-left:30px;
+
 
}
 
}
 
+
.right{
 
+
  float: right;
.left-contents
+
  width: 239px;
{
+
  margin-left: -239px;
 
+
  background-color: #98fb98;
float:left;
+
  height: 200px;
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 */
+
 
}
 
}

Revision as of 21:24, 23 April 2013

/* CSS placed here will be applied to all skins overflow:hidden; */


.wrapper{
   width: 100%;
   margin: 0 auto;
}
.header{
   float: left;
   width: 100%;
   background-color: #f4f4f4
}
.wrapleft{
   float: left;
   width: 100%;
   background-color: #cfcfcf
}
.left{
   margin-right: 249px;
   background-color: #afeeee;
   height: 200px;
}
.right{
   float: right;
   width: 239px;
   margin-left: -239px;
   background-color: #98fb98;
   height: 200px;
}