KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
| Zeile 30: | Zeile 30: | ||
} | } | ||
. | |||
.spgrid { | |||
display: grid; | |||
grid-template-columns: 100%; | |||
} | } | ||
.spgrid th:first-child { | |||
padding: 15px; | |||
grid-column: 1; | |||
} | |||
.spgrid th:nth-child(2) { | |||
padding: 15px; | |||
grid-column: 3; | |||
} | |||
.spgrid td:first-child { | |||
padding-top: 15px; | |||
grid-column:2; | |||
} | |||
.spgrid td:nth-child(2) { | |||
padding-top: 15px; | |||
grid-column:4; | |||
} | |||
.spgrid { | |||
background-color:white; | |||
color: #222; | |||
margin: 0em 0; | |||
border: 0; | |||
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; | |||
} | |||
Version vom 10. Juli 2019, 07:13 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;
}
.table {
display: table;
border-spacing: 0.5em;
}
.table-cell {display: table-cell; border: 1px solid grey;}
.table-row {display: table-row; border: 1px solid red;}
.table-cell:first-child {
display: block;
width: 100%;
}
.spgrid {
display: grid;
grid-template-columns: 100%;
}
.spgrid th:first-child {
padding: 15px;
grid-column: 1;
}
.spgrid th:nth-child(2) {
padding: 15px;
grid-column: 3;
}
.spgrid td:first-child {
padding-top: 15px;
grid-column:2;
}
.spgrid td:nth-child(2) {
padding-top: 15px;
grid-column:4;
}
.spgrid {
background-color:white;
color: #222;
margin: 0em 0;
border: 0;
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;
}