forked from M3-Academy/challenge-landing-page
Corrige Header Desktop e Mobile
This commit is contained in:
parent
4ed48bd7cd
commit
8ceb897032
@ -10,31 +10,9 @@ body {
|
||||
}
|
||||
|
||||
.page-header {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
background: #000000;
|
||||
padding: 29px 0;
|
||||
}
|
||||
padding: 28px 0;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
|
||||
.header-logo {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-banner-desktop {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop,
|
||||
.middle-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile,
|
||||
.middle-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
36
index.html
36
index.html
@ -3,43 +3,23 @@
|
||||
<head>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Challenge Landing Page - M3 Academy | Affonso Kopmann</title>
|
||||
<title> Desafio M3 Academy - Affonso Kopmann </title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="./_assets/css/main.css" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Header | Image and Background -->
|
||||
<header class="page-header">
|
||||
<a href="/">
|
||||
<img
|
||||
class="header-logo"
|
||||
src="./_assets/images/logo_m3.svg"
|
||||
alt="Logo M3">
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="main-banner-desktop">
|
||||
<img src="./_assets/images/main-banner-desktop.jpg" alt="Main Banner Desktop">
|
||||
</div>
|
||||
|
||||
<div class="main-banner-mobile">
|
||||
<img src="./_assets/images/main-banner-mobile.jpg" alt="Main Banner Mobile">
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<!-- Footer | Desktop and Mobile -->
|
||||
<footer>
|
||||
|
||||
</footer>
|
||||
<!-- Header | Image and Background -->
|
||||
<header class="page-header">
|
||||
<img src="./_assets/images/logo_m3.svg" alt="Logo M3">
|
||||
</header>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user