styling index page and modal