Back to classes, a couple conditional checks for CSS generation