-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcard.css
More file actions
70 lines (59 loc) · 1.33 KB
/
card.css
File metadata and controls
70 lines (59 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
body, html {
margin: 0;
padding: 0;
height: 100%;
font-family: Arial, sans-serif;
}
.skewed-card-container {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.skewed-card {
transform: skewY(3deg) rotateY(6deg);
background: linear-gradient(to right, #1e40af, #2563eb); /* from-blue-800 to-blue-500 */
color: white;
border-radius: 0.5rem; /* rounded-lg */
padding: 2rem; /* p-8 */
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* shadow-lg */
max-width: 28rem; /* max-w-md */
text-align: center;
}
.date {
margin-bottom: 1rem; /* mb-4 */
}
.day {
font-size: 4rem; /* text-6xl */
font-weight: bold; /* font-bold */
}
.month {
font-size: 1.5rem; /* text-2xl */
font-weight: 600; /* font-semibold */
}
.year {
font-size: 2rem; /* text-3xl */
}
.content h2 {
font-size: 1.75rem; /* text-2xl */
font-weight: 600; /* font-semibold */
margin-bottom: 0.5rem; /* mb-2 */
}
.content p {
font-size: 1rem; /* text-base */
}
.footer {
margin-top: 1rem; /* mt-4 */
display: flex;
justify-content: center;
}
.footer-card {
background-color: black; /* bg-black */
padding: 0.5rem 1rem; /* py-2 px-4 */
border-radius: 0.375rem; /* rounded-md */
}
.footer-card span {
color: #34d399; /* text-cyan-400 */
font-size: 1.125rem; /* text-lg */
font-weight: bold; /* font-bold */
}