))}
diff --git a/src/app/components/DocumentCard.tsx b/src/app/components/DocumentCard.tsx
index 76f95dc..cd7ac15 100644
--- a/src/app/components/DocumentCard.tsx
+++ b/src/app/components/DocumentCard.tsx
@@ -14,7 +14,7 @@ const DocumentCard = ({ doc, href }: { doc: Document; href: string }) => {
return (
{title}
diff --git a/src/app/components/mobileMenu.module.css b/src/app/components/mobileMenu.module.css
index 06d7ef9..280d362 100644
--- a/src/app/components/mobileMenu.module.css
+++ b/src/app/components/mobileMenu.module.css
@@ -1,6 +1,5 @@
.menu {
@apply overflow-hidden left-[0] top-[235px] z-10 absolute bg-slate-200;
- @apply duration-300;
height: fit-content;
padding-bottom: 10px;
transition: height 0.2s ease-in-out;
diff --git a/src/app/search/page.tsx b/src/app/search/page.tsx
index a88aa7d..778f348 100644
--- a/src/app/search/page.tsx
+++ b/src/app/search/page.tsx
@@ -42,7 +42,7 @@ const SearchResult = ({
return (
diff --git a/src/app/styles/cardEffects.module.css b/src/app/styles/cardEffects.module.css
index dba28e2..daaa064 100644
--- a/src/app/styles/cardEffects.module.css
+++ b/src/app/styles/cardEffects.module.css
@@ -1,12 +1,12 @@
/* creates a 3D card effect using a pseudo element for performance reasons */
-.card {
+.card-large {
@apply shadow-sm shadow-slate-300;
/* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); */
transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
position: relative;
}
-.card::after {
+.card-large::after {
@apply shadow-lg shadow-slate-500;
content: '';
z-index: -1;
@@ -19,10 +19,37 @@
left: 0;
}
-.card:hover {
+.card-large:hover {
transform: scale(1.02, 1.02);
}
-.card:hover::after {
+.card-large:hover::after {
+ opacity: 1;
+}
+
+.card-small {
+ @apply shadow-sm shadow-slate-300;
+ /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); */
+ transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
+ position: relative;
+}
+.card-small::after {
+ @apply shadow-md shadow-slate-500;
+ content: '';
+ z-index: -1;
+ transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
+ position: absolute;
+ opacity: 0;
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+}
+
+.card-small:hover {
+ transform: scale(1.08, 1.08);
+}
+
+.card-small:hover::after {
opacity: 1;
}