aboutsummaryrefslogtreecommitdiff
path: root/src/app/anime/recent
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/anime/recent')
-rw-r--r--src/app/anime/recent/page.jsx2
-rw-r--r--src/app/anime/recent/recent.module.css30
2 files changed, 22 insertions, 10 deletions
diff --git a/src/app/anime/recent/page.jsx b/src/app/anime/recent/page.jsx
index 2bf4e86..b197899 100644
--- a/src/app/anime/recent/page.jsx
+++ b/src/app/anime/recent/page.jsx
@@ -6,7 +6,7 @@ export default async function Releases() {
const data = await fetchRecentEpisodes();
return (
- <div className="trendingContainer">
+ <div className={styles.RecentContainer}>
<div className={styles.RecentText}>
<p>Recent Releases</p>
</div>
diff --git a/src/app/anime/recent/recent.module.css b/src/app/anime/recent/recent.module.css
index f9d5161..24774bd 100644
--- a/src/app/anime/recent/recent.module.css
+++ b/src/app/anime/recent/recent.module.css
@@ -8,6 +8,7 @@
margin: 5px;
color: var(--soft-purple);
font-family: "Poppins";
+ font-weight: 500;
}
.RecentText span {
@@ -17,11 +18,20 @@
.Recent {
display: flex;
overflow-x: auto;
- margin: 5px;
+}
+
+.RecentContainer:hover .RecentEntries {
+ opacity: 0.5;
+}
+
+.RecentContainer:hover:hover .RecentEntries:hover {
+ opacity: 1;
+ transform: scale(1.02);
}
.Recent::-webkit-scrollbar {
height: 5px;
+ width: 0px;
}
.Recent::-webkit-scrollbar-thumb {
@@ -30,13 +40,12 @@
}
.RecentEntries {
- margin: 7px;
- transition: transform 0.1s linear;
-}
+ margin: 4px;
+ background-color: #353535a6;
+ padding: 0.5rem;
+ border-radius: 1rem;
+ transition: opacity 400ms ease, transform 400ms ease;
-.RecentEntries:hover {
- transition: transform 0.1s linear;
- transform: scale(0.97);
}
.RecentEntries p {
@@ -44,10 +53,13 @@
margin: 5px auto;
width: 140px;
font-family: "Atkinson Hyperlegible";
+ height: 80px;
+ overflow-y: auto;
+ transition: font-size 400ms ease;
}
.RecentEntries p::-webkit-scrollbar {
- width: 5px;
+ width: 2px;
}
.Recent p::-webkit-scrollbar-thumb {
@@ -56,6 +68,6 @@
}
.RecentImage {
- border-radius: 5px;
+ border-radius: 1rem;
aspect-ratio: auto;
} \ No newline at end of file