body { font-family: Arial, sans-serif; display: flex; justify-content: center; flex-direction: column; align-items: center; margin-top: 5%; } table { width: 60%; border-collapse: collapse; margin-top: 20px; } th, td { border: 1px solid #ddd; text-align: left; padding: 8px; } th { background-color: #f2f2f2; } tr:nth-child(even) { background-color: #f9f9f9; } .refresh-button { cursor: pointer; border: none; background-color: transparent; display: flex; align-items: center; color: #4CAF50; } .refresh-button:hover { transform: rotate(90deg); } /* Dark Mode styles */ @media (prefers-color-scheme: dark) { body { background-color: #121212; color: #e0e0e0; } table { border-color: #424242; } th { background-color: #333; } tr:nth-child(even) { background-color: #2a2a2a; } .refresh-icon { fill: #90caf9; } } #navbar { background-color: #333; /* Navbar background color */ position: fixed; top: 0; width: 100%; height: 5%; /* Covering the top 20% of the screen */ z-index: 1000; /* Ensures the navbar is on top of other content */ display: flex; justify-content: center; /* Center horizontally */ align-items: center; /* Center vertically */ } #navbar a { text-decoration: none; color: #fff; /* Text color */ padding: 0.75% 20px; /* Padding for each link */ } #navbar a:hover { background-color: #555; /* Background color on hover */ } #navbar a.active { background-color: #555; /* Background color for active link */ }