MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 8: Line 8:
     float: right;
     float: right;
     clear: right;
     clear: right;
     width: 50em;
     width: 22em;
     font-size: 88%;
     font-size: 90%;
     line-height: 1.5em;
     line-height: 1.5em;
}
}
Line 17: Line 17:
     font-weight: bold;
     font-weight: bold;
     text-align: center;
     text-align: center;
     background-color: #578017;
     background-color: #8F731F;
     padding: 10px 0.2em;
     padding: 10px 0.2em;
    color: white;
}
}



Latest revision as of 08:23, 30 August 2025

/* CSS for Infoboxes */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: right;
    clear: right;
    width: 22em;
    font-size: 90%;
    line-height: 1.5em;
}

.infobox-title {
    font-size: 125%;
    font-weight: bold;
    text-align: center;
    background-color: #8F731F;
    padding: 10px 0.2em;
    color: white;
}

.infobox-image {
    text-align: center;
    padding: 0.3em;
}

.infobox-heading {
    background-color: #ddf;
    text-align: center;
    font-weight: bold;
}

.infobox-label {
    width: 30%;
    padding: 0.2em;
    vertical-align: top;
    text-align: left;
    font-weight: bold;
}

.infobox-data {
    width: 70%;
    padding: 0.2em;
    vertical-align: top;
}