diff options
| author | real-zephex <[email protected]> | 2024-05-19 08:08:57 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-19 08:08:57 +0530 |
| commit | a8e9ca0c14bcd6a8b2aa8cfe5b95a4e98dbcebfe (patch) | |
| tree | 98fa3f6cbdd690648c7d31a79c7d381624f38530 /src/app/web-series/styles/search.module.css | |
| parent | minor changes to the manga page (diff) | |
| parent | added series support (diff) | |
| download | dramalama-a8e9ca0c14bcd6a8b2aa8cfe5b95a4e98dbcebfe.tar.xz dramalama-a8e9ca0c14bcd6a8b2aa8cfe5b95a4e98dbcebfe.zip | |
Merge pull request #28 from real-zephex/improvement-2
added series support
Diffstat (limited to 'src/app/web-series/styles/search.module.css')
| -rw-r--r-- | src/app/web-series/styles/search.module.css | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/src/app/web-series/styles/search.module.css b/src/app/web-series/styles/search.module.css new file mode 100644 index 0000000..145a2aa --- /dev/null +++ b/src/app/web-series/styles/search.module.css @@ -0,0 +1,78 @@ +.InputContainer { + display: flex; + align-items: center; + background-color: #121212; + width: 40vw; + border-radius: 0.5rem; +} + +.SearchIcon { + margin-left: 0.4rem; +} + +.InputContainer input { + background-color: transparent; + outline: none; + border: none; + padding: 0.4rem; + font-family: "Lexend Deca", serif; + margin-left: 0.2rem; + font-size: large; + color: white; + width: 100%; +} + +.SearchedSeriesContainer { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); + grid-gap: 0.7rem; + align-items: center; + margin-top: 0.8rem; +} + +.SearchedSeriesEntry { + display: flex; + align-items: center; + flex-direction: column; + background-color: #1f1f1f; + border-radius: 0.5rem; + padding: 0.2rem; + transition: opacity 200ms ease; + +} + +.SearchedSeriesContainer:hover .SearchedSeriesEntry { + opacity: 0.5; +} + +.SearchedSeriesContainer .SearchedSeriesEntry:hover { + opacity: 1; +} + +.SearchedSeriesEntry p { + width: 150px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + text-align: center; + margin: 0.2rem 0 0.2rem 0; +} + +.SearchedSeriesEntry img { + border-radius: 0.5rem; + padding: 0.2rem 0.2rem 0 0.2rem; +} + +@media screen and (max-width: 768px) { + + .InputContainer { + width: 100%; + } + + .SearchedSeriesContainer { + display: flex; + overflow: auto; + } + + +}
\ No newline at end of file |