make creation of css parts a little less insane. also, let's actually use those duration values
centralize option handling into one function