Difference between revisions of "MediaWiki:Common.css"

From Vogons Wiki
Jump to: navigation, search
(Add infobox styles)
 
(Add border around image)
 
Line 20: Line 20:
 
   font-size: larger;
 
   font-size: larger;
 
   margin-left: inherit;
 
   margin-left: inherit;
 +
}
 +
.infobox #infobox-image
 +
{
 +
  border: 1px solid #eee;
 
}
 
}
 
.infobox.bordered {
 
.infobox.bordered {

Latest revision as of 21:53, 23 January 2016

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

/* Infobox template style */

.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox #infobox-image
{
   border: 1px solid #eee;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}