-
Notifications
You must be signed in to change notification settings - Fork 27
robert lude's solution #4
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 |
|---|---|---|
|
|
@@ -2,4 +2,59 @@ | |
| margin: 0 auto; | ||
| } | ||
|
|
||
| /*Put your code here*/ | ||
| .container > header { | ||
| background: black; | ||
| clear: both; | ||
| overflow: auto; | ||
| } | ||
|
|
||
| .container > header > span { | ||
| font-size: 20pt; | ||
| float: left; | ||
| font-weight: bold; | ||
| margin: 0.5em 1em; | ||
| } | ||
|
|
||
| .container > header > nav ul { | ||
| list-style-type: none; | ||
| float: right; | ||
| margin-right: 1em; | ||
| } | ||
|
|
||
| .container > header > nav ul li { | ||
| display: inline-block; | ||
| margin: 0.25em; | ||
| } | ||
|
|
||
| .container > header a { | ||
| color: white; | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| .container > section { | ||
| width: 900px; | ||
| margin: 0 auto; | ||
| } | ||
|
|
||
| .container > section > h1 { | ||
| border-bottom: 1px solid #ccc; | ||
| padding-bottom: 0.15em; | ||
| } | ||
|
|
||
| .container > section > footer { | ||
| width: 100%; | ||
| border-top: 1px solid #ccc; | ||
| padding-top: 0.15em; | ||
| } | ||
|
|
||
| .container > section > section { | ||
| margin-bottom: 1.5em; | ||
| } | ||
|
|
||
| .container > section > section > h2 { | ||
| margin: 0.5em 0; | ||
| } | ||
|
|
||
| .container > section > section > p { | ||
| margin: 0.5em 0; | ||
| } | ||
|
Member
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 would recommend removing
Member
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. Also, don't forget that you can use |
||
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.
How might you change this if you needed to implement a responsive design?