slightly simplified in-code stylesheet building