MediaWiki:Common.css: Difference between revisions

From PokeHacking Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:
background-image: url('https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg');
background-image: url('https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg');
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: left center;  
background-position: 0.5em 50%;  
}
}

Revision as of 17:33, 11 August 2022

table.tabscrcmd {
	border:2px solid #C6C6C6;
	border-collapse: collapse;
}

table.tabscrcmd td, th { padding: 0px 4px; }

table.tabscrcmd th:nth-child(1) { background-color:#e0e0e0; }
table.tabscrcmd th:nth-child(2) { background-color:#f5f0e1; }
table.tabscrcmd th:nth-child(3) { background-color:#f5f0e1; }
table.tabscrcmd th:nth-child(4) { background-color:#ebf0f5; }
table.tabscrcmd th:nth-child(5) { background-color:#e9f2e6; }

table.tabscrcmd tr:nth-child(odd) td:nth-child(1) { background-color:#f4f4f4; }
table.tabscrcmd tr:nth-child(even) td:nth-child(1) { background-color:#eeeeee; }
table.tabscrcmd tr:nth-child(odd) td:nth-child(2) { background-color:#fff9ea; }
table.tabscrcmd tr:nth-child(even) td:nth-child(2) { background-color:#f7f2e4; }
table.tabscrcmd tr:nth-child(odd) td:nth-child(3) { background-color:#fff9ea; }
table.tabscrcmd tr:nth-child(even) td:nth-child(3) { background-color:#f7f2e4; }
table.tabscrcmd tr:nth-child(odd) td:nth-child(4) { background-color:#f5faff; }
table.tabscrcmd tr:nth-child(even) td:nth-child(4) { background-color:#edf2f7; }
table.tabscrcmd tr:nth-child(odd) td:nth-child(5) { background-color:#f6fff2; }
table.tabscrcmd tr:nth-child(even) td:nth-child(5) { background-color:#eff7eb; }

table.tabscrcmd tr:hover td {background: #ffffff;}

div.note {
	padding: 0.7em 1.9em;
	border: 1px solid #ffcc33;
	background-color: #fff9ea;
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg');
	background-repeat: no-repeat;
	background-position: 0.5em 50%; 
}