-
-
Notifications
You must be signed in to change notification settings - Fork 498
Cape Town | 25-ITP-May | Asanda Dunn | Sprint 2 | Wireframe #1365
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: main
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
|
Contributor
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. There are two |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,6 +30,9 @@ body { | |
| background: var(--paper); | ||
| color: var(--ink); | ||
| font: var(--font); | ||
| margin:0; | ||
| padding:20px; | ||
| padding-bottom:80px; | ||
| } | ||
| a { | ||
| padding: var(--space); | ||
|
|
@@ -40,6 +43,7 @@ img, | |
| svg { | ||
| width: 100%; | ||
| object-fit: cover; | ||
| display:block | ||
| } | ||
| /* ====== Site Layout ====== | ||
| Setting the overall rules for page regions | ||
|
|
@@ -50,8 +54,9 @@ main { | |
| margin: 0 auto calc(var(--space) * 4) auto; | ||
| } | ||
| footer { | ||
| position: fixed; | ||
| bottom: 0; | ||
| width: 100%; | ||
| padding:10px; | ||
| text-align: center; | ||
| } | ||
| /* ====== Articles Grid Layout ==== | ||
|
|
@@ -79,6 +84,7 @@ article { | |
| padding-bottom: var(--space); | ||
| text-align: left; | ||
| display: grid; | ||
| background: white; | ||
| grid-template-columns: var(--space) 1fr var(--space); | ||
| > * { | ||
| grid-column: 2/3; | ||
|
|
@@ -87,3 +93,8 @@ article { | |
| grid-column: span 3; | ||
| } | ||
| } | ||
|
|
||
| main article:first-child img{ | ||
| height:300px; | ||
| } | ||
|
|
||
|
Comment on lines
+97
to
+100
Contributor
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. Could we keep |
||
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.
Indentation is off.
As a best practice, consider following this guide to enable VS Code's
"Format on Save" option or to use its "Format Document" command to ensure your code is always consistently formatted.