Html Define Css Class Inheritance Python