Vim compartilhar com vocês a minha lista de exercício, da aula "Criando header e footer". O objetivo aqui é compartilhar, permitindo que vocês sugerem melhorias ou suas respetivas respostas, contribuindo assim para o enriquecimento do conhecimento.
HTML:
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sobre mim</title>
<link rel="stylesheet" href="assets\styles\style.css">
</head>
<body>
<header class="cabecalho">
<nav class="cabecalho__menu">
<a class="cabecalho__menu__link" href="index.html">Home</a>
<a class="cabecalho__menu__link" href="about.html">Sobre mim</a>
<a class="cabecalho__menu__link" href="experience.html">Experiências</a>
</nav>
</header>
<footer class="rodape">
<p>Desenvolvido por João Pedro Labussiere</p>
</footer>
</body>
</html>
CSS:
@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*{
margin: 0;
padding: 0;
}
body{
/* height: 100vh; */
box-sizing: border-box;
background-color: black;
color: #F6F6F6;
}
.cabecalho{
padding: 2% 0 0 15%;
}
.cabecalho__menu{
display: flex;
gap: 80px
}
.cabecalho__menu__link{
font-size: 24px;
font-family: "Montserrat", sans-serif;
font-weight: 600;
text-decoration: none;
color: #8E16F0;
}
.apresentacao{
display: flex;
align-items: center;
justify-content: space-between;
padding: 4.5% 15%;
}
.apresentacao__conteudo{
width: 615px;
display: flex;
flex-direction: column;
gap: 40px;
}
.apresentacao__conteudo__titulo{
font-size: 36px;
font-family: "Krona One", sans-serif;
}
.apresentacao__conteudo__texto{
font-size: 24px;
font-family: "Montserrat", sans-serif;
font-weight: 400;
}
.destaque-roxo{
color: #8E16F0;
}
.apresentacao__links{
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
gap: 32px;
}
.apresentacao__links__subtitulo{
font-family: "Krona One", sans-serif;
font-weight: 400;
font-size: 24px;
}
.apresentacao__links__link{
position: relative;
display: flex;
justify-content: center;
gap: 16px;
border: 2.3px solid;
border-color: #8E16F0;
color: #F6F6F6;
font-family: "Montserrat", sans-serif;
font-weight: 600;
width: 378px;
text-align: center;
border-radius: 8px;
font-size: 24px;
padding: 20.5px 0;
text-decoration: none;
}
.apresentacao__links__link:hover{
background: var(--clr);
color: var(--clr);
letter-spacing: 0.15em;
box-shadow: 0 0 35px var(--clr);
}
.apresentacao__links__link::before{
content: "";
position: absolute;
inset: 1.5px;
background-color: black;
}
.apresentacao__links__link span{
position: relative;
align-items: center;
z-index: 1;
}
.apresentacao__links__link img{
width: 33px;
height: 27px;
}
.apresentacao__img{
padding-right: 15%;
}
.apresentacao__img img{
width: 488px;
height: 550px;
border-radius: 50%;
}
.rodape{
padding: 24px;
text-align: center;
font-size: 24px;
font-weight: 400;
font-family: "Montserrat", sans-serif;
color: black;
background-color: #8E16F0;
}