Vorlage:Bildrechte/style.css: Unterschied zwischen den Versionen
RaWen (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
RaWen (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (12 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
/* Container für | /* Container für Content-Box */ | ||
.content-box { | .content-box { | ||
position: relative; | position: relative; | ||
display: inline-block; | display: inline-block; | ||
margin | margin: 1rem 0; | ||
transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1); | transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1); | ||
transform-origin: center; | transform-origin: center; | ||
width: 100%; | width: 100%; | ||
max-width: 500px; | max-width: 500px; | ||
} | } | ||
| Zeile 54: | Zeile 25: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
padding | padding: 0.5rem 0 0 0; | ||
height: 70px; | height: 70px; | ||
} | } | ||
| Zeile 160: | Zeile 130: | ||
} | } | ||
.details { | /* Details-Container */ | ||
.details-container { | |||
border-top: 1px solid rgba(0,0,0,0.08); | border-top: 1px solid rgba(0,0,0,0.08); | ||
} | } | ||
. | /* Grid-Layout für Details */ | ||
display: | .details-grid { | ||
display: grid; | |||
margin | grid-template-columns: 1fr 3fr; | ||
margin: 0; | |||
padding: 0; | |||
} | } | ||
.detail-label { | .detail-label { | ||
font-weight: bold; | font-weight: bold; | ||
margin: 0; | |||
font-size: 0.85rem; | |||
padding: 0.5rem 0; | |||
color: #333; | |||
} | |||
.detail-value { | |||
margin: 0; | |||
font-size: 0.85rem; | |||
padding: 0.5rem 0; | |||
} | |||
/* Trennlinien zwischen den Zeilen */ | |||
.details-grid dt:not(:last-of-type), | |||
.details-grid dd:not(:last-of-type) { | |||
border-bottom: 1px solid rgba(0,0,0,0.05); | |||
} | } | ||
.footer { | .footer { | ||
border-top: 1px solid rgba(0,0,0,0.08); | border-top: 1px solid rgba(0,0,0,0.08); | ||
padding-top: 0.5rem; | padding-top: 0.5rem; | ||
| Zeile 194: | Zeile 180: | ||
display: block; | display: block; | ||
width: auto; | width: auto; | ||
} | } | ||
} | } | ||
| Zeile 222: | Zeile 203: | ||
} | } | ||
.detail- | .details-grid { | ||
grid-template-columns: 1fr; | |||
gap: 0.2rem; | |||
} | |||
.detail-label { | |||
border-bottom: none !important; | |||
padding-bottom: 0; | |||
} | } | ||
.detail-value { | .detail-value { | ||
margin- | padding-top: 0; | ||
margin-bottom: 0.5rem; | |||
} | |||
.details-grid dd:not(:last-child) { | |||
border-bottom: 1px solid rgba(0,0,0,0.05); | |||
padding-bottom: 0.5rem; | |||
margin-bottom: 0.5rem; | |||
} | } | ||
} | } | ||
| Zeile 233: | Zeile 227: | ||
/* Print Styles */ | /* Print Styles */ | ||
@media print { | @media print { | ||
.box-content { | .box-content { | ||
box-shadow: none; | box-shadow: none; | ||
border: 1px solid #000; | border: 1px solid #000; | ||
page-break-inside: avoid; | page-break-inside: avoid; | ||