Skip to content

Commit 6cfa449

Browse files
Fix responsive
1 parent 2901cd9 commit 6cfa449

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

index.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,33 @@ <h2>Built by practitioners, for practitioners.</h2>
576576
}
577577
.footer a { color: var(--muted); text-decoration: none; }
578578
.footer a:hover { color: var(--text); }
579+
.hero .cta {
580+
align-items: center; /* au lieu du stretch implicite */
581+
}
582+
583+
.hero .cta .btn{
584+
flex: 0 0 auto; /* ne grandit pas pour “remplir” */
585+
width: auto; /* pas de full width par défaut */
586+
min-width: 170px;
587+
max-width: 260px;
588+
padding: 9px 14px;
589+
font-size: 15px;
590+
line-height: 1.15;
591+
border-radius: 12px;
592+
white-space: nowrap;
593+
}
594+
595+
@media (max-width: 420px){
596+
.hero .cta{
597+
flex-direction: column;
598+
gap: 10px;
599+
}
600+
.hero .cta .btn{
601+
width: auto; /* override l’ancienne width:100% */
602+
max-width: 280px;
603+
margin: 0 auto; /* centré */
604+
}
605+
}
579606
</style>
580607
</body>
581608
</html>

0 commit comments

Comments
 (0)