-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstylesheet.css
More file actions
497 lines (455 loc) · 9.16 KB
/
stylesheet.css
File metadata and controls
497 lines (455 loc) · 9.16 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
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
* {
box-sizing: border-box;
}
/* Style the body */
body {
font-family: Arial;
margin: 0;
position: absolute;
}
a {
text-decoration: none;
}
/* Header/logo Title */
.header {
padding: 20px 0 0 0;
text-align: center;
background: url("bintang1.jpg");
background-size: cover;
}
.gradient-text {
font-size: 70px;
font-family: "Archivo Black", sans-serif;
background-color: red;
background-image: linear-gradient(45deg, #f3ec78, #af4261);
background-size: 100%;
background-repeat: repeat;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
-moz-background-clip: text;
-moz-text-fill-color: transparent;
/* animation header*/
animation: fadein 2s;
-moz-animation: fadein 2s; /* Firefox */
-webkit-animation: fadein 2s; /* Safari and Chrome */
-o-animation: fadein 2s; /* Opera */
}
/* Style the top navigation bar */
.navbar {
display: flex;
}
/* Style the navigation bar links */
.navbar a {
color: white;
padding: 14px 20px;
text-decoration: none;
text-align: center;
font-family: "Archivo Black", sans-serif;
border-radius: 5px;
}
/* Change color on hover */
.navbar a:hover {
background-color: #ddd;
color: black;
}
/* Column container */
.row {
display: flex;
flex-wrap: wrap;
}
/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
overflow: hidden;
position: relative;
flex: 30%;
padding: 20px;
}
.side-bg {
background: url("spacex4.jpg");
background-size: cover;
opacity: 0.4;
position: absolute;
left: 0;
top: 0;
width: 700px;
height: 100%;
padding-left: 100%;
}
.side-content {
position: relative;
}
.logo-nama:hover {
color: #ff8b1f;
text-decoration: none;
}
.side h1{
text-align: center;
font-family: "Archivo Black", sans-serif;
}
.logo-nama-lengkap:hover{
color: #ff8b1f;
text-decoration: none;
}
.zoom-effect {
position: relative;
width: 200px;
height: 268px;
margin: auto;
overflow: hidden;
}
.kotak {
position: absolute;
top: 0;
left: 0;
}
.kotak img {
-webkit-transition: 0.4s ease;
transition: 0.4s ease;
width: 200px;
height: 268px;
margin: auto;
}
.zoom-effect:hover .kotak img {
-webkit-transform: scale(1.08);
transform: scale(1.08);
}
.side p {
text-align: justify;
}
.side p:hover {
color: #ff8b1f;
text-decoration: none;
}
/* Main column */
.main {
flex: 70%;
background-color: white;
padding: 20px;
}
/* Fake image, just for this example */
.fakeimg {
background-color: #aaa;
width: 100%;
padding: 20px;
}
/* Footer */
.footer {
height: 130px;
padding: 20px;
background-image: url("bintang1.jpg");
background-size: cover;
}
.footer-logo {
float: left;
color: white;
font-size: 25px;
}
.logo-item {
text-decoration: underline;
text-decoration-color: #eb780d;
}
.logo-item:hover {
color: #ff8b1f;
text-decoration: none;
font-style: italic;
}
.footer-list {
float: right;
}
.footer-list li {
padding-bottom: 6px;
list-style-type: none;
}
.btn {
padding: 12px 24px;
color: white;
display: inline-block;
opacity: 0.8;
}
/* Tambahkan CSS untuk instagram */
.instagram {
background-color: indigo;
margin-right: 10px;
}
/* Tambahkan CSS untuk facebook */
.facebook {
background-color: #3b5998;
margin-right: 10px;
}
/* Tambahkan CSS untuk twitter */
.twitter {
background-color: #55acee;
}
/* Tambahkan CSS untuk btn-wrapper */
.btn-wrapper {
margin: 20px 0px;
}
/* Tambahkan CSS untuk tag <p> didalam class btn-wrapper */
.btn-wrapper p {
margin: 10px 0px;
}
.fa {
margin-right: 5px;
}
.li-item:hover a {
color: #ff8b1f;
font-style: italic;
}
.footer-list-a {
float: right;
display: none;
}
.footer-list-a a{
width: 60px;
}
/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 743px) {
.row,
.navbar {
flex-direction: column;
}
.slide {
width: 100%;
}
.footer-list {
display: none;
}
.footer-list-a{
display: block;
}
}
/* animation header awal*/
@keyframes fadein {
from {
opacity:0;
}
to {
opacity:1;
}
}
@-moz-keyframes fadein { /* Firefox */
from {
opacity:0;
}
to {
opacity:1;
}
}
@-webkit-keyframes fadein { /* Safari and Chrome */
from {
opacity:0;
}
to {
opacity:1;
}
}
@-o-keyframes fadein { /* Opera */
from {
opacity:0;
}
to {
opacity: 1;
}
}
/* animation header akhir*/
/*awal code slider untuk gambar SpaceX*/
.slide {
max-width: auto;
height: 300px;
width: 700px;
position: relative;
margin-bottom :50px;
}
.slide1, .slide2, .slide3 {
position:absolute;
width: 700px;
height: 100%;
}
.slide1 {
background: url("spacex.jpg") no-repeat center;
background-size: cover;
animation: fade 8s infinite;
-webkit-animation: fade 8s infinite;
}
.slide2 {
background: url("spacex2.jpg") no-repeat center;
background-size: cover;
animation: fade2 8s infinite;
-webkit-animation: fade2 8s infinite;
}
.slide3 {
background: url("spacex3.jpg") no-repeat center;
background-size: cover;
animation: fade3 8s infinite;
-webkit-animation: fade3 8s infinite;
}
@keyframes fade {
0%{ opacity: 1;}
33.333%{ opacity: 0;}
66.666%{ opacity: 0;}
100%{ opacity: 1;}
}
@keyframes fade2 {
0%{ opacity: 0;}
33.333%{ opacity: 1;}
66.666%{ opacity: 0;}
100%{ opacity: 0;}
}
@keyframes fade3 {
0%{ opacity: 0;}
33.333%{ opacity: 0;}
66.666%{ opacity: 1;}
100%{ opacity: 0;}
}
/* akhir slider untuk gambar SpaceX */
.slide-1 { /*awal slide untuk tesla */
max-width: auto;
height: 300px;
width: 700px;
position: relative;
margin: 50px 0;
}
.tesla1, .tesla2, .tesla3 {
position:absolute;
width: 700px;
height: 100%;
}
.tesla1 {
background: url("Tesla1.jpg") no-repeat center;
background-size: cover;
animation: fade4 8s infinite;
-webkit-animation: fade 8s infinite;
}
.tesla2 {
background: url("Tesla2.jpg") no-repeat center;
background-size: cover;
animation: fade5 8s infinite;
-webkit-animation: fade2 8s infinite;
}
.tesla3 {
background: url("Tesla3.jpg") no-repeat center;
background-size: cover;
animation: fade6 8s infinite;
-webkit-animation: fade3 8s infinite;
}
@keyframes fade4 {
0%{ opacity: 1;}
33.333%{ opacity: 0;}
66.666%{ opacity: 0;}
100%{ opacity: 1;}
}
@keyframes fade5 {
0%{ opacity: 0;}
33.333%{ opacity: 1;}
66.666%{ opacity: 0;}
100%{ opacity: 0;}
}
@keyframes fade6 {
0%{ opacity: 0;}
33.333%{ opacity: 0;}
66.666%{ opacity: 1;}
100%{ opacity: 0;}
}
/* akhir slide untuk tesla */
.slide-2 { /*awal slide untuk the boring company */
max-width: auto;
height: 300px;
width: 700px;
position: relative;
margin: 50px 0;
}
.boring1, .boring2, .boring3 {
position:absolute;
width: 700px;
height: 100%;
}
.boring1 {
background: url("boring 1.jpg") no-repeat center;
background-size: cover;
animation: fade7 8s infinite;
-webkit-animation: fade 8s infinite;
}
.boring2 {
background: url("boring 2.jpg") no-repeat center;
background-size: cover;
animation: fade8 8s infinite;
-webkit-animation: fade2 8s infinite;
}
.boring3 {
background: url("boring 3.jpg") no-repeat center;
background-size: cover;
animation: fade9 8s infinite;
-webkit-animation: fade3 8s infinite;
}
@keyframes fade7 {
0%{ opacity: 1;}
33.333%{ opacity: 0;}
66.666%{ opacity: 0;}
100%{ opacity: 1;}
}
@keyframes fade8 {
0%{ opacity: 0;}
33.333%{ opacity: 1;}
66.666%{ opacity: 0;}
100%{ opacity: 0;}
}
@keyframes fade9 {
0%{ opacity: 0;}
33.333%{ opacity: 0;}
66.666%{ opacity: 1;}
100%{ opacity: 0;}
}
/* akhir slide untuk the boring company */
.slide-3 { /*awal slide untuk musk foundation */
max-width: auto;
height: 250px;
width: 700px;
position: relative;
margin: 50px 0;
}
.musk1, .musk2, .musk3 {
position:absolute;
width: 700px;
height: 100%;
}
.musk1 {
background: url("musk 1.jpg") no-repeat center;
background-size: cover;
animation: fade10 8s infinite;
-webkit-animation: fade 8s infinite;
}
.musk2 {
background: url("musk 2.jpg") no-repeat center;
background-size: cover;
animation: fade11 8s infinite;
-webkit-animation: fade2 8s infinite;
}
.musk3 {
background: url("musk 3.jpg") no-repeat center;
background-size: cover;
animation: fade12 8s infinite;
-webkit-animation: fade3 8s infinite;
}
@keyframes fade10 {
0%{ opacity: 1;}
33.333%{ opacity: 0;}
66.666%{ opacity: 0;}
100%{ opacity: 1;}
}
@keyframes fade11 {
0%{ opacity: 0;}
33.333%{ opacity: 1;}
66.666%{ opacity: 0;}
100%{ opacity: 0;}
}
@keyframes fade12 {
0%{ opacity: 0;}
33.333%{ opacity: 1;}
66.666%{ opacity: 0;}
100%{ opacity: 0;}
}
p {
text-align: justify;
}
/*akhir slide untuk musk foundation */