MediaWiki:Common.css: Difference between revisions

From DisNCord Community Wiki
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; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; }")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
.infobox {
.infobox {
     background: #eee;
    border: 1px solid #a2a9b1;
     border: 1px solid #aaa;
     background-color: #f8f9fa;
     color: #000;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
     float: right;
     float: right;
     margin: 0 0 1em 1em;
     clear: right;
     padding: 1em;
     font-size: 90%;
     width: 400px;
    line-height: 1.5em;
     width: 22em;
}
}
.infobox-title {
.infobox-title {
     font-size: 2em;
     font-size: 1.35em;
    font-weight: bold;
    background-color: transparent;
    color: inherit;
    border: none;
     text-align: center;
     text-align: center;
    padding: 0.2em;
}
}
.infobox-image {
 
.infobox-row-title {
    width: 35%;
}
 
.infobox-row-header {
     text-align: center;
     text-align: center;
}
}
.infobox th {
 
    text-align: right;
.infobox td, .infobox th {
    vertical-align: top;
    width: 120px;
}
.infobox td {
     vertical-align: top;
     vertical-align: top;
}
}

Latest revision as of 16:55, 15 January 2023

.infobox {
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    color: #000;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: right;
    clear: right;
    font-size: 90%;
    line-height: 1.5em;
    width: 22em;
}

.infobox-title {
    font-size: 1.35em;
    font-weight: bold;
    background-color: transparent;
    color: inherit;
    border: none;
    text-align: center;
    padding: 0.2em;
}

.infobox-row-title {
    width: 35%;
}

.infobox-row-header {
    text-align: center;
}

.infobox td, .infobox th {
    vertical-align: top;
}