Create a web page with for a rugby players of Walter Sisulu University database. We need a database of all players since 2010 and be able to have a database of players that played since 2016 when we qualified for the FNB Varsity Shield Competition and and clubs they have played for after. We also need to have a column of players who have graduated and their qualifications. The Database of coaches too whoa have coached the club.
715c874 verified | body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| line-height: 1.6; | |
| color: #333; | |
| background-color: #f5f5f5; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 2rem auto; | |
| padding: 0 1rem; | |
| } | |
| h1 { | |
| color: #1a365d; | |
| text-align: center; | |
| margin-bottom: 2rem; | |
| } | |
| .filters { | |
| display: flex; | |
| gap: 1rem; | |
| margin-bottom: 2rem; | |
| justify-content: center; | |
| } | |
| select, button { | |
| padding: 0.5rem 1rem; | |
| border: 1px solid #ccc; | |
| border-radius: 4px; | |
| background-color: white; | |
| } | |
| .tabs { | |
| display: flex; | |
| margin-bottom: 1rem; | |
| border-bottom: 1px solid #ccc; | |
| } | |
| .tab-btn { | |
| padding: 0.5rem 1rem; | |
| background: none; | |
| border: none; | |
| cursor: pointer; | |
| font-weight: bold; | |
| } | |
| .tab-btn.active { | |
| border-bottom: 3px solid #1a365d; | |
| color: #1a365d; | |
| } | |
| .tab-content { | |
| display: none; | |
| } | |
| .tab-content.active { | |
| display: block; | |
| } | |
| table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| margin-top: 1rem; | |
| background-color: white; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| } | |
| th, td { | |
| padding: 0.75rem; | |
| text-align: left; | |
| border-bottom: 1px solid #ddd; | |
| } | |
| th { | |
| background-color: #1a365d; | |
| color: white; | |
| position: sticky; | |
| top: 0; | |
| } | |
| tr:hover { | |
| background-color: #f1f1f1; | |
| } | |
| .player-photo { | |
| width: 50px; | |
| height: 50px; | |
| border-radius: 50%; | |
| object-fit: cover; | |
| } | |
| .varsity-shield { | |
| font-weight: bold; | |
| color: #2b6cb0; | |
| } | |
| .graduated { | |
| color: #38a169; | |
| } | |
| .not-graduated { | |
| color: #e53e3e; | |
| } | |
| @media (max-width: 768px) { | |
| .filters { | |
| flex-direction: column; | |
| } | |
| table { | |
| font-size: 0.8rem; | |
| } | |
| th, td { | |
| padding: 0.5rem; | |
| } | |
| } |