HirCoir commited on
Commit
5eaf0af
1 Parent(s): bd2495b

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +48 -143
index.html CHANGED
@@ -5,47 +5,47 @@
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Convertidor de Texto a Audio</title>
7
  <style>
8
- body {
9
- background-color: #222;
10
- color: #eee;
11
- font-family: Arial, sans-serif;
12
- text-align: center;
13
- margin: 0;
14
- padding: 0;
15
- }
16
- h1 {
17
- margin-top: 50px;
18
- }
19
- form {
20
- margin-top: 20px;
21
- display: flex;
22
- flex-direction: column;
23
- align-items: center;
24
- }
25
- label, select, textarea, button {
26
- margin: 5px;
27
- font-size: 16px;
28
- color: #eee;
29
- }
30
- textarea {
31
- background-color: #333;
32
- color: #eee;
33
- border: 1px solid #666;
34
- border-radius: 5px;
35
- padding: 10px;
36
- width: 80%;
37
- height: 100px;
38
- }
39
- select {
40
- background-color: #333;
41
- color: #eee;
42
- border: 1px solid #666;
43
- border-radius: 5px;
44
- padding: 5px;
45
- width: 80%;
46
- height: 30px;
47
- }
48
- button {
49
  background-color: #007bff;
50
  color: #eee;
51
  border: none;
@@ -60,12 +60,6 @@
60
  #audio-container {
61
  margin-top: 20px;
62
  }
63
-
64
-
65
-
66
-
67
-
68
-
69
  .animated-button {
70
  position: relative;
71
  display: flex;
@@ -84,7 +78,6 @@
84
  overflow: hidden;
85
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
86
  }
87
-
88
  .animated-button svg {
89
  position: absolute;
90
  width: 24px;
@@ -92,15 +85,12 @@
92
  z-index: 9;
93
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
94
  }
95
-
96
  .animated-button .arr-1 {
97
  right: 16px;
98
  }
99
-
100
  .animated-button .arr-2 {
101
  left: -25%;
102
  }
103
-
104
  .animated-button .circle {
105
  position: absolute;
106
  top: 50%;
@@ -113,124 +103,42 @@
113
  opacity: 0;
114
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
115
  }
116
-
117
  .animated-button .text {
118
  position: relative;
119
  z-index: 1;
120
  transform: translateX(-12px);
121
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
122
  }
123
-
124
  .animated-button:hover {
125
  box-shadow: 0 0 0 12px transparent;
126
  color: #212121;
127
  border-radius: 12px;
128
  }
129
-
130
  .animated-button:hover .arr-1 {
131
  right: -25%;
132
  }
133
-
134
  .animated-button:hover .arr-2 {
135
  left: 16px;
136
  }
137
-
138
  .animated-button:hover .text {
139
  transform: translateX(12px);
140
  }
141
-
142
  .animated-button:hover svg {
143
  fill: #212121;
144
  }
145
-
146
  .animated-button:active {
147
  scale: 0.95;
148
  box-shadow: 0 0 0 4px rgb(47, 196, 255);
149
  }
150
-
151
  .animated-button:hover .circle {
152
  width: 220px;
153
  height: 220px;
154
  opacity: 1;
155
  }
156
- * {
157
- outline:none;
158
- border:none;
159
- margin:0px;
160
- padding:0px;
161
- font-family:Courier, monospace;
162
- }
163
- body {
164
- background:#333 url(https://static.tumblr.com/maopbtg/a5emgtoju/inflicted.png) repeat;
165
- }
166
- #paper {
167
- color:#FFF;
168
- font-size:20px;
169
- }
170
- #text {
171
- width:500px;
172
- overflow:hidden;
173
- background-color:#FFF;
174
- color:#222;
175
- font-family:Courier, monospace;
176
- font-weight:normal;
177
- font-size:24px;
178
- resize:none;
179
- line-height:40px;
180
- padding-left:100px;
181
- padding-right:100px;
182
- padding-top:45px;
183
- padding-bottom:34px;
184
- background-image:url(https://static.tumblr.com/maopbtg/E9Bmgtoht/lines.png), url(https://static.tumblr.com/maopbtg/nBUmgtogx/paper.png);
185
- background-repeat:repeat-y, repeat;
186
- -webkit-border-radius:12px;
187
- border-radius:12px;
188
- -webkit-box-shadow: 0px 2px 14px #000;
189
- box-shadow: 0px 2px 14px #000;
190
- border-top:1px solid #FFF;
191
- border-bottom:1px solid #FFF;
192
- }
193
- #button {
194
- cursor:pointer;
195
- margin-top:20px;
196
- float:right;
197
- height:40px;
198
- padding-left:24px;
199
- padding-right:24px;
200
- font-family:Arial, Helvetica, sans-serif;
201
- font-weight:bold;
202
- font-size:20px;
203
- color:#FFF;
204
- text-shadow: 0px -1px 0px #000000;
205
- -webkit-border-radius:8px;
206
- border-radius:8px;
207
- border-top:1px solid #FFF;
208
- -webkit-box-shadow: 0px 2px 14px #000;
209
- box-shadow: 0px 2px 14px #000;
210
- background-color: #62add6;
211
- background-image:url(https://static.tumblr.com/maopbtg/ZHLmgtok7/button.png);
212
- background-repeat:repeat-x;
213
- }
214
- #button:active {
215
- zoom: 1;
216
- filter: alpha(opacity=80);
217
- opacity: 0.8;
218
- }
219
- #button:focus {
220
- zoom: 1;
221
- filter: alpha(opacity=80);
222
- opacity: 0.8;
223
- }
224
- #wrapper {
225
- width:700px;
226
- height:auto;
227
- margin-left:auto;
228
- margin-right:auto;
229
- margin-top:24px;
230
- margin-bottom:100px;
231
- }
232
-
233
- </style>
234
  </head>
