-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgenesis_pixel.css
More file actions
108 lines (108 loc) · 2.37 KB
/
genesis_pixel.css
File metadata and controls
108 lines (108 loc) · 2.37 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
/*Genesis Pixel Controller Styling by Animach1ne*/
/* *********************************************************** */
.controller.custom{
background: url(https://i.imgur.com/ahRKLen.png);
height: 234px;
width: 528px;
}
.custom.disconnected {
background: url(https://i.imgur.com/Nsr2Pt0.png);
}
.custom.disconnected div {
display: none;
}
/* *********************************************************** */
.custom .back{
position: absolute;
background: url(https://i.imgur.com/qq1rEWq.png);
height: 234px;
width: 528px;
top: 0px;
left: 0px;
opacity: 0;
}
.custom .back.pressed{
opacity: 1;
}
.custom .start{
position: absolute;
background: url(https://i.imgur.com/ynn2ks4.png);
height: 234px;
width: 528px;
top: 0px;
left: 0px;
opacity: 0;
}
.custom .start.pressed{
opacity: 1;
}
/* *********************************************************** */
/* base class used to simplify the sprite mapping */
.custom .button.a.pressed{
position: absolute;
background: url(https://i.imgur.com/JDkiwgQ.png);
height: 234px;
width: 528px;
top: 0px;
left: 0px;
opacity: 1;
}
.custom .button.b.pressed{
position: absolute;
background: url(https://i.imgur.com/p068NX8.png);
height: 234px;
width: 528px;
top: 0px;
left: 0px;
opacity: 1;
}
.custom .button.y.pressed{
position: absolute;
background: url(https://i.imgur.com/I6qrnhR.png);
height: 234px;
width: 528px;
top: 0px;
left: 0px;
opacity: 1;
}
/* *********************************************************** */
.custom .face.up{
position: absolute;
background: url(https://i.imgur.com/ODnE345.png);
height: 234px;
width: 528px;
top: 0px;
left: 0px;
opacity: 0;
}
.custom .face.down{
position: absolute;
background: url(https://i.imgur.com/ftwC5ar.png);
height: 234px;
width: 528px;
top: 0px;
left: 0px;
opacity: 0;
}
.custom .face.left{
position: absolute;
background: url(https://i.imgur.com/orcnD31.png);
height: 234px;
width: 528px;
top: 0px;
left: 0px;
opacity: 0;
}
.custom .face.right{
position: absolute;
background: url(https://i.imgur.com/VaoNFb6.png);
height: 234px;
width: 528px;
top: 0px;
left: 0px;
opacity: 0;
}
.custom .face.pressed{
opacity: 1;
}
/*END Genesis Pixel Controller Styling*/