Tables: no alternating colors & add separation
This commit is contained in:
@@ -24,6 +24,11 @@ table {
|
||||
border-bottom:1px solid $color-shadow;
|
||||
}
|
||||
|
||||
// Each group of rows separated by |----+----|
|
||||
tbody {
|
||||
border-top: 3px solid $color-shadow;
|
||||
}
|
||||
|
||||
// Caption
|
||||
caption{
|
||||
color: $color-caption;
|
||||
@@ -40,6 +45,6 @@ table {
|
||||
}
|
||||
|
||||
// Alternating colors for the rows
|
||||
tr:nth-child(2n-1) td{background-color: $color-shadow-light;}
|
||||
tr:nth-child(2n) td{background-color: $white;}
|
||||
// tr:nth-child(2n-1) td{background-color: $color-shadow-light;}
|
||||
// tr:nth-child(2n) td{background-color: $white;}
|
||||
}
|
||||
|
Reference in New Issue
Block a user