forked from EuclidStellar/elcostra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
85 lines (71 loc) · 1.43 KB
/
styles.css
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
body {
font-family: 'Lato', sans-serif; /* Use Lato font */
background-color: #fff;
color: #000;
margin: 0;
padding: 20px;
}
h1 {
font-size: 36px;
margin-bottom: 20px;
text-align: center; /* Center the title */
}
.card {
background-color: #fff;
border: 1px solid #000;
padding: 20px;
margin: 10px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
max-width: 300px;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}
.member-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
h3 {
font-size: 24px;
margin-top: 0;
}
p {
font-size: 16px;
margin: 5px 0;
}
a {
color: #000;
text-decoration: none;
font-weight: bold;
}
a:hover {
text-decoration: underline;
}
.joke-response {
background-color: #fff;
border: 1px solid #000;
padding: 20px;
margin-top: 20px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
opacity: 0; /* Start hidden */
transition: opacity 0.5s ease;
}
/* Add animation class for showing the joke */
.show-joke {
opacity: 1; /* Show joke */
transform: translateY(-10px);
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.joke {
font-size: 16px;
margin-top: 10px;
color: #333; /* Adjust the color as needed */
}