Converting homepage to newly provided HTML5/CSS3 code