css: move style definitions from counterstyles.cpp to style_manager.cpp