Template:Infobox.css: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 50: Line 50:


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


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

Revision as of 10:12, 28 September 2022

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 */
html.skin-citizen-dark .ib {
    /*background-color: #484848;*/
    background-color: #363636;
}
html.skin-citizen-dark .ib-row:nth-of-type(2n + 2) {
	background-color: #4e4e4e;
}

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