Skip to content

Commit 5865b9a

Browse files
committed
make table nicer
1 parent b240ddd commit 5865b9a

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

assets/main.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,26 @@ body {
957957
Open Sans,
958958
sans-serif;
959959
}
960+
> table {
961+
width: 100%;
962+
border-collapse: collapse;
963+
margin: 1.5rem 0;
964+
font-family: "Inter", sans-serif;
965+
font-size: 1rem;
966+
th,
967+
td {
968+
padding: 0.6rem 0.9rem;
969+
border: 1px solid $overline;
970+
text-align: left;
971+
}
972+
th {
973+
background-color: $tilebg;
974+
font-weight: 600;
975+
}
976+
tbody tr:nth-child(even) {
977+
background-color: $tilebg4;
978+
}
979+
}
960980
@media (max-width: 50rem), (max-device-width: 40rem) {
961981
font-size: 1rem;
962982
line-height: 1.8rem;

0 commit comments

Comments
 (0)