235
  <body>
236
  <h1>Convertidor de Texto a Audio</h1>
@@ -242,9 +150,7 @@ body {
242
  {% endfor %}
243
  </select><br>
244
  <label for="text">Texto:</label><br>
245
- <div id="wrapper">
246
- <textarea placeholder="Escribe tu texto aquí, solo se tomará los primeros 500 carácteres." id="text" name="text" rows="4"></textarea>
247
- </div>
248
  <button class="animated-button">
249
  <svg viewBox="0 0 24 24" class="arr-2" xmlns="http://www.w3.org/2000/svg">
250
  <path
@@ -259,7 +165,7 @@ body {
259
  ></path>
260
  </svg>
261
  </button>
262
-
263
  </form>
264
  <div id="audio-container"></div>
265
 
@@ -281,5 +187,4 @@ body {
281
  document.getElementById('audio-container').appendChild(audioElement);
282
  });
283
  </script>
284
- </body>
285
- </html>
 
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Convertidor de Texto a Audio</title>
7
  <style>
8
+ body {
9
+ background-color: #222;
10
+ color: #eee;
11
+ font-family: Arial, sans-serif;
12
+ text-align: center;
13
+ margin: 0;
14
+ padding: 0;
15
+ }
16
+ h1 {
17
+ margin-top: 50px;
18
+ }
19
+ form {
20
+ margin-top: 20px;
21
+ display: flex;
22
+ flex-direction: column;
23
+ align-items: center;
24
+ }
25
+ label, select, textarea {
26
+ margin: 5px;
27
+ font-size: 16px;
28
+ color: #eee;
29
+ }
30
+ textarea {
31
+ background-color: #333;
32
+ color: #eee;
33
+ border: 1px solid #666;
34
+ border-radius: 5px;
35
+ padding: 10px;
36
+ width: 90%;
37
+ height: 100px;
38
+ }
39
+ select {
40
+ background-color: #333;
41
+ color: #eee;
42
+ border: 1px solid #666;
43
+ border-radius: 5px;
44
+ padding: 5px;
45
+ width: 80%;
46
+ height: 30px;
47
+ }
48
+ button {
49
  background-color: #007bff;
50
  color: #eee;
51
  border: none;
 
60
  #audio-container {
61
  margin-top: 20px;
62
  }
 
 
 
 
 
 
63
  .animated-button {
64
  position: relative;
65
  display: flex;
 
78
  overflow: hidden;
79
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
80
  }
 
81
  .animated-button svg {
82
  position: absolute;
83
  width: 24px;
 
85
  z-index: 9;
86
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
87
  }
 
88
  .animated-button .arr-1 {
89
  right: 16px;
90
  }
 
91
  .animated-button .arr-2 {
92
  left: -25%;
93
  }
 
94
  .animated-button .circle {
95
  position: absolute;
96
  top: 50%;
 
103
  opacity: 0;
104
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
105
  }
 
106
  .animated-button .text {
107
  position: relative;
108
  z-index: 1;
109
  transform: translateX(-12px);
110
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
111
  }
 
112
  .animated-button:hover {
113
  box-shadow: 0 0 0 12px transparent;
114
  color: #212121;
115
  border-radius: 12px;
116
  }
 
117
  .animated-button:hover .arr-1 {
118
  right: -25%;
119
  }
 
120
  .animated-button:hover .arr-2 {
121
  left: 16px;
122
  }
 
123
  .animated-button:hover .text {
124
  transform: translateX(12px);
125
  }
 
126
  .animated-button:hover svg {
127
  fill: #212121;
128
  }
 
129
  .animated-button:active {
130
  scale: 0.95;
131
  box-shadow: 0 0 0 4px rgb(47, 196, 255);
132
  }
 
133
  .animated-button:hover .circle {
134
  width: 220px;
135
  height: 220px;
136
  opacity: 1;
137
  }
138
+ #audio-container {
139
+ margin-top: 20px;
140
+ }
141
+ </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  </head>
143
  <body>
144
  <h1>Convertidor de Texto a Audio</h1>
 
150
  {% endfor %}
151
  </select><br>
152
  <label for="text">Texto:</label><br>
153
+ <textarea placeholder="Escribe tu texto aquí, solo se tomará los primeros 500 carácteres." id="text" name="text" rows="4"></textarea>
 
 
154
  <button class="animated-button">
155
  <svg viewBox="0 0 24 24" class="arr-2" xmlns="http://www.w3.org/2000/svg">
156
  <path
 
165
  ></path>
166
  </svg>
167
  </button>
168
+
169
  </form>
170
  <div id="audio-container"></div>
171
 
 
187
  document.getElementById('audio-container').appendChild(audioElement);
188
  });
189
  </script>
190
+ </body>