-
Notifications
You must be signed in to change notification settings - Fork 34
Arquivo css #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Arquivo css #24
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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 { | ||||||||||||||||||||||
| position: absolute; | ||||||||||||||||||||||
| top: 70px; | ||||||||||||||||||||||
| left: 850px; | ||||||||||||||||||||||
| width: 280px; | ||||||||||||||||||||||
| height: 250px; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| .item-portifolio { | ||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
O mesmo vale para esse aqui. Nesse caso você pode manter o |
||||||||||||||||||||||
| margin: 20px; | ||||||||||||||||||||||
| background: #000; | ||||||||||||||||||||||
| text-align: center; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| .item-servicos { | ||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Dica: em vez de usar o |
||||||||||||||||||||||
| 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 { | ||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Você pode alinhar os elementos verticalmente usando o próprio |
||||||||||||||||||||||
| 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; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
| 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=""> | ||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Como estamos usando o
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 = </strong> </p> | ||||||||||||||
| </footer> | ||||||||||||||
|
|
||||||||||||||
| </body> | ||||||||||||||
|
|
||||||||||||||
| </html> | ||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usando o
flexboxpara alinhar os elementos verticalmente você não precisa mais usar oposition absolute. Basta deixar apenas a largura e altura da sua imagem.