creation main
This commit is contained in:
parent
7017e3e673
commit
1729986553
2 changed files with 99 additions and 7 deletions
69
main.css
Normal file
69
main.css
Normal file
|
@ -0,0 +1,69 @@
|
|||
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: linear-gradient(135deg, #007BFF, #00C6FF);
|
||||
color: #007BFF;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.container {
|
||||
text-align: center;
|
||||
max-width: 600px;
|
||||
padding: 20px;
|
||||
background: #ffffff;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
|
||||
header .logo {
|
||||
width: 100px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
font-size: 2rem;
|
||||
color: #007BFF;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
|
||||
.welcome-image {
|
||||
width: 80%;
|
||||
max-width: 400px;
|
||||
margin: 20px auto;
|
||||
display: block;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
|
||||
button {
|
||||
padding: 15px 30px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
background-color: #007BFF;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s, transform 0.2s;
|
||||
}
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
|
||||
footer {
|
||||
margin-top: 20px;
|
||||
font-size: 14px;
|
||||
color: #888;
|
||||
}
|
35
main.html
35
main.html
|
@ -1,8 +1,31 @@
|
|||
<html>
|
||||
<head>
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="first"></div>
|
||||
</body>
|
||||
<title>Démineur - Accueil</title>
|
||||
<link rel="stylesheet" href="main.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
<img src="logo.png" alt="Logo du Démineur" class="logo">
|
||||
<h1>Bienvenue dans le Monde du Démineur !</h1>
|
||||
</header>
|
||||
<main>
|
||||
<p>Préparez-vous à une expérience de jeu inoubliable ! Cliquez sur le bouton ci-dessous pour commencer votre aventure.</p>
|
||||
<img src="welcome-image.png" alt="Image de bienvenue" class="welcome-image">
|
||||
<button id="play-button">JOUER</button>
|
||||
</main>
|
||||
<footer>
|
||||
<p>© 2024 Démineur. Tous droits réservés.</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.getElementById('play-button').addEventListener('click', () => {
|
||||
window.location.href = 'game.html';
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue