Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
181 changes: 181 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
.bemvindo {
height: 500px;
width: 1250px;
}

body {
background: #000;
}

button {
background: #FFA500;
border: 1px solid #000;
color: #000;
padding: 5px 20px 5px 20px;
}

button:hover {
background: #000;
color: #fff;
}

.container {
display: flex;
margin: 0 auto;
}

#contato {
background: #FFA500;
padding: 50px;
text-align: center;
}

.fab {
color: #000;
background: yellow;
border-radius: 50%;
padding: 10px;
margin: 5px;
}

figcaption {
color: #ffa500;
}

.fundo-slide {
width: 100%;
height: 400px;
}

h2 {
color: #e6197f;
text-align: center;
}

h3 {
color: #FFA500;
text-align: center;
}

h4 {
color: #000;
}

h5 {
color: #ffa500;
}

.img-portifolio {
width: 250px;
}

.img-servicos {
border: 2px solid;
border-radius: 50%;
color: #fff;
width: 150px;
}

.img-slide {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.img-slide {
.img-slide {
width: 280px;
height: 250px;
}

Usando o flexbox para alinhar os elementos verticalmente você não precisa mais usar o position absolute. Basta deixar apenas a largura e altura da sua imagem.

position: absolute;
top: 70px;
left: 850px;
width: 280px;
height: 250px;
}

.item-portifolio {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.item-portifolio {
.item-portifolio {
margin: 20px;
background: #000;
text-align: center;
flex: 1;
}

O mesmo vale para esse aqui. Nesse caso você pode manter o margin para separar os elementos normalmente, mas para posicioná-los use o flexbox.

margin: 20px;
background: #000;
text-align: center;
}

.item-servicos {
Copy link
Contributor

@alinebezzoco alinebezzoco Jan 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.item-servicos {
.item-servicos {
flex: 1;
background: #000;
text-align: center;
}

Dica: em vez de usar o margin para posicionar os elementos, utilize o flexbox já que você já está usando-o. Assim você consegue deixar os elementos alinhados e posicionados na forma que você quer.

margin: 50px;
background: #000;
text-align: center;
}

.menu ul {
width: 100%;
height: auto;
padding: 10px;
margin: 0;
background-color: #000;
list-style: none;
}

.menu ul li {
display: inline-block; /* os itens do menu lado a lado */
}

.menu ul li a {
color: #fff;
font-size: 14px;
text-decoration: none;
position: relative; /* O position relative posiciona o elemento em relação a si mesmo. Ou seja, o ponto zero será o canto superior esquerdo, e ele começará a contar a partir dali.*/
top: -30px;
margin: 10px;
padding: 10px;
}

.menu ul li a:hover {
border: 1px yellow solid;
}

.menu-logo {
width: auto;
height: 50px;
margin-left: 50px;
margin-right: 350px;
}

p {
color: #fff;
text-align: center;
}

#portifolio {
background: #FFA500;
height: 500px;
padding: 50px;
}

.progress {
height: 30px;
width: 500px;
background: #fff;
padding: 1px;
margin: 20px;
}

.progress-bar {
color: #fff;
height: 30px;
text-align: left;
width: 300px;
background: #a24168;
}

.slide {
Copy link
Contributor

@alinebezzoco alinebezzoco Jan 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.slide {
.slide {
width: 100%;
display: flex;
background-image: url('../images/Slider.png');
height: 400px;
background-size: 100% auto;
align-items: center;
justify-content: center;
}

Você pode alinhar os elementos verticalmente usando o próprio flexbox.
Na sugestão acima eu removi o position relative e removi também o fundo-slide do seu html, adicionando-o como um background-image. Mas o que faz o elemento ser alinhado verticalmente é o uso das propriedades align-itens e justify-content.

position: relative;
width: 100%;
top: 0;
left: 0;
}

#sobre {
text-align: center;
height: 1150px;
}

.sobre-img {
display: block;
margin-left: auto;
margin-right: auto;
}

.sobre-nome {
color: #FFA500;
text-align: center;
}
175 changes: 175 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<link rel="icon" href="./images/icon.ico" type="image/gif" sizes="16x16">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU"
crossorigin="anonymous">
<title>Front-End Study 2</title>
</head>

<body>
<!-- Menu -->
<nav class="menu">
<ul>
<li><img class="menu-logo" src="images/logo.png" alt=""></li>
<li><a href="#">HOME</a></li>
<li><a href="#servicos">SERVIÇOS</a></li>
<li><a href="#portifolio">PORTIFÓLIO</a></li>
<li><a href="#sobre">SOBRE MIM</a></li>
<li><a href="#contato">CONTATO</a></li>
</ul>
</nav>

<!-- Slides -->
<section id="">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<section id="">
<section id="">
<div class="slide">
<img class="img-slide" src="images/slider01.png" alt="">
</div>
</section>

Como estamos usando o flexbox para alinhar verticalmente o fundo-slider passa a ser um background-image (o que faz mais sentido) e não tem necessidade de existir mais essa <div> vazia para englobar o img-slide.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obrigada pelos comentários @bezzocoaline . Eu não conhecia o display flex, as meninas do meu grupo de estudos me falaram para usá-lo. Vou tentar refazer com as suas dicas para entender melhor, pois ainda não tinha ficado claro. A medida rem não sabia nada sobre ela, apesar de ver em vários tutorias nunca entendi. Agradeço a sua explicação de forma simples e direta. Me ajudou muito.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Que bom, @amandafdantas! Fico feliz pelo feedback <3

<div class="slide">
<img class="fundo-slide" src="images/Slider.png" alt="">
<div>
<img class="img-slide" src="images/slider01.png" alt="">
</div>
</div>
</section>

<!-- Serviços -->
<section id="servicos">

<h2>Serviços</h2>
<p>Abaixo os serviços que realizamos.</p>

<!-- Imagens Serviços -->
<div class="container">
<div class="item-servicos">
<img class="img-servicos" src="images/Service1.png" alt="">
<h3>Websites</h3>
<p>Desenvolvimento de Websites para divulgação do seu produto ou negócio.</p>
</div>

<div class="item-servicos">
<img class="img-servicos" src="images/Service2.png" alt="">
<h3>Templates</h3>
<p>Desenvolvimento de Templates de acordo com a sua necessidade.</p>
</div>

<div class="item-servicos">
<img class="img-servicos" src="images/Service3.png" alt="">
<h3>Temas Wordpress</h3>
<p>Temas wordPress e ferramentas similares.</p>
</div>
</div>

</section>

<!-- Meus Trabalhos -->
<section id="portifolio">

<h2>Meus trabalhos</h2>
<p>Abaixo alguns dos trabalhos ja realizados.</p>
<button type="button" name="btnTudo">Tudo</button>
<button type="button" name="btnWebSite">Website</button>
<button type="button" name="btnTemplate">Template</button>
<button type="button" name="btnTema">Tema</button>

<div class="container">
<div class="item-portifolio">
<figure>
<img class="img-portifolio" src="images/Portfolio01.png" alt="">
<figcaption>
Exemplo de site 1
<p>Descrição do site 1</p>
</figcaption>
</figure>
</div>

<div class="item-portifolio">
<figure>
<img class="img-portifolio" src="images/Portfolio02.png" alt="">
<figcaption>
Exemplo de site 2
<p>Descrição do site 2</p>
</figcaption>
</figure>
</div>

<div class="item-portifolio">
<figure>
<img class="img-portifolio" src="images/Portfolio03.png" alt="">
<figcaption>
Exemplo de site 3
<p>Descrição do site 3</p>
</figcaption>
</figure>
</div>
</div>

</section>

<!-- Quem Sou Eu -->
<section id="sobre">

<h2>Quem sou eu</h2>
<p>Descrição de quem sou eu.</p>

<figure>
<img class="sobre-img" src="images/photo.png">
<figcaption class="sobre-nome">
Amanda Dantas
</figcaption>
</figure>

<!-- ícones -->
<a href="https://www.facebook.com/" target="_blank">
<i class="fab fa-facebook-f fa-1x"></i>
</a>
<a href="https://www.twitter.com/" target="_blank">
<i class="fab fa-twitter fa-1x" aria-hidden="true"></i>
</a>
<a href="https://www.twitter.com/" target="_blank">
<i class="fab fa-linkedin-in fa-1x" aria-hidden="true"></i>
</a>

<h3>Sobre Mim</h3>
<p>Formada em Ciência da Computação em 2012 na Universidade Veiga de Almeida.</p>
<p> Atualmente trabalhando com desenvolvimento de relatórios gerenciais para os sistemas VS
programando em Xbase e elaborando queries SQL (SQL Server, Oracle, MySQL).</p>
<p>Uso da ferramenta iReport para a criação de layouts de relatórios.</p>

<h3>Habilidades</h3>
<div class="progress">
<div class="progress-bar"> Html & CSS</div>
</div>

<div class="progress">
<div class="progress-bar"> Java Script</div>
</div>

<div class="progress">
<div class="progress-bar">SQL</div>
</div>

<div class="progress">
<div class="progress-bar">PHP</div>
</div>

</section>

<!-- Contato -->
<section id="contato">
<h2>Contato</h2>
<a href="mailto:amandafdantas@gmail.com">amandafdantas@gmail.com</a>
<br>
<p>Telegram: @dantas_amanda</p>

</section>

<!-- Footer -->

<footer>
<p>Women + Tech = &#60&#47strong&#62 </p>
</footer>

</body>

</html>