Difference between revisions of "MediaWiki:Common.css"

From Tradelands Wiki
Jump to navigation Jump to search
Line 23: Line 23:
 
.infobox td {
 
.infobox td {
 
     vertical-align: top;
 
     vertical-align: top;
 +
}
 +
 +
 +
h2 {
 +
  width: 100%;
 +
  text-align: center;
 +
  border-bottom: 1px solid #000;
 +
  line-height: 0.1em;
 +
  margin: 10px 0 20px;
 +
}
 +
 +
h2 span {
 +
    background:#fff;
 +
    padding:0 10px;
 
}
 
}

Revision as of 16:21, 6 November 2018

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

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 250px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}


h2 {
   width: 100%; 
   text-align: center; 
   border-bottom: 1px solid #000; 
   line-height: 0.1em;
   margin: 10px 0 20px; 
} 

h2 span { 
    background:#fff; 
    padding:0 10px; 
}