-
Notifications
You must be signed in to change notification settings - Fork 15
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
Homework_2 complete #13
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,110 @@ | ||
body{ | ||
margin:5% 20% 5% 4%; | ||
font-family: 'Lato', sans-serif; | ||
} | ||
|
||
header h1{ | ||
font-family: 'Lato', sans-serif; | ||
font-weight: 300; | ||
font-size:40px; | ||
margin: 0 auto; | ||
} | ||
|
||
header h1 a{ | ||
text-decoration: none; | ||
color:#FAD7A0; | ||
font-size:50px; | ||
} | ||
|
||
header h2{ | ||
font-family: 'Lato', sans-serif; | ||
font-weight: 400; | ||
margin: 5px 0; | ||
font-size: 25px; | ||
} | ||
|
||
header nav{ | ||
padding:5px 0; | ||
} | ||
|
||
header nav a{ | ||
color:#DDDDDD; | ||
padding:25px 0 0 0; | ||
letter-spacing: 1px; | ||
border-bottom: 1px solid #DDDDDD; | ||
text-decoration: none; | ||
margin: 0 10px 5px 0; | ||
} | ||
|
||
header nav a:hover { | ||
color: #ABB544; | ||
border-bottom: 1px solid #ABB544; | ||
} | ||
|
||
header nav a:first-child{ | ||
color:#DDDDDD; | ||
padding:20px 0 0 0; | ||
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. Another way to write this since you're only adding padding to the left is |
||
margin: 0 10px 0 0; | ||
} | ||
|
||
h3{ | ||
color:#DDDDDD; | ||
font-weight: 500; | ||
font-size:30px; | ||
margin:50px 0 0 0; | ||
} | ||
|
||
article h2{ | ||
margin: 10px 0; | ||
} | ||
|
||
article h2 a{ | ||
font-family: 'Lato', sans-serif; | ||
font-weight: 400; | ||
font-size:30px; | ||
text-decoration: none; | ||
color:black; | ||
} | ||
|
||
img{ | ||
width: 100%; | ||
height: auto; | ||
} | ||
|
||
article p{ | ||
letter-spacing: .5px; | ||
font-size:15px; | ||
margin: 20px 0; | ||
line-height: 1.5em; | ||
} | ||
|
||
article p::first-letter{ | ||
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. Nice!! |
||
font-size: 600%; | ||
color: #DDDDDD; | ||
float:left; | ||
margin: .3em .1em .4em 0; | ||
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. I like that you're trying out ems here! But make sure you are consistent in whatever you choose. So if you start off setting margins in ems, then stick with it throughout. |
||
} | ||
|
||
article h4 a{ | ||
color:#FAD7A0; | ||
float:right; | ||
text-decoration: none; | ||
} | ||
|
||
article { | ||
padding-bottom:65px; | ||
border-bottom: 1px solid #DDDDDD; | ||
} | ||
|
||
footer{ | ||
padding:50px 0 5px 0; | ||
} | ||
|
||
footer nav a{ | ||
color:#FAD7A0; | ||
} | ||
|
||
footer p{ | ||
color: #DDDDDD; | ||
} | ||
|
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.
Since you set the font-family in the body above, you don't have to reset it here again.