set home section responsive

This commit is contained in:
Giovanni-Josserand 2025-09-21 19:00:52 +02:00
parent bf42d752a9
commit 61840f76cf
3 changed files with 46 additions and 1 deletions

View File

@ -12,6 +12,8 @@
#home-section h1{ #home-section h1{
margin-bottom: 0; margin-bottom: 0;
margin-left: 40px;
margin-right: 40px;
} }
#home-section h2 { #home-section h2 {
@ -49,5 +51,33 @@
} }
@media (max-width: 840px) {
.btn {
margin-bottom: 10%;
}
#home-section p{
max-width: 60%;
}
}
@media (max-width: 656px) {
#home-section h1{
font-size: 3.5rem;
}
#home-section h2 {
font-size: 1.5rem;
}
}
@media (max-width: 584px) {
#home-section h1{
font-size: 3rem;
}
}

View File

@ -40,4 +40,11 @@
.nav-link.active { .nav-link.active {
background-color: rgba(217, 95, 70, 0.3); background-color: rgba(217, 95, 70, 0.3);
color: var(--important-color); color: var(--important-color);
}
@media (max-width: 768px) {
.nav-list{
gap: 0.5rem;
}
} }

View File

@ -22,7 +22,7 @@
.planet { .planet {
position: absolute; position: absolute;
bottom: 0%; bottom: 0;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
width: 120vw; width: 120vw;
@ -102,3 +102,11 @@
opacity: 0.6; opacity: 0.6;
} }
} }
@media (max-width: 840px) {
.planet {
display: none;
}
}