Skip to content

Commit

Permalink
feat: "Create action and header component"
Browse files Browse the repository at this point in the history
  • Loading branch information
brunop27 committed May 23, 2024
1 parent f49c1d5 commit 0ae469c
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 40 deletions.
9 changes: 9 additions & 0 deletions css/components/action.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
a{
display: inline-flex;
align-items: center;
color: #EDEDED;
font-size: 21px;
font-weight: 600;
text-decoration: none;
margin-right: 30px;
}
4 changes: 2 additions & 2 deletions css/components/box.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#box{
.box{
display: inline-block;
background-color: #3A4042;
box-shadow: 8px 8px 2px #000;
text-align: center;
padding: 42px 44px;
}

#box h1{
.box .title{
margin-bottom: 28px;
}
8 changes: 8 additions & 0 deletions css/components/header.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.header{
display: flex;
justify-content: space-between;
align-items: center;
background-color: #1e90ff;
border-bottom: 5px solid #2e2e2e;;
padding: 10px 20px;
}
2 changes: 1 addition & 1 deletion css/components/subtitle.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
h2{
.subtitle{
font-size: 30px;
font-family: "Fira Code", sans-serif;
text-shadow: 4px 4px 0 #000;
Expand Down
2 changes: 1 addition & 1 deletion css/components/title.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
h1.title{
.title{
font-family: "Fira Code", sans-serif;
text-shadow: 3px 3px 0px #2e2e2e;;
font-size: 40px;
Expand Down
28 changes: 0 additions & 28 deletions css/index.css

This file was deleted.

17 changes: 9 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,30 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:[email protected]&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/index.css">
<link rel="stylesheet" href="css/components/header.css">
<link rel="stylesheet" href="css/components/title.css">
<link rel="stylesheet" href="css/components/subtitle.css">
<link rel="stylesheet" href="css/components/box.css">
<link rel="stylesheet" href="css/components/button.css">
<link rel="stylesheet" href="css/components/action.css">

</head>
<body>
<header>
<header class="header">
<h1>BP</h1>
<nav>
<a href="#sobre" lang="en">Sobre</a>
<a href="#skill">Skill</a>
<a href="#projetos">Projetos</a>
<a href="#contatos">Contatos</a>
<a class="action" href="#sobre" lang="en">Sobre</a>
<a class="action" href="#skill">Skill</a>
<a class="action" href="#projetos">Projetos</a>
<a class="action" href="#contatos">Contatos</a>
<a class="button" href="" lang="en">Download CV</a>
</nav>
</header>

<div id="box">
<div class="box">
<h1 class="title">Bruno Pinheiro</h1>

<h2>FrontEnd Developer</h2>
<h2 class="subtitle">FrontEnd Developer</h2>
</div>
<a class="button" href="" lang="en">Download CV</a>
<a class="button" href="">Contatos</a>
Expand Down

0 comments on commit 0ae469c

Please sign in to comment.