Move inline styles to css

Move inline styles to css in order to prevent CSP (Content Security
Policy) warnings