Vorlage:Bildrechte/style.css: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Container für Überschrift+Content-Box */
/* Container für Content-Box */
.content-box {
.content-box {
     position: relative;
     position: relative;
     display: inline-block;
     display: inline-block;
     margin-bottom: 1.5rem;
     margin: 1rem 0;
    z-index: 1;
     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;
}
/* Header-Tab */
.box-header {
  position: relative;
  width: max-content;
  max-width: 85%;
  padding: 0.7rem 0.8rem;
  background: rgba(0,0,0,0.08);
  border-radius: 6px 6px 0 0;
  margin: 0;
  margin-bottom: -5px;
}
.box-header h2 {
  font-size: 0.9rem;
  margin: -2px 0 0 0;
  padding: 0;
  font-weight: bold;
  border-bottom: 0;
  color: #222;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}
}


Zeile 48: Zeile 25:
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
   padding-top: 0.5rem;
   padding: 0.5rem 0 0 0;
   height: 70px;
   height: 70px;
  padding-bottom: 0.5rem;
}
}


Zeile 156: Zeile 132:
/* Details-Container */
/* Details-Container */
.details-container {
.details-container {
  margin: 1rem 0;
   border-top: 1px solid rgba(0,0,0,0.08);
   border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 0.5rem;
}
}


Zeile 164: Zeile 138:
.details-grid {
.details-grid {
   display: grid;
   display: grid;
   grid-template-columns: 1fr 2fr;
   grid-template-columns: 1fr 3fr;
  gap: 0.4rem 0rem;
   margin: 0;
   margin: 0;
   padding: 0;
   padding: 0;
Zeile 174: Zeile 147:
   margin: 0;
   margin: 0;
   font-size: 0.85rem;
   font-size: 0.85rem;
  padding: 0.5rem 0;
   color: #333;
   color: #333;
}
}
Zeile 180: Zeile 154:
   margin: 0;
   margin: 0;
   font-size: 0.85rem;
   font-size: 0.85rem;
  padding: 0.5rem 0;
}
}


Zeile 189: Zeile 164:


.footer {
.footer {
  margin-top: 1rem;
   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 206: Zeile 180:
     display: block;
     display: block;
     width: auto;
     width: auto;
  }
  /* Box-Header bleibt bei Textbreite */
  .box-header {
    max-width: 85%;
   }
   }
}
}
Zeile 258: Zeile 227:
/* Print Styles */
/* Print Styles */
@media print {
@media print {
  .box-header,
   .box-content {
   .box-content {
     box-shadow: none;
     box-shadow: none;
  }
  .box-content {
     border: 1px solid #000;
     border: 1px solid #000;
     page-break-inside: avoid;
     page-break-inside: avoid;