diff options
| author | real-zephex <[email protected]> | 2024-05-11 01:33:00 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-05-11 01:33:00 +0530 |
| commit | 4c4f8214637ac8d19e16f71d20542982a5eedad7 (patch) | |
| tree | d59021d92da577b2c38bc591571fe13a35a3b779 /src/app/anime/styles/pop_recent_top.module.css | |
| parent | Merge pull request #24 from zephex-alt/master (diff) | |
| download | dramalama-4c4f8214637ac8d19e16f71d20542982a5eedad7.tar.xz dramalama-4c4f8214637ac8d19e16f71d20542982a5eedad7.zip | |
UI changes, Logic change and complete re-write for anime page
Diffstat (limited to 'src/app/anime/styles/pop_recent_top.module.css')
| -rw-r--r-- | src/app/anime/styles/pop_recent_top.module.css | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/app/anime/styles/pop_recent_top.module.css b/src/app/anime/styles/pop_recent_top.module.css new file mode 100644 index 0000000..0bfe682 --- /dev/null +++ b/src/app/anime/styles/pop_recent_top.module.css @@ -0,0 +1,60 @@ +.AnimeHeaderText { + color: white; + margin: 0.4rem 0 0 0; +} + +.AnimeContainer { + margin: 0.2rem 0 0 0; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + grid-gap: 0.7rem; +} + +.AnimeEntry { + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + text-align: center; + padding: 0.8rem; + border-radius: 0.5rem; + background-color: #1f1f1f; +} + +.AnimeEntry img { + border-radius: 0.5rem; +} + +.AnimeEntry p { + margin: 0.2rem 0 -0.4rem 0; + max-width: 160px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} + +.EpisodeText { + color: var(--neon-yellow); + font-size: small; + padding-top: 0.2rem; +} +.AnimeContainer::-webkit-scrollbar { + height: 0.2rem; +} + +.AnimeContainer::-webkit-scrollbar-track { + background-color: var(--soft-purple); +} + +.AnimeContainer::-webkit-scrollbar-thumb { + background-color: var(--neon-yellow); + border-radius: 1rem; +} + +@media screen and (max-width: 768px) { + .AnimeContainer { + display: flex; + overflow: auto; + align-items: center; + } +}
\ No newline at end of file |