Adjusted the style for panel and main page