Skip to content
Snippets Groups Projects
Commit a24d0dd6 authored by Etienne Kneuss's avatar Etienne Kneuss
Browse files

improve tables

parent 5d12b09e
No related branches found
No related tags found
No related merge requests found
......@@ -502,3 +502,35 @@ and (max-device-width : 768px) {
float: none !important;
}
}
table {
width: 100%;
max-width: 100%;
margin-bottom: 20px;
background-color: transparent;
border-spacing: 0;
border-collapse: collapse;
border: 0px;
}
table>tbody>tr>td, table>tbody>tr>th, table>tfoot>tr>td, table>tfoot>tr>th, table>thead>tr>td, table>thead>tr>th {
padding: 8px;
line-height: 1.42857143;
vertical-align: top;
border-top: 1px solid #ddd;
border-left: 0px;
border-right: 0px;
border-bottom: 0px;
}
table>thead>tr:first-child>th {
border-top: 0;
border-bottom: 2px solid #ddd;
}
table>tbody>tr:nth-of-type(odd) {
background-color: #f9f9f9;
}
table>tbody>tr:hover {
background-color: #f5f5f5;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment