feat(home): cria bottom infocard desktop e mobile
This commit is contained in:
parent
6143f5afa6
commit
f74e0a14ff
BIN
assets/img/png_jpg/bottom-infocard-image.png
Normal file
BIN
assets/img/png_jpg/bottom-infocard-image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 447 KiB |
@ -127,6 +127,33 @@ body {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bottom-infocard {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 142px 0 180px;
|
||||
}
|
||||
|
||||
.bottom-infocard-image {
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.bottom-infocard-text {
|
||||
max-width: 550px;
|
||||
}
|
||||
|
||||
.bottom-infocard-title {
|
||||
margin-bottom: 18px;
|
||||
line-height: 1;
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.bottom-infocard-description {
|
||||
line-height: 24px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* ----- RESPONSIVIDADE -----*/
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop,
|
||||
@ -186,6 +213,25 @@ body {
|
||||
width: 100%;
|
||||
max-width: 240px;
|
||||
}
|
||||
|
||||
.bottom-infocard {
|
||||
flex-direction: column;
|
||||
padding: 80px 0 136px;
|
||||
}
|
||||
|
||||
.bottom-infocard-image {
|
||||
width: 100%;
|
||||
max-width: 596px;
|
||||
margin: 0 0 50px;
|
||||
}
|
||||
|
||||
.bottom-infocard-text {
|
||||
padding: 0 26px;
|
||||
}
|
||||
|
||||
.bottom-infocard-title {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -206,6 +252,15 @@ body {
|
||||
max-width: 520px;
|
||||
margin-right: 70px;
|
||||
}
|
||||
|
||||
.bottom-infocard-image {
|
||||
max-width: 480px;
|
||||
}
|
||||
|
||||
.bottom-infocard-text {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
16
index.html
16
index.html
@ -9,7 +9,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>M3 Landing Page</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="./assets/styles/main.css">
|
||||
</head>
|
||||
@ -32,7 +32,8 @@
|
||||
<h2 class="top-infocard-subtitle">Lorem ipsum</h2>
|
||||
<h1 class="top-infocard-title">dolor sit amet</h1>
|
||||
|
||||
<p class="top-infocard-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit. Nulla suscipit magna dui. </p>
|
||||
<p class="top-infocard-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit. Nulla suscipit magna dui.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
@ -93,6 +94,17 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="bottom-infocard">
|
||||
<img class="bottom-infocard-image" src="./assets/img/png_jpg/bottom-infocard-image.png" alt="Banner do Infocard de Baixo" />
|
||||
|
||||
<div class="bottom-infocard-text">
|
||||
<h2 class="bottom-infocard-title">Lorem ipsum dolor sit amet</h2>
|
||||
|
||||
<p class="bottom-infocard-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non libero faucibus interdum. In eget tincidunt ipsum. Quisque a tellus at lectus blandit tempor. Ut tristique auctor mi eget hendrerit. Curabitur venenatis felis vitae sagittis venenatis. Donec finibus turpis vitae lectus interdum rutrum vitae sed augue.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user