Advertisement
RageQxeen

Vampire Code

Oct 10th, 2023
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.46 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. /* For any help that is needed, please reach out to RageQxeen or your nearest coder friend, Discord will be shared with those who need it. */
  50.  
  51. @import url(https://fonts.googleapis.com/css?family=Staatliches|Uncial+Antiqua|Cinzel);
  52.  
  53. html, body {
  54. /* 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. */
  55. overflow: hidden;
  56. background: #0F2027; /* fallback for old browsers */
  57. background: -webkit-linear-gradient(to left, #6f0000, #333333, #111111); /* Chrome 10-25, Safari 5.1-6 */
  58. background: linear-gradient(to left, #6f0000, #333333, #111111); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  59. }
  60.  
  61. ::-webkit-scrollbar-button:vertical:{
  62. background-color: #transparent;}
  63.  
  64. ::-webkit-scrollbar-thumb:vertical {
  65. background-color:#transparent;
  66. height:0px;}
  67.  
  68. ::-webkit-scrollbar-thumb:horizontal {
  69. background-color:#transparent;
  70. height:0px;}
  71.  
  72.  
  73. ::-webkit-scrollbar {
  74. height:0px;
  75. width:0px;
  76. background-color:#transparent;}
  77.  
  78. /* Now the main image is completely transparent, I HIGHLY recommend you find the same for yourself, and if you cannot find one then please use a separate code. You can replace where it says LINK with the transparent image. */
  79.  
  80. #image {
  81. width: 45vw;
  82. margin: 0px;
  83. border: none;
  84. height: 45vw;
  85. background-color:transparent;
  86. position: absolute;
  87. right: 0vw;
  88. bottom: 1vw;
  89. background-image:url("LINK");
  90. background-repeat:no-repeat;
  91. background-position: bottom;
  92. background-size: 100%;
  93. z-index: 3;
  94. }
  95.  
  96. /* The container and content do not need to be touched for the most part, if you want to change the font I recommend going to Google Fonts and using the Import Option to bring that in, replace the top where you see @import completely with your import code, then use ONLY the name of the font to replace "Staatliches". You can change the background on the container to pretty much anything that is dark toned, if you want to change to a lighter background I highly recommend going to content and finding that color: #fff, changing it to #000 instead. If there is any confusion please reach out and assistance will be given to you. */
  97.  
  98. #container {
  99. background-color:#fdb8b8;
  100. background-image: url('LINK');
  101. background-repeat: no-repeat;
  102. background-position: bottom;
  103. background-size: cover;
  104. width: 75vw;
  105. height: 28vw;
  106. margin:auto;
  107. position: absolute;
  108. padding: 5px;
  109. right: 0vw;
  110. bottom: 5vw;
  111. z-index:2;
  112. box-shadow: 0px 5px 10px #000;
  113. border: 2px solid #000;
  114. }
  115.  
  116. #content {
  117. background-color: transparent;
  118. width: 42vw;
  119. height: 27vw;
  120. margin:auto;
  121. position: absolute;
  122. padding: 10px;
  123. font-size: 18px;
  124. font-family: 'Staatliches', cursive;
  125. color:#fff;
  126. opacity: 0.98;
  127. left: .25vw;
  128. bottom: .25vw;
  129. z-index:1;
  130. }
  131.  
  132. /* If the font is too big, only go down one size and adjust accordingly. You shouldn't have to mess with left, but you can adjust the bottom portion to lift it up so it aligns with the box like you see in previews. If there is any trouble, just reach out and you'll get assistance. */
  133.  
  134. #quote {position: absolute;
  135. font-family: 'Cinzel';
  136. color: #a72b2b;
  137. font-size: 4vw;
  138. bottom: 9vw;
  139. left: -14vw;
  140. width: 28vw;
  141. height: 9vw;
  142. border: 0px solid #d09c9c;
  143. text-align: center;
  144. text-shadow: -1px 0 #000, 0 1px #000,1px 0 #000, 0 -1px #000;
  145. font-weight: bold;
  146. overflow: auto;
  147. padding:5px 5px 5px 5px;
  148. transform: rotate(-90deg);
  149. z-index: 7;
  150. }
  151.  
  152. h1{text-align: center; font-size: 30px; font-family: 'Cinzel', cursive; color: #fff;}
  153. p {
  154. text-indent: 1vw;
  155. font-size: 1.5vw;
  156. font-family: 'Cinzel', cursive;
  157. color: #fff;
  158. }
  159. a {text-decoration: none; color: #FFD700;}
  160.  
  161. </style>
  162.  
  163. <div id="image"></div>
  164.  
  165. <div id="container">
  166.  
  167. <div id="quote">The Revived Dragon</div>
  168.  
  169. <div id="content">
  170. <div style="width: 42vw; height: 27vw; overflow-y: hidden;">
  171.  
  172. <div style="width: 42vw; height: 27vw; overflow: auto;" align="center">
  173. <h1>The Basics</h1>
  174. <span style="float:left;"><b>True Name</b></span><span style="float:right;">HERE</span><br>
  175. <span style="float:left;"><b>Alias(es)</b></span><span style="float:right;">HERE</span><br>
  176. <span style="float:left;"><b>Gender</b></span><span style="float:right;">HERE</span><br>
  177. <span style="float:left;"><b>Apparent Age</b></span><span style="float:right;">HERE</span><br>
  178. <span style="float:left;"><b>Birth Date</b></span><span style="float:right;">HERE</span><br><br>
  179. <span style="float:left;"><b>Ethnicity</b></span><span style="float:right;">HERE</span><br>
  180. <span style="float:left;"><b>Orientation</b></span><span style="float:right;">HERE</span><br>
  181. <span style="float:left;"><b>Marital Status</b></span><span style="float:right;">HERE</span><br>
  182. <span style="float:left;"><b>Affiliation</b></span><span style="float:right;">HERE</span><br>
  183. <span style="float:left;"><b>Alignment</b></span><span style="float:right;">HERE</span><br>
  184. <span style="float:left;"><b>Allergies</b></span><span style="float:right;">HERE</span><br><br>
  185. <span style="float:left;"><b>Height</b></span><span style="float:right;">HERE</span><br>
  186. <span style="float:left;"><b>Weight</b></span><span style="float:right;">HERE</span><br>
  187. <span style="float:left;"><b>Body Type</b></span><span style="float:right;">HERE</span><br>
  188. <span style="float:left;"><b>Iris Color</b></span><span style="float:right;">HERE</span><br>
  189. <span style="float:left;"><b>Hair Color</b></span><span style="float:right;">HERE</span><br>
  190. <span style="float:left;"><b>Skin Tone</b></span><span style="float:right;">HERE</span><br>
  191. <span style="float:left;"><b>Dominant Hand</b></span><span style="float:right;">HERE</span><br>
  192.  
  193. <h1>Abilities</h1>
  194. <!-- Use the br or p tag to separate your information into paragraphs! You can also delete this line if you want too <3 -->
  195. HERE
  196.  
  197. <h1>History</h1>
  198.  
  199. HERE
  200.  
  201. <h1>Out of Character</h1>
  202. <center><b>00</b>. Code made by <a target="_blank" href="https://rageqxeen.neocities.org/vw_codes/rageqxeen.html">RageQxeen</a>, do not steal.</center><br>
  203. <b>01</b>. OOC.<br>
  204. <b>02</b>. OOC<br>
  205. <b>03</b>. OOC<br>
  206. <b>04</b>. OOC<br>
  207. <b>05</b>. OOC<br>
  208. </div>
  209. </div>
  210. </div>
  211. </div>
  212. </body>
  213. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement