theme: properly wrap footer items for small screens using flexbox
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
92e16b0c25
commit
3fa9017430
|
@ -107,10 +107,21 @@ footer {
|
|||
border-top: 1px var(--text);
|
||||
margin-top: 2em;
|
||||
margin-bottom: 2em;
|
||||
line-height: 40px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
|
||||
:nth-child(even) {
|
||||
float: right;
|
||||
> * {
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 480px) {
|
||||
justify-content: center;
|
||||
|
||||
> * {
|
||||
margin-top: 1ex;
|
||||
}
|
||||
}
|
||||
|
||||
a:hover {
|
||||
|
|
Loading…
Reference in a new issue