Fix(home): Medidas adaptaveis header logo e top cards

This commit is contained in:
Rhayllon Daudt 2022-10-13 11:54:19 -03:00
parent 0c26e3929f
commit 03b456408a
2 changed files with 18 additions and 6 deletions

View File

@ -13,7 +13,17 @@ body{
background: #000000; background: #000000;
display: flex; display: flex;
justify-content: center; justify-content: center;
padding: 28px 0; padding: 29px 0;
}
.header-link{
display: flex;
width: 12%;
justify-content: center;
}
.header-img{
width: 100%;
} }
.top-banner{ .top-banner{
@ -73,18 +83,19 @@ body{
align-items: center; align-items: center;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
padding: 36px 26px 26px;
gap: 27px;
} }
.top-card-image{ .top-card-image{
display: block; display: block;
padding: 36px 124px 0; width: 34%;
} }
.top-card-description{ .top-card-description{
font-size: 16px; font-size: 16px;
line-height: 24px; line-height: 24px;
text-align: center; text-align: center;
padding: 26px;
} }
.mid-banners{ .mid-banners{

View File

@ -18,9 +18,10 @@
<body> <body>
<header class="header-page"> <header class="header-page">
<a href="/"> <a class="header-link" href="/">
<img src="./assets/images/Logo-M3Academy.svg" alt="" /> <img class="header-img" src="./assets/images/Logo-M3Academy.svg" alt="M3 Academy" />
</a> </a>
</div>
</header> </header>
<main> <main>