Fixed two minor bugs

Now the theme can pass HTML5 and CSS3 validate.