-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
64 lines (55 loc) · 1.15 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
text-align: center;
font-family: 'Verdana', sans-serif;
background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
color: #ffffff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
min-height: 100vh;
}
h1, h2, h3, h4, p {
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
#header {
padding: 20px;
}
.celebrity-info {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
margin-top: 20px;
}
.celebrity {
display: flex;
flex-direction: column;
align-items: center;
max-width: 200px;
margin: 20px;
}
.celebrity-img {
width: 150px;
height: 150px;
border-radius: 50%;
border: 4px solid #EFB0C9;
margin-bottom: 10px;
transition: transform 0.3s ease, border-color 0.3s ease;
}
.celebrity-img:hover {
transform: scale(1.1); /* Enlarge the image slightly on hover */
border-color: #FFD700; /* Change the border color on hover */
}
#footer {
font-style: italic;
margin: 20px auto;
}
a {
color: white;
text-decoration: underline;
}