mixue

cr ratboizs

Dec 19th, 2022 (edited)
1,084
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. --- TITLE + BUTTONS (Main) ---
  2.  
  3. <link rel="stylesheet" href="https://unpkg.com/98.css">
  4. <div class="window" style="box-shadow:inset -1px -0px #0a0a0a, inset 1px 1px #fff, inset -2px -0px #808080, inset 2px 2px #E8E8E8;">
  5. <div class="title-bar" style="background: #305181;">
  6. <div class="title-bar-text" style="color: #ffffff;"> www.name.net </div>
  7. <div class="title-bar-controls">
  8. <button aria-label="Minimize"></button>
  9. <button aria-label="Maximize"></button>
  10. <button aria-label="Close"></button></div></div></div>
  11.  
  12. --- More Info Button ---
  13.  
  14. <a href="#i"><button id="button" style="color: #000; text-decoration: none; width: 100%; height: 2.125em; cursor:help;">More Info</button></a>
  15.  
  16. --- TITLE + BUTTONS (Left) ---
  17.  
  18. <link rel="stylesheet" href="https://unpkg.com/98.css">
  19. <div class="window" style="box-shadow:inset -1px -0px #0a0a0a, inset 1px 1px #fff, inset -2px -0px #808080, inset 2px 2px #E8E8E8;">
  20. <div class="title-bar" style="background: #305181;">
  21. <div class="title-bar-text" style="color: #ffffff;"> info.txt </div>
  22. <div class="title-bar-controls">
  23. <button aria-label="Help"></button>
  24. <a href="#"><button id="close1" aria-label="Close" style="cursor: help;"></button></a></div></div></div>
  25.  
  26. --- TITLE + BUTTONS (Right) ---
  27.  
  28. <link rel="stylesheet" href="https://unpkg.com/98.css">
  29. <div class="window" style="box-shadow:inset -1px -0px #0a0a0a, inset 1px 1px #fff, inset -2px -0px #808080, inset 2px 2px #E8E8E8;">
  30. <div class="title-bar" style="background: #305181;">
  31. <div class="title-bar-text" style="color: #ffffff;"> name.jpg </div>
  32. <div class="title-bar-controls">
  33. <button aria-label="Help"></button>
  34. <a href="#"><button id="close2" aria-label="Close" style="cursor: help;"></button></a></div></div></div>
  35.  
  36. --- MAIN CONTAINER ---
  37.  
  38. box-shadow: inset -1px -1px #0A0A0A, inset 1px 0px #FFFFFF, inset -2px -2px grey, inset 2px 0px #DFDFDF;
  39.  
  40. --- TEXT BOX ---
  41.  
  42. font-family: Pixelated MS Sans Serif;
  43. background: #f2f1ef;
  44. padding: 5px;
  45. border: 2px inset;
  46.  
  47. --- SCROLLBOX ---
  48.  
  49. background: #F2F1EF;
  50. padding: 0.5em;
  51. height: 13.125em;
  52. border: 2px inset;
  53. overflow: auto;
  54.  
  55. (mobile)
  56. height: 12.875em;
  57.  
  58. --- OTHER CONTAINERS ---
  59.  
  60. width: 52%;
  61. box-shadow: inset -1px -1px #0a0a0a, inset 1px 0px #fff, inset -2px -2px grey, inset 2px 0px #dfdfdf;
  62.  
  63. --- EXTRA TEXT BOX ---
  64.  
  65. background: #f2f1ef;
  66. padding: 6px;
  67. border: 2px inset;
  68.  
  69. --- ALL FONTS ---
  70.  
  71. <style>
  72. @font-face {
  73. font-family: Pixelated MS Sans Serif;
  74. src:url(ms_sans_serif.woff) format("woff"); src:url(ms_sans_serif.woff2) format("woff2");
  75. }
  76.  
  77. @font-face {
  78. font-family: emoji;
  79. src: url(https://dl.dropbox.com/s/cvba4kh6qm23mru/EmojiFont.ttf);
  80. }
  81. </style>
  82.  
  83. --- LINKS ---
  84.  
  85. <style>
  86. a {
  87. color: #000000;
  88. }
  89.  
  90. a, a:hover {
  91. cursor: help;
  92. }
  93. </style>
  94.  
  95. --- SOUND EFFECT ---
  96.  
  97. <script>
  98. document.getElementById('button').onclick = function() {
  99. document.getElementById('sound').play();
  100. }
  101. document.getElementById('close1').onclick = function() {
  102. document.getElementById('sound').play();
  103. }
  104. document.getElementById('close2').onclick = function() {
  105. document.getElementById('sound').play();
  106. }
  107. document.getElementById('glenplayer02').onclick = function() {
  108. document.getElementById('sound').play();
  109. }
  110. </script>
  111. <audio id="sound" src="https://cdn.discordapp.com/attachments/916511538410569829/1006909357981712414/mouse_click_fx.mp3" preload="auto"></audio>
  112. <script>
  113. var sound = document.getElementById("sound");
  114. sound.volume = 0.3;
  115. </script>
Advertisement
Add Comment
Please, Sign In to add comment