-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
112 lines (97 loc) · 1.82 KB
/
style.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
.container {
max-width: 960px;
margin: 50px auto 0 auto;
}
.container .slider {
display: flex;
align-items: center;
justify-content: center;
height: 282px;
}
.container .slider .images-container {
width: 500px;
height: 100%;
position: relative;
}
.container .slider .images-container img {
aspect-ratio: 16/9;
object-fit: contain;
position: absolute;
transition: all ease 0.3s;
opacity: 0;
z-index: -1;
width: 100%;
height: 100%;
}
.container .slider .images-container img.active {
left: 0;
opacity: 1;
z-index: 9;
}
.container .slider .images-container img.animation-slide-to-left {
animation: slideToLeft linear 0.3s;
}
.container .slider .images-container img.animation-slide-to-right {
animation: slideToRight linear 0.3s;
}
.container .slider .images-container img.animation-slide-from-left {
animation: slideFromLeft linear 0.3s;
}
.container .slider .images-container img.animation-slide-from-right {
animation: slideFromRight linear 0.3s;
}
.container .arrow {
max-width: 80px;
height: 100%;
padding: 0 30px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all ease 0.2s;
}
.container .arrow:hover {
opacity: 0.5;
}
.container .arrow img {
max-width: 100%;
}
.navSocialIcon {
margin-left: 5px;
margin-right: 5px;
background-color: #6366F1;
padding: 10px;
cursor: pointer;
}
@keyframes slideToLeft {
from {
left: 0px;
}
to {
left: -100%;
}
}
@keyframes slideToRight {
from {
left: 0px;
}
to {
left: 100%;
}
}
@keyframes slideFromRight {
from {
left: 100%;
}
to {
left: 0px;
}
}
@keyframes slideFromLeft {
from {
left: -100%;
}
to {
left: 0px;
}
}