-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.css
217 lines (201 loc) · 3.17 KB
/
about.css
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
*{
margin:0;
padding: 0;
font-family:sans-serif;
overflow: hidden;
}
#nav{
position: fixed;
z-index: 100;
top:0;
left: 0;
width:100%;
height: 80px;
padding: 10px 90px;
box-sizing: border-box;
background: rgba(0,0,0,0.5);
}
#nav .logo{
padding:22px 20px;
height: 80px;
float:left;
font-size: 28px;
/* font-weight: bold; */
color:skyblue;
font-family:orpheus;
font-style: italic;
}
#nav ul{
list-style: none;
float: right;
margin: 0;
padding: 0;
display: flex;
}
#nav ul li a{
line-height: 80px;
color: #e2472f;
padding: 12px 30px;
text-decoration: none;
text-transform: uppercase;
font-size: 18px;
font-weight: bold;
font-family: optima;
}
#nav ul li a:hover{
background: rgba(0,0,0,0.7);
border-radius:6px;
}
#nav ul li a.active{
background: #e2472f;
color:black;
border-radius: 6px;
}
.wedding,.nature,.wildlife,.potrait{
height:100vh;
width:100%;
position: absolute;
left: 0;
top:0;
background-image: url(./images/zebra.jpg);
}
img{
width: 90%;
position: absolute;
left:50%;
top:50%;
transform: translate(-50%,-50%);
animation: zoom-out 4s linear infinite;
}
@keyframes zoom-out{
100%{
width:100%;
}
}
.text{
width:600px;
position: absolute;
top:250px;
left:150px;
color:black;
font-size: 25px;
font-weight: 550;
font-family: Optima;
animation: textup 12s linear infinite;
transform: translateY(100px);
}
.text h1{
margin-bottom: 40px;
}
.text p{
font-size: 20px;
line-height: 25px;
margin-top:80px;
}
.text span{
background: pink;
height: 1px;
width: 100px;
position: absolute;
left:0px;
}
.wedding{
animation: slide1 12s linear infinite;
}
.nature{
animation: slide2 12s linear infinite;
}
.wildlife{
animation: slide3 12s linear infinite;
}
.potrait{
animation: slide4 12s linear infinite;
}
@keyframes slide1{
0%{
visibility: visible;
}
25%{
visibility: hidden;
}
50%{
visibility: hidden;
}
75%{
visibility: hidden;
}
100%{
visibility: visible;
}
}
@keyframes slide2{
0%{
visibility: hidden;
}
25%{
visibility: hidden;
}
50%{
visibility: visible;
}
75%{
visibility: hidden;
}
100%{
visibility: hidden;
}
}
@keyframes slide3{
0%{
visibility: hidden;
}
25%{
visibility: hidden;
}
50%{
visibility: hidden;
}
75%{
visibility: visible;
}
100%{
visibility: hidden;
}
}
@keyframes slide4{
0%{
visibility: hidden;
}
25%{
visibility: hidden;
}
50%{
visibility: hidden;
}
75%{
visibility: hidden;
}
100%{
visibility: visible;
}
}
@keyframes textup{
10%{
transform: translateY(0px);
}
100%{
transform: translateY(0px);
}
}
.text1{
animation-delay: 0s;
}
.text2{
animation-delay: 3s;
}
.text3{
animation-delay: 6s;
}
.text4{
animation-delay: 9s;
}