forked from M3-Academy/practice-time-landing-page
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
2d78659baa | |||
5a59883f67 | |||
d1dd769336 |
BIN
assets/images/main-banner-desktop.png
Normal file
BIN
assets/images/main-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/images/main-banner-mobile.png
Normal file
BIN
assets/images/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 332 KiB |
9
assets/svg/m3-logo.svg
Normal file
9
assets/svg/m3-logo.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 37 KiB |
33
index.html
Normal file
33
index.html
Normal file
@ -0,0 +1,33 @@
|
||||
<!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>M3 Landing Page</title>
|
||||
|
||||
<link rel="stylesheet" href="./styles/main.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="page-header">
|
||||
<a href="./">
|
||||
<img class="header-logo" src="./assets/svg/m3-logo.svg" alt="Logo M3" />
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div>
|
||||
<figure>
|
||||
<img class="main-banner main-banner-desktop" src="assets/images/main-banner-desktop.png" alt="Banner Principal Desktop" />
|
||||
</figure>
|
||||
|
||||
<figure>
|
||||
<img class="main-banner main-banner-mobile" src="assets/images/main-banner-mobile.png" alt="Banner Principal Mobile" />
|
||||
</figure>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
34
styles/main.css
Normal file
34
styles/main.css
Normal file
@ -0,0 +1,34 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Cabeçalho */
|
||||
.page-header {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 28px;
|
||||
background: #000000;
|
||||
}
|
||||
|
||||
.header-logo {
|
||||
display: block
|
||||
}
|
||||
|
||||
/* Banner Principal da Página */
|
||||
.main-banner {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile {
|
||||
display:none;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user