2024-11-23 15:12:20 +01:00
|
|
|
// NibblePoker CSS Theme - CC0 1.0 (Public Domain)
|
2024-11-04 22:52:24 +01:00
|
|
|
|
2024-11-23 15:12:20 +01:00
|
|
|
/* Site > Tables */
|
2024-11-04 22:52:24 +01:00
|
|
|
|
2024-11-23 17:59:48 +01:00
|
|
|
.table-stylish {
|
|
|
|
border-collapse: separate;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2024-11-04 22:52:24 +01:00
|
|
|
th {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
background-color: #{$color-background-table-dual};
|
|
|
|
}
|
2024-11-23 17:59:48 +01:00
|
|
|
|
2024-11-04 22:52:24 +01:00
|
|
|
tr:not(:last-of-type), th {
|
|
|
|
border-bottom: 1.5px solid #{$color-table-border};
|
|
|
|
}
|
|
|
|
|
|
|
|
tr:nth-child(2n), th {
|
|
|
|
background-color: #{$color-background-table-main};
|
|
|
|
}
|
|
|
|
|
|
|
|
td:not(:last-of-type), th:not(:last-of-type) {
|
|
|
|
border-right: 1.5px solid #{$color-table-border};
|
|
|
|
}
|
2024-11-23 17:59:48 +01:00
|
|
|
|
|
|
|
// Remark: Tables can be rounded if their parent is.
|
|
|
|
// Thank the modern web for that...
|
2024-11-04 22:52:24 +01:00
|
|
|
}
|