archieah

Untitled

Sep 28th, 2025
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.78 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Laman Kirani</title>
  7. <style>
  8. body {
  9. margin: 0;
  10. font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
  11. 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  12. background: url('https://files.catbox.moe/hr7d3o.jpeg') no-repeat center center fixed;
  13. background-size: cover;
  14. }
  15.  
  16. .container {
  17. max-width: 700px;
  18. margin: 50px auto;
  19. background: #5E1104;
  20. border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAXtJREFUeF7t2sEJAlEUxdA/tVqXtSpYgCFwGVDiOlz0+HQ11+Oc1+k1E7gCnVl+hgLdegY69gw00LXAeK//0EDHAuO5LjTQscB4rgsNdCwwnutCAx0LjOe60EDHAuO5LjTQscB4rgsNdCwwnutCAx0LjOe60EDHAuO5LjTQscB4rgsNdCwwnrv9Qp/nXOPP8HXu7keNAh1/u4EG6gT6yTsvrANFIhcE6rywDhSJXBCo88I6UCRyQaDOC+tAkcgFgTovrANFIhcE6rywDhSJXBCo88I6UCRyQaDOC+tAkcgFgTovrANFIhcE6rywDhSJXBCo88I6UCRyQaDOC+tAkcgFfw/qOH6vvv1RnN8jcu84UOeFdaBI5IJAnRfWgSKRCwJ1XlgHikQuCNR5YR0oErkgUOeFdaBI5IJAnRfWgSKRCwJ1XlgHikQuCNR5YR0oErkgUOeFdaBI5IJAnRfWgSKRCwJ1XlgHikQuCNR5YR0oErkgUOeFdaBI5II3PWWsfdvC8aUAAAAASUVORK5CYII=") 28 / 28px / 0 round;
  21. border-width: 28px;
  22. border-style: solid;
  23. padding: 26px;
  24. position: relative;
  25. color: white
  26. }
  27.  
  28. /* SECTION 1: Profile */
  29. .profile {
  30. display: flex;
  31. justify-content: space-between;
  32. flex-wrap: wrap;
  33. }
  34.  
  35. .profile-left img {
  36. width: 200px;
  37. height: auto;
  38. }
  39.  
  40. .profile-right {
  41. text-align: right;
  42. width: 480px;
  43. }
  44.  
  45. .profile-right img {
  46. width: 150px;
  47. }
  48.  
  49. .profile-name {
  50. margin-top: 1px;
  51. }
  52.  
  53. /* SECTION 2: Paragraph + Picture */
  54. .text-image {
  55. display: flex;
  56. align-items: center;
  57. justify-content: space-between;
  58. margin: 20px 0;
  59. }
  60.  
  61. .text-image img {
  62. width: 300px;
  63. border-radius: 8px;
  64. }
  65.  
  66. .text-image .text {
  67. flex: 1;
  68. margin-right: 20px;
  69. }
  70.  
  71. /* SECTION 3: Icons + Explanation */
  72. .icon-section {
  73. display: flex;
  74. flex-direction: column;
  75. }
  76.  
  77. .icon-section h2 {
  78. margin-bottom: 15px;
  79. }
  80.  
  81. .content {
  82. display: flex;
  83. gap: 20px;
  84. align-items: flex-start;
  85. }
  86.  
  87. .icons {
  88. display: flex;
  89. flex-wrap: wrap;
  90. gap: 10px;
  91. max-width: 400px;
  92. }
  93.  
  94. .icons img {
  95. width: 100px;
  96. height: 100px; /* tambahin biar jadi persegi dulu */
  97. object-fit: cover; /* biar gambar nggak gepeng */
  98. cursor: pointer;
  99. border-radius: 50%; /* bikin bulet */
  100. }
  101.  
  102. .explanation {
  103. flex: 1;
  104. padding: 15px;
  105. border: 1px solid #ccc;
  106. min-height: 80px;
  107. background: #f9f9f9;
  108. color: black;
  109. }
  110.  
  111. /* SECTION 4: Gallery Marquee */
  112. /* --- Gallery --- */
  113. .marquee {
  114. overflow: hidden;
  115. width: 100%;
  116. position: relative;
  117. }
  118.  
  119. .marquee-content {
  120. display: flex;
  121. gap: 20px;
  122. flex: 0 0 auto;
  123. animation: scroll 15s linear infinite;
  124. will-change: transform;
  125. width: max-content; /* makes sure width expands to fit all items */
  126. }
  127.  
  128. @keyframes scroll {
  129. from {
  130. transform: translateX(0);
  131. }
  132. to {
  133. transform: translateX(-50%); /* shift by half (one full set width) */
  134. }
  135. }
  136.  
  137.  
  138.  
  139. }
  140.  
  141. .gallery h2 {
  142. margin: 30px 0 20px 0; text-align: center;
  143. }
  144.  
  145. .gallery-item { flex: 0 0 auto; text-align: center; p {font-size: 12px;}; padding: 5px 0; }
  146.  
  147. /* Pause entire row on hover */
  148. .marquee-content:hover {
  149. animation-play-state: paused;
  150. }
  151.  
  152. /* Pop-out effect only on gallery, not lightbox */
  153. .gallery img {
  154. width: 150px;
  155. height: 100px;
  156. object-fit: cover;
  157. transition: transform 0.3s ease;
  158. }
  159.  
  160. .gallery img:hover {
  161. transform: scale(1.1);
  162. z-index: 2;
  163. }
  164.  
  165. /* Disable hover zoom inside lightbox */
  166. #lightbox img:hover {
  167. transform: none !important;
  168. }
  169.  
  170.  
  171. /* Fullscreen overlay */
  172. #lightbox {
  173. position: fixed;
  174. top: 0;
  175. left: 0;
  176. width: 100%;
  177. height: 100%;
  178. background: rgba(0,0,0,0.8);
  179. display: none; /* hidden by default */
  180. align-items: center;
  181. justify-content: center;
  182. z-index: 9999;
  183. }
  184.  
  185. #lightbox img {
  186. width: auto;
  187. height: auto;
  188. max-width: 95%;
  189. max-height: 95%;
  190. border-radius: 0; /* no soft edges */
  191. box-shadow: none; /* remove shine */
  192. animation: fadeIn 0.3s ease;
  193. }
  194.  
  195.  
  196. @keyframes fadeIn {
  197. from { opacity: 0; transform: scale(0.95); }
  198. to { opacity: 1; transform: scale(1); }
  199. }
  200.  
  201. </style>
  202. </head>
  203. <body>
  204.  
  205. <div class="container">
  206. <!-- SECTION 1: Profile -->
  207. <section class="profile">
  208. <div class="profile-left">
  209. <img src="https://files.catbox.moe/251rm0.jpeg" alt="Profile Picture">
  210. </div>
  211. <div class="profile-right">
  212. <a href="kelompok7">
  213. <img src="https://files.catbox.moe/j9wsia.png" alt="Team Logo">
  214. </a>
  215. <h1 class="profile-name">Kirani Aysa Radyashita</h1>
  216. <p>Haii semua, kenalin gua Kirani. Gua tinggal di Bogor.
  217. Gua berasal dari SMAN 3 Bogor. Gua masuk ADV karena liat di Twitter seru banget banyak cosplay-nya, jadi dipilih deh. </p>
  218. </div>
  219. </section>
  220.  
  221. <!-- SECTION 2: Paragraph + Picture -->
  222. <section class="text-image">
  223. <div class="text">
  224. <h2>Siapa sih Kirani?</h2>
  225. <p>Gua orangnya introvert banget, fyi MBTI gua itu INFP-T dan introvertnya tuh 87%.
  226. Tapi sebenernya gua anaknya seneng banget main dan jelajahin tempat-tempat baru. Jadi sebenernya cuma kaya butuh waktu pemanasan dikit sama orang baru.
  227. Funfact: gua tuh gak bisa banget makan pedes.</p>
  228. </div>
  229. <img src="https://files.catbox.moe/55nawm.jpeg" alt="Section Image">
  230. </section>
  231.  
  232. <!-- SECTION 3: Icons + Explanation -->
  233. <section class="icon-section">
  234. <h2>Hobi & Interests</h2>
  235. <div class="content">
  236. <div class="icons">
  237. <img src="https://files.catbox.moe/ndyprt.png" alt="Icon 1" onclick="setExplanation('Suka banget nonton anime, drakor, western movie, dll.')">
  238. <img src="https://e7.pngegg.com/pngimages/4/438/png-clipart-spotify-logo-spotify-mobile-app-computer-icons-app-store-music-free-icon-spotify-miscellaneous-logo.png" alt="Icon 2" onclick="setExplanation('Pokoknya gak bisa kuping kosong, harus ada earphone terus.')">
  239. <img src="https://i.pinimg.com/1200x/35/a0/55/35a055e60fbe89b9cb7af328be91eb74.jpg" alt="Icon 3" onclick="setExplanation('Selain nonton sama dengerin lagu, gua juga suka banget baca novel di waktu senggang.')">
  240. </div>
  241. <div class="explanation" id="explanation-box">
  242. click one of the icon please.
  243. </div>
  244. </div>
  245. </section>
  246.  
  247. <!-- SECTION 4: Gallery Marquee -->
  248. <section class="gallery"> <h2>Gallery</h2>
  249. <div class="marquee">
  250. <div class="marquee-content">
  251. <!-- Original set -->
  252. <div class="gallery-item"><img src="https://files.catbox.moe/dbsuji.jpeg" alt="Gallery 1"><p>jakun with ADV</p></div>
  253. <div class="gallery-item"><img src="https://files.catbox.moe/u0bnps.jpeg" alt="Gallery 2"><p>drinkssss</p></div>
  254. <div class="gallery-item"><img src="https://files.catbox.moe/qo3a6j.jpeg" alt="Gallery 3"><p>picnic in krb</p></div>
  255. <div class="gallery-item"><img src="https://files.catbox.moe/rvo48c.jpeg" alt="Gallery 4"><p>duo cimit</p></div>
  256. <div class="gallery-item"><img src="https://files.catbox.moe/2yrr4i.jpeg" alt="Gallery 5"><p>concert with higschool friends</p></div>
  257. <div class="gallery-item"><img src="https://files.catbox.moe/qo3a6j.jpeg" alt="Gallery 6"><p>HOGARTH</p></div>
  258. <div class="gallery-item"><img src="https://files.catbox.moe/pqk150.jpeg" alt="Gallery 7"><p>first time danau UI</p></div>
  259. <div class="gallery-item"><img src="https://files.catbox.moe/to8frc.jpeg" alt="Gallery 8"> <p>last day of highschool</p></div>
  260.  
  261. <!-- Duplicate set for seamless scroll -->
  262. <div class="gallery-item"><img src="https://files.catbox.moe/dbsuji.jpeg" alt="Gallery 1"><p>jakun with ADV</p></div>
  263. <div class="gallery-item"><img src="https://files.catbox.moe/u0bnps.jpeg" alt="Gallery 2"><p>drinkssss</p></div>
  264. <div class="gallery-item"><img src="https://files.catbox.moe/qo3a6j.jpeg" alt="Gallery 3"><p>picnic in krb</p></div>
  265. <div class="gallery-item"><img src="https://files.catbox.moe/rvo48c.jpeg" alt="Gallery 4"><p>duo cimit</p></div>
  266. <div class="gallery-item"><img src="https://files.catbox.moe/2yrr4i.jpeg" alt="Gallery 5"><p>concert with higschool friends</p></div>
  267. <div class="gallery-item"><img src="https://files.catbox.moe/qo3a6j.jpeg" alt="Gallery 6"><p>HOGARTH</p></div>
  268. <div class="gallery-item"><img src="https://files.catbox.moe/pqk150.jpeg" alt="Gallery 7"><p>first time danau UI</p></div>
  269. <div class="gallery-item"><img src="https://files.catbox.moe/to8frc.jpeg" alt="Gallery 8"> <p>last day of highschool</p></div>
  270. </div>
  271. </div>
  272.  
  273. <!-- Lightbox Overlay -->
  274. <div id="lightbox" onclick="closeLightbox()">
  275. <img src="" alt="Fullscreen Image">
  276. </div>
  277. </section>
  278.  
  279. </div>
  280.  
  281. <script>
  282. function setExplanation(text) {
  283. document.getElementById('explanation-box').innerText = text;
  284. }
  285.  
  286. function openLightbox(src) {
  287. const lightbox = document.getElementById('lightbox');
  288. const img = lightbox.querySelector('img');
  289. img.src = src;
  290. lightbox.style.display = 'flex';
  291. }
  292.  
  293. function closeLightbox() {
  294. document.getElementById('lightbox').style.display = 'none';
  295. }
  296.  
  297. // attach click to gallery images
  298. document.querySelectorAll('.gallery img').forEach(img => {
  299. img.addEventListener('click', () => {
  300. openLightbox(img.dataset.full || img.src);
  301. });
  302. });
  303.  
  304. </script>
  305. </body>
  306. </html>
Add Comment
Please, Sign In to add comment