Difference between revisions of "MediaWiki:Common.css"

From BTAWiki
Jump to navigation Jump to search
Line 13: Line 13:
 
   width: 270px;
 
   width: 270px;
 
}
 
}
 +
 +
  .infoboxmech th
 +
  {
 +
    text-align: right;
 +
    vertical-align: top;
 +
    width: 120px;
 +
  }
 +
 +
  .infoboxmech td
 +
  {
 +
    vertical-align: top;
 +
    text-align: left;
 +
  }
  
 
.infobox-mechname
 
.infobox-mechname
Line 20: Line 33:
 
   font-size: 16px;
 
   font-size: 16px;
 
   padding: 1em;
 
   padding: 1em;
 +
  text-align: center;
 +
}
 +
 +
.infobox-mechimage
 +
{
 +
  height: 200px;
 +
  padding: 0.5em;
 
   text-align: center;
 
   text-align: center;
 
}
 
}
Line 32: Line 52:
 
   margin: 0px 0px 10px 2em;
 
   margin: 0px 0px 10px 2em;
 
   width: 250px;  
 
   width: 250px;  
}
 
 
.infobox-mechimage
 
{
 
  height: 200px;
 
  padding: 0.5em;
 
  text-align: center;
 
}
 
 
.infoboxchassis th
 
{
 
    text-align: right;
 
    vertical-align: top;
 
    width: 120px;
 
}
 
 
.infoboxchassis td
 
{
 
    vertical-align: top;
 
    text-align: left;
 
 
}
 
}

Revision as of 11:44, 16 November 2020

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

/** Infobox template **/

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

  .infoboxmech th 
  {
    text-align: right;
    vertical-align: top;
    width: 120px;
  }

  .infoboxmech td 
  {
    vertical-align: top;
    text-align: left;
  }

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

.infobox-mechimage
{
  height: 200px;
  padding: 0.5em;
  text-align: center;
}

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