table { margin-left: auto; margin-right: auto; border-collapse:collapse; border-spacing:0; empty-cells:show; margin-bottom:24px; border-bottom:3px solid $color-shadow; // Cell Style td,th{ font-size:90%; margin:0; overflow:visible; padding:8px 16px; background-color: $white; border:1px solid $color-shadow; } // First Line of the Table thead th{ font-weight: $bold; border-top:3px solid $color-shadow; border-bottom:1px solid $color-shadow; } // Caption caption{ color: $color-caption; font-size: 0.85em; font-family: $serif; font-style: italic; padding:1em 0; // "Table x" part .table-number { font-weight: $bold; color: $color-caption-num; } } // Alternating colors for the rows tr:nth-child(2n-1) td{background-color: $color-shadow-light;} tr:nth-child(2n) td{background-color: $white;} }