-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
285 lines (285 loc) · 14.3 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
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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Rock Paper Scissors</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header class="header">
<h1 class="heading-main">Rock<br />Paper<br />Scissors</h1>
<div class="header__score-box">
<h4 class="heading-custom">Score</h4>
<span class="header__value">12</span>
</div>
</header>
<main>
<!-- Game Container -->
<div class="game-body">
<img class="bg-triangle" src="imgs/bg-triangle.svg" alt="BG Triangle" />
<!-- Game Item -->
<div class="game-body__circle-container-paper">
<div class="game-body__big-circle game-body__big-circle--dark-blue">
<div
class="game-body__big-circle game-body__big-circle--light-blue"
></div>
<div
class="game-body__tiny-circle game-body__tiny-circle--dark-white"
>
<div
class="game-body__tiny-circle game-body__tiny-circle--light-white"
></div>
</div>
<svg
class="content-icon"
xmlns="http://www.w3.org/2000/svg"
width="49"
height="59"
>
<path
fill="#3B4262"
d="M47.125 11.832a2.922 2.922 0 00-1.232-.198c-.57.04-1.029.271-1.302.65-1.604 2.248-2.919 6.493-3.979 9.905-.486 1.577-1.14 3.688-1.612 4.69-.493-2.807.064-13.09.28-17.05l.003-.064c.15-2.751.17-3.234.138-3.446-.238-1.509-.843-2.5-1.799-2.943-.966-.45-2.22-.25-3.572.563-.677.41-.865 1.816-1.446 8.19l-.002.028c-.32 3.502-1.058 11.566-1.965 12.91-1.023-1.88-2.431-12.555-3.039-17.176-.425-3.236-.673-5.094-.84-5.655-.35-1.176-1.83-2.176-3.295-2.232-1.22-.06-2.22.56-2.698 1.638-.894.995-.578 4.292.41 12.102.47 3.718 1.44 11.395.83 12.257-1.219-.133-3.31-4.942-6.215-14.299-.816-2.62-1.068-3.408-1.318-3.753-.494-1.202-2.172-2.129-3.676-2.024a3.183 3.183 0 00-.377.049c-.787.156-2.584.881-2.2 4.226 1.06 4.637 2.213 8.041 3.331 11.346l.023.066c.669 1.98 1.302 3.85 1.89 5.925 1.385 4.9.846 7.94.84 7.975-.046.312-.143.503-.288.57a.556.556 0 01-.195.045c-.44.03-1.098-.26-1.437-.45-.776-1.482-4.636-8.544-8.134-9.524l-.126-.037-.127.012c-1.283.121-2.226.606-2.803 1.441-.914 1.32-.535 3.002-.444 3.34l.052.12c.028.051 2.834 5.165 3.268 7.544.374 2.04 2.311 4.25 3.869 6.026l.064.073c.508.58.946 1.083 1.292 1.548 4.519 4.713 11.665 8.677 11.723 8.71.892.657 1.387 1.293 1.44 1.84a.798.798 0 01-.16.58l-.155.162.988.96 18.853-1.324.804-3.684c2.486-10.402 1.967-19.272 1.958-19.33.01-.327.706-3.483 1.266-6.033l.017-.065c1.117-5.08 2.505-11.4 2.772-13.803.116-1.028-.542-1.972-1.675-2.401z"
/>
</svg>
</div>
</div>
<!-- Game Item -->
<div class="game-body__circle-container-scissors">
<div class="game-body__big-circle game-body__big-circle--dark-yellow">
<div
class="game-body__big-circle game-body__big-circle--light-yellow"
></div>
<div
class="game-body__tiny-circle game-body__tiny-circle--dark-white"
>
<div
class="game-body__tiny-circle game-body__tiny-circle--light-white"
></div>
</div>
<svg
class="content-icon"
xmlns="http://www.w3.org/2000/svg"
width="51"
height="58"
>
<path
fill="#3B4262"
d="M13.971 25.702l6.012-8.415c-2.499-.415-7.088-.507-10.846 3.235C3.212 26.421.812 39.163.312 42.248L15.37 57.24c2.711-.232 14.713-1.827 26.279-13.34.122-.249 2.94-2.321.636-4.614-1.1-1.095-2.919-1.074-4.042.044-.572.57-1.461.577-2.021.02-.56-.557-.552-1.443.02-2.012l4.087-4.069c2.076-2.067.119-5.555-2.78-4.717l-3.345 2.851c-.611.53-1.52.439-2.022-.14-.519-.597-.408-1.503.183-2.013 11.687-10.208 9.98-8.979 17.5-15.995 2.809-2.329-.725-6.447-3.493-4.09L28.182 25.45c-.529.448-1.34.457-1.86-.02-.601-.517-.615-1.262-.222-1.85L38.787 3.944c1.854-2.5-1.795-5.277-3.749-2.757L16.28 27.307c-.452.65-1.364.8-1.985.345a1.377 1.377 0 01-.323-1.95z"
/>
</svg>
</div>
</div>
<!-- Game Item -->
<div class="game-body__circle-container-rock">
<div class="game-body__big-circle game-body__big-circle--dark-red">
<div
class="game-body__big-circle game-body__big-circle--light-red"
></div>
<div
class="game-body__tiny-circle game-body__tiny-circle--dark-white"
>
<div
class="game-body__tiny-circle game-body__tiny-circle--light-white"
></div>
</div>
<svg
class="content-icon"
xmlns="http://www.w3.org/2000/svg"
width="48"
height="48"
>
<path
fill="#3B4262"
d="M45.06 12.22c-.642-8.096-9.734-7.269-9.734-7.269-3.837-6.765-9.832-1.865-9.832-1.865-4.606-6.63-10.38-.486-10.38-.486-9.957-1.074-9.571 7.066-9.571 7.066-.234 2.588 1.403 10.593 1.403 10.593-1.477-4.614-4.68-.784-4.68-.784-3.94 6.078-.975 9.405-.975 9.405 5.33 6.246 16.688 13.743 16.688 13.743 4.113 2.356 2.373 4.457 2.373 4.457l24.876-4.11.571-4.718c3.782-11.436-.739-26.032-.739-26.032z"
/>
</svg>
</div>
</div>
<!-- BIG Circle -->
<div class="choosed-item--com__bg-circle"></div>
</div>
<a href="#" class="rules-btn">Rules</a>
</main>
<div class="rules-popup">
<h3 class="rules-heading">Rules</h3>
<div class="rules-content">
<svg xmlns="http://www.w3.org/2000/svg" width="304" height="270">
<defs>
<linearGradient id="a" x1="50%" x2="50%" y1="0%" y2="100%">
<stop offset="0%" stop-color="#FFF" stop-opacity=".097" />
<stop offset="100%" stop-color="#FFF" stop-opacity="0" />
</linearGradient>
<linearGradient id="b" x1="50%" x2="50%" y1="0%" y2="100%">
<stop offset="0%" stop-color="#FFF" stop-opacity=".097" />
<stop offset="100%" stop-color="#FFF" stop-opacity="0" />
</linearGradient>
</defs>
<g fill="none" fill-rule="evenodd">
<ellipse
cx="53.189"
cy="54.815"
fill="#B1B4C5"
rx="53.189"
ry="54.815"
/>
<ellipse
cx="53.189"
cy="52.385"
fill="url(#a)"
rx="53.189"
ry="52.385"
/>
<g transform="translate(12.357 12.421)">
<ellipse
cx="40.832"
cy="41.044"
fill="#E1E4ED"
rx="40.832"
ry="41.044"
/>
<path
fill="#8A90AC"
fill-rule="nonzero"
d="M56.697 30.417a2.125 2.125 0 00-.904-.146c-.417.03-.755.201-.955.481-1.177 1.666-2.141 4.81-2.919 7.337-.357 1.169-.836 2.733-1.183 3.475-.362-2.08.047-9.697.206-12.63l.002-.047c.11-2.038.125-2.396.1-2.553-.174-1.118-.618-1.852-1.319-2.18-.708-.333-1.629-.186-2.62.417-.497.303-.635 1.345-1.061 6.067l-.002.02c-.235 2.595-.776 8.568-1.441 9.563-.75-1.392-1.784-9.3-2.23-12.722-.312-2.397-.494-3.774-.616-4.19-.257-.87-1.343-1.611-2.418-1.653-.895-.044-1.629.415-1.98 1.214-.655.736-.423 3.179.302 8.964.344 2.754 1.056 8.441.608 9.08-.893-.099-2.427-3.661-4.559-10.592-.598-1.942-.783-2.525-.967-2.78-.362-.891-1.593-1.578-2.696-1.5a2.314 2.314 0 00-.277.036c-.578.116-1.896.653-1.615 3.13.779 3.435 1.624 5.957 2.445 8.405l.016.05c.491 1.465.955 2.85 1.387 4.388 1.016 3.63.621 5.882.616 5.907-.034.232-.105.374-.211.423a.405.405 0 01-.143.033c-.322.023-.805-.193-1.055-.333-.568-1.098-3.4-6.33-5.967-7.055L25.15 41l-.093.008c-.942.09-1.634.45-2.057 1.068-.67.978-.393 2.224-.325 2.474l.038.09c.02.037 2.079 3.825 2.397 5.587.275 1.511 1.696 3.148 2.838 4.464l.047.054c.373.43.695.802.948 1.146 3.316 3.492 8.558 6.428 8.601 6.452.654.487 1.018.958 1.056 1.363a.595.595 0 01-.117.43l-.114.12.725.711 13.832-.98.59-2.73c1.823-7.705 1.442-14.275 1.436-14.319.007-.242.518-2.58.93-4.468l.011-.048c.82-3.763 1.838-8.444 2.034-10.225.085-.761-.398-1.46-1.23-1.779z"
/>
</g>
<g transform="translate(196)">
<ellipse
cx="53.686"
cy="54.815"
fill="#B1B4C5"
rx="53.686"
ry="54.815"
/>
<ellipse
cx="53.686"
cy="52.385"
fill="url(#b)"
rx="53.686"
ry="52.385"
/>
<g transform="translate(12.473 12.421)">
<ellipse
cx="41.214"
cy="41.044"
fill="#E1E4ED"
rx="41.214"
ry="41.044"
/>
<path
fill="#8A90AC"
fill-rule="nonzero"
d="M30.455 40.692l4.451-6.234c-1.85-.307-5.248-.375-8.031 2.397-4.388 4.37-6.165 13.809-6.535 16.093l11.15 11.105c2.008-.17 10.896-1.353 19.46-9.881.09-.184 2.177-1.72.471-3.418-.814-.81-2.162-.796-2.993.033a1.051 1.051 0 01-1.497.015 1.04 1.04 0 01.015-1.49l3.026-3.014c1.538-1.532.089-4.116-2.058-3.495l-2.477 2.112a1.065 1.065 0 01-1.497-.103c-.384-.443-.302-1.114.135-1.492 8.654-7.562 7.39-6.65 12.958-11.848 2.08-1.725-.536-4.776-2.586-3.03L40.978 40.506a1.051 1.051 0 01-1.378-.015c-.445-.383-.455-.934-.164-1.37l9.395-14.545c1.373-1.852-1.33-3.91-2.776-2.042L32.164 41.881a1.05 1.05 0 01-1.47.255 1.02 1.02 0 01-.24-1.444z"
/>
</g>
</g>
<g transform="translate(98 160)">
<ellipse
cx="53.686"
cy="54.815"
fill="#B1B4C5"
rx="53.686"
ry="54.815"
/>
<ellipse
cx="53.686"
cy="52.385"
fill="url(#b)"
rx="53.686"
ry="52.385"
/>
<g transform="translate(12.473 12.421)">
<ellipse
cx="41.214"
cy="41.044"
fill="#E1E4ED"
rx="41.214"
ry="41.044"
/>
<path
fill="#8A90AC"
fill-rule="nonzero"
d="M57.179 35.15c-.475-5.997-7.208-5.385-7.208-5.385-2.842-5.01-7.281-1.381-7.281-1.381-3.41-4.911-7.687-.36-7.687-.36-7.373-.796-7.087 5.234-7.087 5.234-.173 1.917 1.04 7.847 1.04 7.847-1.094-3.418-3.467-.581-3.467-.581-2.917 4.502-.721 6.967-.721 6.967 3.947 4.626 12.357 10.18 12.357 10.18 3.046 1.745 1.757 3.3 1.757 3.3l18.42-3.044.424-3.494c2.8-8.472-.547-19.284-.547-19.284z"
/>
</g>
</g>
<text
fill="#B1B4C5"
font-family="BarlowSemiCondensed-Bold, Barlow Semi Condensed"
font-size="13"
font-style="condensed"
font-weight="bold"
>
<tspan x="134" y="31">BEATS</tspan>
</text>
<text
fill="#B1B4C5"
font-family="BarlowSemiCondensed-Bold, Barlow Semi Condensed"
font-size="13"
font-style="condensed"
font-weight="bold"
>
<tspan x="40" y="147">BEATS</tspan>
</text>
<text
fill="#B1B4C5"
font-family="BarlowSemiCondensed-Bold, Barlow Semi Condensed"
font-size="13"
font-style="condensed"
font-weight="bold"
>
<tspan x="235" y="147">BEATS</tspan>
</text>
<g fill="#B1B4C5" transform="matrix(-1 0 0 1 177 39)">
<rect width="50" height="4" y="10" rx="2" />
<path
d="M41.963 2.015l8.59 8.728c.716.727.71 1.896-.013 2.616a1.833 1.833 0 01-2.6-.013l-8.59-8.728a1.855 1.855 0 01.013-2.616 1.833 1.833 0 012.6.013z"
/>
<path
d="M39.35 19.382l8.59-8.728a1.833 1.833 0 012.6-.013c.723.72.729 1.889.013 2.616l-8.59 8.728a1.833 1.833 0 01-2.6.013 1.855 1.855 0 01-.013-2.616z"
/>
</g>
<g
fill="#B1B4C5"
transform="scale(1 -1) rotate(-55 -82.574 -131.195)"
>
<rect width="50" height="4" y="10" rx="2" />
<path
d="M41.963 2.015l8.59 8.728c.716.727.71 1.896-.013 2.616a1.833 1.833 0 01-2.6-.013l-8.59-8.728a1.855 1.855 0 01.013-2.616 1.833 1.833 0 012.6.013z"
/>
<path
d="M39.35 19.382l8.59-8.728a1.833 1.833 0 012.6-.013c.723.72.729 1.889.013 2.616l-8.59 8.728a1.833 1.833 0 01-2.6.013 1.855 1.855 0 01-.013-2.616z"
/>
</g>
<g fill="#B1B4C5" transform="rotate(-55 240.022 -103.651)">
<rect width="50" height="4" y="10" rx="2" />
<path
d="M41.963 2.015l8.59 8.728c.716.727.71 1.896-.013 2.616a1.833 1.833 0 01-2.6-.013l-8.59-8.728a1.855 1.855 0 01.013-2.616 1.833 1.833 0 012.6.013z"
/>
<path
d="M39.35 19.382l8.59-8.728a1.833 1.833 0 012.6-.013c.723.72.729 1.889.013 2.616l-8.59 8.728a1.833 1.833 0 01-2.6.013 1.855 1.855 0 01-.013-2.616z"
/>
</g>
</g>
</svg>
</div>
<div class="close-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20">
<path
d="M16.97 0l2.122 2.121-7.425 7.425 7.425 7.425-2.121 2.12-7.425-7.424-7.425 7.425L0 16.97l7.425-7.425L0 2.121 2.121 0l7.425 7.425L16.971 0z"
/>
</svg>
</div>
</div>
<div class="overlay"></div>
<script src="script.js"></script>
</body>
</html>