Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 4: | Zeile 4: | ||
border-collapse: collapse; | border-collapse: collapse; | ||
margin-top: 15px; | margin-top: 15px; | ||
background-color: # | background-color: #fef4f4; /* Heller Komplementärton zu #cf001b */ | ||
border: 1px solid # | border: 1px solid #cf001b; /* Dezenter Rahmen in Hauptfarbe */ | ||
border-radius: 8px; | border-radius: 8px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
} | } | ||
/* Spezifische Stile für Kopfzellen und Datenzellen | /* Spezifische Stile für Kopfzellen und Datenzellen */ | ||
.lpnon-mod-table > tr > th, | .lpnon-mod-table > tr > th, | ||
.lpnon-mod-table > tr > td, | .lpnon-mod-table > tr > td, | ||
.lpnon-mod-table > * > tr > th, | .lpnon-mod-table > * > tr > th, | ||
.lpnon-mod-table > * > tr > td { | .lpnon-mod-table > * > tr > td { | ||
/* border: 1px solid #cf001b; /* Leichter Kontrast für die Zellenränder */ | |||
padding: | padding: 10px; /* Mehr Platz für Inhalte */ | ||
background-color: inherit; /* | background-color: inherit; /* Beibehaltung der konsistenten Hintergrundfarbe */ | ||
} | } | ||
/* Tabellenkopf-Hintergrund und Textstil */ | /* Tabellenkopf-Hintergrund und Textstil */ | ||
.lpnon-mod-table tr th { | .lpnon-mod-table tr th { | ||
background-color: # | background-color: #f9e8e8; /* Heller Ton für Tabellenkopf */ | ||
color: # | color: #cf001b; /* Hauptfarbe für Text */ | ||
font-weight: bold; | font-weight: bold; | ||
text-align: left; | text-align: left; | ||
/*border-bottom: 1px solid #cf001b; /* Akzentlinie unter dem Header */ | |||
} | } | ||
/* Linke Spalte mit | /* Linke Spalte mit fettgedrucktem Text */ | ||
.lpnon-mod-table td:first-child { | .lpnon-mod-table td:first-child { | ||
font-weight: bold; | font-weight: bold; | ||
color: #333; | |||
} | } | ||
Zeile 44: | Zeile 46: | ||
/* Hover-Effekt für Zeilen */ | /* Hover-Effekt für Zeilen */ | ||
.lpnon-mod-table tr:hover { | .lpnon-mod-table tr:hover { | ||
background-color: # | background-color: #fce8e8; /* Dezenter Hover-Effekt mit Komplementärfarbe */ | ||
} | } | ||
Zeile 51: | Zeile 53: | ||
color: #cf001b; | color: #cf001b; | ||
text-decoration: none; | text-decoration: none; | ||
font-weight: bold; | |||
} | } | ||
Zeile 56: | Zeile 59: | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
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;
}