CSS: Theme compatibility fixes

Via @allendav, thanks :)