-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlist.css
More file actions
241 lines (214 loc) · 5.23 KB
/
Copy pathlist.css
File metadata and controls
241 lines (214 loc) · 5.23 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
@font-face {
font-family: 'Helvetica';
src: url('font/Helvetica.ttf') format('truetype');
}
body {
font-family: Helvetica, sans-serif;
margin: 0;
padding: 0;
}
.navbar {
background-color: #fff;
overflow: hidden;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
padding: 9px 85px 9px 66px;
align-items: center;
gap: 380px;
flex-shrink: 0;
position: fixed;
z-index: 1000;
width: 93%; /* Efek blur untuk membuat efek glass */
transition: background-color 0.3s ease; /* Transisi warna latar belakang */
}
.navbar.scrolled {
background-color: rgba(255, 255, 255, 0.8);/* Warna latar belakang solid saat di-scroll */
}
.navbar-logo {
width: 100px;
height: auto;
}
.navbar-submenu {
display: flex;
align-items: center;
gap: 61px;
font-size: 20px;
font-weight: 400;
line-height: 160%; /* 32px */
}
.navbar-submenu a {
color: #000;
text-decoration: none;
transition: font-size 0.3s ease;
}
.navbar-submenu a:nth-child(7) {
color: #F06765;
}
.navbar-submenu a:hover {
border-bottom: 2px solid black;
font-size: 21px;
}
.section1 {
position: relative;
background-color: #9AD2D1;
color: white;
padding-top: 175px;
align-items: center;
text-align: center;
margin: auto;
}
.section1 h4 {
font-family: Helvetica;
font-size: 20px;
font-weight: 400;
width: 490px;
margin-left: auto; /* Mengatur margin kiri menjadi otomatis */
margin-right: auto; /* Mengatur margin kanan menjadi otomatis */
margin-bottom: 0;
}
.section1 h2 {
font-family: "Helvetica Rounded";
font-size: 40px;
font-weight: 100;
margin-bottom: -10px; /* Mengurangi margin bottom */
margin-top: 10px; /* Mengurangi margin bottom */
line-height: 1; /* Mengatur line height menjadi 1 */
}
.section2 {
display: flex;
justify-content: center;
background-color: #9AD2D1;
}
.card {
position: relative;
text-align: center;
margin: 50px 60px;
}
.card img {
width: 355px;
height: 458px;
border-radius: 30px;
object-fit: cover;
filter: brightness(80%);
transition: filter 0.7s ease; /* Transisi efek blur */
}
.adoption-button {
position: absolute;
margin-bottom: -110px;
left: 50%;
transform: translate(-50%, -50%);
bottom: 290px; /* Sesuaikan dengan posisi yang diinginkan */
padding: 10px 52px;
background-color: #fff; /* Warna latar belakang tombol */
color: black; /* Warna teks tombol */
border: none;
border-radius: 30px;
cursor: pointer;
transition: background-color 0.3s ease;
display: none; /* Sembunyikan tombol secara default */
justify-content: center;
align-items: center;
font-family: "Helvetica Rounded";
font-family: "Helvetica Rounded";
font-size: 20px;
}
.card:hover .adoption-button {
display: block; /* Tampilkan tombol saat kartu di-hover */
filter: none; /* Hapus blur pada tombol saat kartu di-hover */
}
/* Efek blur pada gambar saat kartu di-hover */
.card:hover img,
.card:hover .teks {
filter: blur(2px);
}
.adoption-button:hover {
background-color: #56A69D; /* Warna latar belakang saat di-hover */
color: #fff;
}
.section2 .teks{
width: 237px;
height: 150px;
position: absolute;
left: 50%;
transform: translate(-50%, -50%);
padding: 10px;
margin-bottom: 20px; /* Jarak antara teks dengan bagian bawah card */
}
.judul {
color: #FFF;
text-align: center;
font-size: 20px;
font-style: normal;
font-weight: 800;
line-height: 160%; /* 32px */
text-transform: uppercase;
}
.ras {
width: 137px;
left: 0px;
top: 45px;
position: absolute;
color: white;
font-size: 14px;
font-weight: 400;
line-height: 22.40px;
word-wrap: break-word;
}
.jenis {
width: 74px;
left: 158px;
top: 45px;
position: absolute;
text-align: right;
color: white;
font-size: 14px;
font-weight: 400;
line-height: 22.40px;
word-wrap: break-word;
}
.garis {
width: 232px;
height: 0px;
left: 5px;
top: 40px;
position: absolute;
border: 1px white solid;
}
footer {
position: relative;
background-image: url('img/wave\ \(5\).svg');
background-size: cover;
background-position: center;
text-align: center;
padding: 100px 0 50px;
background-color: #fff;
}
.footer-logo {
display: inline-block; /* Mengatur logo agar dapat diatur ukuran lebarnya */
margin: 0 auto; /* Mengatur logo berada di tengah */
}
.footer-logo img {
padding-top: 100px;
max-width: 100px; /* Mengatur lebar maksimum logo */
max-height: 100px; /* Mengatur tinggi maksimum logo */
}
.social-icons {
display: flex;
justify-content: center;
}
.social-icons a {
color: black; /* mengatur warna ikon menjadi putih */
}
.social-icons i {
padding-top: 10px;
padding-bottom: 30px;
margin: 0 10px; /* Jarak antara ikon sosial */
}
.footer .copyright {
margin-top: 90px;
font-size: 14px;
color: #888;
text-align: center; /* Menyusun teks menjadi rata tengah */
}