factored out in-line css