Skip to content

Commit

Permalink
feat: featured quest banner responsive (#347)
Browse files Browse the repository at this point in the history
* feat: featured quest banner responsive

* fixing responsive on Ipad

* fixing responsive for all image sections
  • Loading branch information
Marchand-Nicolas authored Nov 23, 2023
1 parent 93aec30 commit 70bcf79
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 10 additions & 7 deletions styles/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
.questCategory img {
width: 218px;
height: 218px;
max-width: 400px;
border-radius: 8px;
}

Expand Down Expand Up @@ -170,12 +171,14 @@
right: -2px;
left: -1px;
bottom: -1px;
background: linear-gradient(90deg,
#437aba 0%,
#59c2e8 45%,
#00ff77 60%,
#59c2e8 70%,
#437aba50 100%);
background: linear-gradient(
90deg,
#437aba 0%,
#59c2e8 45%,
#00ff77 60%,
#59c2e8 70%,
#437aba50 100%
);
border-radius: 8px;
z-index: -1;
mask: linear-gradient(4deg, transparent 92%, black);
Expand Down Expand Up @@ -207,4 +210,4 @@
.backButton {
margin-left: 24px;
}
}
}
2 changes: 2 additions & 0 deletions styles/quests.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -286,5 +286,7 @@

.featuredQuestImage {
height: auto;
max-width: 400px;
margin-top: 24px;
}
}

1 comment on commit 70bcf79

@vercel
Copy link

@vercel vercel bot commented on 70bcf79 Nov 23, 2023

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.