diff --git a/app/globals.css b/app/globals.css index 495b7ce..9f05f4a 100644 --- a/app/globals.css +++ b/app/globals.css @@ -178,8 +178,6 @@ body { position: relative; overflow: hidden; background: linear-gradient(var(--background), var(--background)); - /* border-radius = border-parch-inner(padding + border-radius), we can also use variable, but im to lazy for that :))*/ - border-radius: 1.15rem; z-index: 1; &:hover { transition: 0.5s; @@ -189,13 +187,24 @@ body { animation-play-state: running; } } + @apply rounded-xl; } .border-parch-inner { overflow: hidden; background: linear-gradient(var(--background), var(--background)); position: relative; - margin: 0.15rem; + margin: 0.05rem; + z-index: 1; + border-radius: 1rem; + @apply md:gap-6 gap-3; +} + +.border-parch-inner-btn { + overflow: hidden; + background: linear-gradient(var(--background), var(--background)); + position: relative; + margin: 0.1rem; z-index: 1; border-radius: 1rem; @apply md:gap-6 gap-3; diff --git a/components/episode-cards.tsx b/components/episode-cards.tsx index b5f0328..1b37c6c 100644 --- a/components/episode-cards.tsx +++ b/components/episode-cards.tsx @@ -74,45 +74,45 @@ export function EpisodeCards({ section }: { section: "podcast" | "main" }) { {episodes.map((episode) => ( -
-
- {episode.title} -
- - - {episode.title} - - - {episode.date} - - - -

- {episode.description} -

-
- -
- - {episode.duration} + className="border-0 flex relative justify-center items-center cursor-pointer border-parch" + > +
+
+ {episode.title}
- - - + + + {episode.title} + + + {episode.date} + + + +

+ {episode.description} +

+
+ +
+ + {episode.duration} +
+ +
))} diff --git a/components/podcast-hero.tsx b/components/podcast-hero.tsx index 1ff9a6a..4d3d747 100644 --- a/components/podcast-hero.tsx +++ b/components/podcast-hero.tsx @@ -35,9 +35,9 @@ export function PodcastHero() {