- aggiunto componenti per Home Template... ma ancora da provare

- sistemato catprods
- Sistemato menu
This commit is contained in:
Surya Paolo
2025-09-22 19:09:14 +02:00
parent 917cdaa754
commit c8589e794f
114 changed files with 3594207 additions and 316 deletions

View File

@@ -2684,7 +2684,90 @@ body.body--dark {
text-align: right;
}
.ordine_scontato{
.ordine_scontato {
color: gray;
font-size: 0.85rem;
}
.hero {
position: relative;
border-radius: 20px;
overflow: hidden;
text-align: center;
padding: 40px 20px;
color: white;
// Altezza minima per evitare il collassamento
min-height: 400px;
// Centra il contenuto verticalmente
display: flex;
flex-direction: column;
justify-content: center;
// Background: immagine + overlay
background-size: cover;
background-position: center;
background-repeat: no-repeat;
&::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5); // overlay scuro
z-index: 1;
border-radius: 20px;
}
}
.hero-content {
position: relative;
z-index: 2; // sopra l'overlay
max-width: 800px;
margin: 0 auto;
width: 100%;
}
.intro {
font-size: 1.3rem;
color: #ddd; // testo chiaro, visibile sopra lo sfondo scuro
margin-bottom: 1.5rem;
font-style: italic;
}
.cta {
display: inline-block;
margin-top: 1rem;
padding: 14px 28px;
background-color: #4caf50;
color: white;
border-radius: 50px;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
align-self: center; // centrato in flex-column
&:hover {
background-color: #388e3c;
transform: translateY(-2px);
box-shadow: 0 6px 14px rgba(76, 175, 80, 0.4);
}
}
// Stili aggiuntivi per la pagina
.container {
background: white;
border-radius: 18px;
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.09);
padding: 32px;
margin-bottom: 32px;
transition: transform 0.2s ease;
}
.container:hover {
transform: translateY(-4px);
}