Skip to content

Commit 7da2cb5

Browse files
author
Trollhunters501PC
authored
mejorar Estilo CSS con Github Copilot
1 parent 3abdd6e commit 7da2cb5

1 file changed

Lines changed: 61 additions & 0 deletions

File tree

index.html

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,47 @@
151151
button {
152152
background-color: lightblue;
153153
border-radius: 5px;
154+
border: none;
155+
border-radius: 0.7vw;
156+
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
157+
transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
158+
padding: 0.7vw 2vw;
159+
font-family: inherit;
160+
outline: none;
161+
}
162+
button:active{
163+
transform: scale(0.97);
164+
box-shadow: 0 1px 4px rgba(0,0,0,0.12);
165+
}
166+
button:focus {
167+
outline: 2px solid #56A5EC;
154168
}
155169
input {
156170
background-color: lightblue;
157171
}
172+
input[type="text"], input[type="password"], input[type="email"] {
173+
border: 1.5px solid #b0c4de;
174+
border-radius: 0.5vw;
175+
padding: 0.7vw 1vw;
176+
font-size: 2.4vw;
177+
background: #f8fbff;
178+
transition: border 0.2s;
179+
}
180+
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus {
181+
border: 1.5px solid #56A5EC;
182+
background: #fff;
183+
}
184+
::-webkit-scrollbar {
185+
width: 0.7vw;
186+
background: #e3eaf3;
187+
}
188+
::-webkit-scrollbar-thumb {
189+
background: #b0c4de;
190+
border-radius: 0.5vw;
191+
}
192+
::-webkit-scrollbar-thumb:hover {
193+
background: #56A5EC;
194+
}
158195
.cookie-banner p {
159196
margin: 0;
160197
flex: 1;
@@ -183,6 +220,30 @@
183220
right: 0%;
184221
background-color: #50C878;
185222
}
223+
.configInterface, .InterfazCC, #profileUserConfig {
224+
box-shadow: 0 4px 24px rgba(0,0,0,0.07);
225+
border-radius: 1vw;
226+
border: 1.5px solid #e3eaf3;
227+
background-clip: padding-box;
228+
}
229+
div[style*="font-size: 5vw;"] {
230+
letter-spacing: 0.05em;
231+
text-shadow: 0 2px 8px rgba(86,165,236,0.08);
232+
font-weight: 600;
233+
}
234+
#fotoPerfilConf, .InterfazCC img[alt="PerfilFoto"] {
235+
border: 2.5px solid #56A5EC;
236+
box-shadow: 0 2px 12px rgba(86,165,236,0.08);
237+
}
238+
a, a:visited {
239+
color: #56A5EC;
240+
text-decoration: none;
241+
transition: color 0.2s;
242+
}
243+
a:hover {
244+
color: #1d7ed6;
245+
text-decoration: underline;
246+
}
186247
@keyframes customFlip {
187248
0% {
188249
transform: translate(-50%, -50%) perspective(400px) rotateY(0deg);

0 commit comments

Comments
 (0)