-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
209 lines (172 loc) · 4.93 KB
/
Copy pathstyle.css
File metadata and controls
209 lines (172 loc) · 4.93 KB
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
body {
margin: 0;
top: -30px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #282c34;
}
.title {
color: #f8b195;
font-size: 36px;
text-align: center;
margin-bottom: 20px;
font-family: 'Arial', sans-serif;
background: linear-gradient(to right, #f67280 0%, #c06c84 50%, #355c7d 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.titleSection {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 100%; /* Asegura que el contenedor ocupe todo el ancho */
margin-bottom: 20px; /* Espacio entre el título y los controles */
}
.titleSection canvas {
display: block; /* Asegura que el canvas se trate como un bloque para centrarlo */
margin: 0 auto; /* Centra el canvas horizontalmente */
}
#titleCanvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1; /* Posiciona el canvas detrás del texto */
}
.controls{
display: flex;
margin-bottom: 20px;
}
#volumeControl {
margin: 20px 20px;
width: 200px;
}
#startButton {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: linear-gradient(to right, #f67280 0%, #c06c84 50%, #355c7d 100%);
border: 2px solid #f8b195;
border-radius: 20px;
color: #fff;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
background-size: 200%;
background-position: 0% 0%;
transition: background-position 0.5s ease; /* Transición aplicada a la posición del fondo */
}
#startButton:hover {
background-position: 100% 0%; /* Cambia la posición del gradiente en hover */
}
#startButton:active {
background-position: 50% 0%; /* Cambia la posición del gradiente al estar activo */
}
body {
position: relative;
margin: 0;
padding: 0;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: #222;
overflow: hidden;
}
input[type=range] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 200px;
background-color: transparent;
}
input[type=range]:focus {
outline-color: #f8b195;
}
input[type=range]::-webkit-slider-runnable-track {
-webkit-appearance: none;
appearance: none;
height: 3px;
background: #f67280;
background: -webkit-linear-gradient(left, #f67280 0%, #c06c84 50%, #355c7d 100%);
background: linear-gradient(to right, #f67280 0%, #c06c84 50%, #355c7d 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#f67280", endColorstr="#355c7d", GradientType=1 );
}
input[type=range]::-moz-range-track {
-moz-appearance: none;
appearance: none;
height: 3px;
background: #f67280;
background: -moz-linear-gradient(left, #f67280 0%, #c06c84 50%, #355c7d 100%);
background: linear-gradient(to right, #f67280 0%, #c06c84 50%, #355c7d 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#f67280", endColorstr="#355c7d", GradientType=1 );
}
input[type=range]::-ms-track {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
height: 3px;
background: #f67280;
background: -moz-linear-gradient(left, #f67280 0%, #c06c84 50%, #355c7d 100%);
background: -webkit-linear-gradient(left, #f67280 0%, #c06c84 50%, #355c7d 100%);
background: linear-gradient(to right, #f67280 0%, #c06c84 50%, #355c7d 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#f67280", endColorstr="#355c7d", GradientType=1 );
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
border: 2px solid #f8b195;
border-radius: 50%;
height: 20px;
width: 20px;
position: relative;
bottom: 8px;
background: #222 url("http://codemenatalie.com/wp-content/uploads/2019/09/slider-thumb.png") center no-repeat;
background-size: 50%;
box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
cursor: grab;
}
input[type=range]::-webkit-slider-thumb:active {
cursor: grabbing;
}
input[type=range]::-moz-range-thumb {
-moz-appearance: none;
appearance: none;
border: 2px solid #f8b195;
border-radius: 50%;
height: 20px;
width: 20px;
position: relative;
bottom: 8px;
background: #222 url("http://codemenatalie.com/wp-content/uploads/2019/09/slider-thumb.png") center no-repeat;
background-size: 50%;
box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
cursor: grab;
}
input[type=range]::-moz-range-thumb:active {
cursor: grabbing;
}
input[type=range]::-ms-thumb {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 2px solid #f8b195;
border-radius: 50%;
height: 20px;
width: 20px;
position: relative;
bottom: 8px;
background: #222 url("http://codemenatalie.com/wp-content/uploads/2019/09/slider-thumb.png") center no-repeat;
background-size: 50%;
box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
cursor: grab;
}
body input[type=range]::-ms-thumb:active {
cursor: grabbing;
}