added common view for pages
fixed posts views and css rules