Difference between revisions of "MediaWiki:Common.css"

From TinkerMill Wiki
Jump to navigation Jump to search
m (Tweaked some of the .infobox styles.)
m (Tweaked some of the .infobox styles.)
 
Line 6: Line 6:
  
 
.infobox {
 
.infobox {
     background: #eee;
+
     background-color: #f8f9fa;;
 
     border: 1px solid #aaa;
 
     border: 1px solid #aaa;
 
     float: right;
 
     float: right;
Line 14: Line 14:
 
}
 
}
 
.infobox table {
 
.infobox table {
     margin: 0 10px;
+
     margin: 10px;
 
}
 
}
  
 
.infobox-title {
 
.infobox-title {
 +
    background-color: #eee;
 +
    border-bottom: solid #ddd 1px;
 
     font-size: 18pt;
 
     font-size: 18pt;
 
     text-align: center;
 
     text-align: center;
Line 24: Line 26:
 
}
 
}
 
.infobox-image {
 
.infobox-image {
 +
    margin: 0;
 +
    padding: 10px;
 
     text-align: center;
 
     text-align: center;
 +
}
 +
.infobox-image img {
 +
    max-width: 280px;
 +
    height: auto;
 
}
 
}
 
.infobox th {
 
.infobox th {

Latest revision as of 22:42, 10 February 2022

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

/*
** InfoBox general styles
*/

.infobox {
    background-color: #f8f9fa;;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 0;
    width: 300px;
}
.infobox table {
    margin: 10px;
}

.infobox-title {
    background-color: #eee;
    border-bottom: solid #ddd 1px;
    font-size: 18pt;
    text-align: center;
    font-weight: bold;
    font-variant: small-caps;
}
.infobox-image {
    margin: 0;
     padding: 10px;
    text-align: center;
}
.infobox-image img {
    max-width: 280px;
    height: auto;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
    padding-right: 1ex;
    line-height: 1.2;
}
.infobox td {
    vertical-align: top;
    line-height: 1.2;
}