Difference between revisions of "MediaWiki:Common.css"

From Sven Co-op
Jump to navigation Jump to search
(Added Infobox styles.)
 
(More infobox styles.)
Line 3: Line 3:
 
.infobox
 
.infobox
 
{  
 
{  
position: relative;
+
  position: relative;
float: right;
+
  float: right;
clear: right;
+
  clear: right;
margin-left: 1em;
+
  margin-left: 1em;
margin-bottom: 0.5em;
+
  margin-bottom: 0.5em;
border: 1px solid #A0A0A0;
+
  border: 1px solid #A0A0A0;
font-size: smaller;
+
  font-size: smaller;
line-height: 1.5;
+
  line-height: 1.5;
width: 250px;
+
  width: 250px;
 +
}
 +
 
 +
.infoboxtable
 +
{
 +
  width: 100%;
 +
}
 +
 
 +
.infoboximage
 +
{
 +
  padding: 0;
 +
  text-align: center;
 +
}
 +
 
 +
.infoboxheading
 +
{
 +
  font-size: larger;
 +
  font-weight: bold;
 +
  color: white;
 +
}
 +
 
 +
.infoboxsubheading
 +
{
 +
  text-align: left;
 +
  font-weight: normal;
 +
}
 +
 
 +
.infoboxlabel, .infoboxcell
 +
{
 +
  vertical-align: top;
 +
}
 +
 
 +
.infoboxcell p, .infoboxcell ul
 +
{
 +
  margin-top: 0;
 +
  margin-bottom: 0;
 
}
 
}

Revision as of 22:07, 14 September 2018

/* Infobox */

.infobox
{ 
  position: relative;
  float: right;
  clear: right;
  margin-left: 1em;
  margin-bottom: 0.5em;
  border: 1px solid #A0A0A0;
  font-size: smaller;
  line-height: 1.5;
  width: 250px;
}

.infoboxtable
{
  width: 100%;
}

.infoboximage
{ 
  padding: 0;
  text-align: center;
}

.infoboxheading
{
  font-size: larger;
  font-weight: bold;
  color: white;
}

.infoboxsubheading
{
  text-align: left;
  font-weight: normal;
}

.infoboxlabel, .infoboxcell
{
  vertical-align: top;
}

.infoboxcell p, .infoboxcell ul
{
  margin-top: 0;
  margin-bottom: 0;
}