Skip to content

Commit

Permalink
[frontend] Footer styling adjustments (#709)
Browse files Browse the repository at this point in the history
* adjust footer rendering

* use max-width instead of orientation

* remove margin-top when screen small
  • Loading branch information
tsmethurst committed Jul 15, 2022
1 parent 839c434 commit c7e5c66
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions web/source/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -250,33 +250,34 @@ input, select, textarea {

footer {
align-self: end;
padding: 2rem 0 1rem 0;

padding: 2rem;
display: flex;
flex-wrap: wrap;
justify-content: center;

div {
margin: 0 2rem;
text-align: center;
padding: 1rem;
flex-grow: 1;
}

a {
font-weight: bold;
}
}

@media screen and (orientation: portrait) {
@media screen and (max-width: 600px) {
header {
text-align: center;
}

footer {
margin-top: 2rem;
grid-template-columns: 1fr;

div {
margin: 0.3rem 0;
text-align: initial;
width: 100%;
}
}

Expand Down

0 comments on commit c7e5c66

Please sign in to comment.