Difference between revisions of "MediaWiki:Common.css"

From SDSDWiki
(Created page with "→‎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;...")
 
 
(8 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
     margin: 0 0 1em 1em;
 
     margin: 0 0 1em 1em;
 
     padding: 1em;
 
     padding: 1em;
     width: 400px;
+
     width: 300px;
 
}
 
}
 
.infobox-title {
 
.infobox-title {
 +
    border: 1px solid #aaa;
 +
    padding-top: .3em;
 +
    padding-bottom: .3em;
 +
    margin-bottom: .25em;
 
     font-size: 2em;
 
     font-size: 2em;
 
     text-align: center;
 
     text-align: center;
 +
}
 +
.vale-title {
 +
    background: #b3d9ff;
 +
}
 +
.wilde-title {
 +
    background: #f5c08b;
 +
}
 +
.infobox-world {
 +
    font-size: 1em;
 +
    text-align: center;
 +
    font-style: italic;
 +
    margin-bottom: .25em;
 
}
 
}
 
.infobox-image {
 
.infobox-image {
Line 21: Line 37:
 
}
 
}
 
.infobox td {
 
.infobox td {
 +
    text-align: left;
 
     vertical-align: top;
 
     vertical-align: top;
 
}
 
}

Latest revision as of 15:20, 19 January 2021

/* 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: 300px;
}
.infobox-title {
    border: 1px solid #aaa;
    padding-top: .3em;
    padding-bottom: .3em;
    margin-bottom: .25em;
    font-size: 2em;
    text-align: center;
}
.vale-title {
    background: #b3d9ff;
}
.wilde-title {
    background: #f5c08b;
}
.infobox-world {
    font-size: 1em;
    text-align: center;
    font-style: italic;
    margin-bottom: .25em;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    text-align: left;
    vertical-align: top;
}