client/src/styles/rwd-table.css
@import "https://fonts.googleapis.com/css?family=Montserrat:300,400,700";
.rwd-table {
background: #34495E;
border-radius: .4em;
color: #fff;
margin: 1em 0;
min-width: 300px;
}
.rwd-table tr {
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
.rwd-table th, .rwd-table td {
margin: .5em 1em;
text-align: justify;
}
.rwd-table th {
display: none;
}
.rwd-table td {
display: block;
}
.rwd-table td:first-child {
padding-top: .5em;
}
.rwd-table td:last-child {
padding-bottom: .5em;
}
.rwd-table tr {
border-color: #46637f;
}
.rwd-table th, .rwd-table td:before {
color: #dd5;
}
@media (min-width: 480px) {
.rwd-table td:before {
display: none;
}
.rwd-table th, .rwd-table td {
display: table-cell;
padding: 1em !important;
}
.rwd-table th:first-child, .rwd-table td:first-child {
padding-left: 0;
}
.rwd-table th:last-child, .rwd-table td:last-child {
padding-right: 0;
}
}