102 lines
2.9 KiB
CSS
102 lines
2.9 KiB
CSS
/* Globale Stile */
|
|
body { font-family: sans-serif; margin: 2em; }
|
|
nav { background: #f4f4f4; padding: 1em; margin-bottom: 2em; }
|
|
nav a { margin-right: 1em; text-decoration: none; color: #333; font-weight: bold; }
|
|
|
|
/* Dropdown in der Navigation (Info -> Quoten / Geldrangliste) */
|
|
.nav-dropdown { position: relative; display: inline-block; }
|
|
.nav-dropdown-content {
|
|
display: none;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 100%;
|
|
z-index: 10;
|
|
min-width: 12em;
|
|
padding: 0.5em 0;
|
|
background: #f4f4f4;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
|
|
}
|
|
.nav-dropdown-content a { display: block; margin: 0; padding: 0.3em 1em; font-weight: normal; }
|
|
.nav-dropdown-content a:hover { background: #e4e4e4; }
|
|
.nav-dropdown-form { margin: 0.3em 0 0; padding-top: 0.3em; border-top: 1px solid #ccc; }
|
|
.nav-dropdown-form button {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 0.3em 1em;
|
|
border: none;
|
|
background: none;
|
|
color: #333;
|
|
font: inherit;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
}
|
|
.nav-dropdown-form button:hover { background: #e4e4e4; }
|
|
.nav-dropdown-form small { color: #777; }
|
|
.nav-dropdown-content { white-space: nowrap; }
|
|
.nav-dropdown:hover .nav-dropdown-content,
|
|
.nav-dropdown:focus-within .nav-dropdown-content { display: block; }
|
|
|
|
/* Standard-Tabellen */
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
max-width: 800px;
|
|
margin-top: 1em;
|
|
}
|
|
th, td { border: 1px solid #ccc; padding: 8px; text-align: left; }
|
|
th { background-color: #f4f4f4; }
|
|
/* tr:nth-child(even) { background-color: #f9f9f9; } */ /* Deaktiviert, da es mit Zell-Farben interferiert */
|
|
|
|
/* Utility-Klassen */
|
|
.text-center { text-align: center !important; }
|
|
|
|
/* Container für breite, scrollbare Tabellen (Rangliste, Rundenansicht) */
|
|
.table-container {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
margin-top: 20px;
|
|
}
|
|
/* Spezifische Stile für Tabellen in diesem Container */
|
|
.table-container table {
|
|
width: auto;
|
|
min-width: 100%;
|
|
}
|
|
|
|
/* Stile für Zellen in Rangliste/Rundenansicht */
|
|
td.tipp-cell { text-align: center !important; position: relative; }
|
|
td.tipp-cell.col_exact { background-color: orange !important; color: white; } /* Exaktes Ergebnis */
|
|
td.tipp-cell.col_tendenz { background-color: grey !important; color: white; } /* Richtige Tendenz */
|
|
td.tipp-cell.col_joker_exact { background-color: red !important; color: white; } /* Exaktes Ergebnis mit Joker */
|
|
|
|
.round-filter { margin-bottom: 20px; }
|
|
.joker-icon {
|
|
width: 1.1em;
|
|
height: 1.1em;
|
|
vertical-align: text-bottom;
|
|
margin-left: 4px;
|
|
}
|
|
th.game-header { white-space: normal; }
|
|
|
|
/* Legende */
|
|
.legend {
|
|
margin: 20px 0;
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
background-color: #f9f9f9;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
align-items: center;
|
|
}
|
|
.legend-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
.legend-color {
|
|
width: 20px;
|
|
height: 20px;
|
|
border: 1px solid #666;
|
|
}
|