MediaWiki:Cardtable.css

/* New CardTable CSS stylesheet */ .cftable { background: white; border: 5px solid black; border-radius: 5px; padding: 6px; } .cftable.Red { border-color: #8B0000; } .cftable.Blue { border-color: #1010FF; } .cftable.Green { border-color: #00853E; } .cftable.White { border-color: #FFA00A; } .cftable.Black { border-color: #4B0082; } .cftable.Colorless { border-color: #696969; } .cftable .header { background: black; border-radius: 5px; color: white; font-size: 1.5em; line-height: 1.5em; margin-bottom: 4px; text-align: center; } .cftable .header.Red, .cftable .info-extra.Red th { background: #E62020; } .cftable .header.Blue, .cftable .info-extra.Blue th { background: #4747FF; } .cftable .header.Green, .cftable .info-extra.Green th { background: #74C365; } .cftable .header.White, .cftable .info-extra.White th { background: #FFC54D; color: #000000; } .cftable .header.Black, .cftable .info-extra.Black th { background: #7851A9; } .cftable .header.Colorless, .cftable .info-extra.Colorless th { background: #7851a9; } .cftable [class|="info-"] { float: right; font-size: 0.9em; } .cftable .info-main table { border-spacing: 0 2.5px; } .cftable .info-main table td:first-child { background: black; border-bottom-left-radius: 7px; color: white; text-indent: 8px; } .cftable .info-main.Red table td:first-child { background: #8b0000; } .cftable .info-main.Blue table td:first-child { background: #1010ff; } .cftable .info-main.Green table td:first-child { background: #00853e; } .cftable .info-main.White table td:first-child { background: #ffa00a; color: #000000; } .cftable .info-main.Black table td:first-child { background: #4b0082; } .cftable .info-main.Colorless table td:first-child { background: #696969; } .cftable .info-main td:last-child { background: #eeeeee; border-top-right-radius: 7px; text-indent: 8px; } .cftable .info-extra th { background: #000000; color: #ffffff; } .cftable .sets td { font-size: 80%; line-height: 1em; } .cftable .flavor td { text-align: center; } /* This section does not apply (yet) to WIXOSS, but will be reserved for later. .cftable .tourneystatus td:first-child { width: 90px; background: #000000; color: #ffffff; font-weight: bold; text-align: center; } .cftable .tourneystatus td:last-child { width: 245px; background: #eeeeee; font-weight: bold; text-align: center; } End invalid section */ .cftable .misc table { empty-cells: hide; } .cftable .misc table tr td { width: 25%; text-align: center; }