This repository has been archived by the owner on Nov 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVictory.html
157 lines (128 loc) · 2.49 KB
/
Victory.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE html>
<html>
<head>
<title>PolyKingdom</title>
<link rel="shortcut icon" type="image/png" href="assets/images/favicon.ico"/>
<style>
body{
background-color: #252626;
}
.main_menu {
position: absolute;
text-align: center;
max-height: 100%;
top:30%;
left:35%;
}
.title{
position: relative;
padding: 15px 100px;
text-decoration: none;
font-weight: bold;
border: none;
text-align: center;
font-size: 50px;
color: white;
top:0%;
}
/*POP up*/
body {
font-family: Arial, sans-serif;
background-size: cover;
height: 100vh;
}
h1 {
text-align: center;
font-family: Tahoma, Arial, sans-serif;
color:rgb(168,101,84);
margin: 80px 0;
}
.box {
width: 40%;
margin: 0 auto;
background: rgba(255,255,255,0.2);
padding: 35px;
border: 2px solid #fff;
border-radius: 20px/50px;
background-clip: padding-box;
text-align: center;
}
.button {
background-color:#252626;
padding: 15px 100px;
text-decoration: none;
font-weight: bold;
border: none;
text-align: center;
display: inline-block;
font-size: 30px;
color: white;
transition: all 0.3s ease-out;
}
.button:hover {
background: white;
color:#252626;
}
.overlay {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
transition: opacity 500ms;
visibility: hidden;
opacity: 0;
}
.overlay:target {
visibility: visible;
opacity: 1;
}
.popup {
margin: 70px auto;
padding: 20px;
background: #fff;
border-radius: 5px;
width: 30%;
position: relative;
transition: all 5s ease-in-out;
}
.popup h2 {
margin-top: 0;
color: #333;
font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
position: absolute;
top: 20px;
right: 30px;
transition: all 200ms;
font-size: 30px;
font-weight: bold;
text-decoration: none;
color: #333;
}
.popup .close:hover {
color:rgb(168,101,84);
}
.popup .content {
max-height: 30%;
overflow: auto;
}
@media screen and (max-width: 700px){
.box{
width: 70%;
}
.popup{
width: 70%;
}
}
</style>
</head>
<body scroll="no" style="overflow: hidden">
<div class="main_menu" >
<p class="title">You won!</p>
<button class="button" onclick="window.location.replace('Start_menu.html');">Back to the Main menu</button>
</div>
</body>
</html>