-
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
finished css code #15
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,113 @@ | ||
*{ | ||
width: 850px; | ||
} | ||
|
||
body{ | ||
font-family: sans-serif; | ||
margin-left: 10%; | ||
|
||
} | ||
|
||
h1 { | ||
color: #FFC963; | ||
font-size: 60px; | ||
text-decoration-line: none; | ||
font-family: sans-serif; | ||
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've already set the same font-family in the body so you don't need to set it again here. |
||
font-weight: 200; | ||
line-height: 1.6em; | ||
} | ||
a { | ||
text-decoration: none; | ||
|
||
|
||
} | ||
|
||
|
||
header h1,h2{ | ||
padding: 0; | ||
} | ||
|
||
h2 { | ||
font-size: 30px; | ||
font-family: sans-serif; | ||
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've already set the same font-family in the body so you don't need to set it again here. |
||
font-weight: 200; | ||
letter-spacing: normal; | ||
color: black; | ||
padding: 0; | ||
} | ||
article h3 { | ||
font-family: sans-serif; | ||
color:#C3C3C3; | ||
} | ||
|
||
nav a{ | ||
|
||
/* color: rgba(195,195,195,.4);*/ | ||
font-size: 21px; | ||
font-weight: 300; | ||
/* color: rgba(255,201,99,.5);*/ | ||
line-height: 0; | ||
|
||
|
||
} | ||
h3{ | ||
font-family: sans-serif; | ||
font-size: 40px; | ||
padding-top: 8%; | ||
line-height: 0; | ||
|
||
} | ||
h4{ | ||
text-align: right; | ||
font-family: sans-serif; | ||
color: #FFC963; | ||
line-height: 0; | ||
|
||
} | ||
p{ | ||
font-family: sans-serif; | ||
font-weight: 200; | ||
color: rgba(0,0,0,.7); | ||
padding: 10px; | ||
width: 875px; | ||
color: solid; | ||
line-height: 23px; | ||
text-decoration: bold; | ||
|
||
} | ||
|
||
header h1, a{ | ||
color: #FFC963; | ||
line-height: 1%; | ||
padding-top: 10%; | ||
} | ||
h4 a{ | ||
color: #FFC963; | ||
border-bottom: .9px solid #C3C3C3; | ||
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. 1px is pretty small already - I think .9px is a value that I probably would stray away from. |
||
margin: 0px; | ||
padding: 0px; | ||
} | ||
article h3{ | ||
color: rgba(195,195,195,.4); | ||
|
||
font-weight: 200; | ||
} | ||
article h2 a{ | ||
color: black; | ||
} | ||
header nav a{ | ||
word-spacing: 80px; | ||
color: rgba(195,195,195,.4); | ||
text-decoration: underline; | ||
|
||
|
||
} | ||
footer nav{ | ||
padding-top: 10%; | ||
font-size: 15px; | ||
padding-bottom: 5%; | ||
line-height: 0; | ||
} | ||
p a{ | ||
color: rgba(58,55,55,.4); | ||
} |
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.
Rather than using a px value, use a % for width or set margin/padding so you can keep your site responsive.