Vorlage:InformationLYR/styles.css: Unterschied zwischen den Versionen

Aus CMO
Die Seite wurde neu angelegt: „--------------------------------- Gedichtinformation: Tabellenlayout ---------------------------------: table.gedichtinformation { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 95%; background-color: #fafafa; border: 1px solid #dcdcdc; } table.gedichtinformation td { vertical-align: top; padding: 0.3em 0.6em; border-bottom: 1px solid #e5e5e5; } table.gedichtinformation td:first-child { width: 20%; fo…“
 
Keine Bearbeitungszusammenfassung
Zeile 3: Zeile 3:
   --------------------------------- */
   --------------------------------- */


table.gedichtinformation {
table.informationlyr {
   width: 100%;
   width: 100%;
   border-collapse: collapse;
   border-collapse: collapse;
Zeile 12: Zeile 12:
}
}


table.gedichtinformation td {
table.informationlyr td {
   vertical-align: top;
   vertical-align: top;
   padding: 0.3em 0.6em;
   padding: 0.3em 0.6em;
Zeile 18: Zeile 18:
}
}


table.gedichtinformation td:first-child {
table.informationlyr td:first-child {
   width: 20%;
   width: 20%;
   font-style: italic;
   font-style: italic;
Zeile 25: Zeile 25:
}
}


table.gedichtinformation td:last-child {
table.informationlyr td:last-child {
   width: 80%;
   width: 80%;
   color: #111;
   color: #111;
}
}


table.gedichtinformation tr:last-child td {
table.informationlyr tr:last-child td {
   border-bottom: none;
   border-bottom: none;
}
}
Zeile 44: Zeile 44:
@media print {
@media print {


   table.gedichtinformation {
   table.informationlyr {
     border: 1px solid #999;
     border: 1px solid #999;
     background: none;
     background: none;
Zeile 52: Zeile 52:
   }
   }


   table.gedichtinformation td {
   table.informationlyr td {
     border: none;
     border: none;
     padding: 0.2em 0.5em;
     padding: 0.2em 0.5em;
Zeile 58: Zeile 58:
   }
   }


   table.gedichtinformation td:first-child {
   table.informationlyr td:first-child {
     font-style: italic;
     font-style: italic;
     color: #000;
     color: #000;
Zeile 64: Zeile 64:
   }
   }


   table.gedichtinformation td:last-child {
   table.informationlyr td:last-child {
     width: 75%;
     width: 75%;
   }
   }

Version vom 19. Oktober 2025, 14:32 Uhr

/* ---------------------------------
   Gedichtinformation: Tabellenlayout
   --------------------------------- */

table.informationlyr {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 95%;
  background-color: #fafafa;
  border: 1px solid #dcdcdc;
}

table.informationlyr td {
  vertical-align: top;
  padding: 0.3em 0.6em;
  border-bottom: 1px solid #e5e5e5;
}

table.informationlyr td:first-child {
  width: 20%;
  font-style: italic;
  color: #444;
  white-space: nowrap;
}

table.informationlyr td:last-child {
  width: 80%;
  color: #111;
}

table.informationlyr tr:last-child td {
  border-bottom: none;
}

/* Platzhalter „–“ aus Vorlage:LeeresFeld */
.gf-placeholder {
  color: #999;
}

/* ------------------------------
   Druckansicht
   ------------------------------ */
@media print {

  table.informationlyr {
    border: 1px solid #999;
    background: none;
    font-size: 90%;
    width: 100%;
    page-break-inside: avoid;
  }

  table.informationlyr td {
    border: none;
    padding: 0.2em 0.5em;
    color: #000;
  }

  table.informationlyr td:first-child {
    font-style: italic;
    color: #000;
    width: 25%;
  }

  table.informationlyr td:last-child {
    width: 75%;
  }

  .gf-placeholder {
    color: #555;
  }
}