Mise à jour : dernières modifs
This commit is contained in:
55
frontend/public/assets/style.titles.patch.css
Normal file
55
frontend/public/assets/style.titles.patch.css
Normal file
@@ -0,0 +1,55 @@
|
||||
/* ==== TITLES UPGRADE (Sporty & Bold) ==== */
|
||||
:root{
|
||||
--display-font: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
|
||||
--title-size-xl: clamp(28px, 4.5vw, 48px);
|
||||
--title-size-lg: clamp(22px, 3.2vw, 32px);
|
||||
--title-weight: 800;
|
||||
--title-gradient: linear-gradient(90deg, var(--accent-start), var(--accent-end));
|
||||
}
|
||||
|
||||
.hero-title{
|
||||
font-family: var(--display-font);
|
||||
font-size: var(--title-size-xl);
|
||||
font-weight: var(--title-weight);
|
||||
line-height: 1.05;
|
||||
letter-spacing: -0.02em;
|
||||
margin: 0 0 6px 0;
|
||||
background: var(--title-gradient);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
text-shadow: 0 6px 24px rgba(24,144,255,.18);
|
||||
}
|
||||
|
||||
.section-title{
|
||||
position: relative;
|
||||
font-size: var(--title-size-lg);
|
||||
font-weight: 750;
|
||||
letter-spacing: -0.01em;
|
||||
margin: 22px 0 14px;
|
||||
padding-left: 14px;
|
||||
}
|
||||
.section-title::before{
|
||||
content:"";
|
||||
position:absolute; left:0; top: 8px; bottom: 8px;
|
||||
width:6px; border-radius: 6px;
|
||||
background: var(--title-gradient);
|
||||
box-shadow: 0 8px 18px rgba(24,144,255,.25);
|
||||
}
|
||||
|
||||
.kicker{
|
||||
display:inline-block;
|
||||
font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
|
||||
color:#0a3a6b;
|
||||
background: rgba(24,144,255,.10);
|
||||
border: 1px solid rgba(24,144,255,.25);
|
||||
padding:4px 8px; border-radius:999px; margin-bottom:10px;
|
||||
}
|
||||
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:12px }
|
||||
.btn-outline{
|
||||
display:inline-block; padding:10px 16px; border-radius:12px;
|
||||
border:1px solid #cfe3ff; color:#0f437c; text-decoration:none;
|
||||
background: rgba(255,255,255,.6);
|
||||
transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
|
||||
}
|
||||
.btn-outline:hover{ transform: translateY(-1px); background: rgba(255,255,255,.85); border-color: #a3cdfd }
|
||||
Reference in New Issue
Block a user