1- Estilizando o cabeçalho com CSS:
.cabecalho__menu__link {
font-family: 'Montserrat', sans-serif;
font-size: 24px;
font-weight: 600;
color: #22D4FD;
}
.cabecalho {
padding: 2% 0% 0% 15%;
}
.cabecalho__menu {
display: flex;
gap: 80px;
}
2- Ajustando o espaçamento do conteúdo:
.apresentacao {
padding: 5% 15%;
}
3- Criando e navegando para a página "Sobre mim":
index.html:
<!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>Sobre mim</title>
</head>
<body>
<main class="apresentacao">
<section class="apresentacao__conteudo">
<h1 class="apresentacao__conteudo__titulo">Sobre mim</h1>
<p class="apresentacao__conteudo__texto"></p>
<p class="apresentacao__conteudo__texto"></p>
</section>
<img src="./assets/imagem.png" alt="Foto de Wallace Ribeiro programando">
</main>
index.html:
<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>
</nav>
</header>
</body>
</html>
4- Ajustando a estilização após reorganização de arquivos: index.html:
<!DOCTYPE html>
<html lang="pt-br">
<head>
//... código omitido
<link rel="stylesheet" href="./styles/styles.css">
//... código omitido
</head>
//... resto do código
styles.css:
.cabecalho__menu__link{
font-family: var(--fonte-secundaria);
font-size: 24px;
font-weight: 600;
color: var(--cor-terciaria);
text-decoration: none;
5-Estruturando a página "Sobre mim" com cabeçalho e rodapé:
about.html:
<!DOCTYPE html>
<html lang="pt-br">
<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>
</nav>
</header>
<main></main>
<footer class="rodape">
<p>Desenvolvido por Wallace RBR.</p>
</footer>
</body>
</html>
6- Importando e corrigindo o caminho do arquivo CSS na página "Sobre mim":
<!DOCTYPE html>
<html lang="pt-br">
<head>
//... outros elementos do head
<title>Sobre mim</title>
<link rel="stylesheet" href="./styles/styles.css">
</head>
<body>
//... restante do código do body
</body>
</html>