Difference between revisions of "MediaWiki:Common.css"

From Trad Games Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
#fourthed tr:first-child { background-color: #11324a; }
+
.fourthed {
#fourthed tr:nth-child(2n+2) { background-color: #dfdece; }
+
tr:first-child { background-color: #11324a; }
#fourthed tr:nth-child(2n+3) { background-color: #cecdb5; }
+
tr:nth-child(2n+2) { background-color: #dfdece; }
 +
tr:nth-child(2n+3) { background-color: #cecdb5; }
 +
}

Revision as of 13:09, 23 August 2021

/* CSS placed here will be applied to all skins */

.fourthed {
	tr:first-child { background-color: #11324a; }
	tr:nth-child(2n+2) { background-color: #dfdece; }
	tr:nth-child(2n+3) { background-color: #cecdb5; }
}