Skip to content

Commit e02a3b2

Browse files
committed
center the header and footer
1 parent 55182d3 commit e02a3b2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Wireframe/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ body {
3131
color: var(--ink);
3232
font: var(--font);
3333
}
34+
header {
35+
text-align: center;
36+
padding: var(--space);
37+
}
3438
a {
3539
padding: var(--space);
3640
border: var(--line);
@@ -52,7 +56,10 @@ main {
5256
footer {
5357
position: fixed;
5458
bottom: 0;
59+
width: 100%;
5560
text-align: center;
61+
background: var(--paper);
62+
padding: var(--space);
5663
}
5764
/* ====== Articles Grid Layout ====
5865
Setting the rules for how articles are placed in the main element.

0 commit comments

Comments
 (0)