Difference between revisions of "MediaWiki:Common.css"

From Tradelands Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
     padding: 1em;
 
     padding: 1em;
 
     max-width: 800px;
 
     max-width: 800px;
 +
}
 +
 +
.shipwrightsays img {
 +
float: left;
 
}
 
}
  

Revision as of 19:51, 6 November 2018

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

.shipwrightsays {
    background: #eee;
    border: 1px solid #aaa;
    margin: 0 0 1em 1em;
    padding: 1em;
    max-width: 800px;
}

.shipwrightsays img {
float: left;
}


.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;
}


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

h3 span { 
    background:#eee; 
    padding:0 10px; 
}