-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
126 lines (111 loc) · 3.67 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
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
<!DOCTYPE html>
<html lang="en">
<title>Stellar</title>
<!-- style tag for the popup window -->
<style>
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
/* Location of the box */
padding: 200px 0 100px 0 ;
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
position: relative;
background-color: rgba(254,254,254);
opacity: 0.9;
margin: auto;
padding:0;
border: 1px solid #888;
min-width: 30%;
min-height: 40%;
max-height: 70%;
width: fit-content;
border-radius: 7px;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s
}
/* Add Animation */
@-webkit-keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
@keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.modal-header {
padding: 5px;
background-color: #5cb85c;
color: white;
border-radius: 7px 7px 0 0;
}
/* The Close Button */
.close {
color: white;
float: right;
/* font-size: 3vw; */
font-weight: bold;
}
.modal-body {
padding: 15px;
}
</style>
<script
src="https://code.jquery.com/jquery-3.6.2.min.js"
integrity="sha256-2krYZKh//PcchRtd+H+VyyQoZ/e3EcrkxhM8ycwASPA="
crossorigin="anonymous"
></script>
<script src="index.js" defer></script>
<!-- <script type="module" src="index.js" defer></script> -->
<!-- <script type="module" src="words.js" defer></script> -->
<script src="https://cdn.tailwindcss.com"></script>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="wordle, word game, stellar, words, game, fun, brain, teaser">
<meta name="description" content="A brain teser game that can be very fun to play!!">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:image" content="assets\stellar.gif" />
<title>Stellar</title>
</head>
<body >
<div class="flex flex-col gap-5 justify-center items-center h-screen w-full ">
<div id="entry" class="pb-[2rem] sm:pb-0"></div>
<div id="keys" class="content-center"></div>
<!-- for popup window -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h3>Stellar</h3>
</div>
<div id="modal-body" class="modal-body">
</div>
<!-- <div class="modal-footer">
<h3>Modal Footer</h3>
</div> -->
</div>
</div>
</div>
</body>
</html>