Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a Sports Entertainment website created using html and CSS. #878

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added SPORTS WEBSITE/BUNDESLIGA.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added SPORTS WEBSITE/CHAMPIONS LEAGUE.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added SPORTS WEBSITE/EURO 2020.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added SPORTS WEBSITE/FIFA WC.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added SPORTS WEBSITE/IPL 2024.webp
Binary file not shown.
Binary file added SPORTS WEBSITE/ODI WC.webp
Binary file not shown.
Binary file added SPORTS WEBSITE/PREMIER LEAGUE.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added SPORTS WEBSITE/ROHIT-KOHLI.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added SPORTS WEBSITE/T20WC.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
138 changes: 138 additions & 0 deletions SPORTS WEBSITE/index2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sport Events Layout</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

:root {
--primary-color: #121212;
--secondary-color: #181818;
--text-color: #f0f0f0;
--highlight-color: springgreen;
--border-color: #444;
}

body {
background-color: var(--primary-color);
font-family: "Poppins", sans-serif;
color: var(--text-color);
margin: 0;
}

header {
background-color: var(--secondary-color);
padding: 1rem;
text-align: center;
}

nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}

nav ul li {
display: inline-block;
}

nav a {
text-decoration: none;
color: var(--highlight-color);
padding: 0.5rem 1rem;
transition: color 0.3s ease;
font-weight: 500;
}

nav a:hover {
color: crimson;
}

.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
padding: 2rem;
max-width: 1200px;
margin: auto;
}

.box {
border: 1px solid var(--border-color);
border-radius: 8px;
overflow: hidden;
width: 280px;
height: 200px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
background-color: var(--secondary-color);
}

.box img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.box:hover {
transform: scale(1.05);
box-shadow: 0px 8px 16px rgba(0, 255, 127, 0.6);
}

footer {
background-color: var(--secondary-color);
padding: 1rem;
text-align: center;
color: var(--text-color);
font-size: 0.9rem;
margin-top: 2rem;
}
</style>
</head>
<body>

<header>
<nav>
<ul>
<li><a href="https://www.icc-cricket.com/tournaments/t20cricketworldcup/index">T20 WC 2024</a></li>
<li><a href="https://www.iplt20.com/">IPL</a></li>
<li><a href="https://www.icc-cricket.com/tournaments/cricketworldcup">ODI WC</a></li>
<li><a href="https://www.fifa.com/en/tournaments/mens/worldcup">FIFA WC</a></li>
<li><a href="https://www.uefa.com/euro2024/">EURO 2024</a></li>
<li><a href="https://www.uefa.com/uefachampionsleague/">CHAMPIONS LEAGUE</a></li>
<li><a href="https://www.premierleague.com/">PREMIER LEAGUE</a></li>
<li><a href="https://www.bundesliga.com/en/bundesliga">BUNDESLIGA</a></li>
<li><a href="https://www.laliga.com/en-GB">LA LIGA</a></li>
<li><a href="https://olympics.com/en/paris-2024">OLYMPICS</a></li>
</ul>
</nav>
</header>

<main>
<div class="container">
<div class="box"><img src="T20WC.jpg" alt="T20 World Cup 2024"></div>
<div class="box"><img src="ROHIT-KOHLI.jpeg" alt="Rohit and Kohli"></div>
<div class="box"><img src="IPL 2024.webp" alt="IPL 2024"></div>
<div class="box"><img src="ODI WC.webp" alt="ODI World Cup"></div>
<div class="box"><img src="FIFA WC.jpg" alt="FIFA World Cup"></div>
<div class="box"><img src="EURO 2020.jpeg" alt="Euro 2024"></div>
<div class="box"><img src="CHAMPIONS LEAGUE.jpeg" alt="Champions League"></div>
<div class="box"><img src="PREMIER LEAGUE.jpg" alt="Premier League"></div>
<div class="box"><img src="BUNDESLIGA.jpeg" alt="Bundesliga"></div>
</div>
</main>

<footer>
&copy; 2024 Sports Events | All Rights Reserved
</footer>

</body>
</html>