Difference between revisions of "MediaWiki:Common.css"

From Sven Co-op
Jump to navigation Jump to search
(Added Infobox styles.)
 
m (Added other infobox background colors.)
 
(2 intermediate revisions by the same user not shown)
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;
 +
  background-color: #6080A0;
 +
}
 +
 
 +
.infoboxsubheading
 +
{
 +
  text-align: left;
 +
  font-weight: normal;
 +
  background-color: #80A0C0;
 +
}
 +
 
 +
.infoboxfooter
 +
{
 +
  font-size: larger;
 +
  background-color: #6080A0;
 +
}
 +
 
 +
.infoboxlabel, .infoboxcell
 +
{
 +
  vertical-align: top;
 +
}
 +
 
 +
.infoboxcell p, .infoboxcell ul
 +
{
 +
  margin-top: 0;
 +
  margin-bottom: 0;
 
}
 
}

Latest revision as of 22:16, 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;
  background-color: #6080A0;
}

.infoboxsubheading
{
  text-align: left;
  font-weight: normal;
  background-color: #80A0C0;
}

.infoboxfooter
{
  font-size: larger;
  background-color: #6080A0;
}

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

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