Skip to content
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

Feature/desafio 02 estilo #23

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
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
336 changes: 336 additions & 0 deletions css/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,336 @@
/* Generic */
a {
text-decoration: none;
}

.container {
margin: 0 auto;
min-height: 80px;
padding: 40px 20px;
width: 1024px;
box-sizing: border-box;
}

h1 {

Choose a reason for hiding this comment

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

Lais eu senti falta de uma fonte especifica para o projeto.
No template do Womakers eles usam o roboto
(https://fonts.google.com/specimen/Roboto)
mas fica a vontade de colocar a fonte que você quiser também

color: #d91e55;
font-size: 28px;
}

h2 {
color: #fdad1a;
font-size: 18px;
}

h3 {
color: #fdad1a;
}

h1, h2, h3 {

Choose a reason for hiding this comment

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

você pode criar uma classe para esses h's, ia ficar mais facil de manipular!

font-weight: bold;
margin: 20px 0;
text-align: center;
}

.subtitle::after {
background: #f9fdff;
content: "";
display: block;
height: 1px;
margin-top: 20px;
}

ul > li {
display: inline-block;
}

/* End Generic */

/* Header */
header {
background-color: #191a1c;
height: 80px;
}

header > .container {
box-sizing: border-box;
padding: 10px;
}

.logo {
float: left;
height: 60px;
width: 160px;
}

.logo img {
height: 60px;
width: 160px;
}

.site-navegation {
float: right;
padding: 20px;
}

.site-navegation a {
color: #f9fdff;
padding: 10px 20px 10px 10px;
text-transform: uppercase;
}

.site-navegation a:hover {
border: 1px solid #dfc985;
}
/* End Header */

/* Slider */
.slider {
background-color: #d91e55;
height: 400px;
}

.slider .container {
background-image: url('../images/Slider.png');
height: 100%;
width: 100%;
opacity: 0.7;
}

.slide-custom-title {
color: #191a1c;
text-align: left;
text-transform: uppercase;
}

.slider-texts {
float: left;
margin-left: 160px;
}

.slider img {
float: right;
height: 300px;
margin-right: 100px;
}
/* End Slider */

/* Services */
.services {
background-color: #191a1c;
}

.services-box {
display: inline-block;
min-height: 280px;
width: 320px;
}

.services-image {
height: 155px;
margin: 0 auto;
width: 155px;
}

.services-image img {
border: 2px solid #f9fdff;
border-radius: 100px;
height: 150px;
width: 150px;
}

.services-box p {
color: #f9fdff;
text-align: center;
}
/* End Services */

/* Works */
.works {
background-color: #fdad1a;
}

.works-box {
display: inline-block;
height: 250px;
margin-right: 20px;
width: 300px;
}

.works h2 {
color: #191a1c;
}

.works-image {
height: 250px;
width: 300px;
}

.works-menu {
margin: 40px 0;
}

.works-menu a {
border: 1px solid #191a1c;
box-sizing: border-box;
color: #191a1c;
padding: 10px 20px;
text-transform: capitalize;
}

.works-menu a:hover {
background-color: #191a1c;
box-sizing: border-box;
color: #f9fdff;
padding: 10px 20px;
}

.works-menu li {
margin-right: 5px;
}

.works .subtitle::after {
background-color: #191a1c;
}

/* End Works */

/* About */
.about {
background-color: #191a1c;
}

.about-image {
height: 400px;
margin: 0 auto;
width: 400px;
}

.about-image img {
height: 400px;
width: 400px;
}

.about-main-media {
height: 50px;
margin: 0 auto;
width: 190px;
}

.about-main-media i {
background-color: #fdad1a;
border-radius: 100px;
color: #191a1c;
font-size: 20px;
height: 20px;
margin-right: 20px;
padding: 10px;
width: 20px;
}

.about-skill {
background-color: #f9fdff;
box-sizing: border-box;
height: 40px;
margin-bottom: 20px;
padding: 1px;
width: 720px;
}

.about-skill-content {
background-color: #822051;
box-sizing: border-box;
color: #f9fdff;
height: 38px;
padding: 10px;
width: 450px;
}

.about-skills {
margin-top: 40px;
}

.about-skills h2 {
text-align: left;
}

.about-text {
color: #f9fdff;
text-align: center;
}

/* End About */

/* Contact*/

.contact {
background-color: #fdad1a;
}

.contact-content {
margin: 0 auto;
padding: 20px 0;
width: 100%;
}

.contact-content div {
display: block;
}

.contact-content div:first-child {
border: 1px solid #f9fdff;
margin: 20px auto;
padding: 10px;
text-align: center;
width: 390px;
}

.contact h2, h3 {
color: #191a1c;
}

h3::after {
background: #191a1c;
content: "";
display: block;
height: 1px;
margin-top: 20px;
}

.contact-social-media {
margin: 0 auto;
width: 380px;
}

.contact-social-media i {
background-color: #f9fdff;
border-radius: 100px;
color: #fdad1a;
height: 20px;
margin-right: 20px;
padding: 10px;
width: 20px;
}

.contact .subtitle::after {
background-color: #191a1c;
}

.contact-phone {
color: #f9fdff;
text-align: center;
}

/* End Contact*/

/* Footer */
footer {
background-color: black;
color: #f9fdff;
}

footer > div {
margin: 0 auto;
padding: 20px;
width: 200px;
}
/* End Footer */
47 changes: 47 additions & 0 deletions css/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
Loading