MediaWiki:Common.css: Difference between revisions

From FC1
Jump to navigation Jump to search
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;..."
 
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 2: Line 2:


.infobox {
.infobox {
     background: #eee;
     background: #f8f9fa;
     border: 1px solid #aaa;
     border: 1px solid #aaa;
     float: right;
     float: right;
     margin: 0 0 1em 1em;
     margin: 0 0 1em 1em;
    padding: 1em;
     width: 300px;
     width: 300px;
}
.infobox table {
    width: 100%;
}
}
.infobox-title {
.infobox-title {
     font-size: 2em;
     font-size: 2em;
     text-align: center;
     text-align: center;
}
.ib-city {
    background: #DDAA22;
}
.ib-country {
    background: #DD7722;
}
.ib-deity {
    background: #DDDD11;
}
}
.infobox-image {
.infobox-image {
Line 17: Line 28:
}
}
.infobox th {
.infobox th {
     text-align: right;
     text-align: center;
     vertical-align: top;
     vertical-align: top;
     width: 120px;
     padding-top: 1em;
}
}
.infobox td {
.infobox td {
    text-align: center;
     vertical-align: top;
     vertical-align: top;
    padding: 0 0.5em;
}
}

Latest revision as of 17:31, 27 January 2020

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

.infobox {
    background: #f8f9fa;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    width: 300px;
}
.infobox table {
    width: 100%;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.ib-city {
    background: #DDAA22;
}
.ib-country {
    background: #DD7722;
}
.ib-deity {
    background: #DDDD11;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: center;
    vertical-align: top;
    padding-top: 1em;
}
.infobox td {
    text-align: center;
    vertical-align: top;
    padding: 0 0.5em;
}