restructure css for commands