-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (95 loc) · 2.56 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Рандомайзер!</title>
<style>
html {
overflow: hidden;
}
body {
display: flex;
flex-direction: column;
gap: 12px;
justify-content: center;
align-items: center;
margin: 0;
padding-top: 16px;
background: white;
height: 100svh;
box-sizing: border-box;
font-family: system-ui, sans-serif;
}
@media (max-width: 600px) {
body {
padding-top: 0;
padding-bottom: 16px;
}
}
.checkboxes {
display: flex;
flex-wrap: wrap;
gap: 8px;
justify-content: center;
font-size: 14px;
padding: 6px;
}
@media (max-width: 600px) {
.checkboxes {
order: 1;
}
}
label {
display: flex;
align-items: center;
gap: 4px;
cursor: pointer;
}
.canvas-container {
height: 100%;
width: 100%;
}
canvas {
background: black;
opacity: 0;
transition: opacity 0.5s ease;
width: 100%;
height: 100%;
}
@media (max-width: 600px) {
button {
order: 2;
}
}
</style>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="checkboxes">
<label><input type="checkbox" checked>Андрей</label>
<label><input type="checkbox" checked>Аня</label>
<label><input type="checkbox" checked>Зефирка</label>
<label><input type="checkbox" checked>Герман</label>
<label><input type="checkbox" checked>Антон</label>
<label><input type="checkbox" checked>Ксюша</label>
<label><input type="checkbox" checked>Коган</label>
<label><input type="checkbox">Никита</label>
<label><input type="checkbox">Леся</label>
<label><input type="checkbox">Владос</label>
<label><input type="checkbox">Игрок 1</label>
<label><input type="checkbox">Игрок 2</label>
</div>
<button class="button-82-pushable" role="button">
<span class="button-82-shadow"></span>
<span class="button-82-edge"></span>
<span class="button-82-front text">
Поехали!
</span>
</button>
<div class="canvas-container">
<canvas></canvas>
</div>
<script src="main.js"></script>
</body>
</html>