Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchand-Nicolas committed Dec 22, 2024
1 parent bdfe440 commit 0d92ba8
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 32 deletions.
50 changes: 28 additions & 22 deletions styles/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

.questCategory:hover {
transform: translateY(-4px);
background-color: var(--hover-background-color, #4a4c53);
background-color: var(--hover-background-color);
box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.1);
}

Expand Down Expand Up @@ -104,7 +104,6 @@
.title {
font-size: 2rem;
}

}

@media (max-width: 768px) {
Expand Down Expand Up @@ -193,9 +192,11 @@
}

.featured_quest_banner_container {
background: linear-gradient(180deg,
var(--background) 0.04%,
var(--background600) 347.42%);
background: linear-gradient(
180deg,
var(--background) 0.04%,
var(--background600) 347.42%
);
margin-bottom: 0;
}

Expand Down Expand Up @@ -239,12 +240,14 @@
right: -1px;
left: 0;
bottom: 0;
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;
mask: linear-gradient(8deg, transparent 85%, black);
}
Expand Down Expand Up @@ -282,13 +285,14 @@
}

.section {
background: linear-gradient(180deg,
var(--background) 0.04%,
var(--background600) 347.42%);
background: linear-gradient(
180deg,
var(--background) 0.04%,
var(--background600) 347.42%
);
padding-top: 3rem;
}


.questContainer {
margin-top: 1.5rem;
gap: 1.5rem;
Expand Down Expand Up @@ -328,13 +332,15 @@
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);
}
}
4 changes: 2 additions & 2 deletions styles/components/card.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
border: solid 1px transparent;
transition: all 0.3s ease-in-out;
}

.card:hover {
transform: translateY(-4px);
background-color: var(--hover-background-color, #4a4c53);
background-color: var(--hover-background-color);
box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.1);
}

Expand Down
5 changes: 2 additions & 3 deletions styles/components/pages/home/card.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
border: solid 1px transparent;
transition: all 0.3s ease-in-out;
}

.card:hover {
transform: translateY(-4px);
background-color: var(--hover-background-color, #4a4c53);
background-color: var(--hover-background-color);
box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.1);
}

Expand All @@ -38,7 +38,6 @@
font-family: "Sora-Bold";
line-height: 48px;
padding: 8px 0;

}

.card[aria-disabled="true"] {
Expand Down
5 changes: 2 additions & 3 deletions styles/components/quests/card.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

.card:hover {
transform: translateY(-4px);
background-color: var(--hover-background-color, #4a4c53);
background-color: var(--hover-background-color);
box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.1);
}

Expand Down Expand Up @@ -48,9 +48,8 @@

.card[aria-disabled="true"] {
cursor: not-allowed;

}
.card[aria-disabled="true"]:hover{
.card[aria-disabled="true"]:hover {
border: 1px solid transparent;
}

Expand Down
5 changes: 3 additions & 2 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
--textGray: #a6a5a7;
--transparent: transparent;
--dashboard-max-width: clamp(320px, 90%, 1500px);
--hover-background-color: #4a4c53;
}

html,
Expand Down Expand Up @@ -122,6 +123,6 @@ button {
cursor: url(../public/icons/pointer-cursor.png), auto;
}

.modified-cursor-normal{
.modified-cursor-normal {
cursor: url(../public/icons/cursor.png), auto;
}
}

0 comments on commit 0d92ba8

Please sign in to comment.