-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
95 lines (95 loc) · 2.73 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fuze du Monde</title>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
<style>
body, html {
font-family: 'Montserrat', sans-serif;
margin: 0;
padding: 0;
height: 100%;
background-color: #121212;
color: #ffffff;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
box-sizing: border-box;
}
#imageContainer {
position: relative;
width: 100%;
max-width: 600px;
margin-bottom: 20px;
}
#randImg {
width: 100%;
height: auto;
border-radius: 10px;
transition: opacity 0.5s ease-in-out;
}
#imageDescription {
position: absolute;
bottom: 10px;
left: 10px;
right: 10px;
background-color: rgba(0, 0, 0, 0.7);
color: #fff;
padding: 10px;
border-radius: 5px;
font-size: 14px;
}
.button-container {
display: flex;
justify-content: space-between;
width: 100%;
max-width: 600px;
}
.button {
background-color: #e60000;
color: white;
border: none;
padding: 10px 20px;
border-radius: 20px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
margin: 0 5px;
}
.button:hover {
background-color: #a60000;
}
@media (max-width: 768px) {
.button-container {
flex-direction: column;
align-items: center;
}
.button {
margin-bottom: 10px;
width: 100%;
}
}
</style>
</head>
<body>
<div class="container">
<div id="imageContainer">
<img id="randImg" src="" alt="Image Aléatoire" />
<p id="imageDescription"></p>
</div>
<div class="button-container">
<button id="changeImageBtn" class="button">Nouvelle Fuze-ion !</button>
<button id="fuzeNormalBtn" class="button">Fuze du Multivers</button>
<button id="fuzeMondeBtn" class="button">Fuze</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>