Template:Infobox.css

Template page
Revision as of 07:09, 28 September 2022 by Couchor (talk | contribs)
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;
}

/*Darkmode */
body.skin-citizen-dark .mw-parser-output .ib {
    /*background-color: #484848;*/
    background-color: #363636;
}
body.skin-citizen-dark .mw-parser-output .ib-row:nth-of-type(2n + 2) {
	background-color: #4e4e4e;
}

body.skin-citizen-dark .ib-subheader {
	background-color: #ddffdd;
	color: #000;
}