-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadopt.css
More file actions
272 lines (241 loc) · 5.85 KB
/
Copy pathadopt.css
File metadata and controls
272 lines (241 loc) · 5.85 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
/* General Styles for the Body */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f9; /* Light background for the entire page */
color: #333; /* Default text color */
display: flex;
flex-direction: column;
min-height: 100vh; /* Ensure full height of the page */
}
nav {
position: sticky;
top: 0;
background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1000; /* Ensure nav is always on top */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow for depth */
}
/* Logo styling in the nav */
nav .logo a {
font-size: 1.8em;
font-weight: bold;
color: #007bff;
text-decoration: none;
}
/* Navigation links list style */
nav .nav-links {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
/* Navigation link styling */
nav .nav-links li {
margin-right: 20px;
}
nav .nav-links a {
text-decoration: none;
color: #343a40;
font-size: 1.1em;
padding: 8px 15px;
transition: background-color 0.3s ease, color 0.3s ease;
border-radius: 4px;
}
/* Hover effects for nav links */
nav .nav-links a:hover {
background-color: #007bff;
color: white;
}
/* Header Styles */
header {
background-color: #0056b3; /* Deeper blue for header */
color: white;
text-align: center;
padding: 60px 20px;
flex-shrink: 0;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}
header h1 {
font-size: 3em;
margin: 0;
letter-spacing: 1px; /* Slightly spaced letters for a modern look */
}
header p {
font-size: 1.3em;
margin-top: 10px;
font-weight: 300; /* Light font-weight for a softer appearance */
}
/* Adopt Section Styling */
.adopt {
padding: 3rem 1.5rem;
text-align: center;
}
.adopt h2 {
font-size: 2.5rem;
margin-bottom: 2rem;
color: #005f73; /* Blue text */
}
/* pet panel */
.panel{
display: flex;
justify-content: space-evenly;
}
/* Pet Card Styling */
.pet-card {
background-color: #ffffff; /* White background for cards */
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin: 1.5rem auto;
padding: 1rem;
width: 300px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pet-card img {
width: 100%;
height: 300px;
object-fit: cover;
border-radius: 10px;
}
.pet-card h3 {
font-size: 1.8rem;
color: #007bff; /* Blue color for pet names */
margin-top: 1rem;
}
.pet-card p {
font-size: 1rem;
color: #333;
margin-top: 0.5rem;
}
/* Hover Effects on Pet Cards */
.pet-card:hover {
transform: translateY(-10px); /* Lift the card */
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.pet-card button {
background-color: #007bff; /* Blue background for buttons */
color: #fff;
border: none;
border-radius: 5px;
padding: 0.8rem 1.2rem;
font-size: 1.1rem;
cursor: pointer;
margin-top: 1rem;
transition: background-color 0.3s ease;
}
/* Button Hover Effects */
.pet-card button:hover {
background-color: #0056b3; /* Darker blue for hover */
}
/*Adopted Styling*/
.adopted {
padding: 3rem 1.5rem;
text-align: center;
}
.adopted h2 {
font-size: 2.5rem;
margin-bottom: 2rem;
color: #005f73; /* Blue text */
}
/* pet panel */
.panel1{
display: flex;
justify-content: space-evenly;
}
/* Pet Card Styling */
.adopt-card {
background-color: #ffffff; /* White background for cards */
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin: 1.5rem auto;
padding: 1rem;
width: 300px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.adopt-card img {
width: 100%;
height: 300px;
object-fit: cover;
border-radius: 10px;
}
.adopt-card h3 {
font-size: 1.8rem;
color: #007bff; /* Blue color for pet names */
margin-top: 1rem;
}
.adopt-card p {
font-size: 1rem;
color: #333;
margin-top: 0.5rem;
}
/* Hover Effects on Pet Cards */
.adopt-card:hover {
transform: translateY(-10px); /* Lift the card */
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.adopt-card button {
background-color: #007bff; /* Blue background for buttons */
color: #fff;
border: none;
border-radius: 5px;
padding: 0.8rem 1.2rem;
font-size: 1.1rem;
cursor: pointer;
margin-top: 1rem;
transition: background-color 0.3s ease;
}
/* Button Hover Effects */
.adopt-card button:hover {
background-color: #0056b3; /* Darker blue for hover */
}
/* Footer Styles */
footer {
background-color: #343a40; /* Dark footer background */
color: white;
text-align: center;
padding: 20px;
margin-top: auto;
opacity: 0;
animation: footerSlideIn 1s ease-out forwards 1.5s; /* Slide-up footer effect */
}
@keyframes footerSlideIn {
to {
opacity: 1;
transform: translateY(0);
}
}
footer p {
font-size: 1em;
margin: 0;
font-weight: 300;
}
/* Responsive Design for Small Screens */
@media (max-width: 768px) {
header h1 {
font-size: 2.6em;
}
header p {
font-size: 1.2em;
}
.adopt {
padding: 2rem 1rem;
}
.pet-card {
width: 80%; /* Adjust pet card width on smaller screens */
margin: 1rem auto;
}
.pet-card button {
font-size: 1.2rem;
}
footer p {
font-size: 0.9em;
}
}