forked from ZohebMOPO/Kelechi
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
138 lines (124 loc) · 2.86 KB
/
styles.css
File metadata and controls
138 lines (124 loc) · 2.86 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
body {
padding: 5%;
background-color: black;
}
h1 {
margin: auto;
letter-spacing: 0.0015em;
font-size: 5em !important;
text-shadow: 0 1px #232425, -1px 0 #37383d, -1px 2px #232425, -2px 1px #37383d,
-2px 3px #232425, -3px 2px #37383d, -3px 4px #232425, -4px 3px #37383d,
-4px 5px #232425, -5px 4px #37383d, -5px 6px #232425, -6px 5px #37383d,
-6px 7px #232425, -7px 6px #37383d, -7px 8px #232425, -8px 7px #37383d;
text-align: center;
font-family: "Henny Penny", cursive;
color:rgb(253, 252, 170);
}
.cb-slideshow,
.cb-slideshow:after {
position: fixed;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
z-index: 0;
}
.cb-slideshow:after {
content: '';
background: transparent url(../images/pattern.png) repeat top left;
}
.cb-slideshow li span {
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
color: transparent;
background-size: cover;
background-position: 50% 50%;
background-repeat: none;
opacity: 0;
z-index: 0;
animation: imageAnimation 18s linear infinite 0s;
list-style: none;
}
.cb-slideshow li div {
z-index: 1000;
position: absolute;
top: 30px;
width: 100%;
text-align: center;
opacity: 0;
animation: titleAnimation 18s linear infinite 0s;
}
.cb-slideshow li div p {
font-size: x-large;
color: white;
}
.cb-slideshow li:nth-child(1) span {
background-image: url(chaipilo.gif)
}
.cb-slideshow li:nth-child(2) span {
background-image: url(dametucosita.gif);
animation-delay: 3s;
}
.cb-slideshow li:nth-child(3) span {
background-image: url(daya.gif);
animation-delay: 6s;
}
.cb-slideshow li:nth-child(4) span {
background-image: url(egg.jpg);
animation-delay: 9s;
}
.cb-slideshow li:nth-child(5) span {
background-image: url(marjan-blan-marjanblan-fCnU57cVwTY-unsplash.jpg);
animation-delay: 12s;
}
.cb-slideshow li:nth-child(6) span {
background-image: url(rick.gif);
animation-delay: 15s;
}
.cb-slideshow li:nth-child(2) div {
animation-delay: 3s;
}
.cb-slideshow li:nth-child(3) div {
animation-delay: 6s;
}
.cb-slideshow li:nth-child(4) div {
animation-delay: 9s;
}
.cb-slideshow li:nth-child(5) div {
animation-delay: 12s;
}
.cb-slideshow li:nth-child(6) div {
animation-delay: 15s;
}
@keyframes imageAnimation {
0% { opacity: 0; animation-timing-function: ease-in; }
8% { opacity: 1; animation-timing-function: ease-out; }
17% { opacity: 1 }
25% { opacity: 0 }
100% { opacity: 0 }
}
@keyframes titleAnimation {
0% { opacity: 0 }
8% { opacity: 1 }
17% { opacity: 1 }
19% { opacity: 0 }
100% { opacity: 0 }
}
.no-cssanimations .cb-slideshow li span{
opacity: 1;
}
@media screen and (max-width: 1140px) {
.cb-slideshow li div h3 { font-size: 140px }
}
@media screen and (max-width: 600px) {
.cb-slideshow li div h3 { font-size: 80px }
}
.main {
display: none;
}
.flexbox {
display: flex;
}