penguincoder-org/sass/_tables.scss

18 lines
427 B
SCSS

table {
text-align: left;
border-collapse: collapse;
border-spacing: 0;
width: 100%;
margin: 0;
border: 1px solid var(--primary-text-color);
}
table td,
table th {
padding: 1rem;
border-bottom: 1px solid var(--primary-text-color);
border-right: 1px solid var(--primary-text-color);
}
table tr:nth-child(2n) { background-color: #f6f8fa; }
.table-responsive { overflow-x: auto; }