Reformat tables

This commit is contained in:
Thomas Dehaeze 2020-11-26 13:41:42 +01:00
parent 5e68068c7f
commit 8a852c1147

View File

@ -5,13 +5,9 @@ table {
border-spacing:0;
empty-cells:show;
margin-bottom:24px;
border-bottom:1px solid #e1e4e5;
.table-number {
font-weight: bold;
color: #343131;
}
border-bottom:3px solid #e1e4e5;
// Cell Style
td,th{
font-size:90%;
margin:0;
@ -21,23 +17,27 @@ table {
border:1px solid #e1e4e5;
}
// First Line of the Table
thead th{
font-weight:bold;
border-top:3px solid #e1e4e5;
border-bottom:1px solid #e1e4e5;
}
// Caption
caption{
color:#000;
font:italic 85%/1 arial,sans-serif;
padding:1em 0;
// "Table x" part
.table-number {
font-weight: bold;
color: #343131;
}
}
tr:nth-child(2n-1) td{
background-color:#f3f6f6;
}
tr:nth-child(2n) td{
background-color:white;
}
// Alternating colors for the rows
tr:nth-child(2n-1) td{background-color:#f3f6f6;}
tr:nth-child(2n) td{background-color:white;}
}