Skip to content

Commit

Permalink
[public] Convert to flexbox for better footer
Browse files Browse the repository at this point in the history
  • Loading branch information
aeolyus committed May 17, 2020
1 parent bf8fc99 commit 6e6e8c9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions public/style.css
Expand Up @@ -4,6 +4,8 @@ body {
font-size: 4em;

margin: 0 auto;
display: flex;
flex-direction: column;

background-color: #fefefe;
color: #171717;
Expand All @@ -15,17 +17,14 @@ body {
}

main {
padding-bottom: 1em;
flex: 1;
}

footer {
height: 2em;
bottom: 0;
padding: .5em 1em .5em;
color: #ff906b;
font-size: .5em;

position: absolute;
}

a {
Expand Down

0 comments on commit 6e6e8c9

Please sign in to comment.