Прошу критики. Можно ли еще как-то упростить код?
html,
body {
margin: 0;
padding: 0;
font-family: “Arial”, sans-serif;
}
body {
min-width: 550px;
min-height: 250px;
padding: 10px;
}
.cards {
width: 500px;
}
.cards li::before {
font-family: “Courier”, monospace;
}
.cards li:not(:first-of-type) {
margin-left: -15px;
}
.cards li:not(:nth-of-type(4)) {
width: 36px;
height: 54px;
}
.cards li:nth-of-type(4) {
margin-right: 30px;
margin-left: 15px;
}
.cards:first-of-type li:last-of-type,
.cards:nth-of-type(2) li:nth-of-type(3),
.cards:nth-of-type(2) li:nth-of-type(5),
.cards:nth-of-type(3) li:first-of-type,
.cards:nth-of-type(3) li:nth-of-type(7) {
background-color: #0099ff;
}
.cards li:nth-of-type(2):not(.club) {
background-color: #ff3300;
}
.cards:last-of-type li:nth-child(3n+1) {
background-color: #339933;
}