25.095
Bearbeitungen
RaWen (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
RaWen (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (15 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 2: | Zeile 2: | ||
.infobar { | .infobar { | ||
max-width: 400px; | max-width: 400px; | ||
overflow: | overflow: hidden; | ||
background-color: #f4f4f4; /* | background-color: #f4f4f4; /* Fallback Basisgrau */ | ||
display: flex; | display: flex; | ||
flex-direction: row; | flex-direction: row; | ||
gap: 1. | gap: 1.3rem; | ||
border-radius: 6px; | border-radius: 6px; | ||
padding: | padding: 0.8rem; | ||
margin-bottom: | margin-bottom: 1rem; | ||
color: #333; /* | color: #333; /* Fallback Basisgrau */} | ||
.pagewide { | |||
gap: 0.8rem !important; | |||
padding: 0.25rem !important; | |||
max-width: 100% !important;} | |||
.infobox-inline-text .head { | |||
line-height: 1; /* Zeilenhöhe Kopfzeile */ | |||
flex: 0 0 100%; /* Kopfzeile nimmt die gesamte Zeile ein */ | |||
font-size: 0.9rem; | |||
margin: 0 0 0.5rem 0; | |||
} | |||
.infobar-icon { | .infobar-icon { | ||
| Zeile 24: | Zeile 36: | ||
.infobar-text { | .infobar-text { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; /* Erlaubt Elementen, in die nächste Zeile zu gehen, wenn nicht genug Platz vorhanden ist */ | flex-wrap: wrap; /* Erlaubt Elementen, in die nächste Zeile zu gehen, wenn nicht genug Platz vorhanden ist */ | ||
align-items: center; | align-items: center; | ||
gap: 0. | gap: 0.2rem; /* Definiert sowohl row-gap als auch column-gap */ | ||
width: 100%; | width: 100%; | ||
padding: 0; | padding: 0; | ||
| Zeile 35: | Zeile 47: | ||
.infobar-text .head { | .infobar-text .head { | ||
line-height: 1; | line-height: 1; | ||
flex: 0 0 100%; /* | flex: 0 0 100%; /* Kopf nimmt immer seine eigene Zeile einnimmt */ | ||
font-size: | font-size: 0.9rem;} | ||
.solo { | .solo { | ||
| Zeile 47: | Zeile 59: | ||
line-height: 1.3; | line-height: 1.3; | ||
display: inline-block; | display: inline-block; | ||
align-items: center; | align-items: center; | ||
height: max-content; | height: max-content; | ||
padding: 0. | padding: 0.05rem 0.8rem; | ||
background-color: #fff; /* | background-color: #fff; /* Fallback Hintergrund der Pillen */ | ||
border-radius: 12px; | border-radius: 12px; | ||
font-size: | font-size: 0.75rem;} | ||
.boxless { | .boxless { | ||
| Zeile 76: | Zeile 88: | ||
.infobar-img img { | .infobar-img img { | ||
box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.15); | box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.15); | ||
max-width: 50px !important; | max-width: 50px !important; | ||
max-height: 50px !important; | max-height: 50px !important; | ||
| Zeile 85: | Zeile 97: | ||
@media (max-width: 500px) { | @media (max-width: 500px) { | ||
.infobar { | .infobar { | ||
overflow: scroll; | |||
gap: 1em; | gap: 1em; | ||
max-width: 100% !important;} | max-width: 100% !important;} | ||
.infobar-text { | .infobar-text { | ||
min-width:215px;} | min-width: 215px;} | ||
} | } | ||