-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.css
More file actions
154 lines (141 loc) · 3.57 KB
/
test.css
File metadata and controls
154 lines (141 loc) · 3.57 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
.controller.custom {
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 2000 1000' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='200,200 500,150 800,200 850,500 800,800 500,850 200,800 150,500' style='fill:black;fill-opacity:.25;stroke:Black;stroke-width:60;fill-rule:nonzero;'/%3E%3Cpolygon points='200,200 500,150 800,200 850,500 800,800 500,850 200,800 150,500' style='fill:black;fill-opacity:.25;stroke:lightgrey;stroke-width:45;fill-rule:nonzero;'/%3E%3Ccircle cx='1085' cy='325' r='125'/%3E%3Ccircle cx='1085' cy='675' r='125'/%3E%3Ccircle cx='1085' cy='325' r='125'/%3E%3Ccircle cx='1435' cy='325' r='125'/%3E%3Ccircle cx='1780' cy='325' r='125'/%3E%3Ccircle cx='1780' cy='675' r='125'/%3E%3C/svg%3E%0A") no-repeat;
background-position: left;
height: 1000px;
width: 2000px;
}
.custom .bumpers {
width: 300px;
height: 300px;
position: absolute;
left: 1655px;
top: 200px;
}
.custom .bumper {
width: 250px;
height: 250px;
border-radius: 100%;
background: url(https://mlgesus5183.github.io/guilt/H.png) no-repeat;
opacity: 0.6;
}
.custom .bumper.right {
position: absolute;
left: 0px;
top: 0px;
background-position:center;
}
.custom .triggers {
width: 300px;
height: 300px;
position: absolute;
left: 1655px;
Bottom: 150px;
}
.custom .trigger-button {
width: 250px;
height: 250px;
border-radius: 100%;
opacity: 0.6;
}
.custom .trigger-button.right {
position: absolute;
left: 0px;
top: 0px;
background: url(https://mlgesus5183.github.io/guilt/D.png) no-repeat;
background-position:center;
}
.custom .button {
width: 250px;
height: 250px;
border-radius: 100%;
position: absolute;
opacity: 0.6;
}
.custom .abxy {
width: 600px;
height: 600px;
position: absolute;
top: 200px;
left: 960px;
}
.custom .a {
position: absolute;
bottom: 0px;
left: 0px;
background: url(https://mlgesus5183.github.io/guilt/P.png) no-repeat;
background-position:center;
}
.custom .x {
position: absolute;
top: 0px;
left: 0px;
background: url(https://mlgesus5183.github.io/guilt/K.png) no-repeat;
background-position:center;
}
.custom .y {
position: absolute;
top: 0px;
right: 0px;
background: url(https://mlgesus5183.github.io/guilt/S.png) no-repeat;
background-position:center;
}
.custom .button.pressed {
opacity:1;
}
.custom .bumper.pressed {
opacity:1;
}
.custom .trigger-button.pressed {
opacity:1;
}
.custom .fstick{
position: relative;
top: 0px;
left: 0px;
width: 1000px;
height: 1000px;
background: url(https://mlgesus5183.github.io/guilt/ball.png) no-repeat;
background-position: center;
transition: background-position 24ms;
transition-timing-function: steps(3)
}
.custom .fstick.up {
opacity: 10%;
background-position: center top;
opacity: 100%;
}
.custom .fstick.down {
opacity: 10%;
background-position: center bottom;
opacity: 100%;
}
.custom .fstick.left {
opacity: 10%;
background-position: center left;
opacity: 100%;
}
.custom .fstick.right {
opacity: 10%;
background-position: center right;
opacity: 100%;
}
.custom .fstick.up.right {
opacity: 10%;
background-position: 650px 50px;
opacity: 100%;
}
.custom .fstick.up.left {
opacity: 10%;
background-position: 50px 50px;
opacity: 100%;
}
.custom .fstick.down.right {
opacity: 10%;
background-position: 650px 650px;
opacity: 100%;
}
.custom .fstick.down.left {
opacity: 10%;
background-position: 50px 650px;
opacity: 100%;
}