-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added a mobile view for the artist page and made some more filters an…
…d sorts
- Loading branch information
1 parent
256802c
commit 52b2755
Showing
8 changed files
with
248 additions
and
61 deletions.
There are no files selected for viewing
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
@media screen and (min-width: 600px) { | ||
.mobile-only { | ||
display: none; | ||
} | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
} | ||
|
||
.artistSection { | ||
position: fixed; | ||
padding: 1vh 1vw; | ||
|
||
} | ||
|
||
/************albums************/ | ||
.artist-albums { | ||
margin-top: 1vh; | ||
margin-left: 40vw; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.artist-albums > a { | ||
padding: 1vh 0; | ||
color: black; | ||
|
||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
gap: 1vw; | ||
} | ||
|
||
.artist-albums > a:nth-child(even) { | ||
background-color: #eeeeee; | ||
} | ||
|
||
.artist-album-cover { | ||
width: 10vw; | ||
transition: width 1s; | ||
} | ||
|
||
.artist-album-cover:hover { | ||
width: 15vw; | ||
} | ||
|
||
/************filtering************/ | ||
.artist-filter { | ||
display: flex; | ||
flex-direction: column; | ||
padding: 1vh 0; | ||
} | ||
|
||
.artist-filter > p { | ||
text-align: center; | ||
font-weight: 600; | ||
} | ||
|
||
.artist-filter > input { | ||
border: 1px solid black; | ||
} | ||
|
||
.artist-filter > button { | ||
border: 1px solid black; | ||
} | ||
|
||
.artist-filter > button:hover { | ||
background-color: #eeeeee; | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
@media screen and (max-width: 600px) { | ||
/* Your mobile-specific styles here */ | ||
.desktop-only { | ||
display: none; | ||
} | ||
|
||
.artist-albums { | ||
margin-left: 0; | ||
|
||
display: flex; | ||
align-items: center; | ||
|
||
} | ||
|
||
.artist-albums > a { | ||
padding: 3vw; | ||
margin: 2vh 0; | ||
width: 90vw; | ||
|
||
border: 1px solid black; | ||
border-radius: 1.11vw; | ||
|
||
font-size: 3vw; | ||
} | ||
|
||
.artist-album-cover { | ||
width: 22vw; | ||
border-radius: 0.66vw; | ||
} | ||
|
||
.artist-album-cover:hover { | ||
width: 35vw; | ||
} | ||
|
||
.artist-info { | ||
position: fixed; | ||
width: 100%; | ||
background-color: #000000cc; | ||
|
||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
.artist-info > p { | ||
text-align: center; | ||
font-size: 5vw; | ||
color: white; | ||
} | ||
|
||
.artist-info > input { | ||
width: 83vw; | ||
height: 3.75vh; | ||
margin: 1.875vh 0; | ||
|
||
border-radius: 32px; | ||
text-align: center; | ||
|
||
-webkit-box-shadow: inset 10px 10px 18px -6px rgba(33,33,33,1); | ||
-moz-box-shadow: inset 10px 10px 18px -6px rgba(33,33,33,1); | ||
box-shadow: inset 10px 10px 18px -6px rgba(33,33,33,1); | ||
} | ||
} |
Oops, something went wrong.