factorization of `layout.css'