DmitrMakeev
commited on
Commit
•
6b24613
1
Parent(s):
0437b34
Update koleso.html
Browse files- koleso.html +0 -146
koleso.html
CHANGED
@@ -8,152 +8,6 @@
|
|
8 |
|
9 |
<style>
|
10 |
|
11 |
-
body {
|
12 |
-
background-color: black;
|
13 |
-
color: white;
|
14 |
-
font-family: Arial, sans-serif;
|
15 |
-
display: flex;
|
16 |
-
justify-content: center;
|
17 |
-
align-items: center;
|
18 |
-
height: 100vh;
|
19 |
-
margin: 0;
|
20 |
-
padding: 0;
|
21 |
-
}
|
22 |
-
|
23 |
-
#wheelOfFortune {
|
24 |
-
display: flex;
|
25 |
-
flex-direction: column;
|
26 |
-
align-items: center;
|
27 |
-
justify-content: center;
|
28 |
-
}
|
29 |
-
|
30 |
-
#wheel {
|
31 |
-
border: 2px solid #f82; /* Оранжевая окантовка для колеса */
|
32 |
-
border-radius: 50%;
|
33 |
-
}
|
34 |
-
|
35 |
-
#spin {
|
36 |
-
margin-top: 20px;
|
37 |
-
padding: 10px 20px;
|
38 |
-
border: 2px solid #f82; /* Оранжевая окантовка для кнопки Пуск */
|
39 |
-
border-radius: 5px;
|
40 |
-
background-color: black;
|
41 |
-
color: white;
|
42 |
-
cursor: pointer;
|
43 |
-
transition: background-color 0.3s;
|
44 |
-
}
|
45 |
-
|
46 |
-
#spin:hover {
|
47 |
-
background-color: #f82; /* Оранжевый фон при наведении на кнопку Пуск */
|
48 |
-
}
|
49 |
-
|
50 |
-
#registrationForm {
|
51 |
-
display: none;
|
52 |
-
background-color: black;
|
53 |
-
padding: 20px;
|
54 |
-
border: 2px solid #f82; /* Оранжевая окантовка для формы */
|
55 |
-
border-radius: 10px;
|
56 |
-
text-align: center;
|
57 |
-
width: 90%;
|
58 |
-
max-width: 400px;
|
59 |
-
}
|
60 |
-
|
61 |
-
#registrationForm h1 {
|
62 |
-
color: #f82; /* Оранжевый цвет для заголовка */
|
63 |
-
margin-bottom: 20px;
|
64 |
-
}
|
65 |
-
|
66 |
-
#registrationForm input[type="text"],
|
67 |
-
#registrationForm input[type="email"],
|
68 |
-
#registrationForm input[type="tel"] {
|
69 |
-
width: calc(100% - 22px);
|
70 |
-
padding: 10px;
|
71 |
-
margin-bottom: 10px;
|
72 |
-
border: 2px solid #f82; /* Оранжевая окантовка для полей ввода */
|
73 |
-
border-radius: 5px;
|
74 |
-
background-color: black;
|
75 |
-
color: lightgray; /* Светло-серый цвет текста в полях ввода */
|
76 |
-
}
|
77 |
-
|
78 |
-
#registrationForm input[type="checkbox"] {
|
79 |
-
margin-right: 5px;
|
80 |
-
}
|
81 |
-
|
82 |
-
#registrationForm button {
|
83 |
-
width: 100%;
|
84 |
-
padding: 10px;
|
85 |
-
border: none;
|
86 |
-
border-radius: 5px;
|
87 |
-
background-color: #f82; /* Оранжевая кнопка */
|
88 |
-
color: black;
|
89 |
-
font-weight: bold;
|
90 |
-
cursor: pointer;
|
91 |
-
transition: background-color 0.3s;
|
92 |
-
}
|
93 |
-
|
94 |
-
#registrationForm button:hover {
|
95 |
-
background-color: #ff9900; /* Светло-оранжевый при наведении */
|
96 |
-
}
|
97 |
-
|
98 |
-
@media (max-width: 600px) {
|
99 |
-
#registrationForm {
|
100 |
-
width: 95%;
|
101 |
-
}
|
102 |
-
}
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
* {
|
107 |
-
margin: 0;
|
108 |
-
padding: 0;
|
109 |
-
box-sizing: border-box;
|
110 |
-
}
|
111 |
-
|
112 |
-
body {
|
113 |
-
height: 100vh;
|
114 |
-
display: grid;
|
115 |
-
place-items: center;
|
116 |
-
}
|
117 |
-
|
118 |
-
#wheelOfFortune {
|
119 |
-
display: inline-block;
|
120 |
-
position: relative;
|
121 |
-
overflow: hidden;
|
122 |
-
}
|
123 |
-
|
124 |
-
#wheel {
|
125 |
-
display: block;
|
126 |
-
}
|
127 |
-
|
128 |
-
#spin {
|
129 |
-
font: 1.5em/0 sans-serif;
|
130 |
-
user-select: none;
|
131 |
-
cursor: pointer;
|
132 |
-
display: flex;
|
133 |
-
justify-content: center;
|
134 |
-
align-items: center;
|
135 |
-
position: absolute;
|
136 |
-
top: 50%;
|
137 |
-
left: 50%;
|
138 |
-
width: 30%;
|
139 |
-
height: 30%;
|
140 |
-
margin: -15%;
|
141 |
-
background: #fff;
|
142 |
-
color: #fff;
|
143 |
-
box-shadow: 0 0 0 8px currentColor, 0 0px 15px 5px rgba(0, 0, 0, 0.6);
|
144 |
-
border-radius: 50%;
|
145 |
-
transition: 0.8s;
|
146 |
-
}
|
147 |
-
|
148 |
-
#spin::after {
|
149 |
-
content: '';
|
150 |
-
position: absolute;
|
151 |
-
top: -17px;
|
152 |
-
border: 10px solid transparent;
|
153 |
-
border-bottom-color: currentColor;
|
154 |
-
border-top: none;
|
155 |
-
}
|
156 |
-
|
157 |
#wheelOfFortune {
|
158 |
display: flex;
|
159 |
flex-direction: column;
|
|
|
8 |
|
9 |
<style>
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
#wheelOfFortune {
|
12 |
display: flex;
|
13 |
flex-direction: column;
|