Template:Infobox.css: Difference between revisions

Template page
No edit summary
Tag: Reverted
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 6: Line 6:
     background-color: #eeeeee;
     background-color: #eeeeee;
     border: 1px solid #aaa;
     border: 1px solid #aaa;
    clear: right;
     float: right;
     float: right;
     margin: 0 0 1em 1em;
     margin: 0 0 1em 1em;
Line 48: Line 49:
     text-align: center;
     text-align: center;
}
}
.flag {
display: flex;
column-gap: 5px;
    align-items: center;
}
.flag a { display: flex; }


/*Darkmode */
/*Darkmode */
body.skin-citizen .mw-parser-output .ib {
html.skin-citizen-dark .ib {
     /*background-color: #484848;*/
     /*background-color: #484848;*/
     background-color: #363636;
     background-color: #363636;
}
}
body.skin-citizen .mw-parser-output .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;
}
}

Latest revision as of 20:50, 22 October 2023

table {
	border-spacing: 0;
}

.ib {
    background-color: #eeeeee;
    border: 1px solid #aaa;
    clear: right;
    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;
}

.flag {
	display: flex;
	column-gap: 5px;
    align-items: center;
}

.flag a { display: flex; }

/*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;
}