Difference between revisions of "MediaWiki:Common.css"

From Tradelands Wiki
Jump to navigation Jump to search
Line 35: Line 35:
  
 
h2 span {  
 
h2 span {  
     background:#fff;  
+
     background:#eee;  
 
     padding:0 10px;  
 
     padding:0 10px;  
 
}
 
}

Revision as of 16:24, 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:#eee; 
    padding:0 10px; 
}