Adiciona o inforcard desktop
This commit is contained in:
parent
1375b1b6a3
commit
53b0f48f47
BIN
assets/top-infocard-img.png
Normal file
BIN
assets/top-infocard-img.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
13
index.html
13
index.html
@ -17,8 +17,19 @@
|
||||
|
||||
<main>
|
||||
<div>
|
||||
<img class="main-banner " src="assets/main-banner-desktop.png" alt="">
|
||||
<img class="main-banner main-banner-desktop" src="assets/main-banner-desktop.png" alt="">
|
||||
<img class="main-banner main-banner-mobile" src="assets/main-banner-mobile.png" alt="">
|
||||
</div>
|
||||
|
||||
<section class="top-infocard">
|
||||
<div class="top-infocard-text">
|
||||
<h2 class="top-infocard-subtitle">Lorem ipsum</h2>
|
||||
<h1 class="top-inforcard-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>
|
||||
|
||||
<img class="top-infocard-img" src="assets/top-infocard-img.png" alt="">
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
</body>
|
||||
|
@ -1,9 +1,16 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
|
||||
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
background-color: black;
|
||||
display: flex;
|
||||
@ -18,5 +25,66 @@
|
||||
}
|
||||
|
||||
.main-banner {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.top-infocard {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.top-infocard-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
max-width: 766px;
|
||||
margin: 72px 0 178px;
|
||||
}
|
||||
|
||||
.top-infocard-subtitle {
|
||||
text-transform: uppercase;
|
||||
font-size: 32px;
|
||||
line-height: 39px;
|
||||
}
|
||||
|
||||
.top-inforcard-title {
|
||||
text-transform: uppercase;
|
||||
font-family: 'Inter';
|
||||
font-weight: 500;
|
||||
font-size: 48px;
|
||||
line-height: 58px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.top-infocard-description {
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
margin-bottom: 72px;
|
||||
}
|
||||
|
||||
.top-infocard-img {
|
||||
display: block;
|
||||
width: 55%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.main-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.top-infocard-text {
|
||||
margin: 72px 28px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1025px){
|
||||
.main-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user