forked from IndigoJester/zooenggNewSite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
86 lines (72 loc) · 1.45 KB
/
main.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
.slidebox {
display: flex;
flex-direction: column;
justify-content: center;
width: 50%;
height: 50%;
padding: 0;
margin-top: 5vw;
/* left: 50%;
top: 55%;
-o-transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);*/
}
.slides {
display: none;
}
.slideImg {
width: calc(100% - 0vw);
height: calc(100% - 0vw);
}
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
-o-animation-name: fade;
-o-animation-duration: 1.5s;
-moz-animation-name: fade;
-moz-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}
@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
@-o-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
@-moz-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
.prev, .next {
cursor: pointer;
position: absolute;
width: auto;
padding: 1.5vw;
color: white;
font-weight: bold;
font-size: 2vw;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
text-decoration: none;
}
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
.prev {
left: 0;
}
.prev:hover, .next:hover {
background-color: rgb(0, 0, 0);
background-color: rgba(0,0,0,0.8);
}