MediaWiki:Common.css/Infobox: Difference between revisions

MediaWiki interface page
Tag: Replaced
No edit summary
Tag: Reverted
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
table {
border-spacing: 0;
}
.ib {
    background-color: #eeeeee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    width: 400px;
}
.ib-title {
    font-size: 2em;
    text-align: center;
}
.ib-image {
    text-align: center;
    padding: 15px;
}
.ib-subheader {
text-align: center;
    font-weight: 600;
    font-size: 1.4rem;
    background-color: #ddffdd;
}
.ib-row {
display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.5rem;
    align-items: center;
    padding: 5px;
}
.ib-row:nth-of-type(2n + 2) {
background-color: #e1e1e1;
}
.ib-rowName {
text-align: right;
font-weight: 600;
}
.ib-links {
padding: 5px;
    text-align: center;
}

Revision as of 19:57, 11 September 2022

/* CSS placed here will be applied to all skins */
table {
	border-spacing: 0;
}

.ib {
    background-color: #eeeeee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    width: 400px;
}
.ib-title {
    font-size: 2em;
    text-align: center;
}
.ib-image {
    text-align: center;
    padding: 15px;
}

.ib-subheader {
	text-align: center;
    font-weight: 600;
    font-size: 1.4rem;
    background-color: #ddffdd;
}

.ib-row {
	display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.5rem;
    align-items: center;
    padding: 5px;
}

.ib-row:nth-of-type(2n + 2) {
	background-color: #e1e1e1;
}

.ib-rowName {
	text-align: right;
	font-weight: 600;
}

.ib-links {
	padding: 5px;
    text-align: center;
}