-
Notifications
You must be signed in to change notification settings - Fork 0
/
landing.less
78 lines (74 loc) · 1.83 KB
/
landing.less
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
@import "css/_default.less";
header {
position: absolute;
left: 50%;
bottom: 0;
-ms-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
animation-name: text;
animation-duration: 8s;
}
a {
text-decoration: none;
color: #454545;
vertical-align: middle;
line-height: @spacing*4;
padding: @spacing @spacing*4;
font-size: 0.8em;
}
@-webkit-keyframes planet {
0% { -webkit-transform: translateY(-51%) translateX(-50%); }
10% { -webkit-transform: translateY(-51%) translateX(-50%); }
100% { -webkit-transform: translateY(-50%) translateX(-50%); }
}
@keyframes planet {
0% { transform: translateY(-51%) translateX(-50%); }
10% { transform: translateY(-51%) translateX(-50%); }
100% { transform: translateY(-50%) translateX(-50%); }
}
@-webkit-keyframes glow {
0% { opacity: 0; }
30% { opacity: 1; }
100% { opacity: 1; }
}
@keyframes glow {
0% { opacity: 0; }
30% { opacity: 1; }
100% { opacity: 1; }
}
@-webkit-keyframes text {
0% { opacity: 0; }
35% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes text {
0% { opacity: 0; }
35% { opacity: 0; }
100% { opacity: 1; }
}
.logo {
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translateY(-50%) translateX(-50%);
-webkit-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
}
.glow {
opacity: 1;
-webkit-animation: glow 8s;
animation: glow 8s;
}
.planet {
-ms-transform: translateY(-50%) translateX(-50%);
-webkit-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
-webkit-animation: planet 8s;
animation: planet 8s;
}
.text {
opacity: 1;
-webkit-animation: text 8s;
animation: text 8s;
}