MediaWiki:Common.css: Difference between revisions

From Drama Chaser
No edit summary
No edit summary
Line 3: Line 3:
.infobox {
.infobox {
     2px solid #572917;
     2px solid #572917;
border-spacing: 3px;
background-color: #e9dfc9;
background-color: #e9dfc9;
     float: right;
     float: right;
Line 14: Line 13:
     font-size: 2em;
     font-size: 2em;
     text-align: center;
     text-align: center;
     margin-top: 25px;
     }
}


.infobox-image {
.infobox-image {
     text-align: center;
     text-align: center;
    max-width: 100%;
    height: auto;
}
}


Line 24: Line 24:
     text-align: right;
     text-align: right;
     vertical-align: top;
     vertical-align: top;
     width: 350px;
     width: 120px;
}
}



Revision as of 08:35, 23 April 2024

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

.infobox {
    2px solid #572917;
	background-color: #e9dfc9;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}

.infobox-title {
    font-size: 2em;
    text-align: center;
    }

.infobox-image {
    text-align: center;
    max-width: 100%;
    height: auto;
}

.infobox-table th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}

.infobox-table td {
    vertical-align: top;
}