forked from M3-Academy/challenge-landing-page
Cria header/banner desktop e mobile #1
9
assets/imgs/Logo-M3Academy-header.svg
Normal file
9
assets/imgs/Logo-M3Academy-header.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 19 KiB |
BIN
assets/imgs/banner-desktop.png
Normal file
BIN
assets/imgs/banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/imgs/banner-mobile.png
Normal file
BIN
assets/imgs/banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 333 KiB |
28
index.html
Normal file
28
index.html
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="pt-BR">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<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>Desafio 01 - Landing Page</title>
|
||||||
|
<link rel="stylesheet" href="style/style.css">
|
||||||
|
</head>
|
||||||
|
<header class="header">
|
||||||
|
<a href="/">
|
||||||
|
<img class="header-logo" src="assets/imgs/Logo-M3Academy-header.svg" alt="Logo M3">
|
||||||
|
</a>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="main">
|
||||||
|
<figure class="main-banner">
|
||||||
|
<img class="banner-desktop banner-img" src="assets/imgs/banner-desktop.png" alt="banner pc desktop">
|
||||||
|
<img class="banner-mobile banner-img" src="assets/imgs/banner-mobile.png" alt="banner pc mobile">
|
||||||
|
</figure>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
3
style/colors.css
Normal file
3
style/colors.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
:root {
|
||||||
|
--black: #000;
|
||||||
|
}
|
6
style/header.css
Normal file
6
style/header.css
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
.header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 29px 0;
|
||||||
|
background-color: var(--black);
|
||||||
|
}
|
17
style/main.css
Normal file
17
style/main.css
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.main-banner .banner-img {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-banner .banner-mobile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 720px) {
|
||||||
|
.main-banner .banner-desktop {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.main-banner .banner-mobile {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
} ;
|
6
style/reset.css
Normal file
6
style/reset.css
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
font-family: "Inter", sans-serif;
|
||||||
|
}
|
5
style/style.css
Normal file
5
style/style.css
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");
|
||||||
|
@import url("reset.css");
|
||||||
|
@import url("colors.css");
|
||||||
|
@import url("header.css");
|
||||||
|
@import url("main.css");
|
Loading…
Reference in New Issue
Block a user