No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
.infobox { | |||
--giga-chip-background-light: #f7cee7; | --giga-chip-background-light: #f7cee7; | ||
--mega-chip-background-light: #adefef; | --mega-chip-background-light: #adefef; | ||
Line 8: | Line 8: | ||
} | } | ||
html.skin-citizen-light { | html.skin-citizen-light .infobox { | ||
--giga-chip-background: var(--giga-chip-background-light); | --giga-chip-background: var(--giga-chip-background-light); | ||
--mega-chip-background: var(--mega-chip-background-light); | --mega-chip-background: var(--mega-chip-background-light); | ||
Line 14: | Line 14: | ||
} | } | ||
html.skin-citizen-dark { | html.skin-citizen-dark .infobox { | ||
--giga-chip-background: var(--giga-chip-background-dark); | --giga-chip-background: var(--giga-chip-background-dark); | ||
--mega-chip-background: var(--mega-chip-background-dark); | --mega-chip-background: var(--mega-chip-background-dark); | ||
Line 21: | Line 21: | ||
@media (prefers-color-scheme: light) { | @media (prefers-color-scheme: light) { | ||
html.skin-citizen-auto { | html.skin-citizen-auto .infobox { | ||
--giga-chip-background: var(--giga-chip-background-light); | --giga-chip-background: var(--giga-chip-background-light); | ||
--mega-chip-background: var(--mega-chip-background-light); | --mega-chip-background: var(--mega-chip-background-light); | ||
Line 29: | Line 29: | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
html.skin-citizen-auto { | html.skin-citizen-auto .infobox { | ||
--giga-chip-background: var(--giga-chip-background-dark); | --giga-chip-background: var(--giga-chip-background-dark); | ||
--mega-chip-background: var(--mega-chip-background-dark); | --mega-chip-background: var(--mega-chip-background-dark); |
Revision as of 18:03, 22 October 2022
.infobox {
--giga-chip-background-light: #f7cee7;
--mega-chip-background-light: #adefef;
--dark-chip-background-light: #b58cd6;
--giga-chip-background-dark: #63535D;
--mega-chip-background-dark: #486363;
--dark-chip-background-dark: #544163;
}
html.skin-citizen-light .infobox {
--giga-chip-background: var(--giga-chip-background-light);
--mega-chip-background: var(--mega-chip-background-light);
--dark-chip-background: var(--dark-chip-background-light);
}
html.skin-citizen-dark .infobox {
--giga-chip-background: var(--giga-chip-background-dark);
--mega-chip-background: var(--mega-chip-background-dark);
--dark-chip-background: var(--dark-chip-background-dark);
}
@media (prefers-color-scheme: light) {
html.skin-citizen-auto .infobox {
--giga-chip-background: var(--giga-chip-background-light);
--mega-chip-background: var(--mega-chip-background-light);
--dark-chip-background: var(--dark-chip-background-light);
}
}
@media (prefers-color-scheme: dark) {
html.skin-citizen-auto .infobox {
--giga-chip-background: var(--giga-chip-background-dark);
--mega-chip-background: var(--mega-chip-background-dark);
--dark-chip-background: var(--dark-chip-background-dark);
}
}
.infobox.chip-class-giga {
background: var(--giga-chip-background);
}
.infobox.chip-class-mega {
background: var(--mega-chip-background);
}
.infobox.chip-class-dark {
background: var(--dark-chip-background);
}