Zuletzt bearbeitet vor 5 Monaten
von Xineohp1506

Vorlage:LPON/Mod/styles.css: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Stil für die gesamte Tabelle */
.lpnon-mod-table {
.lpnon-mod-table {
     width: 100%;
     width: 100%;
     border-collapse: collapse;
     border-collapse: collapse;
     margin: 20px 0;
     margin-top: 15px;
    background-color: #fef4f4; /* Heller Komplementärton zu #cf001b */
    border: 1px solid #cf001b; /* Dezenter Rahmen in Hauptfarbe */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
}


.lpnon-mod-table th {
/* Spezifische Stile für Kopfzellen und Datenzellen */
.lpnon-mod-table > tr > th,
.lpnon-mod-table > tr > td,
.lpnon-mod-table > * > tr > th,
.lpnon-mod-table > * > tr > td {
  /* border: 1px solid #cf001b; /* Leichter Kontrast für die Zellenränder */
    padding: 10px; /* Mehr Platz für Inhalte */
    background-color: inherit; /* Beibehaltung der konsistenten Hintergrundfarbe */
}
 
/* Tabellenkopf-Hintergrund und Textstil */
.lpnon-mod-table tr th {
    background-color: #f9e8e8; /* Heller Ton für Tabellenkopf */
    color: #cf001b; /* Hauptfarbe für Text */
    font-weight: bold;
     text-align: left;
     text-align: left;
     padding: 10px;
     /*border-bottom: 1px solid #cf001b; /* Akzentlinie unter dem Header */
    color: #cf001b;
}
 
/* Linke Spalte mit fettgedrucktem Text */
.lpnon-mod-table td:first-child {
     font-weight: bold;
     font-weight: bold;
     border: 1px solid #cf001b;
     color: #333;
}
}


.lpnon-mod-table td {
/* Hintergrundfarbe für abwechselnde Zeilen */
     padding: 10px;
.lpnon-mod-table tr:nth-child(even) {
    border: 1px solid #cf001b;
     background-color: #ffffff;
}
}


.lpnon-mod-table tr:nth-child(odd) {
    background-color: #f7f7f7;
}
/* Hover-Effekt für Zeilen */
.lpnon-mod-table tr:hover {
    background-color: #fce8e8; /* Dezenter Hover-Effekt mit Komplementärfarbe */
}
/* Anpassung für Links innerhalb der Tabelle */
.lpnon-mod-table a {
.lpnon-mod-table a {
     color: #cf001b;
     color: #cf001b;
     text-decoration: none;
     text-decoration: none;
    font-weight: bold;
}
}



Aktuelle Version vom 2. Dezember 2024, 22:57 Uhr

/* Stil für die gesamte Tabelle */
.lpnon-mod-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background-color: #fef4f4; /* Heller Komplementärton zu #cf001b */
    border: 1px solid #cf001b; /* Dezenter Rahmen in Hauptfarbe */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Spezifische Stile für Kopfzellen und Datenzellen */
.lpnon-mod-table > tr > th,
.lpnon-mod-table > tr > td,
.lpnon-mod-table > * > tr > th,
.lpnon-mod-table > * > tr > td {
   /* border: 1px solid #cf001b; /* Leichter Kontrast für die Zellenränder */
    padding: 10px; /* Mehr Platz für Inhalte */
    background-color: inherit; /* Beibehaltung der konsistenten Hintergrundfarbe */
}

/* Tabellenkopf-Hintergrund und Textstil */
.lpnon-mod-table tr th {
    background-color: #f9e8e8; /* Heller Ton für Tabellenkopf */
    color: #cf001b; /* Hauptfarbe für Text */
    font-weight: bold;
    text-align: left;
    /*border-bottom: 1px solid #cf001b; /* Akzentlinie unter dem Header */
}

/* Linke Spalte mit fettgedrucktem Text */
.lpnon-mod-table td:first-child {
    font-weight: bold;
    color: #333;
}

/* Hintergrundfarbe für abwechselnde Zeilen */
.lpnon-mod-table tr:nth-child(even) {
    background-color: #ffffff;
}

.lpnon-mod-table tr:nth-child(odd) {
    background-color: #f7f7f7;
}

/* Hover-Effekt für Zeilen */
.lpnon-mod-table tr:hover {
    background-color: #fce8e8; /* Dezenter Hover-Effekt mit Komplementärfarbe */
}

/* Anpassung für Links innerhalb der Tabelle */
.lpnon-mod-table a {
    color: #cf001b;
    text-decoration: none;
    font-weight: bold;
}

.lpnon-mod-table a:hover {
    text-decoration: underline;
}