MediaWiki:TableGrid.css

/* ====================    Grid display table ==================== */ /* This is for grid tables, such as , with two axes, and marked cells. */

.wikitable#grid { overflow: hidden; }

.wikitable#grid tr > td:first-of-type { background: #012c57; color: white; } .wikitable#grid tr > td:first-of-type a, .wikitable#grid td:nth-of-type(n+2) a { color: white!important; background: none!important; z-index: 2; } .wikitable#grid tr:hover > td:hover:nth-of-type(n+2) > a:hover { text-decoration: none; }

.wikitable#grid tr:hover > td:hover:nth-of-type(n+2) > a:after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 100%; z-index: 2; }

.wikitable#grid tr > td:nth-child(n+2) { background: #6c97c1; color: #3a3a3a; border-left: none; border-color: #012c57; border-width:.5px; }

.wikitable#grid tr:hover > td:nth-child(n+2) { background: #5c8cbb!important; }

.wikitable#grid tr:hover > td:first-of-type { background: #0b325a; }

.wikitable#grid tr > td#X { background: #002244!important; color: white; border-color: #4e7dab; }

.wikitable#grid tr > td:nth-child(1), .wikitable#grid tr > th { border-color: #4e7dab; border-width: 1px; }

.wikitable#grid th:nth-of-type(n+2):hover { background: #002244!important; }

.wikitable#grid td:nth-of-type(n+2), .wikitable#grid th:nth-of-type(n+2) { position: relative; } .wikitable#grid td:nth-of-type(n+2):hover::after, .wikitable#grid th:nth-of-type(n+2):hover::after { content: ""; position: absolute; background-color: #3772b1; left: 0; top: -5000px; height: 10000px; width: 100%; z-index: 1; opacity: .2; } .wikitable#grid tr > td#sh-2 { background: #5c8cbb; border-color: #4e7dab; color: #012c57; text-align: right; padding-right: 5px; }

.wikitable#grid tr:nth-of-type(even) > td#sh-2 { background: #5280ad; }

.wikitable#grid td#sh-2 a, .wikitable#grid td#sh-2 a:hover { color: #012c57!important; } .wikitable#grid td#sh:nth-of-type(n+2):hover::after, .wikitable#grid td#sh-2:hover::after{ display: none; } .wikitable#grid tr:hover > td#sh { background: #6c97c1!important; } .wikitable#grid tr:hover > td#sh:hover { background: #5c8cbb!important; }