feat(home): adicionando header desktop e mobile

This commit is contained in:
Bernardo Cunha Ernani Waldhelm 2022-10-11 13:11:51 -03:00
parent 89ee7124ac
commit 0e75588840
5 changed files with 91 additions and 0 deletions

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -0,0 +1,19 @@
.header{
display:flex;
justify-content:center;
align-items:center;
padding:29px 0;
background:#000
}
.header__logo {
width: 16%;
}
@media screen and (max-width: 414px) {
.header__logo {
width: 54%;
}
}

View File

@ -0,0 +1,43 @@
tml, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

17
index.html Normal file
View File

@ -0,0 +1,17 @@
<!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/css/main.css">
<link rel="stylesheet" href="./assets/styles/css/reset.css">
<title>Desafio M3 Academy</title>
</head>
<body>
<header class="header">
<img class="header__logo" src="./assets/images/logo-m3.svg" alt="Logo M3 Academy">
</header>
</body>
</html>