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;
   margin: 0px 0px 10px 2em;
+
   width: 268px;
   width: 270px;
+
   padding: 0px 0px 5px 0px;
 
}
 
}
  
Line 36: Line 35:
 
.infobox-image  
 
.infobox-image  
 
{
 
{
    text-align: center;
+
  max-width: 250px;
 +
  height: auto;
 
}
 
}
  

Revision as of 11:34, 16 November 2020

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

/** Infobox template **/

.infoboxchassis
{
  background-color: #d4d4d4;
  border: 1px solid #CCCCCC;
  color: #1C1C1C;
  font-size: 11px;
  width: 268px;
  padding: 0px 0px 5px 0px;
}

.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-image 
{
  max-width: 250px;
  height: auto;
}

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

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