-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
65 lines (57 loc) · 1.13 KB
/
Copy pathstyles.css
File metadata and controls
65 lines (57 loc) · 1.13 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
text-align: center;
background: linear-gradient(to right, #f9e6f7, #e6f9f5);
color: #333;
}
header {
background-color: #ffb6c1;
padding: 20px;
color: white;
}
.pet-gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
padding: 20px;
}
.pet-card {
background-color: #fff;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
width: 220px;
padding: 15px;
transition: transform 0.2s;
}
.pet-card:hover {
transform: scale(1.05);
}
/* FIX: Make all images same size */
.pet-card img {
width: 100%;
height: 200px; /* Fixed height */
border-radius: 12px;
object-fit: cover; /* Crop/fit images nicely without distortion */
}
button {
margin-top: 10px;
padding: 8px 12px;
border: none;
border-radius: 8px;
background-color: #ff69b4;
color: white;
cursor: pointer;
font-weight: bold;
}
button:hover {
background-color: #ff1493;
}
footer {
background-color: #ffb6c1;
padding: 10px;
color: white;
margin-top: 20px;
}