valentinegirl

cr cyberpinked

Mar 12th, 2022 (edited)
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.19 KB | None | 0 0
  1. <link rel="preconnect" href="https://fonts.googleapis.com">
  2. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  3. <link href="https://fonts.googleapis.com/css2?family=Lato&display=swap" rel="stylesheet">
  4. <style>
  5. @font-face {
  6. font-family: good-time;
  7. src: url(https://dl.dropbox.com/s/ijxda4xb1cyjpe4/KGAlwaysAGoodTime.ttf);
  8. }
  9. @font-face {
  10. font-family: lovely script;
  11. src: url(https://dl.dropbox.com/s/ss5bqbogijw4zfj/Lovely%20Script.otf);
  12. }
  13.  
  14. @font-face {
  15. font-family: cerl;
  16. src: url(https://dl.dropbox.com/s/vaz4fe5yzk1uiku/CHERL___.TTF);
  17. }
  18.  
  19. * {
  20. padding: 0;
  21. margin: 0;
  22. }
  23.  
  24. html, body {
  25. margin: 0;
  26. height: 100%;
  27. }
  28.  
  29. #holder, body, #holder, #figure, #box {
  30. box-sizing: border-box;
  31. }
  32.  
  33. body, #figure {
  34. display: flex;
  35. }
  36.  
  37. body {
  38. height: 100vh;
  39. min-height: 100%;
  40. align-items: center;
  41. justify-content: center;
  42. overflow: hidden;
  43. font-size: 16px;
  44. }
  45.  
  46. #holder, #figure, #item1, #item2, #box, .section > img {
  47. border-radius: 0.875em;
  48. }
  49.  
  50. #holder {
  51. background: #ed8c94;
  52. position: relative;
  53. height: 18.875em;
  54. width: 18.875em;
  55. margin: auto;
  56. box-shadow: rgba(50, 50, 93, 0.6) 0px 50px 100px -20px, rgba(0, 0, 0, 0.5) 0px 30px 60px -30px, rgba(10, 37, 64, 0.65) 0px -2px 6px 0px inset;
  57. padding: 0.625em;
  58. }
  59.  
  60. #figure {
  61. position: relative;
  62. height: 100%;
  63. width: 100%;
  64. overflow: hidden;
  65. -webkit-mask-image: -webkit-radial-gradient(white, black);
  66. flex-direction: column;
  67. }
  68.  
  69. #holder:hover {
  70. animation: shake 1s, image_blur 1s;
  71. transition: all 1s ease-in-out;
  72. transition-timing-function: cubic-bezier(0.1, 0.8, 0.9, 0.1);
  73. }
  74.  
  75. #holder:hover .section {
  76. transform: translateY(-17.625em);
  77. }
  78.  
  79. #holder:hover #box {
  80. transform: translateY(-13em);
  81. animation: fadeIn ease 2s;
  82. -webkit-animation: fadeIn ease 2s;
  83. }
  84.  
  85. .section {
  86. position: relative;
  87. background: transparent;
  88. width: 100%;
  89. height: 100%;
  90. transition: all 1s ease-in-out;
  91. transition-timing-function: cubic-bezier(0.1, 0.8, 0.9, 0.1);
  92. }
  93.  
  94. h3 {
  95. z-index: 6;
  96. color: #000;
  97. text-shadow: 0 0 1px white, 0 0 2px white, 0 0 3px white, 0 0 4px white, 0 0 5px white;
  98. font-size: 2em;
  99. opacity: 90%;
  100. font-family: cerl;
  101. }
  102. #holder:hover h3 {
  103. transform: translateY(-7.25em);
  104. animation: fadeIn ease 2s;
  105. -webkit-animation: fadeIn ease 2s;
  106. }
  107.  
  108. #box, .title, h3 {
  109. margin-right: auto;
  110. margin-left: auto;
  111. left: 0;
  112. right: 0;
  113. }
  114.  
  115. #box {
  116. z-index: 5;
  117. width: 80%;
  118. height: 50%;
  119. overflow: auto;
  120. background: rgba(237,140,148,0.65);
  121. color: white;
  122. padding: 0.5em;
  123. font-family: 'Lato', sans-serif;
  124. }
  125.  
  126. img {
  127. pointer-events: none;
  128. }
  129.  
  130. .title, h3, #box, #left-wing, #right-wing {
  131. position: absolute;
  132. }
  133.  
  134. .title {
  135. z-index: 99;
  136. font-size: 3.75em;
  137. }
  138.  
  139. #rainbow {
  140. font-family: good-time;
  141. -webkit-text-stroke: 1px white;
  142. top: -0.425em;
  143. }
  144.  
  145. #wobble {
  146. color: #fff;
  147. text-shadow: -1px 1px 2px black, 1px -1px 2px black, 1px 1px 2px black, -1px -1px 2px black;
  148. font-weight: bold;
  149. bottom: -0.425em;
  150. font-family: lovely script;
  151. }
  152.  
  153. #left-wing, #right-wing {
  154. z-index: 10;
  155. bottom: -1.25em;
  156. height: 3.5em;
  157. }
  158. #left-wing {
  159. left: 0.5em;
  160. }
  161.  
  162. #right-wing {
  163. right: 0.5em;
  164. }
  165.  
  166. @keyframes shake {
  167. 0% {
  168. transform: translate(1px, 1px) rotate(0deg);
  169. }
  170.  
  171. 10% {
  172. transform: translate(-1px, -2px) rotate(-1deg);
  173. }
  174.  
  175. 20% {
  176. transform: translate(-3px, 0px) rotate(1deg);
  177. }
  178.  
  179. 30% {
  180. transform: translate(3px, 2px) rotate(0deg);
  181. }
  182.  
  183. 40% {
  184. transform: translate(1px, -1px) rotate(1deg);
  185. }
  186.  
  187. 50% {
  188. transform: translate(-1px, 2px) rotate(-1deg);
  189. }
  190.  
  191. 60% {
  192. transform : translate(-3px, 1px)
  193. rotate(0deg);
  194. }
  195.  
  196. 70% {
  197. transform: translate(3px, 1px) rotate(-1deg);
  198. }
  199.  
  200. 80% {
  201. transform: translate(-1px, -1px) rotate(1deg);
  202. }
  203.  
  204. 90% {
  205. transform: translate(1px, 2px) rotate(0deg);
  206. }
  207.  
  208. 100% {
  209. transform: translate(1px, -2px) rotate(-1deg);
  210. }
  211. }
  212.  
  213. @-webkit-keyframes image_blur {
  214. 0% {
  215. -webkit-filter: blur(0px);
  216. }
  217.  
  218. 50% {
  219. -webkit-filter: blur(5px);
  220. }
  221.  
  222. 100% {
  223. -webkit-filter: blur(0px);
  224. }
  225. }
  226.  
  227. @keyframes fadeIn {
  228. 0%, 80% {
  229. opacity: 0;
  230. }
  231.  
  232. 100% {
  233. opacity: 1;
  234. }
  235. }
  236.  
  237. @-webkit-keyframes fadeIn {
  238. 0%, 80% {
  239. opacity: 0;
  240. }
  241.  
  242. 100% {
  243. opacity: 1;
  244. }
  245. }
  246. </style>
  247. </head>
  248. <body>
  249. <div id="holder">
  250. <img src="https://dl.dropbox.com/s/kt5585xmp8b1smg/097ABBB3-8542-47DE-BDA3-9B3037C50CA4.gif" id="left-wing">
  251. <img src="https://dl.dropbox.com/s/b9i2lb6eyxx3qj2/5DEC2971-2293-443B-BE85-E6178C40E553.gif" id="right-wing">
  252. <span id="wobble" class="title">Name</span>
  253.  
  254. <span id="rainbow" class="title">About!</span>
  255. <div id="figure">
  256. <div id="item1" class="section">
  257. <img src="https://media.discordapp.net/attachments/851155413831254076/913928942640058368/unknown.png" width="100%" height="100%">
  258. </div>
  259. <div id="item2" class="section">
  260. <img src="https://media.discordapp.net/attachments/851155413831254076/913928992585834536/unknown.png" width="100%" height="100%">
  261. <h3>info info</h3>
  262. <div id="box">
  263. hello~ my names <strong>name</strong>! text text text text text text text text text text text text text
  264. <br></br>
  265. <strong>notes</strong> text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
  266. <br></br>
  267. <strong>byr</strong> text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
  268. <br></br>
  269. <strong>dni</strong>text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
  270. <br></br>
  271. <strong>music</strong> <u>text text text text text text text</u> text text text text text text text text text text text text text text text text text text text text text text text <strong>++</strong>
  272. <br></br>
  273. <strong>media</strong> <u>text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text <strong>++</strong>
  274. <br></br>
  275. <a href="URL" target="_blank">link</a>, <a href="URL" target="_blank">link</a>, <a href="URL" target="_blank">link</a>, <a href="URL" target="_blank">link</a>
  276. </div>
  277. </div>
  278. </div>
  279. </div>
Add Comment
Please, Sign In to add comment