Compare commits

...

2 Commits

Author SHA1 Message Date
82ae491d3d Upando main banner desktop e mobile 2022-10-08 13:51:53 -03:00
628d1555ad Upando header desktop e mobile 2022-10-08 13:10:43 -03:00
7 changed files with 96 additions and 0 deletions

BIN
assets/images/m3-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

19
assets/index.html Normal file
View File

@ -0,0 +1,19 @@
<!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">
<link rel="stylesheet" href="style.css">
<title>Hora de praticar</title>
</head>
<body>
<header>
<a href="/">
<img src="images/m3-logo.png" alt="m3 logo"/>
</a>
</header>
</body>
</html>

51
assets/styles/style.css Normal file
View File

@ -0,0 +1,51 @@
@charset "UTF-8";
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.page-header{
display: flex;
justify-content: center;
background-color: black;
padding: 28px 0;
}
.header-logo{
display: block;
}
.main-banner-desktop{
width: 100%;
}
@media screen and (max-width: 414px) {
.main-banner-desktop{
display: none;
}
.main-banner-mobile{
width: 100%;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile{
display: none;
}
}

26
index.html Normal file
View File

@ -0,0 +1,26 @@
<!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">
<link rel="stylesheet" href="assets/styles/style.css">
<title>Hora de praticar</title>
</head>
<body>
<header class="page-header">
<a href="/">
<img class="header-logo" src="assets/images/m3-logo.png" alt="m3 logo"/>
</a>
</header>
<main>
<div>
<img class="main-banner-desktop" src="assets/images/main-banner.png" alt="main-banner">
<img class="main-banner-mobile" src="assets/images/main-banner-mobile.png" alt="main-banner-mobile">
</div>
</main>
</body>
</html>