KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
Zeile 92: | Zeile 92: | ||
float: left; | float: left; | ||
width: calc(100% / (var(--me-nn) - 1)); | width: calc(100% / (var(--me-nn) - 1)); | ||
padding-left: 1px; | padding-left: 1px; | ||
padding-right: 0.4em; | padding-right: 0.4em; | ||
} | } | ||
Zeile 111: | Zeile 107: | ||
padding-left: 1px; | padding-left: 1px; | ||
padding-right: 0.4em; | padding-right: 0.4em; | ||
} | } | ||
Zeile 122: | Zeile 115: | ||
vertical-align: top; | vertical-align: top; | ||
width: calc(100% / (var(--me-n,3) - 1)); | width: calc(100% / (var(--me-n,3) - 1)); | ||
} | } | ||
Zeile 136: | Zeile 125: | ||
vertical-align: top; | vertical-align: top; | ||
/* font-weight: bolder;*/ | /* font-weight: bolder;*/ | ||
/* color: #555555;*/ | /* color: #555555;*/ | ||
} | } | ||
Zeile 151: | Zeile 136: | ||
vertical-align: top; | vertical-align: top; | ||
width: var(--me-width-2,calc((100% - var(--me-width-3,0%) - var(--me-width-4,0%)) / var(--me-n,4)))!important; | width: var(--me-width-2,calc((100% - var(--me-width-3,0%) - var(--me-width-4,0%)) / var(--me-n,4)))!important; | ||
} | } | ||
Zeile 163: | Zeile 144: | ||
vertical-align: top; | vertical-align: top; | ||
width: var(--me-width-3,calc((100% - var(--me-width-2,0%) - var(--me-width-4,0%)) / var(--me-n,4)))!important; | width: var(--me-width-3,calc((100% - var(--me-width-2,0%) - var(--me-width-4,0%)) / var(--me-n,4)))!important; | ||
} | } | ||
Zeile 175: | Zeile 152: | ||
vertical-align: top; | vertical-align: top; | ||
width: var(--me-width-4,calc((100% - var(--me-width-2,0%) - var(--me-width-3,0%)) / var(--Spalten,var(--me-n,3))))!important; | width: var(--me-width-4,calc((100% - var(--me-width-2,0%) - var(--me-width-3,0%)) / var(--Spalten,var(--me-n,3))))!important; | ||
} | } | ||
.sptable2 > * > tr > th, .sptable2 > tbody > tr > td { | |||
border-top: 1px solid #a2a9b1; /* Rand oben dünn zeichnen */ | |||
border-right: 1px solid #a2a9b1; /* Rand rechts dünn zeichnen */ | |||
border-bottom: 2px solid #a2a9b1; /* Rand unten dick zeichnen */ | |||
border-left: 1px solid #a2a9b1; /* Rand links dünn zeichnen */ | |||
} | |||
.sptable2 > * > tr > th:first-child, .sptable2 > tbody > tr > td:first-child { | |||
border-top: 2px solid #a2a9b1; | |||
border-right: 2px solid #a2a9b1; | |||
border-bottom: 0; /* Rand unten ausblenden */ | |||
border-left: 2px solid #a2a9b1; /* Rand links dick zeichnen */ | |||
} | |||
.sptable2 > * > tr > th:nth-child(2), .sptable2 > tbody > tr > td:nth-child(2) { | |||
border-left: 2px solid #a2a9b1; /* Rand links dick zeichnen */ | |||
} | |||
.sptable2 > * > tr > th:last-child, .sptable2 > tbody > tr > td:last-child { | |||
border-right: 2px solid #a2a9b1; | |||
color:green; | |||
} | |||
} | } |
Version vom 28. Juni 2019, 08:08 Uhr
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */ :root { --me-width: 32%; } .glyphicons { display: inline-block; /*opacity: 1;*/ } body { font-family: Helvetica,Verdana,Arial,sans-serif; font-size: 13px; color: black; background-color: #b40001; text-align: justify; background-position: top center; background-repeat: no-repeat; line-height: 18px; } code { color: #6e251e; } .flexelement.items_n { width: var(--me-width); align-items: stretch; border: 0; padding: 0px; background-color: white; font-size: 110%; text-align: left; /*overflow: hidden;*/ margin: 2px 10px 1px 0px; flex-wrap: wrap; } .sptable2 { background-color:white; color: #222; margin: 0em 0; border: 0; border-collapse: collapse; } .sptable2 th { background-color: #eaecf0; border: 1px solid #a2a9b1; } .sptable2 td { background-color: #f8f9fa; border: 1px solid #a2a9b1; padding: 0.2em 0.1em; line-height:1.4; } .sptable2 .Leerzeile { border-left: 0; border-right: 0; background: white; } .de { {{#vardefine: sp-wiki-lang | de }} } .en { {{#vardefine: sp-wiki-lang | en }} } .language { display: none; } caption { /* Tabellenbeschriftung, die mit |+ formatiert werden, werden oberhalb der Tabelle angezeigt. Der Toggle erscheint direkt daneben */ caption-side: unset; caption-side: top-outside; } /*** Formatierung Breakpoint sm ***/ @media (max-width: 576px) { .sptable2 > * > tr > th { float: left; width: calc(100% / (var(--me-nn) - 1)); padding-left: 1px; padding-right: 0.4em; } .sptable2 { border-collapse: separate; border-spacing: 0.3em; } .sptable2 > * > tr > th:nth-child(1) { display: block; width:100%; text-align: left; padding-left: 1px; padding-right: 0.4em; } .sptable2 > tbody > tr > td { float: left; text-align:left; padding-left: 2px; vertical-align: top; width: calc(100% / (var(--me-n,3) - 1)); } .sptable2 > tbody > tr > td:first-child { display: block!important; width: 100%; text-align: left; padding-left: 1px; vertical-align: top; /* font-weight: bolder;*/ /* color: #555555;*/ } .sptable2 > tbody > tr > td:nth-child(2) { /*float: left;*/ text-align:left; padding-left: 2px; vertical-align: top; width: var(--me-width-2,calc((100% - var(--me-width-3,0%) - var(--me-width-4,0%)) / var(--me-n,4)))!important; } .sptable2 > tbody > tr > td:nth-child(3) { /* float: left;*/ text-align:left; padding-left: 2px; vertical-align: top; width: var(--me-width-3,calc((100% - var(--me-width-2,0%) - var(--me-width-4,0%)) / var(--me-n,4)))!important; } .sptable2 > tbody > tr > td:nth-child(4) { /*float: left;*/ text-align:left; padding-left: 2px; vertical-align: top; width: var(--me-width-4,calc((100% - var(--me-width-2,0%) - var(--me-width-3,0%)) / var(--Spalten,var(--me-n,3))))!important; } .sptable2 > * > tr > th, .sptable2 > tbody > tr > td { border-top: 1px solid #a2a9b1; /* Rand oben dünn zeichnen */ border-right: 1px solid #a2a9b1; /* Rand rechts dünn zeichnen */ border-bottom: 2px solid #a2a9b1; /* Rand unten dick zeichnen */ border-left: 1px solid #a2a9b1; /* Rand links dünn zeichnen */ } .sptable2 > * > tr > th:first-child, .sptable2 > tbody > tr > td:first-child { border-top: 2px solid #a2a9b1; border-right: 2px solid #a2a9b1; border-bottom: 0; /* Rand unten ausblenden */ border-left: 2px solid #a2a9b1; /* Rand links dick zeichnen */ } .sptable2 > * > tr > th:nth-child(2), .sptable2 > tbody > tr > td:nth-child(2) { border-left: 2px solid #a2a9b1; /* Rand links dick zeichnen */ } .sptable2 > * > tr > th:last-child, .sptable2 > tbody > tr > td:last-child { border-right: 2px solid #a2a9b1; color:green; } }