fix error.php layout typo
add offile page styles and markup