Skip to content

Commit fc4d6c3

Browse files
committed
added padding to body and fixed the footer
1 parent 260af68 commit fc4d6c3

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Wireframe/style.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ body {
3434
background: var(--paper);
3535
color: var(--ink);
3636
font: var(--font);
37+
padding-bottom: 4rem;
3738
}
3839
a {
3940
padding: var(--space);
@@ -54,10 +55,15 @@ main {
5455
margin: 0 auto calc(var(--space) * 4) auto;
5556
}
5657
footer {
58+
position: fixed;
5759
bottom: 0;
58-
text-align: center;
60+
left: 0;
5961
width: 100%;
6062
padding: var(--space);
63+
text-align: center;
64+
background: var(--paper);
65+
border-top: var(--line);
66+
z-index: 100;
6167
}
6268
/* ====== Articles Grid Layout ====
6369
Setting the rules for how articles are placed in the main element.

0 commit comments

Comments
 (0)