Bamp (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Bamp (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 16: | Zeile 16: | ||
.infobox-inner-table th { | .infobox-inner-table th { | ||
text-align: left; | text-align: left; | ||
} | } |
Version vom 6. August 2023, 00:50 Uhr
/* GENERAL */ .infobox tr:not(.infobox-head-blue) tr:not(.infobox-head-black) tr:not(.infobox-head-green) tr:not(.infobox-head-grey) { text-align: left; padding-right: 0.5em; } .infobox-inner-table table { border-collapse: collapse; width: 300px; padding: 0; } .infobox-inner-table tr:not(:last-child) { border-bottom: 1px solid #ccc; } .infobox-inner-table th { text-align: left; } /* HEAD OF INFOBOX */ .infobox-head-blue { background-color: #008AFF; color: white; } .infobox-head-black { background-color: #000000; color: white; } .infobox-head-green { background-color: #70AD47; color: white; } .infobox-head-grey { background-color: #808080; color: white; } .infobox-head-blue th, .infobox-head-black th, .infobox-head-green th, .infobox-head-grey th { font-size: 1.5em; font-weight: bold; width: 100%; text-align: center; border-collapse: collapse; } .infobox-head-blue td, .infobox-head-black td, .infobox-head-green td, .infobox-head-grey td { padding-left: 0.5em; } .infobox-head-blue .infobox-head-black .infobox-head-green .infobox-head-grey table { margin: 0; } /* OPTION: INFOBOX ON SIDE */ .infobox-side { padding: 0; width: 325px; margin: 1em 0 1em 1em; float: right; border-collapse: collapse; } .border-blue { border: 1px solid #008AFF; } .border-black { border: 1px solid #000000; } .border-green { border: 1px solid #70AD47; } .border-grey { border: 1px solid #808080; } .infobox-side table { margin-top: 0; margin-right: auto; margin-left: auto; } /* OPTION: INFOBOX ON INLINE (100%) */ .infobox-inline { border: 1px solid #aaa; padding: 0 0.75em 0 0.75em; width: 100%; float: none; clear: both; box-sizing: border-box; } .infobox-inline-icon { margin: 0; padding-right: 2.5em; } .infobox-inline table { margin: 0; } /* INFOBOX IMAGE */ .infobox-image { text-align: center; } /* MONOSPACE */ .monospace { font-family: monospace; } /* MEDIA OPTIONS */ @media (max-width: 719px) { .infobox-side { width: 100%; margin: 0.5em 0 0.5em 0; float: none; clear: both; box-sizing: border-box; } }