-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
3e1e00c
commit 3bf61cf
Showing
4 changed files
with
80 additions
and
41 deletions.
There are no files selected for viewing
49 changes: 35 additions & 14 deletions
49
...ntend/src/app/pages/quest-page/components/available-quests/available-quests.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,35 @@ | ||
div#tobecovered{ | ||
position: relative; | ||
} | ||
|
||
div#tobecovered img.cover{ | ||
position: absolute; | ||
/* position in top left of #tobecovered */ | ||
top: 0; /* top of #tobecovered */ | ||
left: 0; /* left of #tobecovered */ | ||
} | ||
|
||
mat-card#questcard { | ||
width: 250px | ||
} | ||
#questcard { | ||
background-image: url('/assets/images/dagger.png'); | ||
background-repeat: no-repeat; | ||
background-position: top; | ||
background-blend-mode: difference; | ||
width: 100%; | ||
} | ||
|
||
.quest-container { | ||
display: grid; | ||
grid-column-gap: 10px; | ||
} | ||
|
||
@media only screen and (min-width: 320px) and (max-width: 600px){ | ||
.quest-container { | ||
grid-template-columns: 1fr; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 601px) and (max-width: 980px){ | ||
.quest-container { | ||
grid-template-columns: 1fr 1fr; | ||
} | ||
} | ||
@media only screen and (min-device-width: 981px) and (max-width: 1600px){ | ||
.quest-container { | ||
grid-template-columns: 1fr 1fr 1fr; | ||
} | ||
} | ||
|
||
@media only screen and (min-device-width: 1601px){ | ||
.quest-container { | ||
grid-template-columns: 1fr 1fr 1fr 1fr; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 35 additions & 14 deletions
49
...src/app/pages/quest-page/components/participated-quests/participated-quests.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,35 @@ | ||
div#tobecovered{ | ||
position: relative; | ||
} | ||
|
||
div#tobecovered img.cover{ | ||
position: absolute; | ||
/* position in top left of #tobecovered */ | ||
top: 0; /* top of #tobecovered */ | ||
left: 0; /* left of #tobecovered */ | ||
} | ||
|
||
mat-card#questcard { | ||
width: 250px | ||
} | ||
#questcard { | ||
background-image: url('/assets/images/dagger.png'); | ||
background-repeat: no-repeat; | ||
background-position: top; | ||
background-blend-mode: difference; | ||
width: 100%; | ||
} | ||
|
||
.quest-container { | ||
display: grid; | ||
grid-column-gap: 10px; | ||
} | ||
|
||
@media only screen and (min-width: 320px) and (max-width: 600px){ | ||
.quest-container { | ||
grid-template-columns: 1fr; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 601px) and (max-width: 980px){ | ||
.quest-container { | ||
grid-template-columns: 1fr 1fr; | ||
} | ||
} | ||
@media only screen and (min-device-width: 981px) and (max-width: 1600px){ | ||
.quest-container { | ||
grid-template-columns: 1fr 1fr 1fr; | ||
} | ||
} | ||
|
||
@media only screen and (min-device-width: 1601px){ | ||
.quest-container { | ||
grid-template-columns: 1fr 1fr 1fr 1fr; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters