feat(home): criado o estilo CSS da section2.
This commit is contained in:
parent
346c3bdda5
commit
7b1bd08403
@ -1,8 +1,16 @@
|
||||
@import url('../font/fonte.css');
|
||||
|
||||
/* GLOBAL */
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: 'Inter', sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #E5E5E5;
|
||||
}
|
||||
|
||||
/* HEADER */
|
||||
@ -23,17 +31,149 @@ header a {
|
||||
|
||||
.section1 img {
|
||||
width: 100%;
|
||||
height: 36%;
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 425px) {
|
||||
.fundo-desktop {
|
||||
display: none;
|
||||
/* SECTION 2 */
|
||||
|
||||
.section2 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
padding: 50px 0;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.text-title {
|
||||
font-size: 48px;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.text-subtitle {
|
||||
font-size: 32px;
|
||||
text-transform: uppercase;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.text-paragraph {
|
||||
padding-top: 20px;
|
||||
max-width: 60%;
|
||||
margin: 0 auto;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.img-computers img {
|
||||
width: 16%;
|
||||
padding: 70px 0;
|
||||
}
|
||||
|
||||
.container-cards {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 21px;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: #fff;
|
||||
box-shadow: 0px 4px 20px 0px #0000003B;
|
||||
padding: 20px;
|
||||
max-width: 20%;
|
||||
}
|
||||
|
||||
.card img {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.card figure img {
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
/* TELAS GRANDES */
|
||||
|
||||
@media only screen and (min-width: 1440px) {
|
||||
.text-subtitle {
|
||||
font-size: 64px;
|
||||
}
|
||||
|
||||
.text-title {
|
||||
font-size: 96px;
|
||||
}
|
||||
|
||||
.text-paragraph {
|
||||
font-size: 32px;
|
||||
line-height: 48px;
|
||||
}
|
||||
|
||||
.card figure figcaption {
|
||||
font-size: 32px;
|
||||
line-height: 48px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 426px) {
|
||||
/* TABLET */
|
||||
|
||||
@media only screen and (min-width: 481px) and (max-width: 900px) {
|
||||
.img-computers img {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.text-paragraph {
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
.container-cards {
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.card {
|
||||
max-width: 70%;
|
||||
}
|
||||
}
|
||||
|
||||
/* CELULAR */
|
||||
|
||||
@media screen and (min-width: 481px) {
|
||||
.fundo-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.fundo-desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.text-title {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.text-subtitle {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.text-paragraph {
|
||||
max-width: 90%;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.container-cards {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.card {
|
||||
max-width: 90vw;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.img-computers img {
|
||||
width: 70%;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user