|
|
| Zeile 782: |
Zeile 782: |
| width: auto !important; | | width: auto !important; |
| } | | } |
| }
| |
| /* === Desktop-Layout der Biobox wiederherstellen === */
| |
| @media (min-width: 1024px) {
| |
| .mw-parser-output table.biobox {
| |
| float: right !important;
| |
| clear: right !important;
| |
| width: 22em !important;
| |
| margin: 0.5em 0 1em 1em !important;
| |
| }
| |
| /* Text soll direkt neben der Biobox starten */
| |
| .mw-parser-output > p:first-of-type {
| |
| clear: none !important;
| |
| margin-top: 0 !important;
| |
| }
| |
| }
| |
|
| |
| /* === Leere Social-Leiste neutralisieren (verhindert "Luft" vor dem Text) === */
| |
| .mw-parser-output .bio-social {
| |
| float: right;
| |
| margin: 0 0 0 1em; /* wie die Biobox, aber ohne Extra-Top-Abstand */
| |
| }
| |
|
| |
| /* Wenn der Browser :has unterstützt: leere Leiste komplett ausblenden */
| |
| .mw-parser-output .bio-social:not(:has(td)) {
| |
| display: none !important;
| |
| }
| |
|
| |
| /* Fallback ohne :has: leere Tabelle auf 0 Höhe schrumpfen */
| |
| .mw-parser-output .bio-social table {
| |
| background: transparent !important;
| |
| border: 0 !important;
| |
| border-collapse: collapse;
| |
| margin: 0 !important;
| |
| padding: 0 !important;
| |
| font-size: 0; /* nimmt leeren Tabellen die Höhe */
| |
| line-height: 0;
| |
| }
| |
| .mw-parser-output .bio-social td { /* sobald Zellen da sind, normale Typo */
| |
| font-size: inherit;
| |
| line-height: inherit;
| |
| }
| |
|
| |
| /* Bild in der Biobox bündig ohne zusätzliche Luft/Rahmen */
| |
| .mw-parser-output table.biobox td.biobox-photo {
| |
| padding: 0 !important;
| |
| line-height: 0 !important;
| |
| background: transparent !important;
| |
| border: 0 !important;
| |
| }
| |
| .mw-parser-output table.biobox td.biobox-photo a.image,
| |
| .mw-parser-output table.biobox td.biobox-photo img,
| |
| .mw-parser-output table.biobox td.biobox-photo .mw-file-element,
| |
| .mw-parser-output table.biobox .thumb,
| |
| .mw-parser-output table.biobox .thumbinner {
| |
| display: block !important;
| |
| width: 100% !important;
| |
| height: auto !important;
| |
| margin: 0 !important;
| |
| padding: 0 !important;
| |
| border: 0 !important;
| |
| background: transparent !important;
| |
| box-shadow: none !important;
| |
| } | | } |