feat: quitar imagen de fondo fondo.jpg del hero
This commit is contained in:
+4
-10
@@ -50,20 +50,14 @@ a { color: inherit; text-decoration: none; }
|
|||||||
.hero-bg {
|
.hero-bg {
|
||||||
position: absolute; inset: 0;
|
position: absolute; inset: 0;
|
||||||
background:
|
background:
|
||||||
radial-gradient(60% 50% at 50% 38%, rgba(46, 230, 255, .16), transparent 70%),
|
radial-gradient(60% 50% at 50% 38%, rgba(46, 230, 255, .18), transparent 70%),
|
||||||
linear-gradient(180deg, rgba(6, 8, 13, .78) 0%, rgba(6, 8, 13, .92) 65%, var(--bg) 100%),
|
linear-gradient(180deg, rgba(6, 8, 13, .60) 0%, var(--bg) 100%);
|
||||||
url("img/fondo.jpg") center 40% / cover no-repeat;
|
|
||||||
filter: blur(2px) saturate(.9);
|
|
||||||
transform: scale(1.04);
|
|
||||||
animation: drift 18s ease-in-out infinite alternate;
|
|
||||||
}
|
}
|
||||||
@media (max-width: 760px) {
|
@media (max-width: 760px) {
|
||||||
/* en vertical la foto se muestra entera (ancho completo, arriba) y se funde con el fondo por abajo */
|
|
||||||
.hero-bg {
|
.hero-bg {
|
||||||
background:
|
background:
|
||||||
radial-gradient(70% 38% at 50% 40%, rgba(46, 230, 255, .14), transparent 70%),
|
radial-gradient(70% 38% at 50% 40%, rgba(46, 230, 255, .16), transparent 70%),
|
||||||
linear-gradient(180deg, rgba(6, 8, 13, .78) 0%, rgba(6, 8, 13, .85) 40%, var(--bg) 55%),
|
linear-gradient(180deg, rgba(6, 8, 13, .60) 0%, var(--bg) 60%);
|
||||||
url("img/fondo.jpg") top center / 100% auto no-repeat var(--bg);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@keyframes drift { to { transform: scale(1.08) translateY(-1%); } }
|
@keyframes drift { to { transform: scale(1.08) translateY(-1%); } }
|
||||||
|
|||||||
Reference in New Issue
Block a user