hero for mobile
All checks were successful
Deploy Theme / deploy (push) Successful in 9s

This commit is contained in:
Helldragon67 2024-10-19 18:17:12 +08:00
parent d953ce654d
commit d45028096f

View File

@ -1,9 +1,15 @@
/* Base styles for the hero section */ /* Base styles for the hero section */
.hero { .hero {
position: relative;
width: 100%;
margin: 0 auto; /* Centering the hero section */
display: flex; display: flex;
justify-content: center; justify-content: space-between;
align-items: center; align-items: center;
padding: 2rem; padding-top: 80px;
padding-bottom: 80px;
padding-left: 40px;
padding-right: 40px;
background: linear-gradient(to bottom right, #F9B208, #E72E77); background: linear-gradient(to bottom right, #F9B208, #E72E77);
} }
@ -72,24 +78,10 @@
/* Responsive layout for larger screens */ /* Responsive layout for larger screens */
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {
.hero {
position: relative;
width: 100%;
margin: 0 auto; /* Centering the hero section */
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 80px;
padding-bottom: 80px;
padding-left: 40px;
padding-right: 40px;
background: linear-gradient(to bottom right, #F9B208, #E72E77);
}
.hero-inner { .hero-inner {
display: flex;
justify-content: space-between; justify-content: space-between;
width: 100%; width: 100%;
flex-direction: row;
} }
.hero-content { .hero-content {
@ -127,7 +119,7 @@
} }
.screenshot { .screenshot {
width: 100%; width: auto;
height: 330px; height: 330px;
background-color: white; background-color: white;
border: 5px solid black; border: 5px solid black;