benstephens56

3DS Controller Display CSS

Mar 28th, 2021 (edited)
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.04 KB | None | 0 0
  1. HOW TO USE:
  2. 1.) Add a browser source on OBS
  3. 2.) Paste this into the "URL" field: https://gamepadviewer.com/?p=1&s=6
  4. 3.) Choose the color of your 3DS skin by replacing the first URL in the code below with one of the following
  5.  
  6. Red: https://imgur.com/JURTaOu.png
  7. Blue: https://imgur.com/DFzMLtn.png
  8. Grey: https://imgur.com/abbTWfw.png
  9.  
  10. 4.) Paste the code below into the "Custom CSS" field:
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. /*BEGIN FightPad Pro Controller Styling*/
  21. .controller.fpp {
  22. background: url(https://imgur.com/abbTWfw.png) center;
  23. height: 755px;
  24. width: 938px;
  25. }
  26.  
  27. .fpp.disconnected {
  28. background: url(https://imgur.com/JURTaOu.png) no-repeat;
  29. }
  30.  
  31. .fpp.disconnected div {
  32. display: none;
  33. }
  34.  
  35. .fpp .triggers {
  36. width: 684px;
  37. height: 104px;
  38. position: absolute;
  39. left: 145px;
  40. }
  41.  
  42. .fpp .trigger {
  43. width: 96px;
  44. height: 104px;
  45. background: url(https://imgur.com/aPEYMUJ.png) no-repeat;
  46. opacity: 0.5;
  47. }
  48.  
  49. .fpp .trigger.left {
  50. float: left;
  51. position: absolute;
  52. top: 323px;
  53. left: 66px;
  54. }
  55.  
  56. .fpp .trigger.right {
  57. float: left;
  58. position: absolute;
  59. top: 323px;
  60. left: 487px;
  61. }
  62.  
  63. .fpp .bumpers {
  64. position: absolute;
  65. width: 816px;
  66. height: 76px;
  67. left: 65px;
  68. top: 115px;
  69. }
  70.  
  71. .fpp .bumper {
  72. width: 221px;
  73. height: 75px;
  74. background: url(https://imgur.com/fhzK4RE.png);
  75. opacity: 0;
  76. }
  77.  
  78. .fpp .bumper.pressed {
  79. opacity: 0.6;
  80. }
  81.  
  82. .fpp .bumper.left {
  83. float: left;
  84. position: absolute;
  85. top: 253px;
  86. left: 8px;
  87. }
  88.  
  89. .fpp .bumper.right {
  90. float: left;
  91. position: absolute;
  92. top: 253px;
  93. left: 579px;
  94. }
  95.  
  96. .fpp .bumper.right:after {
  97. content: "";
  98. position: absolute;
  99. background: url() no-repeat;
  100. background-position: -280px 0px;
  101. width: 70px;
  102. height: 70px;
  103. top: 121px;
  104. right: 41px;
  105. }
  106.  
  107. .fpp .quadrant {
  108. position: absolute;
  109. background: url() no-repeat;
  110. height: 46px;
  111. width: 152px;
  112. top: 365px;
  113. left: 347px;
  114. }
  115.  
  116. .fpp .p0 {
  117. background-position: -6px 0;
  118. }
  119.  
  120. .fpp .p1 {
  121. background-position: -160px 0;
  122. }
  123.  
  124. .fpp .p2 {
  125. background-position: -317px 0;
  126. }
  127.  
  128. .fpp .p3 {
  129. background-position: -474px 0;
  130. }
  131.  
  132. .fpp .arrows {
  133. position: absolute;
  134. width: 175px;
  135. height: 43px;
  136. top: 550px;
  137. left: 480px;
  138. }
  139.  
  140. .fpp .arrows:before {
  141. content: "";
  142. position: absolute;
  143. width: 55px;
  144. height: 22px;
  145. background: url() no-repeat;
  146. left: -126px;
  147. }
  148.  
  149. .fpp .back.pressed, .fpp .start.pressed {
  150. background: url(https://imgur.com/DyfmkC3.png) no-repeat;
  151. width: 81px;
  152. height: 43px;
  153. }
  154.  
  155. .fpp .start.pressed {
  156. position: absolute;
  157. bottom: 33px;
  158. left: 125px;
  159. }
  160.  
  161. .fpp .back {
  162. float: left;
  163. position: absolute;
  164. bottom: 3px;
  165. left: 96px;
  166. }
  167. }
  168.  
  169.  
  170. .fpp .abxy {
  171. position: absolute;
  172. width: 201px;
  173. height: 205px;
  174. top: 235px;
  175. left: 600px;
  176. }
  177.  
  178. .fpp .trigger-button.right.pressed {
  179. position: absolute;
  180. width: 70px;
  181. height: 70px;
  182. background: url() no-repeat;
  183. background-position: -351px 0;
  184. right: -66px;
  185. top: 304px;
  186. }
  187.  
  188. .fpp .button {
  189. position: absolute;
  190. width: 70px;
  191. height: 70px;
  192. background: url(https://imgur.com/H9fJMqj.png) no-repeat;
  193. opacity: 0;
  194. }
  195.  
  196. .fpp .button.pressed {
  197. opacity: 1;
  198. }
  199.  
  200. .fpp .a {
  201. background-position: 0 0;
  202. top: 224px;
  203. left: 19px;
  204. }
  205.  
  206. .fpp .b {
  207. background-position: -70px 0;
  208. top: 200px;
  209. right: 86px;
  210. }
  211.  
  212. .fpp .x {
  213. background-position: -140px 0;
  214. top: 200px;
  215. left: -6px;
  216. }
  217.  
  218. .fpp .y {
  219. background-position: -210px 0;
  220. left: 19px;
  221. top: 176px;
  222. }
  223.  
  224. .fpp .sticks {
  225. position: absolute;
  226. width: 114px;
  227. height: 114px;
  228. top: 386px;
  229. left: 215px;
  230. }
  231.  
  232. .fpp .stick {
  233. position: absolute;
  234. background: url(https://imgur.com/JoKZZAJ.png) no-repeat;
  235. height: 114px;
  236. width: 114px;
  237. }
  238.  
  239. .fpp .stick.pressed.left {
  240. background-position-x: -90px;
  241. }
  242.  
  243. .fpp .stick.pressed.right {
  244. background-position-x: -150px;
  245. }
  246.  
  247. .fpp .stick.left {
  248. top: 1px;
  249. left: 12px;
  250. }
  251.  
  252. .fpp .stick.right {
  253. display: none;
  254. top: 0;
  255. left: 0;
  256. }
  257.  
  258. .fpp .dpad {
  259. position: absolute;
  260. width: 157px;
  261. height: 156px;
  262. top: 242px;
  263. left: 69px;
  264. }
  265.  
  266. .fpp .face {
  267. background: url(https://imgur.com/q1TkJwK.png) no-repeat;
  268. position: absolute;
  269. opacity: 0;
  270. }
  271.  
  272. .fpp .face.pressed {
  273. opacity: 1;
  274. }
  275.  
  276. .fpp .face.up, .fpp .face.down {
  277. width: 110px;
  278. height: 78px;
  279. }
  280.  
  281. .fpp .face.left, .fpp .face.right {
  282. width: 78px;
  283. height: 111px;
  284. }
  285.  
  286. .fpp .face.up {
  287. left: 157px;
  288. top: 189px;
  289. background-position: 0 0px;
  290. }
  291.  
  292. .fpp .face.down {
  293. left: 157px;
  294. bottom: -207px;
  295. background-position: -111px 0;
  296. }
  297.  
  298. .fpp .face.left {
  299. top: 221px;
  300. left: 126px;
  301. background-position: -222px 0;
  302. }
  303.  
  304. .fpp .face.right {
  305. top: 221px;
  306. left: 222px;
  307. background-position: -303px 0;
  308. }
  309.  
  310. /*END FightPad Pro Controller Styling*/
Add Comment
Please, Sign In to add comment