mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-28 13:31:06 +00:00
ac0b47eca9
Fixes deleting maps form contests
44 lines
695 B
SCSS
44 lines
695 B
SCSS
/*
|
|
Generic Tables
|
|
*/
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
margin: ($base-line-height / 2) 0;
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
}
|
|
|
|
th {
|
|
border-bottom: 1px solid darken($base-border-color, 15%);
|
|
font-weight: bold;
|
|
padding: 0.5em 0;
|
|
text-align: left;
|
|
}
|
|
|
|
td {
|
|
border-bottom: 1px solid $base-border-color;
|
|
padding: 0.5em 0;
|
|
}
|
|
|
|
tr, td, th {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
table.striped > tbody {
|
|
> tr {
|
|
td:first-child,
|
|
th:first-child {
|
|
padding-left: ($base-line-height / 2);
|
|
}
|
|
|
|
td:last-child,
|
|
th:last-child {
|
|
padding-right: ($base-line-height / 2);
|
|
}
|
|
}
|
|
|
|
> tr:nth-child(2n) td {
|
|
background-color: transparentize($light-blue, 0.9);
|
|
}
|
|
}
|