-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
204 lines (179 loc) · 3.69 KB
/
style.css
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
* {
margin: 0;
padding: 0;
}
body {
font-family: Arial, Helvetica, sans-serif;
text-align: center;
background-color: rgba(169, 200, 229, 0.632);
}
h1 {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
color: black;
}
h2{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
color: white;
background-color: black;
width:50%;
}
.liquid {
position: relative;
width: 100%;
height:100%;
display: flex;
justify-content: center;
font-size: 60px;
z-index: 3;
overflow:hidden;
flex-basis: 100%;
}
.liquid h1 {
position: absolute;
justify-content: center;
}
.liquid h1:nth-child(1) {
color: white;
text-shadow: -2px 2px 0 #183954,
-4px 4px 0 #183954,
-6px 6px 0 #183954,
-8px 8px 0 #183954,
-18px 8px 20px #183954 rgba(0, 0, 0, 0.5),
-18px 8px 50px #183954 rgba(0, 0, 0, 0.5);
}
.liquid h1:nth-child(2) {
color: #004687;
animation: animatenew 3s ease-in-out infinite;
}
.liquid h1:nth-child(3) {
color: #004687;
animation: animatenew 6s ease-in-out infinite;
}
.liquid h1:nth-child(4) {
color: #004687;
animation: animatenew 4s ease-in-out infinite;
}
@keyframes animatenew {
0%, 100% {
-webkit-clip-path: polygon(0% 45%, 15% 44%, 32% 50%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100%);
}
50% {
-webkit-clip-path: polygon(0% 60%, 16% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100%);
}
}
#board {
width: 355px;
height: 360px;
border: 2px solid purple;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
cursor: pointer;
}
#board img {
width: 70px;
height: 70px;
border: 0.5px solid lightblue;
opacity: 1;
cursor: pointer;
}
#pieces {
width: 800px;
height: 130px;
border: 4px solid black;
display: flex;
flex-wrap: wrap;
margin-left: auto;
margin-right: auto;
background-color: black;
cursor: pointer;
opacity: 1;
}
#pieces img {
width: 60px;
height: 60px;
border: 2px solid black;
margin-left: auto;
margin-right: auto;
cursor: pointer;
}
section {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
background-image: url("images/ocean.jpg");
background-repeat: no-repeat;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
}
section span {
position: absolute;
bottom: -70px;
background: transparent;
border-radius: 50%;
pointer-events: none;
box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5);
animation: animate 4s linear infinite;
}
section span::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
transform: scale(0.25) translate(-70%, -70%);
background: radial-gradient(#fff, transparent);
border-radius: 50%;
}
@keyframes animate {
0% {
transform: translateY(0%);
opacity: 1;
}
25% {
opacity: 1;
}
50% {
transform: translateY(-1200%);
opacity: 0;
}
100% {
opacity: 0;
}
}
.popup-overlay {
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: none;
}
.popup {
width: 400px;
height: 200px;
border: 5px solid royalblue;
background-color: white;
position: fixed;
top: -150%;
left: 50%;
transform: translate(-50%, -50%);
width: 400px;
font-family: "Raleway";
padding: 20px;
}
.popup-close {
position: absolute;
top: 5px;
right: 10px;
font-size: 20px;
background: #555;
padding: 10px;
border-radius: 10px;
color: #eee;
font-weight: 600;
cursor: pointer;
}