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