Difference between revisions of "MediaWiki:Common.css"

From BTAWiki
Jump to navigation Jump to search
Line 8: Line 8:
 
   border: 1px solid #CCCCCC;
 
   border: 1px solid #CCCCCC;
 
   color: #1C1C1C;
 
   color: #1C1C1C;
 +
  float: right;
 
   font-size: 11px;
 
   font-size: 11px;
   width: 268px;
+
   margin: 0px 0px 10px 2em;
   padding: 0px 0px 5px 0px;
+
   width: 270px;
 
}
 
}
  
Line 33: Line 34:
 
}
 
}
  
.infobox-image
+
.infobox-chassisimage
 
{
 
{
   max-width: 250px;
+
   height: 200px;
   height: auto;
+
  padding: 0.5em;
 +
   text-align: center;
 
}
 
}
  

Revision as of 10:38, 16 November 2020

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

/** Infobox template **/

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

.infobox-chassisname
{
  background: none repeat scroll 0% 0% #3A3A3A;
  color: #eeeeee;
  font-size: 16px;
  padding: 1em;
  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; 
}

.infobox-chassisimage 
{
  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;
}