forked from DishpitDev/Slopify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastolfo.html
81 lines (75 loc) · 2.29 KB
/
astolfo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<style>
body, html {
margin: 0;
padding: 0;
height: 100%;
background-image: url('static/images/astolfo/hq720.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
/* Pink overlay */
.overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(255, 105, 180, 0.5);
z-index: 1;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
z-index: 2; /* Ensure it's above the overlay */
}
#astolfoImg {
width: 20vw;
object-fit: cover;
border: 10px solid #800080;
border-radius: 20px;
padding: 5px;
z-index: 1000;
}
#astolfoBtn {
width: 100px;
height: 50px;
text-align: center;
margin-top: 20px;
z-index: 1000;
}
.go-home-link {
position: relative;
z-index: 2;
font-size: 30px;
}
</style>
</head>
<body>
<div class="overlay"></div>
<a href="index.html" class="go-home-link">GO HOME</a>
<div class="container">
<img
id="astolfoImg"
src="static/images/astolfo/astolfo1.jpg"
alt="Nyo image sadge OwO...">
</img>
<button
id="astolfoBtn"
type="btn">
Change Astolfo!
</button>
</div>
<script src="astolfo.js"></script>
</body>
</html>