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