Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.65 KB | None | 0 0
  1. // ==UserScript==
  2. // @name AMQ Background script
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description Adds custom background to amq. Tried to include as many selectors as possible, so remove the ones where you prefer to have original background
  6. // @author Juvian
  7. // @match https://animemusicquiz.com/*
  8. // @grant none
  9. // @require https://gist.githubusercontent.com/arantius/3123124/raw/grant-none-shim.js
  10.  
  11. // ==/UserScript==
  12.  
  13.  
  14. GM_addStyle(`
  15.  
  16.  
  17. /* Thank you to: Klem, Juvian and LolCats for providing a bunch of the code*/
  18. /* You can pretty much change any element here. Feel free to message me if you want to find a certain thing to change */
  19. /*-MelodyElodie*/
  20.  
  21.  
  22. :root {
  23. /* Change the URL in quotes to whatever you want the bg to be. */
  24. --bg: url(https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-588045.jpg);
  25. /* Optional: if you want a different background for chat. Phone wallpapers tend to work best. */
  26. --chatbg: rgba(0,0,0,0.7);
  27. }
  28.  
  29.  
  30. #startPage {
  31. background-image: var(--bg);
  32. background-size: cover;
  33. }
  34.  
  35. #gameContainer {
  36. background-image: var(--bg);
  37. background-size: cover;
  38. }
  39.  
  40. #loadingScreen {
  41. background-image: var(--bg);
  42. background-size: cover;
  43. }
  44.  
  45. #gameChatPage > .col-xs-9 {
  46. background-image: var(--bg);
  47. background-size: cover;
  48. }
  49. #gcGameChatButton{
  50. color: #ffffff
  51. box-shadow: none;
  52. text-shadow: 0 0 20px #96FF96, 0 0 30px #66FF66, 0 0 40px #66FF66, 0 0 50px #66FF66 !important;
  53.  
  54. }
  55. #footerMenuBarBackground{
  56. background: rgba(0,0,0,0.7);
  57. }
  58. #awMainView {
  59. background-image: var(--bg);
  60. background-size: cover;
  61. }
  62.  
  63. #gameChatContainer {
  64. background: var(--chatbg);
  65. }
  66.  
  67. .leftShadowBorder, #currencyContainer, #menuBarOptionContainer, #awContentRow .rightShadowBorder {
  68. box-shadow:none;
  69. }
  70.  
  71. #footerMenuBar .menuBar, #optionsContainer.popOut, #rightMenuBarPartContainer::before, .gcList > li:nth-child(2n) {
  72. background-color: #1b1b1b
  73. }
  74.  
  75. #socialTab:not(.open), #optionsContainer:not(.open) {
  76. display:none;
  77. }
  78.  
  79. #mainMenuSocailButton, #avatarUserImgContainer {
  80. border:none !important;
  81. }
  82.  
  83. #optionsContainer li {
  84. background-color:#424242 !important;
  85. }
  86.  
  87. #rbMajorFilters {
  88. background-color: #1b1b1b;
  89. padding-left: 10px;
  90. }
  91.  
  92.  
  93. .leftShadowBorder {
  94. box-shadow: none;
  95. -webkit-box-shadow: none;
  96. }
  97.  
  98. .gcList > li:nth-child(2n) {
  99. background: none;
  100. }
  101.  
  102. .gcInputContainer {
  103. background: none;
  104. }
  105. #xpBarCoverInner{
  106. background: #1b1b1b
  107. }
  108. #xpBackground{
  109. background: #ff6095
  110. }
  111. #xpBackground{
  112. border: #ff6095
  113. }
  114. /* Legibility fix for guesses */
  115. .qpAvatarAnswerContainer.rightAnswer .qpAvatarAnswer {
  116. box-shadow: none;
  117. text-shadow: 0 0 20px #96FF96, 0 0 30px #66FF66, 0 0 40px #66FF66, 0 0 50px #66FF66 !important;
  118. }
  119. .qpAvatarAnswerContainer.wrongAnswer .qpAvatarAnswer {
  120. box-shadow: none;
  121. text-shadow: 0 0 20px #FF9996, 0 0 30px #FF4A44, 0 0 40px #FF4A44, 0 0 50px #FF4A44 !important;
  122. }
  123.  
  124. .avatarIsHostContainer {
  125. box-shadow: none;
  126. -webkit-box-shadow: none;
  127. }
  128.  
  129. .avatarIsHostContainerOuter {
  130. position: initial;
  131. box-shadow: none;
  132. -webkit-box-shadow: none;
  133. }
  134.  
  135. .qpAvatarNameContainer .avatarIsHostContainer {
  136. background-color: unset;
  137. background-image: url("https://files.catbox.moe/jizubh.png");
  138. transform: none;
  139. left: 25px;
  140. width: 20px;
  141. height: 20px;
  142. margin-top: 4px;
  143. }
  144. #mainMenuSocailButton {
  145. background-color: rgba(0,0,0,0.7);
  146. }
  147.  
  148. .lobbyAvatarImgContainer {
  149. background-color: rgba(0,0,0,0.7);
  150. }
  151. .menuBarOptionContainer {
  152. background-color: rgba(0,0,0,0.7);
  153. }
  154.  
  155. #avatarUserImgContainer {
  156. opacity: 0.5;
  157. filter: alpha(opacity=50);
  158. }
  159.  
  160. #avatarUserImgContainer:hover {
  161. opacity: 1.0;
  162. filter: alpha(opacity=100);
  163. }
  164. .lobbyAvatarTextContainer {
  165. background: rgba(0,0,0,0.7);
  166. }
  167.  
  168. #gameContainer, #gameChatPage > .col-xs-9, #mainMenuSocailButton, #avatarUserImgContainer, .topMenuBar, #awContentRow, #awMainView, .gcInputContainer, .qpSideContainer, .qpAnimeNameContainer, #qpCounter, #qpWaitBuffering {
  169. background-color: rgba(0,0,0,0.7);
  170. background-size: 100% auto !important;
  171. background-attachment: fixed !important;
  172. background-position: 0px !important;
  173. }
  174.  
  175. #qpAnimeNameHider {
  176. background-color: #1b1b1b
  177. }
  178.  
  179. #qpVideoHider {
  180. background-color: #1b1b1b
  181. }
  182.  
  183. #qpInfoHider {
  184. background-color: #1b1b1b
  185. }
  186.  
  187. #xpBarCoverInner {
  188. background-color: #1b1b1b
  189. }
  190.  
  191. .qpAvatarNameContainer {
  192. background-color: #1b1b1b
  193. }
  194.  
  195. .qpAvatarAnswerContainer {
  196. background-color: #1b1b1b
  197. }
  198.  
  199. #gameContainer >.col-xs-9, #rbRoomContainer .rbrRoomImageContainer{
  200. background-color:rgba(0, 0, 0, 0.3)
  201. }
  202. `)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement