KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
Zeile 173: | Zeile 173: | ||
display: block; | display: block; | ||
margin-top: 5px!important; | margin-top: 5px!important; | ||
border-top: 1px solid red; | |||
} | } | ||
Version vom 3. Juni 2019, 12:39 Uhr
/*** Diese css-Styles werden von der Vorlage {{TOC2}} autoamtisch eingebunden! ***/ /*** Alle anderen müssen dieses css wie folgt einbinden: <templatestyles src="Vorlage:styles.css" /> ***/ .mw-collapsible-toggle { color:rgba(255, 255, 255, 0.9); display: inline-block; background: #ec971f; border: 1px solid #f0ad4e; border-radius:3px; padding: 0px 3px; font-size:100%; text-align:left; float:none!important; } .wikitable2 { background-color: #f8f9fa; color: #222; margin: 1em 0; border: 1px solid #a2a9b1; border-collapse: collapse; } .wikitable2 > tr > th, .wikitable2 > * > tr > th { background-color: #eaecf0; /* text-align: center;*/ } .wikitable2 > tr > th, .wikitable2 > tr > td, .wikitable2 > * > tr > th, .wikitable2 > * > tr > td { border: 1px solid #a2a9b1; padding: 0.2em 0.4em; line-height:1.9; } .Leerzeile { border-left: solid 1px white; border-right: solid 1px white; background: white; } /*** Formatierungen für Monitore ***/ @media (min-width:769px) { .toc { display: block; max-width: 48%; float: right; margin-left: 3%; font-size:95%; line-height: 125%; } .description { display: block; width: 48%; float:left; } .sichtbar_mobil { display: none; } td { vertical-align: top; } } /*** Formatierungen für Mobil-Geräte ***/ @media (max-width: 768px) { .testen span { float: left; color:blue; } .toctitle { padding: 1px; } .toc { float: none; background: lightgoldenrodyellow; text-align: left; font-size:95%; line-height: 125%; margin-bottom: 12px; } .wikitable td:nth-child(1) { display: block; text-align: left; padding-left: 1px; vertical-align: top; } .wikitable td { display: block; text-align:right; padding-left: 25px; vertical-align: top; } .wikitable th:nth-child(1) { text-align:left; padding-left: 1px; display: block; } .wikitable th { display: block; text-align:right; padding-left: 1px; } .sp_table td { display: block; } span { text-align: left; } .sichtbar_monitor { display: none; } } /*** Formatierung Breakpoint sm ***/ @media (max-width: 576px) { .wikitable2 td:nth-child(1) { display: block; text-align: left; padding-left: 1px; vertical-align: top; font-weight: bolder; color: #555555; } .wikitable2 td { display: block; text-align:right; padding-left: 25px; vertical-align: top; border: 1px solid #a2a9b1!important; border-bottom: 1px solid #eaecf0!important; } .wikitable2 td:last-child { display: block; text-align:right; padding-left: 25px; vertical-align: top; border: 1px solid #a2a9b1!important; } .wikitable2 th { display: block; text-align:right; padding-left: 1px; padding-right: 1.4em!important; border: 1px solid #a2a9b1!important; border-bottom: 1px solid #eaecf0!important; } .wikitable2 th:nth-child(1) { text-align:left; padding-left: 1px; display: block; margin-top: 5px!important; border-top: 1px solid red; } .wikitable2 th:last-child { display: block; text-align:right; padding-left: 1px; border: 1px solid #a2a9b1!important; } }