KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
Zeile 57: | Zeile 57: | ||
} | } | ||
.spgrid { | .spgrid, table { | ||
display: grid; | display: grid; | ||
grid-template-columns: 100%; | grid-template-columns: 100%; | ||
Zeile 65: | Zeile 65: | ||
.spgrid tr > th:first-child { | .spgrid tr > th:first-child { | ||
padding: 15px; | padding: 15px; | ||
grid-column: 1 / 1; | |||
grid-row: 1; | grid-row: 1; | ||
} | } |
Version vom 10. Juli 2019, 08:36 Uhr
.wikitable3 > tbody > tr > td { float: left; text-align:left; padding-left: 2px; vertical-align: top; width: 33.3%; border-left: 1px solid #a2a9b1; /* Rand links zeichnen */ border-right: 1px solid #a2a9b1; /* Rand rechts zeichnen */ border-top: 1px solid #a2a9b1; /* Rand oben dünn zeichnen */ border-bottom: 1px solid #a2a9b1; /* Rand unten durch Hintergrundfarbe ausblenden */ } .table-head { border: 2px solid green; background: lightgoldenrodyellow; } .xtable { display: table; border-spacing: 0.5em; } .xtable-cell {display: table-cell; border: 1px solid grey;} .xtable-row {display: table-row; border: 1px solid red;} .xtable-cell:first-child { display: block; width: 100%; } .spgrid { background-color:grey; color: #222; margin: 0em 0; border: 1px solid green; border-collapse: collapse; } .spgrid th { background-color: #eaecf0; border: 1px solid #a2a9b1; } .spgrid td { background-color: #f8f9fa; border: 1px solid #a2a9b1; padding: 0.2em 0.1em; line-height:1.4; } .spgrid .Leerzeile { border-left: 0; border-right: 0; background: white; } .spgrid, table { display: grid; grid-template-columns: 100%; width: 100%; } .spgrid tr > th:first-child { padding: 15px; grid-column: 1 / 1; grid-row: 1; } .spgrid tr > th:nth-child(2) { padding: 15px; grid-row: 3; } .spgrid tr > td:first-child { padding-top: 15px; grid-row:2; } .spgrid tr > td:nth-child(2) { padding-top: 15px; grid-row:4; }