research-home-page/css/partials/_tables.scss

44 lines
812 B
SCSS
Raw Normal View History

2020-11-25 12:10:23 +01:00
table {
margin-left: auto;
margin-right: auto;
border-collapse:collapse;
border-spacing:0;
empty-cells:show;
margin-bottom:24px;
border-bottom:1px solid #e1e4e5;
.table-number {
font-weight: bold;
color: #343131;
}
td,th{
font-size:90%;
margin:0;
overflow:visible;
padding:8px 16px;
background-color:white;
border:1px solid #e1e4e5;
}
thead th{
font-weight:bold;
border-top:3px solid #e1e4e5;
border-bottom:1px solid #e1e4e5;
}
caption{
color:#000;
font:italic 85%/1 arial,sans-serif;
padding:1em 0;
}
tr:nth-child(2n-1) td{
background-color:#f3f6f6;
}
tr:nth-child(2n) td{
background-color:white;
}
}