Add MC Cars mark SVG logo to frontend images

This commit is contained in:
Lago
2026-05-09 23:42:28 +02:00
parent 9de88a5459
commit 926950bd62
5 changed files with 27 additions and 7 deletions
+9 -2
View File
@@ -260,7 +260,7 @@ section { padding: 5rem 0; }
inset: 0;
background:
linear-gradient(180deg, rgba(11,12,16,0.6) 0%, rgba(11,12,16,0.95) 100%),
var(--hero-bg, url('images/ferrari-main-car.png')) center / cover no-repeat;
var(--hero-bg, url('images/ferrari-main-car-mobile.jpg')) center / cover no-repeat;
z-index: -1;
}
@@ -392,10 +392,17 @@ select:focus, input:focus, textarea:focus {
.vehicle-photo {
position: relative;
aspect-ratio: 16 / 10;
background: #0e1015 center / cover no-repeat;
background: #0e1015;
overflow: hidden;
transition: transform 0.4s ease;
}
.vehicle-photo img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.vehicle-card:hover .vehicle-photo {
transform: scale(1.02);
}