-
Notifications
You must be signed in to change notification settings - Fork 35
BCN Web Dev 04/2019 - Dino #10
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?
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,43 @@ | ||
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; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,185 @@ main-titles dark-grey: #2C303F; | |
paragraph grey: #5b5e6d; | ||
nav grey: #5b5e6d; | ||
*/ | ||
|
||
/* ITERATION 1 */ | ||
|
||
/* Extra Small Screen (width < 768px */ | ||
|
||
body { | ||
margin: 0; | ||
font-family: 'Heebo', sans-serif; | ||
padding: 20px; | ||
} | ||
img { | ||
max-width: 100%; | ||
} | ||
|
||
@media (max-width: 768px) { | ||
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. You don't need to put all your code inside this @Mediaquery. Just specific things that only are different for that screen size. Please if you have questions regarding how to use media queries let us know. |
||
|
||
body { | ||
margin: 0; | ||
font-family: 'Heebo', sans-serif; | ||
padding: 20px; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.container { | ||
width: 100%; | ||
} | ||
|
||
.nav-bar ul { | ||
/* visibility: hidden; */ | ||
display: inline-flex; | ||
list-style: none; | ||
margin: 0; | ||
color: #5b5e6d; | ||
} | ||
.nav-bar ul li { | ||
margin: 0 5px; | ||
} | ||
|
||
.nav-parent { | ||
width: 100%; | ||
padding: 0; | ||
height: 70px; | ||
background-color: #fff; | ||
z-index: 1000; | ||
top: 0; | ||
left: 0; | ||
position: fixed; | ||
border-bottom: none; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
.nav-bar { | ||
height: 100%; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
margin: 0 auto; | ||
padding: 0; | ||
width: 95%; | ||
} | ||
.logo { | ||
line-height: 0; | ||
} | ||
|
||
#nav-logo { | ||
height: auto; | ||
width: 100px; | ||
} | ||
.header { | ||
/* display: flex; */ | ||
/* padding: 90 10px 0; */ | ||
text-align: center; | ||
color: #5b5e6d; | ||
} | ||
|
||
.header h1 { | ||
color: #2C303F; | ||
} | ||
|
||
.header p { | ||
text-align: left; | ||
padding: 0 20px; | ||
margin-bottom: 25px; | ||
} | ||
|
||
#last-p { | ||
text-align: center; | ||
} | ||
|
||
.header button, .try-free button { | ||
font-size: 1rem; | ||
font-weight: 700; | ||
border-radius: 5px; | ||
width: 90%; | ||
height: 40px; | ||
padding: 10px; | ||
background-color: #192592; | ||
color: #fff; | ||
text-transform: capitalize; | ||
} | ||
|
||
.clients { | ||
width: 100%; | ||
color: #2C303F; | ||
background-color: #F4F3F4; | ||
text-align: center; | ||
} | ||
|
||
.clients h2 { | ||
color: #2C303F; | ||
text-align: center; | ||
padding-top: 15px; | ||
} | ||
|
||
.clients button { | ||
font-size: 1rem; | ||
font-weight: 700; | ||
border-radius: 5px; | ||
width: 90%; | ||
height: 40px; | ||
padding: 10px; | ||
background-color: #fff; | ||
border: 1px solid #192592; | ||
color: #192592; | ||
text-transform: capitalize; | ||
} | ||
|
||
.clients p { | ||
padding: 10px 20px; | ||
text-align: left; | ||
|
||
} | ||
|
||
.clients img { | ||
display: block; | ||
max-width: 50%; | ||
margin: 50px auto; | ||
padding-bottom: 20px; | ||
} | ||
.try-free, .try-free p { | ||
text-align: center; | ||
color: #5b5e6d; | ||
} | ||
|
||
.try-free h3 { | ||
font-weight: 700; | ||
font-size: 1.2em; | ||
color: #2C303F; | ||
} | ||
.companies { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.companies ul li { | ||
list-style-type: none; | ||
color: #5b5e6d; | ||
} | ||
|
||
.li-bold { | ||
margin: 0 0 10px; | ||
font-weight: 700; | ||
color: #2C303F; | ||
} | ||
.ul-parent { | ||
/* margin-right: 10px; */ | ||
display: flex; | ||
flex-direction: row; | ||
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. the default value for flex-direction is already row. |
||
/* align-items: flex-start; */ | ||
flex-wrap: wrap; | ||
} | ||
.ul-parent ul { | ||
display: flex; | ||
flex-direction: column; | ||
width: 40%; | ||
justify-content: center; | ||
} | ||
|
||
} |
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.
you commented out the reset file so the reset isn't taking place.