Skip to content

Commit

Permalink
Center home page icons vertically
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsherman committed Dec 3, 2024
1 parent 9516586 commit 43c69fa
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ body > footer {
/* Specific styles */

.home-page {
display: flex;
flex-direction: column;

color: var(--base-background-color);
background-color: var(--header-color);

Expand All @@ -84,11 +87,12 @@ body > footer {
}

main {
flex: 1;
align-items: center;

display: grid;
grid-template-columns: 1fr 1fr;

margin-top: 5rem;

header {
grid-column: 1;

Expand All @@ -104,6 +108,8 @@ body > footer {
@media (max-width: 800px) {
grid-template-columns: 1fr;

margin-top: 5rem;

header {
grid-column: 1;

Expand All @@ -113,6 +119,11 @@ body > footer {
> * {
grid-column: 1;
}
}
}

footer {
margin-bottom: 1rem;
}
}

Expand Down

0 comments on commit 43c69fa

Please sign in to comment.