MediaWiki:Common.css: Difference between revisions

From Xenharmonic Reference
m Make sure .thl highlights th cells
mNo edit summary
Line 5: Line 5:


/* XenBase class="thl" selector, for highlighting table cells */
/* XenBase class="thl" selector, for highlighting table cells */
.thl, .wikitable > * > tr > th .thl {
.thl, .wikitable .thl {
color: #000;
color: #000;
background-color: #cba;
background-color: #cba;

Revision as of 15:54, 19 December 2025

/* XenBase class="adv" selector, TODO finish formatting */
.adv {
    opacity: 0.67; /* 67% opacity */
}

/* XenBase class="thl" selector, for highlighting table cells */
.thl, .wikitable .thl {
	color: #000;
	background-color: #cba;
}

@media (prefers-color-scheme: light) {
.prime2 {
background-color: #BFBFBF !important;
color: black !important;
}
.prime3 {
background-color: #DC9580 !important;
color: black !important;
}
.prime5 {
background-color: #C0FE9E !important;
color: black !important;
}
.prime7 {
background-color: #9783D5 !important;
color: black !important;
}
.prime11 {
background-color: #F6F98E !important;
color: black !important;
}
.prime13 {
background-color: #BB82CE !important;
color: black !important;
}
.prime17 {
background-color: #ABF0FE !important;
color: black !important;
}
.prime19 {
background-color: #A6FED6 !important;
color: black !important;
}
.prime23 {
background-color: #E9C786 !important;
color: black !important;
}
.prime29 {
background-color: #8586E2 !important;
color: black !important;
}
.prime31 {
background-color: #8ABDFD !important;
color: black !important;
}
.acc0 {
background-color: #EBF !important;
color: black !important;
}
.acc1 {
background-color: #BBEEEE !important;
color: black !important;
}
.acc2 {
background-color: #BBFFD3 !important;
color: black !important;
}
.acc3 {
background-color: #CCFFBB !important;
color: black !important;
}
.acc4 {
background-color: #E8FFBB !important;
color: black !important;
}
.acc5 {
background-color: #FFF8BB !important;
color: black !important;
}
.acc6 {
background-color: #FFD8BB !important;
color: black !important;
}
.acc7 {
background-color: #FFBBBB !important;
color: black !important;
}
}

@media (prefers-color-scheme: dark) {
.prime2 {
background-color: #3F3F3F !important;
color: white !important;
}
.prime3 {
background-color: #5D1601 !important;
color: white !important;
}
.prime5 {
background-color: #417F1F !important;
color: white !important;
}
.prime7 {
background-color: #180456 !important;
color: white !important;
}
.prime11 {
background-color: #777A0F !important;
color: white !important;
}
.prime13 {
background-color: #3C034F !important;
color: white !important;
}
.prime17 {
background-color: #2C717F !important;
color: white !important;
}
.prime19 {
background-color: #277F57 !important;
color: white !important;
}
.prime23 {
background-color: #6A4807 !important;
color: white !important;
}
.prime29 {
background-color: #060763 !important;
color: white !important;
}
.prime31 {
background-color: #0B3E7E !important;
color: white !important;
}
.acc0 {
background-color: #304 !important;
color: white !important;
}
.acc1 {
background-color: #033 !important;
color: white !important;
}
.acc2 {
background-color: #004418 !important;
color: white !important;
}
.acc3 {
background-color: #140 !important;
color: white !important;
}
.acc4 {
background-color: #2D4400 !important;
color: white !important;
}
.acc5 {
background-color: #443D00 !important;
color: white !important;
}
.acc6 {
background-color: #441D00 !important;
color: white !important;
}
.acc7 {
background-color: #440000 !important;
color: white !important;
}
}