Advertisement
Guest User

Untitled

a guest
May 25th, 2023
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.84 KB | None | 0 0
  1. body{
  2. color: #fff;
  3. margin: 0;
  4. text-align: center;
  5. background: #000;
  6. cursor: crosshair;
  7. overflow: hidden;
  8. }
  9.  
  10.  
  11. .header{
  12. display: none;
  13. }
  14.  
  15.  
  16. .disable-selection{
  17. user-select: none;
  18. -moz-user-select: none;
  19. -webkit-user-select: none;
  20. -webkit-touch-callout: none;
  21. }
  22.  
  23.  
  24. h1{
  25. white-space: nowrap;
  26. font-size: 36px;
  27. }
  28.  
  29.  
  30. h1::after{
  31. content: ' by XIPureGamer';
  32. position: absolute;
  33. font-size: 18px;
  34. top: -15px;
  35. padding-left: 5px;
  36. font-weight: 400;
  37. }
  38.  
  39.  
  40. p{
  41. font-size: 20px;
  42. color: rgba(255, 255, 255, 0.5);
  43. }
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50. /* moves the left side of the screen that is shown at the start to the left */
  51. @keyframes removeLeftPanel {
  52. 0% {
  53. transform: translateX(0);
  54. }
  55. 100% {
  56. transform: translateX(-100%);
  57. }
  58. }
  59.  
  60. /* moves the right side of the screen that is shown at the start to the left */
  61. @keyframes removeRightPanel {
  62. 0% {
  63. transform: translateX(0);
  64. }
  65. 100% {
  66. transform: translateX(100%);
  67. display: none;
  68. }
  69. }
  70.  
  71. /* fades in and out the water drop that is shown at the start */
  72. @keyframes initialDrop {
  73. 0% {
  74. opacity: 0;
  75. }
  76. 50% {
  77. opacity: 1;
  78. }
  79. 98% {
  80. opacity: 1;
  81. }
  82. 100% {
  83. opacity: 0;
  84. }
  85. }
  86.  
  87. /* the line animation shown after the initial screen moves out of the way */
  88. @keyframes line {
  89. 0% {
  90. left: 50%;
  91. width: 0;
  92. color: red;
  93. }
  94. 33% {
  95. left: 0%;
  96. width: 200px;
  97. }
  98. 66% {
  99. left: 0%;
  100. width: 200px;
  101. }
  102. 100% {
  103. left: 50%;
  104. width: 0;
  105. }
  106. }
  107.  
  108. /* drops the water drop into the line then fades it out */
  109. @keyframes dropDrop {
  110. 0% {
  111. top: 0;
  112. }
  113. 66% {
  114. top: 0;
  115. }
  116. 80% {
  117. opacity: 1;
  118. }
  119. 92.5% {
  120. opacity: 0;
  121. }
  122. 100% {
  123. top: 4rem;
  124. opacity: 0;
  125. }
  126. }
  127.  
  128. /* fades the screen out at the end of the animation */
  129. @keyframes fadeScreenOut {
  130. 0% {
  131. opacity: 1;
  132. }
  133. 100% {
  134. opacity: 0;
  135. }
  136. }
  137.  
  138. body,
  139. * {
  140. margin: 0;
  141. padding: 0;
  142. overflow: hidden;
  143. }
  144.  
  145. /* fades screen out at then end of the animation */
  146. .fade-screen-out {
  147. animation: fadeScreenOut 75ms;
  148. }
  149.  
  150. .animation-container .container {
  151. width: 100vw;
  152. height: 100vh;
  153. display: block;
  154. }
  155.  
  156. i {
  157. font-size: 20px;
  158. }
  159.  
  160. .drop-container {
  161. display: flex;
  162. justify-content: center;
  163. align-items: center;
  164. flex-direction: column;
  165. gap: 3.5rem;
  166. position: absolute;
  167. top: 50%;
  168. left: 50%;
  169. transform: translate(-50%, -50%);
  170. }
  171. .drop-container .initial-drop {
  172. animation-name: initialDrop;
  173. animation-duration: 2.1s;
  174. /* color of the water drop shown at the start */
  175. color: black;
  176. display: block;
  177. }
  178. .drop-container .stand-in {
  179. height: 0.5px;
  180. width: 0;
  181. }
  182.  
  183. .panel {
  184. position: absolute;
  185. top: 0;
  186. width: 50vw;
  187. height: 100vh;
  188. /* background color of the screen shown at the start */
  189. background-color: #454242;
  190. animation-duration: 1.5s;
  191. transition-delay: 2s;
  192. display: block;
  193. }
  194. .panel.left-panel {
  195. left: 0;
  196. animation-name: removeLeftPanel;
  197. }
  198. .panel.right-panel {
  199. right: 0;
  200. animation-name: removeRightPanel;
  201. }
  202.  
  203. .under-panels {
  204. /* min-width: 100vw;
  205. height: 100vh; */
  206. position: absolute;
  207. top: 0;
  208. left: 0;
  209. right: 0;
  210. bottom: 0;
  211. display: flex;
  212. justify-content: center;
  213. align-items: center;
  214. flex-direction: column;
  215. gap: 3.5rem;
  216. /* background color of the background of the screen shown at the end */
  217. background-color: #171716;
  218. z-index: -1;
  219. }
  220. .under-panels .end-drop {
  221. /* color of the water drop at the end */
  222. color: white;
  223. animation: dropDrop 2s;
  224. transition-delay: 1.5s;
  225. position: relative;
  226. display: none;
  227. }
  228. .under-panels .line {
  229. width: 0px;
  230. height: 0.1px;
  231. /* color of the line shown at the end */
  232. background-color: #fff;
  233. animation: line 2s linear forwards;
  234. transition-delay: 3.5s;
  235. }
  236.  
  237. .black-screen {
  238. position: fixed;
  239. top: 0;
  240. left: 0;
  241. width: 100vw;
  242. height: 100vh;
  243. background-color: black;
  244. z-index: 2;
  245. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement