-
Notifications
You must be signed in to change notification settings - Fork 5
/
styles.css
129 lines (113 loc) · 1.89 KB
/
styles.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
*
{
cursor: none !important;
}
body
{
overflow-x: hidden;
overflow-y: hidden;
text-align: center;
}
iframe
{
width: 100vw;
height: 100vh;
position: absolute;
left: 0px;
top: 0px;
display: none;
}
.loading
{
font-family: "Cabin", sans-serif;
color: #52B547;
font-size: 10em;
font-weight: 700;
width: 100vw;
position: absolute;
margin: 0px;
top: calc(50vh - 97px);
left: 0px;
text-shadow: 0px 0px 10px #52B547;
}
.timerback
{
width: 100vw;
height: 10px;
position: absolute;
left: 0px;
top: 100vh;
z-index: 1;
background-color: #CFD8DC;
}
.timer
{
width: 0px;
height: 100%;
left: 0px;
top: 0px;
background-color: #F44336;
animation: time 15s linear 0s infinite forwards;
}
@keyframes time
{
from {width: 0vw;}
to {width: 100vw;}
}
.slideUp
{
animation: timeSlideUp 2s ease 0s 1 forwards;
}
@keyframes timeSlideUp
{
from {top: 100vh;}
to {top: calc(100vh - 10px);}
}
.transition
{
width: 120vw;
height: 100vh;
position: absolute;
top: 0px;
left: 100vw;
clip-path: polygon(10vw 0, 120vw 0, 110vw 100vh, 0 100vh);
}
.transition.back
{
background-color: #27AD1A;
z-index: 2;
}
.transition.back.slide
{
animation: slidein 1s ease-in 0s 1 forwards,
slideout 1s ease-out 1.4s 1 forwards;
}
.transition.front
{
background-color: #35E522;
z-index: 3;
}
.transition.front.slide
{
animation: slidein 1s ease-in 0.2s 1 forwards,
slideout 1s ease-out 1.2s 1 forwards;
}
.transition.front>img
{
filter: brightness(0%) invert(100%);
width: 500px;
z-index: 4;
position: absolute;
top: calc(50vh - 250px);
left: calc(60vw - 250px);
}
@keyframes slidein
{
from {left: 100vw;}
to {left: -10vw;}
}
@keyframes slideout
{
from {left: -10vw;}
to {left: -120vw;}
}