practice-time-landing-page-.../css/layout/main.css

125 lines
2.1 KiB
CSS
Raw Normal View History

2022-10-07 18:27:29 +00:00
.main_banner_desktop, .main_banner_mobile {
2022-10-07 17:27:44 +00:00
width: 100%;
height: auto;
2022-10-07 18:27:29 +00:00
position: relative;
}
.first-content-information {
display: flex;
justify-content: center;
align-items: center;
position: relative;
margin-top: 80px;
2022-10-07 19:30:14 +00:00
margin-bottom: 95px;
2022-10-07 18:27:29 +00:00
}
.three-computers {
width: 315px;
height: 315px;
margin-left: 124px;
}
.first-content-text {
max-width: 766px;
2022-10-07 17:27:44 +00:00
}
2022-10-07 19:30:14 +00:00
.content-card-container {
max-width: 1092px;
height: 435px;
display: flex;
justify-content: space-around;
align-items: center;
position: relative;
margin: auto;
}
.first-content-card {
width: 100%;
height: 435px;
background: #F0F0F0;
}
.first-card, .second-card, .three-card {
width: 350.33px;
height: 287.95px;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin: auto;
}
.first-card p, .second-card p, .three-card p {
width: 299px;
text-align: center;
margin: 27px 0;
}
.banner-desktop, .banner-mobile {
width: 100%;
height: auto;
position: relative;
}
2022-10-07 17:27:44 +00:00
@media screen and (max-width: 415px) {
.main_banner_desktop {
display: none;
}
2022-10-07 18:27:29 +00:00
.first-content-information {
flex-direction: column;
margin-top: 84px;
padding-left: 31px;
padding-right: 29px;
2022-10-07 19:30:14 +00:00
margin-bottom: 158px;
2022-10-07 18:27:29 +00:00
}
.three-computers {
width: 239px;
height: 239px;
2022-10-07 19:30:14 +00:00
margin-top: 137px;
2022-10-07 18:27:29 +00:00
margin-left: 0;
2022-10-07 19:30:14 +00:00
position: relative;
2022-10-07 18:27:29 +00:00
}
.first-content-text {
max-width: 357px;
2022-10-07 19:30:14 +00:00
}
.first-content-card {
width: auto;
height: 966px;
display: flex;
justify-content: center;
align-items: center;
}
.content-card-container {
width: auto;
height: 894px;
flex-direction: column;
justify-content: space-around;
2022-10-07 18:27:29 +00:00
}
.banner-desktop {
display: none;
}
2022-10-07 17:27:44 +00:00
}
@media screen and (min-width: 415px) {
.main_banner_mobile {
display: none;
}
.banner-mobile {
display: none;
}
2022-10-07 17:27:44 +00:00
}