Base CSS template refactor