-
Notifications
You must be signed in to change notification settings - Fork 1
/
teremok.css
73 lines (73 loc) · 1.41 KB
/
teremok.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
@keyframes opacityScale {
from {opacity: 0;}
20% {opacity: 1;}
}
@keyframes opacityImage {
from {opacity: 0;}
20% {opacity: 1;}
}
.teremok {
position: relative;
width: 100%;
overflow: hidden;
}
.teremok .image {
width: 100%;
position: absolute;
top: 0;
z-index: -1;
background-size: cover;
animation: opacityImage 22s ease-in-out;
-moz-transition: transform 22s ease-out;
-o-transition: transform 22s ease-out;
-webkit-transition: transform 22s ease-out;
}
.teremok .scale {
animation: opacityScale 22s ease-in-out;
-webkit-transform: scale(1.3);
-moz-transform: scale(1.3);
-o-transform: scale(1.3);
}
.buttonTeremok {
display: none;
position: absolute;
/*margin-left: auto;
margin-right: auto;*/
left: 15px;
/*right: 0;*/
bottom: 15px;
width: 150px;
}
.teremokIndicators {
position: absolute;
display: flex;
justify-content: center;
bottom: 15px;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
width: 150px;
}
.teremokIndicator {
position: relative;
margin-left: 5px;
margin-right: 5px;
width: 30px;
height: 3px;
background: rgba(128, 128, 128, 0.6);
}
.teremokIndicator:before {
position:absolute;
content:'';
top:-10px;
right:0px;
left:0px;
bottom:-10px;
}
.teremokIndicator.active {
background: rgba(255, 255, 255, 0.6);
}
.teremokIndicator:hover {
background: rgba(255, 255, 255, 0.6);
}