Skip to content

Commit 6f52bc7

Browse files
committed
Add Hover and Style TeamCard
1 parent 64a3304 commit 6f52bc7

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

src/components/TeamProfileCards/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React, { type ReactNode } from "react";
22
import Translate from "@docusaurus/Translate";
33
import Link from "@docusaurus/Link";
44
import Heading from "@theme/Heading";
5+
import "./teamcards.css";
56

67
function WebsiteLink({ to, children }: { to: string; children?: ReactNode }) {
78
return (
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* teamcard.css */
2+
3+
.card {
4+
transition: transform 0.3s ease, box-shadow 0.3s ease;
5+
border: 0.5px solid black;
6+
}
7+
8+
.card:hover {
9+
transform: translateY(-5px);
10+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
11+
}
12+
13+
.card_header .avatar_photo--xl {
14+
border-radius: 50%;
15+
transition: transform 0.3s ease;
16+
}
17+
18+
.button-group .button {
19+
transition: background-color 0.3s ease, transform 0.3s ease;
20+
}
21+
22+
.button-group .button:hover {
23+
background-color: #0056b3;
24+
}

0 commit comments

Comments
 (0)