-
Notifications
You must be signed in to change notification settings - Fork 35
Bcn 04-19 Chloé #7
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 |
---|---|---|
@@ -1,7 +1,248 @@ | ||
html, body, div, span, applet, object, iframe, | ||
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. Reset at the top, good |
||
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; | ||
font-family: 'Nunito', sans-serif; | ||
color: #5b5e6d; | ||
} | ||
/* 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; | ||
} | ||
/* | ||
background-grey: #F4F3F4; | ||
button-purple: #192592 | ||
main-titles dark-grey: #2C303F; | ||
paragraph grey: #5b5e6d; | ||
nav grey: #5b5e6d; | ||
font-family: 'Nunito', sans-serif; | ||
font-family: 'Slabo 27px', serif; | ||
*/ | ||
|
||
@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 actually don't need to add all you code inside the media query, only the rules that are specific for that screen size. If you have questions about how to use the media queries please let us know |
||
|
||
/******** nav bar ********/ | ||
|
||
.nav-bar{ | ||
position: fixed; | ||
background: white; | ||
width: 100%; | ||
padding-left: 20px; | ||
height: 70px; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
border-bottom: 2px solid #F4F3F4; | ||
} | ||
|
||
.nav-bar img{ | ||
height: 50px; | ||
} | ||
|
||
.nav-bar ul li{ | ||
width: 100%; | ||
display: none; | ||
} | ||
|
||
/************* header *************/ | ||
|
||
.intro{ | ||
display: flex; | ||
flex-direction: column; | ||
padding: 80px 20px 20px; | ||
} | ||
|
||
.intro h1{ | ||
font-size: 30px; | ||
font-family: 'Slabo 27px', serif; | ||
font-weight: bold; | ||
padding-right: 120px; | ||
line-height: 1em; | ||
margin-bottom: 20px; | ||
color: #2C303F; | ||
} | ||
|
||
.intro p{ | ||
padding-bottom: 20px; | ||
} | ||
|
||
.extra{ | ||
width: 100%; | ||
height: 50px; | ||
border-radius: 4px; | ||
margin: 10px 15px 10px 0; | ||
padding-left: 15px; | ||
} | ||
|
||
.start{ | ||
background-color: #192592; | ||
color: white; | ||
} | ||
|
||
.note{ | ||
font-size: 0.7em; | ||
text-align: center; | ||
} | ||
|
||
.note a{ | ||
color: #192592; | ||
} | ||
|
||
.intro img{ | ||
width: 100%; | ||
order: 1; | ||
} | ||
/*********** | ||
** main *************/ | ||
|
||
.container{ | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.content{ | ||
background: #F4F3F4; | ||
padding: 20px | ||
} | ||
|
||
h2{ | ||
font-size: 20px; | ||
font-weight: bold; | ||
text-align: center; | ||
color: #2C303F; | ||
} | ||
|
||
.content p { | ||
text-align: center; | ||
padding: 20px 0; | ||
} | ||
|
||
.discover{ | ||
background: white; | ||
color: #192592; | ||
border: 1px solid #192592; | ||
font-weight: bold; | ||
} | ||
|
||
.partner{ | ||
width: 50%; | ||
padding: 20px 25%; | ||
border-bottom: 1px solid #5b5e6d; | ||
} | ||
|
||
.apply{ | ||
flex-direction: column; | ||
text-align: center; | ||
padding: 30px 20px; | ||
border: 1px solid #F4F3F4; | ||
} | ||
|
||
.apply p:first-child{ | ||
font-family: 'Slabo 27px', serif; | ||
font-weight: bold; | ||
padding-bottom: 5px; | ||
} | ||
|
||
/********** Footer ***********/ | ||
footer{ | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.navigator{ | ||
|
||
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. Remove the blank |
||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-between; | ||
padding: 10px 20px; | ||
} | ||
|
||
.navigator img{ | ||
width: 30%; | ||
height: 30%; | ||
margin-right: 70% | ||
} | ||
|
||
.navigator ul { | ||
width: 50%; | ||
} | ||
|
||
.navigator ul li{ | ||
margin: 15px 0; | ||
} | ||
|
||
.navigator ul li:first-child{ | ||
font-weight: bold; | ||
color: #2C303F; | ||
} | ||
|
||
|
||
/******* final-part *******/ | ||
|
||
.final-part{ | ||
background: #F4F3F4; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
font-size: 0.9em; | ||
} | ||
|
||
.final-part ul{ | ||
text-align: center; | ||
font-weight: bold; | ||
width: 100%; | ||
margin-top: 10px; | ||
} | ||
|
||
.final-part ul li{ | ||
display: inline; | ||
margin: 5px; | ||
} | ||
|
||
.lang{ | ||
margin: 20px 0; | ||
} | ||
|
||
.lang img{ | ||
width: 12px; | ||
height: auto; | ||
} | ||
|
||
.icon{ | ||
margin: 0 10px 10px; | ||
} | ||
} |
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.
Now that you have edited them maybe you could add the content for the alt attribute :)