Skip to content

Commit

Permalink
Update base.css
Browse files Browse the repository at this point in the history
optimizes home for mobile
  • Loading branch information
diekus committed Mar 18, 2024
1 parent 8fec3da commit 099925c
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,27 @@ article:hover {
clear: left;
float:right;
align-self: flex-end;
}
}

@media (max-width: 700px) {
header {
display: flex;
flex-direction: column-reverse;
justify-content: space-between;
align-items: center;
grid-column: 1 / -1;
grid-row: 1 / 2;
}

.socials {
flex-wrap: wrap;
}

.social_icon {
margin: 10px 20px;
}

body {
grid-template: 1fr auto 1fr 1fr / 1fr 1fr 1fr;
}
}

0 comments on commit 099925c

Please sign in to comment.