feat: adiciona top infocard image desktop e mobile

This commit is contained in:
Naian Felix dos Santos 2022-10-10 18:57:03 -03:00
parent 9c9db58df9
commit 9f23f8657a
2 changed files with 22 additions and 9 deletions

View File

@ -75,7 +75,8 @@ body {
.header-logo {
padding: 24px 0 33px;
}
}
@media screen and (max-width: 768px) {
@ -91,7 +92,18 @@ body {
.top-infocard-description {
font-size: 16px;
text-align: center;
}
}
.top-infocard-image img {
max-width: 240px;
width: 100%;
}
}
@media screen and (max-width: 290px) {
.top-infocard-title {
font-size: 26px;
}
}

View File

@ -16,29 +16,30 @@
<header class="page-header">
<a href="/">
<img class="header-logo" src="assets/image/Logo-M3Academy 1.svg" alt="Logo M3Academy">
<img class="header-logo" src="assets/image/Logo-M3Academy 1.svg" alt="Logo M3Academy">
</a>
</header>
<main>
<main>
<div>
<img class="main-banner" src="assets/image/main-banner-desktop.png" alt="Banner Principal">
</div>
<section class="top-infocard">
<div class="top-infocard-text">
<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>
</div>
<div class="top-infocard-image" >
<img src="assets/image/top-inforcard-image.png" alt="Banner do Infocard do Topo">
</div>
</section>
</main>
</body>
</html>