-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.css
99 lines (90 loc) · 2.22 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
html, body, #graph {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
body {
background: black;
position: relative;
overflow: hidden;
}
.container{
color: white;
position: absolute;
font-family: monospace;
white-space: nowrap;
transition: top 1s ease-in-out;
text-shadow: 0 0 10px black;
}
.container .name {
display: block;
line-height: 0.7em;
}
.container .stats {
font-size: small;
}
.container .user {
display: inline-block;
margin-right: 5px;
}
.container .color {
display: block;
width: 5px;
height: 5px;
margin: 1px;
}
.floating {
-webkit-animation-name: Floatingx;
-webkit-animation-duration: 3s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: ease-in-out;
-moz-animation-name: Floating;
-moz-animation-duration: 3s;
-moz-animation-iteration-count: infinite;
-moz-animation-timing-function: ease-in-out;
animation-name: Floating;
animation-duration: 3s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
}
@-webkit-keyframes Floatingx {
from { -webkit-transform: translateY(0px); }
65% { -webkit-transform: translateY(15px); }
to { -webkit-transform: translateY(-0px); }
}
@-moz-keyframes Floating {
from { -moz-transform: translateY(0px); }
65% { -moz-transform: translateY(15px); }
to { -moz-transform: translateY(-0px); }
}
@keyframes Floating {
from { transform: translateY(0px); }
65% { transform: translateY(15px); }
to { transform: translateY(-0px); }
}
.scroll-left {
-moz-animation: scroll-left 30s linear infinite;
-webkit-animation: scroll-left 30s linear infinite;
animation: scroll-left 30s linear infinite;
}
@-moz-keyframes scroll-left {
0% { left: 100%; }
50% { left: 0; }
100% { left: 100%; }
}
@-webkit-keyframes scroll-left {
0% { left: 100%; }
50% { left: 0; }
100% { left: 100%; }
}
@keyframes scroll-left {
0% { left: 100%; }
50% { left: 0; }
100% { left: 100%; }
}
.drift-left {
-moz-animation: scroll-left 60s linear infinite, Floating 3s ease-in-out infinite;
-webkit-animation: scroll-left 60s linear infinite, Floatingx 3s ease-in-out infinite;
animation: scroll-left 60s linear infinite, Floating 3s ease-in-out infinite;
}