(Couchor changed the content model of the page Template:Infobox.css from "wikitext" to "Sanitized CSS") Tag: content model change |
mNo edit summary |
||
(11 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 14: | Line 15: | ||
text-align: center; | text-align: center; | ||
} | } | ||
.ib-image { | .ib-image { | ||
text-align: center; | text-align: center; | ||
Line 46: | Line 48: | ||
padding: 5px; | padding: 5px; | ||
text-align: center; | 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; | |||
} | } |
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;
}