-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
126 lines (114 loc) · 2.79 KB
/
Copy pathindex.css
File metadata and controls
126 lines (114 loc) · 2.79 KB
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
*
{
margin: 0;
padding: 0;
}
#Jukebox
{
border: 2px solid black;
width: 80%;
height: 300px;
margin: 0 auto;
}
#Now_Playing{
height: 18%;
overflow: hidden; /*So the scrolling text vanishes when appropriate*/
position: relative;
background:rgba(1,1,1,0.5)
}
#Now_Playing p{
position: absolute;
width: 100%;
height: 100%;
margin: 0;
line-height: 50px;
text-align: center;
/* Starting position */
-moz-transform:translateX(100%);
-webkit-transform:translateX(100%);
transform:translateX(100%);
/* Apply animation to this element */
-moz-animation: scroll-left 15s linear infinite;
-webkit-animation: scroll-left 15s linear infinite;
animation: scroll-left 15s linear infinite;
}
/* Move it (define the animation) */
@-moz-keyframes scroll-left {
0% { -moz-transform: translateX(100%); }
100% { -moz-transform: translateX(-100%); }
}
@-webkit-keyframes scroll-left {
0% { -webkit-transform: translateX(100%); }
100% { -webkit-transform: translateX(-100%); }
}
@keyframes scroll-left {
0% {
-moz-transform: translateX(100%); /* Browser bug fix */
-webkit-transform: translateX(100%); /* Browser bug fix */
transform: translateX(100%);
}
100% {
-moz-transform: translateX(-100%); /* Browser bug fix */
-webkit-transform: translateX(-100%); /* Browser bug fix */
transform: translateX(-100%);
}
}
#Buttons {
position: relative;
width: 45%;
height: 18%;
top: 48%;
margin: 0 auto;
}
#Play {
background-image: url('images/Play.png');
background-repeat: no-repeat;
background-position: center;
background-size: contain;
position: relative;
float: left;
border: 2px solid black;
margin: 2%;
width: 20%;
height: 80%;
box-sizing: border-box;/*resized box to be a bit smaller*/
}
#Reverse {
background-image: url('images/Reverse.png');
background-repeat: no-repeat;
background-position: center;
background-size: contain;
position: relative;
float: left;
margin: 2%;
border: 2px solid black;
width: 20%;
height: 80%;
box-sizing: border-box;/*resized box to be a bit smaller*/
}
#Fastfoward {
background-image: url('images/Fastfoward.png');
background-repeat: no-repeat;
background-position: center;
background-size: contain;
position: relative;
float: left;
border: 2px solid black;
margin: 2%;
width: 20%;
height: 80%;
box-sizing: border-box;/*resized box to be a bit smaller*/
}
#Shuffle {
background-image: url('images/Shuffle.png');
background-repeat: no-repeat;
background-position: center;
background-size: contain;
position: relative;
float: left;
border: 2px solid black;
margin: 2%;
width: 20%;
height: 80%;
box-sizing: border-box;/*resized box to be a bit smaller*/
}