fixed design of index and single-page to work with new CSS styles