Advertisement
RageQxeen

Room v1 Code

Oct 12th, 2023
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.92 KB | None | 0 0
  1. <html>
  2. <body>
  3. <script defer>
  4. window.onload = function() {
  5. var isCtrl = false;
  6. document.onkeyup=function(e)
  7. {
  8. if(e.which == 17)
  9. isCtrl=false;
  10. }
  11. document.onkeydown=function(e)
  12. {
  13. if(e.which == 17)
  14. isCtrl=true;
  15. if((e.which == 85) || (e.which == 67) && (isCtrl == true))
  16. {
  17. return false;
  18. }
  19. }
  20. var isNS = (navigator.appName == "Netscape") ? 1 : 0;
  21. if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
  22. function mischandler(){
  23. return false;
  24. }
  25. function mousehandler(e){
  26. var myevent = (isNS) ? e : event;
  27. var eventbutton = (isNS) ? myevent.which : myevent.button;
  28. if((eventbutton==2)||(eventbutton==3)) return false;
  29. }
  30. document.oncontextmenu = mischandler;
  31. document.onmousedown = mousehandler;
  32. document.onmouseup = mousehandler;
  33.  
  34. if (document.addEventListener) { // IE >= 9; other browsers
  35. document.addEventListener('contextmenu', function(e) {
  36. alert(" Try asking RageQxeen for her codes instead."); //here you draw your own menu
  37. e.preventDefault();
  38. }, false);
  39. } else { // IE < 9
  40. document.attachEvent('oncontextmenu', function() {
  41. alert("O sun, abide to death.");
  42. window.event.returnValue = false;
  43. });
  44. }
  45. };
  46. </script>
  47. <style type="text/css">
  48.  
  49. @import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&family=Lora&family=Style+Script&display=swap');
  50.  
  51. html, body {
  52. /* This is the gradient background on the main page, you can go to https://cssgradient.io/ to make your own gradient background or you may request the alternative singular color background. Do not touch the overflow portion. */
  53. overflow: auto;
  54. background: #1F1C2C; /* fallback for old browsers */
  55. background: -webkit-linear-gradient(to right, #928DAB, #1F1C2C); /* Chrome 10-25, Safari 5.1-6 */
  56. background: linear-gradient(to right, #928DAB, #1F1C2C); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  57. }
  58.  
  59. ::-webkit-scrollbar-button:vertical:{
  60. background-color: #transparent;}
  61.  
  62. ::-webkit-scrollbar-thumb:vertical {
  63. background-color:#transparent;
  64. height:0px;}
  65.  
  66. ::-webkit-scrollbar-thumb:horizontal {
  67. background-color:#transparent;
  68. height:0px;}
  69.  
  70. ::-webkit-scrollbar {
  71. height:0px;
  72. width:0px;
  73. background-color:#transparent;}
  74.  
  75. /* The only adjustment needed is the color of the background on the container, you can leave the rest alone. You can change the font on the content, just look for Lora after you've imported your fonts from Google Fonts and pasted the import code at the top where you see @import. Afterwards just make sure to use the font family name only with no special characters. */
  76.  
  77. #container {
  78. background-color:#372d52;
  79. width: 70vw;
  80. height: 100vw;
  81. margin:auto;
  82. position: absolute;
  83. padding: 5px;
  84. left: 15vw;
  85. top: 2vw;
  86. z-index:1;
  87. box-shadow: 0px 5px 10px #000;
  88. border-top: 2px solid #000;
  89. border-left: 2px solid #000;
  90. border-right: 2px solid #000;
  91. border-radius: 20px 20px 0px 0px;
  92. z-index: 1;
  93. }
  94.  
  95. #content {
  96. background-color: transparent;
  97. width: 69vw;
  98. height: 75vw;
  99. margin:auto;
  100. position: absolute;
  101. padding: 10px;
  102. font-size: 18px;
  103. font-family: 'Lora', cursive;
  104. color:#fff;
  105. left: .25vw;
  106. bottom: 0vw;
  107. z-index:1;
  108. }
  109.  
  110. /* Now the image was personally edited by RageQxeen to get that look that you see, if you want something similar please reach out and request such, otherwise the image will cut off at the bottom. If you prefer no special effects on the image, add border-bottom: 1px solid #000; directly below border-radius. */
  111.  
  112. #image {
  113. width: 70vw;
  114. padding: 5px;
  115. margin: 0px;
  116. height: 25vw;
  117. background-color:transparent;
  118. position: absolute;
  119. right: 0vw;
  120. top: 0vw;
  121. background-image:url("LINK");
  122. background-repeat:no-repeat;
  123. background-position: bottom;
  124. background-size: 100%;
  125. border-radius: 20px 20px 0px 0px;
  126. z-index: 2;
  127. }
  128.  
  129. /* Once again only touch the font family, same directions as above with the content. */
  130.  
  131. .title {position: absolute;
  132. font-family: 'Cinzel Decorative';
  133. color: #fff;
  134. font-size: 6vw;
  135. top: 17vw;
  136. right: 8vw;
  137. width: 53vw;
  138. height: 7vw;
  139. text-align: center;
  140. text-shadow: -2px 0 #000, 0 2px #000,2px 0 #000, 0 -2px #000;
  141. font-weight: bold;
  142. overflow: hidden;
  143. padding:5px 5px 5px 5px;
  144. z-index: 7;}
  145.  
  146. i {color: #747484;}
  147. b{color: #CBC3E3;}
  148. a {text-decoration: none; color: #b4b6bc;}
  149. h1{text-align: center; font-size: 35px; font-family: 'Style Script', cursive; color: #000;}
  150.  
  151. ol {
  152. list-style-type: upper-roman;
  153. }
  154. </style>
  155.  
  156. <div id="container">
  157. <div id="image"></div>
  158.  
  159. <div class="title">TITLE</div>
  160.  
  161. <div id="content">
  162. <div style="width: 69vw; height: 75vw; overflow-y: hidden;">
  163.  
  164. <div style="width: 69vw; height: 75vw; overflow: auto;" align="left">
  165. <h1>INTRO</h1>
  166.  
  167. <img src="LINK" width="120" height="120" style="float:left; border-radius: 100px; border: 1px solid #000; margin: 10px;">
  168.  
  169. BLANK
  170. <br><br>
  171.  
  172. <img src="LINK" width="120" height="120" style="float:right; border-radius: 100px; border: 1px solid #000; margin: 10px;">
  173.  
  174. BLANK
  175. <br><br>
  176.  
  177. <img src="LINK" width="120" height="120" style="float:left; border-radius: 100px; border: 1px solid #000; margin: 10px;">
  178.  
  179. BLANK
  180. <br><br>
  181.  
  182. <h1>Room Rules</h1>
  183.  
  184. <ol>
  185. <li> BLANK
  186. </ol>
  187.  
  188. <h1>Character Rules</h1>
  189.  
  190. <ol>
  191. <li> BLANK
  192. </ol>
  193.  
  194. <h1>Staff</h1>
  195.  
  196. <a target="_blank" href="PROFILE LINK HERE"><img src="https://cdn2.iconfinder.com/data/icons/gaming-and-beyond-part-2-1/80/User_gray-512.png" height="100" width="100" align="center" border="5" title="The Admin"></a>
  197. <a target="_blank" href="PROFILE LINK HERE"><img src="https://cdn2.iconfinder.com/data/icons/gaming-and-beyond-part-2-1/80/User_gray-512.png" height="100" width="100" align="center" border="5" title="The Moderator"></a>
  198.  
  199. <br><br>
  200. <br><br>
  201. <h1>Credits</h1>
  202. <center>Code made by <a target="_blank" href="https://rageqxeen.neocities.org/vw_codes/rageqxeen.html">RageQxeen</a>, do not steal.</center><br>
  203. </div>
  204. </div>
  205. </div>
  206. </div>
  207. </body>
  208. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement