add offline layout styles and markup