Introduction du nouveau thème
This commit is contained in:
46
themes/42/assets/css/table.css
Normal file
46
themes/42/assets/css/table.css
Normal file
@@ -0,0 +1,46 @@
|
||||
table {
|
||||
max-width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin: var(--margin) auto;
|
||||
line-height: 1.5;
|
||||
border: var(--border-panel-outer);
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
thead {
|
||||
background: var(--background-panel-stats);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
thead th {
|
||||
padding: var(--padding-half) var(--padding);
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
tbody td {
|
||||
padding: var(--padding-half) var(--padding);
|
||||
vertical-align: top;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* Alternance des lignes */
|
||||
tbody tr:nth-child(even) td {
|
||||
background-color: var(--background-body-alt);
|
||||
}
|
||||
|
||||
/* Survol ligne */
|
||||
tbody tr:hover td {
|
||||
background-color: var(--color-hr-glow);
|
||||
}
|
||||
|
||||
/* Survol cellule */
|
||||
tbody td:hover {
|
||||
background-color: var(--color-hr-glow);
|
||||
}
|
||||
|
||||
/* Pied du tableau */
|
||||
tfoot td {
|
||||
padding: var(--padding-half) var(--padding);
|
||||
font-style: italic;
|
||||
}
|
||||
Reference in New Issue
Block a user