.wikitable2 { background-color:white; color: #222; margin: 1em 0; border: 1px solid white; border-collapse: separate; } .wikitable2 th { background-color: #eaecf0; } .wikitable2 td { background-color: #f8f9fa; border: 1px solid #a2a9b1; padding: 0.2em 0.4em; line-height:1.9; /* empty-cells: hide;*/ } .wikitable2 .Leerzeile { border-left: solid 1px green; border-right: solid 1px green; background: yellow; } td:empty { background: thistle; } /* small */ @media (max-width: 576px) { .wikitable2 td { display: block; background: lightgoldenrodyellow; empty-cells: hide!important; } .wikitable2 td:empty { display: block; background: yellowgreen; empty-cells: hide!important; } .wikitable2 .Leerzeile { display: block; background: paleturquoise; empty-cells: hide!important; } }
Vorlage:Test.css
Aus Securepoint Wiki