forked from M3-Academy/practice-time-landing-page
adicionado o top infocard desktop e mobile
This commit is contained in:
parent
dcec51fbf6
commit
91e4df4cbe
BIN
assents/imagens/orked-computers.png
Normal file
BIN
assents/imagens/orked-computers.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
40
index.html
40
index.html
@ -2,26 +2,50 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="/main.styles/style.css">
|
<link rel="stylesheet" href="/main.styles/style.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
<title>M3 Landing Page</title>
|
<title>M3 Landing Page</title>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header class="page-header" >
|
<header class="page-header">
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img class="header-logo" src="/assents/imagens/Logo M3 [branco] (4) 1.png" alt="logo da M3 Branco"/>
|
<img class="header-logo" src="/assents/imagens/Logo M3 [branco] (4) 1.png" alt="logo da M3 Branco" />
|
||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<section>
|
<section>
|
||||||
<img class="main-banner main-banner-desktop" src="assents/imagens/banner-desktop.png" alt="Banner Principal">
|
<img class="main-banner main-banner-desktop" src="assents/imagens/banner-desktop.png" alt="Banner Principal">
|
||||||
<img class="main-banner main-banner-mobile" src="assents/imagens/banner-mobile.png" alt="Banner Principal">
|
<img class="main-banner main-banner-mobile" src="assents/imagens/banner-mobile.png" alt="Banner Principal">
|
||||||
</section>
|
</section>
|
||||||
</main>
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
|
||||||
|
<img class="top-infocard-image" src="assents/imagens/orked-computers.png" alt="banner do infocard do topo" />
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
font-family: 'Inter', sans-serif;
|
||||||
|
color: #000000;
|
||||||
|
|
||||||
}
|
}
|
||||||
/*///////////// HEADER /////////////////// */
|
/*///////////// HEADER /////////////////// */
|
||||||
@ -24,6 +25,45 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
/*///////////// SECTION 02 INFO CARD TOP ///////////////////*/
|
||||||
|
.top-infocard {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 80px 0 96px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.top-infocard-text{
|
||||||
|
max-width: 766px;
|
||||||
|
margin-right: 124px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-infocard-subtitle {
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 32px;
|
||||||
|
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-infocard-title {
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 48px;
|
||||||
|
|
||||||
|
margin-bottom: 24px;
|
||||||
|
|
||||||
|
text-transform: uppercase;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-infocard-description {
|
||||||
|
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 24px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/*///////////////// ABAIXO DE 414PX /////////////////*/
|
||||||
|
|
||||||
@media screen and (max-width: 414px){
|
@media screen and (max-width: 414px){
|
||||||
.main-banner-desktop {
|
.main-banner-desktop {
|
||||||
@ -31,9 +71,50 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*///////////////// ACIMA DE 768PX /////////////////*/
|
||||||
|
@media screen and (max-width: 992px){
|
||||||
|
.top-infocard{
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 84px 26px 158px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-infocard-text{
|
||||||
|
margin: 0 0 68px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-infocard-subtitle{
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-infocard-title{
|
||||||
|
font-size: 28px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-infocard-description{
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-infocard-image{
|
||||||
|
width: 100%;
|
||||||
|
max-width: 240px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*//////////////////MEDIA DE UM TAMANHO ATE O OUTR////////////////*/
|
||||||
|
@media screen and (min-width: 993px) and (max-width: 1280px) {
|
||||||
|
.top-infocard-text{
|
||||||
|
max-width: 520px;
|
||||||
|
margin-right: 70px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*///////////////// ABAIXO DE 415PX /////////////////*/
|
||||||
@media screen and (min-width: 415px ) {
|
@media screen and (min-width: 415px ) {
|
||||||
.main-banner-mobile{
|
.main-banner-mobile{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user