-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathara.html
147 lines (144 loc) · 2.5 KB
/
ara.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
<!DOCTYPE html>
<html>
<head>
<title>4koneko main menu</title>
</head>
<body>
<!-- <div class="bg">
<div class="init">
<div class="title">
<div>4</div>
<div>k</div>
<div>o</div>
<div>n</div>
<div>e</div>
<div>k</div>
<div>o</div>
</div>
<div style="margin-top: 10px; text-align: left">
<p onclick="addMaps()">Play</p>
<div style="margin-top: 2.5px"></div>
<p onclick="settings()">Game Settings</p>
</div>
</div>
</div> -->
</body>
<style>
* {
margin: 0;
padding: 0;
overflow: hidden;
}
html,
body {
height: 100%;
width: 100%;
background-color: black;
color: white;
}
.title {
font-size: 75px;
font-family: "Courier New", Courier, monospace;
letter-spacing: 5px;
text-align: left;
margin-left: 10px;
letter-spacing: -5px;
}
p {
cursor: pointer;
font-size: 20px;
}
p:hover {
animation: bg 10s infinite;
}
/* ignore .bg */
@keyframes bg {
0% {
color: #ffffff;
}
25% {
color: #369eff;
}
50% {
color: #00eeff;
}
75% {
color: #369eff;
}
100% {
color: #e4f5ff;
}
}
.title > div {
animation: bounce 4s infinite, bg 5s infinite;
/* add bg animation */
/* make it behave like a span */
display: inline-block;
}
/* for the 2nd child */
.title > div:nth-child(2) {
animation-delay: 0.5s;
}
/* same for the others */
.title > div:nth-child(3) {
animation-delay: 1s;
}
.title > div:nth-child(4) {
animation-delay: 1.5s;
}
.title > div:nth-child(5) {
animation-delay: 2s;
}
.title > div:nth-child(6) {
animation-delay: 2.5s;
}
.title > div:nth-child(7) {
animation-delay: 3s;
}
@keyframes bounce {
0% {
transform: translateY(0px);
}
25% {
transform: translateY(10px);
}
50% {
transform: translateY(-10px);
}
75% {
transform: translateY(10px);
}
100% {
transform: translateY(0px);
}
}
.init {
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
/* from top */
margin-top: 45%;
gap: 10px;
text-align: left;
width: 100%;
}
body {
display: grid;
grid-template-columns: 2fr 2fr;
}
</style>
<script>
function addMaps() {
window.location.href = "map.html";
}
function settings() {
window.location.href = "settings.html";
}
function customMap() {
window.location.href = "selector.html";
}
window.location.href = "map.html";
</script>
</html>