-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.css
More file actions
338 lines (272 loc) · 6.59 KB
/
Copy pathhome.css
File metadata and controls
338 lines (272 loc) · 6.59 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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
*{
margin: 0;
padding: 0;
box-sizing: border-box;
text-transform: capitalize;
text-decoration: none;
font-family: 'Poppins', sans-serif;
}
body{
}
header{
position: fixed;
/*jarak ke luar*/
top: 0; left: 0; right: 0;
background: white;
box-shadow: 0 5px 10px rgb(199, 198, 198);
/*luas dan lebar kotak*/
padding: 0px 7%;
display: flex;
/*ketengah antara atas dan bawah*/
align-items: center;
/*jarak anatara logo dan nav*/
justify-content: space-between;
z-index: 1000;
}
header .menubar ul{
list-style: none;
}
header .menubar ul li{
position: relative;
float: left;
}
header .menubar ul li a{
padding: 20px;
color: rgb(61, 56, 56);
display: block;
}
header .menubar ul li a::after{
content: '';
width: 0;
height: 3px;
background:#435585;
position: absolute;
left: 0;
/* untuk jarak garik ke kata garis*/
bottom: 10px;
transition: 0.5s;
}
/*panjang garis*/
header .menubar ul li a:hover::after{
width: 100%;
}
header .menubar ul li ul{
position: absolute;
left: 0;
width: 100px;
background: white;
display: none;
}
header .menubar ul li ul li{
width: 100%;
border-top: 1px solid rgb(232, 216, 216);
}
header .menubar ul li ul li ul{
/* jarak drop2 ke drop1 */
left: 100px;
/* sejajarin drop2 ke drop1 */
top: 0;
}
header .menubar ul li:focus-within > ul,
header .menubar ul li:hover > ul{
display: initial ;
}
video{
width: 100%;
}
/*---------------------------------------------------------------------------------about--------------------------------------------------------------------------------------------------------------*/
.text-about{
text-align: center;
padding: 100px;
}
/*---------------------------------------------------------------------------------galery--------------------------------------------------------------------------------------------------------------*/
.galery{
align-items: center;
padding: 100px;
}
.galery h1{
text-align: center;
}
.list{
width: 160px;
height: 5px;
background-color: #435585;
}
.photo-list{
display: flex;
text-align: center;
align-items: center;
}
.photo img{
width: 100%;
}
/*--------------------------------------------------------------------------------founder--------------------------------------------------------------------------------------------------------------*/
.team h1{
text-align: center;
align-items: center;
}
.list{
width: 160px;
height: 5px;
background-color: #435585;
}
.team .team_box{
width: 95%;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
position: relative;
top: 13%;
}
.team .team_box .profile{
width: 320px;
height: 320px;
border-radius: 50%;
margin: 0 15px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
box-shadow: 0 0 8px rgba(0,0,0,0.5);
transition: 0.4s;
}
.team .team_box .profile:hover{
border-radius: 20px;
height: 320px;
}
.team .team_box .profile img{
width: 250px;
height: 250px;
object-fit: cover;
object-position: center;
border-radius: 50%;
cursor: pointer;
box-shadow: 0 0 8px rgba(0,0,0,0.5);
z-index: 2;
transition: 0.4s;
}
.team .team_box .profile:hover img{
border-radius: 20px;
margin-top: -230px;
}
.team .team_box .profile .info{
position: absolute;
text-align: center;
top: 25%;
transition: 0.4s;
}
.team .team_box .profile:hover .info{
top: 60%;
}
.team .team_box .profile .info .name{
color: #435585;
}
.team .team_box .profile .info .bio{
width: 70%;
text-align: center;
margin: 0 auto 10px auto;
}
.team .team_box .profile .info .team_icon i{
margin: 10px 5px 5px 0;
cursor: pointer;
transition: 0.3s;
}
.team .team_box .profile .info .team_icon i:hover{
color: #435585;
}
/*--------------------------------------------------------------------------------review--------------------------------------------------------------------------------------------------------------*/
.container{
padding: 40px 0;
background: rgb(255, 255, 255);
color: rgb(0, 0, 0);
text-align: center;
}
.review{
/*jarak antara review
max-width: 1200px;*/
padding: 0 20px;
}
.list{
width: 160px;
height: 5px;
background: #435585;
/* jarak garis ke tulisan review // biar garisnya tengah */
margin: 7px auto;
}
.star a{
color: #435585;
}
/* biar menjajar ke samping reviewnya */
.review-list{
display: flex;
}
.profil img{
margin: 30px auto 5px;
width: 100px;
border-radius: 50%;
}
/*--------------------------------------------------------------------------------maps--------------------------------------------------------------------------------------------------------------*/
.maps h1{
text-align: center;
}
.maps .list{
width: 160px;
height: 5px;
margin: 7px auto;
background: #435585;
}
.maps img{
width: 100%;
}
/*--------------------------------------------------------------------------------address--------------------------------------------------------------------------------------------------------------*/
.address{
color: #435585;
background-color: white;
text-align: center;
width: 100%;
}
/*--------------------------------------------------------------------------------copyright--------------------------------------------------------------------------------------------------------------*/
footer{
/*---- biar copyright di bawah -----
position: fixed;
bottom: 0;*/
/*---- biar copyright full sampai ujung -----*/
width: 100%;
width: 100%;
text-align: center;
/*---- jarak copyright ke atas -----*/
padding: 5px 0;
background-color: 435585;
color: white;
}
.main{
display: flex;
}
/*---- jarak antar informasi -----*/
.col{
width: 25%;
color: rgb(255, 255, 255);
}
.col ul li{
list-style: none;
color: black;
}
.col ul li a{
color: rgb(0, 0, 0);
}
.social{
margin-top: 30px;
}
.social a{
text-decoration: none;
font-size: 30px;
margin-right: 15px;
color: rgb(255, 255, 255);
display: inline-block;
transition: transform 0.5s;
}
.social a:hover{
color: rgb(0, 0, 0);
transform: translateY(-5px);
}