Difference between revisions of "MediaWiki:Common.css"

From CWRE
Jump to navigation Jump to search
(hopefully, that really belongs in Print.css)
Line 11: Line 11:
 
background: white;
 
background: white;
 
}
 
}
table.listing tr.odd td {
+
table.listing .odd td {
 
background: #eef;
 
background: #eef;
 
}
 
}
table.listing tr.even td {
+
table.listing .even td {
 
background: #fff;
 
background: #fff;
 
}
 
}
table.listing tr.void td {
+
table.listing .void td {
 
color: #888;
 
color: #888;
 
text-decoration:line-through;
 
text-decoration:line-through;
 +
}
 +
/* spoilers and triggery content */
 +
.secret {
 +
  color: black;
 +
  background: black;
 +
}
 +
.secret:hover {
 +
  background: blue;
 
}
 
}

Revision as of 00:57, 3 November 2020

/* CSS placed here will be applied to all skins */
table.listing {
	border: 1px solid black;
	background: radial-gradient(yellow, green);
	box-shadow: 5px 5px 3px 1px #999;
}
table.listing tr th {
	background: #aaf;
}
table.listing tr td {
	background: white;
}
table.listing .odd td {
	background: #eef;
}
table.listing .even td {
	background: #fff;
}
table.listing .void td {
	color: #888;
	text-decoration:line-through;
}
/* spoilers and triggery content */
.secret {
  color: black;
  background: black;
}
.secret:hover {
  background: blue;
}