Skip to content

Commit

Permalink
Fix position of text in about page
Browse files Browse the repository at this point in the history
  • Loading branch information
pmallol committed Apr 30, 2020
1 parent 0a1be35 commit 93a9501
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions styles/about.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(3, 1fr);

> img:nth-child(1) {grid-area: 1/1/3/3}
> img:nth-child(2) {grid-area: 1/2/2/4}
> img:nth-child(3) {grid-area: 3/3/4/5}
> img:nth-of-type(1) {grid-area: 1/1/3/3}
> img:nth-of-type(2) {grid-area: 1/2/2/4}
> img:nth-of-type(3) {grid-area: 3/3/4/5}
p {grid-area: 2/1/3/5;}
}

@media (min-width: 900px) {
Expand All @@ -15,9 +16,9 @@
grid-template-rows: 2rem 10rem 1rem 15rem 2rem;
grid-column-gap: 1rem;

> img:nth-of-type(1) {grid-area: 1 / 1 / 5 / 4}
> img:nth-of-type(2) {grid-area: 2 / 3 / 3 / 6}
> img:nth-of-type(3) {grid-area: 1 / 9 / 6 / 13}
> img:nth-of-type(1) {grid-area: 1/1/5/4}
> img:nth-of-type(2) {grid-area: 2/3/3/6}
> img:nth-of-type(3) {grid-area: 1/9/6/13}
p {grid-area: 4/4/5/9;}
}
}

1 comment on commit 93a9501

@vercel
Copy link

@vercel vercel bot commented on 93a9501 Apr 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.