Difference between revisions of "MediaWiki:Common.css"

From BTAWiki
Jump to navigation Jump to search
Line 14: Line 14:
 
}
 
}
  
  .infoboxmech th  
+
.infoboxmech th  
  {
+
{
    vertical-align: top;
+
  vertical-align: top;
    width: 40%;
+
  width: 40%;
    font-weight: 700;
+
  font-weight: 700;
    text-align: right;
+
  text-align: right;
    padding-right: 5px;
+
  padding-right: 5px;
    background: none repeat scroll 0% 0% #3A3A3A;
+
  background: none repeat scroll 0% 0% #3A3A3A;
    color: #eeeeee;
+
  color: #eeeeee;
  }
+
}
  
 
   .infoboxmech td  
 
   .infoboxmech td  
  {
+
{
    vertical-align: top;
+
  vertical-align: top;
    width: 60%;
+
  width: 60%;
    color: #1C1C1C;
+
  color: #1C1C1C;
    font-weight: 100;
+
  font-weight: 100;
    text-align: left;
+
  text-align: left;
    padding: 0.25em;
+
  padding: 0.25em;
  }
+
}
  
.infobox-mechname
+
.infoboxmech .infobox-mechname
 
{
 
{
 
   background: none repeat scroll 0% 0% #3A3A3A;   
 
   background: none repeat scroll 0% 0% #3A3A3A;   
Line 45: Line 45:
 
}
 
}
  
.infobox-mechimage
+
.infoboxmech .infobox-mechimage
 
{
 
{
 
   padding: 0.5em;
 
   padding: 0.5em;
Line 66: Line 66:
 
}
 
}
  
  .infoboxvariant th  
+
.infoboxvariant th  
  {
+
{
    vertical-align: center;
+
  vertical-align: center;
    width: 40%;
+
  width: 40%;
    font-weight: 700;
+
  font-weight: 700;
    text-align: right;
+
  text-align: right;
    padding-right: 5px;
+
  padding-right: 5px;
    background: none repeat scroll 0% 0% #3A3A3A;
+
  background: none repeat scroll 0% 0% #3A3A3A;
    color: #eeeeee;
+
  color: #eeeeee;
  }
+
}
  
  .infoboxvariant td  
+
.infoboxvariant td  
  {
+
{
    vertical-align: top;
+
  vertical-align: top;
    width: 60%;
+
  width: 60%;
    color: #1C1C1C;
+
  color: #1C1C1C;
    font-weight: 100;
+
  font-weight: 100;
    text-align: left;
+
  text-align: left;
    padding: 1px 5px;
+
  padding: 1px 5px;
  }
+
}
  
.variantequipment
+
.infoboxvariant .variantequipment
 
{
 
{
 
   vertical-align: top;
 
   vertical-align: top;
Line 98: Line 98:
 
}
 
}
  
.infobox-variantname
+
.infoboxvariant .infobox-variantname
 
{
 
{
 
   color: #DDDAD6;
 
   color: #DDDAD6;
Line 107: Line 107:
 
}
 
}
  
.infobox-variantloadoutimage
+
.infoboxvariant .infobox-variantloadoutimage
 
{
 
{
 
   padding: 0.5em;
 
   padding: 0.5em;

Revision as of 23:04, 16 November 2020

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

/** Infobox template **/

.infoboxmech
{
  background-color: #dddddd;
  border: 1px solid #CCCCCC;
  font-size: 11px;
  color: #1C1C1C;
  float: right;
  margin: 0px 0px 10px 2em;
  width: 270px;
}

.infoboxmech th 
{
  vertical-align: top;
  width: 40%;
  font-weight: 700;
  text-align: right;
  padding-right: 5px;
  background: none repeat scroll 0% 0% #3A3A3A;
  color: #eeeeee;
}

  .infoboxmech td 
{
  vertical-align: top;
  width: 60%;
  color: #1C1C1C;
  font-weight: 100;
  text-align: left;
  padding: 0.25em;
}

.infoboxmech .infobox-mechname
{
  background: none repeat scroll 0% 0% #3A3A3A;  
  color: #eeeeee;
  font-size: 16px;
  font-weight: bold;
  padding: 1em;
  text-align: center;
}

.infoboxmech .infobox-mechimage
{
  padding: 0.5em;
  text-align: center;
  width: 200px;
  height: auto;
  background-color: #dddddd;
  colspan: 2;
}

.infoboxvariant
{
  background-color: #dddddd;
  border: 1px solid #CCCCCC;
  font-size: 11px;
  color: #1C1C1C;
  float: right;
  margin: 0px 0px 10px 2em;
  width: 500px;
}

.infoboxvariant th 
{
  vertical-align: center;
  width: 40%;
  font-weight: 700;
  text-align: right;
  padding-right: 5px;
  background: none repeat scroll 0% 0% #3A3A3A;
  color: #eeeeee;
}

.infoboxvariant td 
{
  vertical-align: top;
  width: 60%;
  color: #1C1C1C;
  font-weight: 100;
  text-align: left;
  padding: 1px 5px;
}

.infoboxvariant .variantequipment
{
  vertical-align: top;
  width: 60%;
  color: #1C1C1C;
  font-weight: 150;
  text-align: left;
  padding: 0.25em;
  white-space: nowrap;
}

.infoboxvariant .infobox-variantname
{
  color: #DDDAD6;
  font-size: 16px;
  font-weight: bold;
  padding: 1em;
  text-align: center;
}

.infoboxvariant .infobox-variantloadoutimage
{
  padding: 0.5em;
  text-align: center;
  width: 400px;
  height: auto;
}