Advertisement
naocrrds

PRO STANDARD #1

Mar 14th, 2022 (edited)
967
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.14 KB | None | 0 0
  1. 1) IMAGE INDEX. cr solieilos and biogger99
  2.  
  3. <style>
  4. .hae {
  5. border-radius: 5px;
  6. width: 100%;
  7. height: 270px;
  8. padding: 2px;
  9. font-size: 1.5em;
  10. color: #353235;
  11. overflow: auto;
  12. -webkit-transform: rotate(0deg);
  13. position: relative;
  14. overflow: hidden;
  15. text-align:center;
  16. }
  17.  
  18. .hae:hover .sip {
  19. height: 0%;
  20. }
  21.  
  22. .hea {
  23. text-align: left;
  24. color: #15111E;
  25. font-size: 20px;
  26. width: 100%;
  27. height: 100%;
  28. background: #ffffff00;
  29. }
  30.  
  31. .sip {
  32. color: #ffffff00;
  33. font-size: 20px;
  34. width: 100%;
  35. height: 270px;
  36. line-height: 100px;
  37. position: absolute;
  38. top: 0;
  39. left: 0;
  40. transition: 0.8s;
  41. -moz-transition: 0.8s;
  42. -webkit-transition: 0.8s;
  43. -o-transition: 0.8s;
  44. object-fit: cover;
  45. z-index: 1;
  46. text-align:left;
  47. overflow: scroll;
  48. overflow-x: hidden;
  49.  
  50. }
  51.  
  52. #choco {
  53. width: 100%;
  54. height: 100%;
  55. background: #ffffff00;
  56. position: relative;
  57. top: 0;
  58. padding: 10px;
  59. white-space: nowrap;
  60. }
  61.  
  62. .tem {
  63. height: 270px;
  64. object-fit: cover;
  65. white-space: normal;
  66. float: left;
  67. -webkit-mask-size: 100%;
  68. -webkit-mask-repeat: no-repeat;
  69. -webkit-mask-position: center;
  70. }
  71.  
  72. #fart {
  73. height: 250px;
  74. width: auto;
  75. padding: 6px;
  76. font-size: 0.5em;
  77. font-family: inter;
  78. color: #353235;
  79. overflow: auto;
  80. position: relative;
  81. bottom: 0;
  82. right: 0;
  83. text-align:left;
  84. z-index: 1;
  85.  
  86. #image01 .frame {width: 100vw;transition: none;
  87.  
  88. }#image01 .frame img {transition: none;
  89. }
  90. }
  91.  
  92. </style>
  93. <div class="hae">
  94. <div class="hea">
  95. <br>
  96. <div class="tem">
  97. <center>
  98. <div id="fart">
  99. <strong>update log</strong><br><br />
  100. <strong>date today whtever</strong> what info
  101. </div>
  102. </center>
  103. <div id="image01"><img class="sip" src="xxxxximage_linkxxxxx" class="full"></div>
  104.  
  105.  
  106. ------------------------------------------------
  107.  
  108. 2) ABOUT, RULES SCROLLBOXES
  109.  
  110. <STYLE>
  111. #scrollbox{
  112. height:270px;
  113. width: 100%;
  114. padding: 3px;
  115. overflow: scroll;
  116. overflow-x: hidden;
  117. font-family: inter;
  118. font-size:1.5em;
  119. text-align: left;
  120. font-weight:500;
  121. line-height: 1.25;
  122. }
  123. ::-webkit-scrollbar {
  124. width: 0; /* remove scrollbar space */
  125. background: transparent; /* to make scrollbar invisible */
  126. }
  127. ::-webkit-scrollbar-thumb {
  128. background: transparent;
  129. }
  130. </style>
  131.  
  132. <div id="scrollbox">
  133. <strong>RULES</strong>
  134. <br><strong>xxxxxinfoxxxxxxx</strong> xxxsubinfoxxxxxxxxx
  135. </div>
  136.  
  137. ------------------------------------------------
  138.  
  139. 3) CHAT BOX
  140.  
  141. <div style=" height: 270px;
  142. width: 100%;
  143. padding: 3px;
  144. overflow: scroll;
  145. overflow-x: hidden;
  146. font-family: inter;
  147. font-size:1em;
  148. text-align:left;
  149. font-weight:500;
  150. ">
  151.  
  152. /*insert your chatbox link (it's the <iframe>), go visit cbox.ws to get your own chat box!*/
  153.  
  154. ------------------------------------------------
  155.  
  156. 4) BUTTONS (WITH SOUNDS!)
  157.  
  158. <style>.buttons {cursor: default;display: flex;justify-content: var(--flex-alignment);letter-spacing: 0;padding: 0;}.buttons li {max-width: 100%;}.buttons li a {align-items: center;justify-content: center;max-width: 100%;text-align: center;text-decoration: none;vertical-align: middle;white-space: nowrap;}#buttons01 {justify-content: flex-start;gap: 0.25rem;flex-direction: row;flex-wrap: wrap;}#buttons01 li a {display: flex;width: auto;height: 3.5rem;line-height: 3.5rem;padding: 0 1.75rem;vertical-align: middle;font-family: 'Inter', sans-serif;font-size: 1.875em;font-weight: 500;border-radius: 0.875rem;direction: var(--site-language-direction);transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;}#buttons01 .button {background-color: transparent;color: #353235;}#buttons01 .button:hover {background-color: #2B8FFC !important;}#buttons02 {justify-content: center;gap: 0.75rem;flex-direction: row;flex-wrap: wrap;}#buttons02 li a {display: flex;width: auto;height: 3.25rem;line-height: 3.25rem;padding: 0 1.5625rem;vertical-align: middle;font-family: 'Inter', sans-serif;font-size: 1.875em;font-weight: 500;border-radius: 0.875rem;direction: var(--site-language-direction);transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;}#buttons02 .button {background-color: transparent;color: #353235;}#buttons02 .button:hover {background-color: #2B8FFC; !important;}
  159. #buttons02 :hover {color:#ffffff;}
  160. #buttons01 li a {letter-spacing: 0rem;font-size: 1.875em;}#buttons02 li a {letter-spacing: 0rem;font-size: 1.875em;}
  161. #buttons01 {gap: 0.1875rem;}#buttons02 {gap: 0.46875rem;}}
  162. </style><ul id="buttons02" class="buttons"><li><a href="#about" class="button n01" onmouseover="mouseoversound.playclip()" onclick="clicksound.playclip()">About</a></li><li><a href="#rules" class="button n02" onmouseover="mouseoversound.playclip()" onclick="clicksound.playclip()">Rules</a></li><li><a href="#chatbox" class="button n03" onmouseover="mouseoversound.playclip()" onclick="clicksound.playclip()">Chat Box</a></li></ul></div>
  163. <script>
  164.  
  165. // Mouseover/ Click sound effect- by JavaScript Kit (www.javascriptkit.com)
  166. // Visit JavaScript Kit at http://www.javascriptkit.com/ for full source code
  167.  
  168. //** Usage: Instantiate script by calling: var uniquevar=createsoundbite("soundfile1", "fallbackfile2", "fallebacksound3", etc)
  169. //** Call: uniquevar.playclip() to play sound
  170.  
  171. var html5_audiotypes={ //define list of audio file extensions and their associated audio types. Add to it if your specified audio file isn't on this list:
  172. "mp3": "audio/mpeg",
  173. "mp4": "audio/mp4",
  174. "ogg": "audio/ogg",
  175. "wav": "audio/wav"
  176. }
  177.  
  178. function createsoundbite(sound){
  179. var html5audio=document.createElement('audio')
  180. if (html5audio.canPlayType){ //check support for HTML5 audio
  181. for (var i=0; i<arguments.length; i++){
  182. var sourceel=document.createElement('source')
  183. sourceel.setAttribute('src', arguments[i])
  184. if (arguments[i].match(/\.(\w+)$/i))
  185. sourceel.setAttribute('type', html5_audiotypes[RegExp.$1])
  186. html5audio.appendChild(sourceel)
  187. }
  188. html5audio.load()
  189. html5audio.playclip=function(){
  190. html5audio.pause()
  191. html5audio.currentTime=0
  192. html5audio.play()
  193. }
  194. return html5audio
  195. }
  196. else{
  197. return {playclip:function(){throw new Error("Your browser doesn't support HTML5 audio unfortunately")}}
  198. }
  199. }
  200.  
  201. //Initialize two sound clips with 1 fallback file each:
  202.  
  203. var mouseoversound=createsoundbite("https://a.tumblr.com/tumblr_ojrn7aGBii1w2e2oyo1.mp3")
  204. var clicksound=createsoundbite("https://a.tumblr.com/tumblr_ojrmy55yUN1w2e2oyo1.mp3")
  205.  
  206. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement