body { margin: 0 0 0 2%; width: 102%; } /* Tableau */ table { font-size: 13px; text-align: center; border-collapse: collapse; white-space: nowrap; } th, td { padding: 2px; border: 1px solid black; --text-color: lightgrey; } .all-choices { background-color: #28a745; /* color: #8fd19e; */ color: white; } .half-choices { background-color: #8fd19e; color: black; } .last-choice { background-color: #ffdf7e; color: grey; } .no-choice { background-color: #ed969e; } .never-available { background-color: lightgrey; }