Try to write CSS in pythonic way