Advertisement
inklimg

bundlrs.cc/rollinggirl code

Jan 29th, 2024 (edited)
1,171
1
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 18.27 KB | None | 1 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta name="viewport" content="width=device-width,initial-scale=1.0" />
  5.     <meta charset="UTF-8" />
  6.     <link rel="icon" type="image/gif" href="https://file.garden/ZRgh3nzfnhFDJvPp/green-hearts.gif" />
  7.     <title>bundlrs . cc / rollinggirl</title>  
  8.     <!-- discord embed stuff -->
  9.     <meta content="https://bundlrs.cc/rollinggirl" property="og:url" />
  10.     <meta content="bundlrs.cc/rollinggirl" property="og:title" />
  11.     <meta content="ángel's old sntry hoard remade on bundlrs" property="og:description" />
  12.     <meta content="https://file.garden/ZRgh3nzfnhFDJvPp/Untitled429_20231230195057.png" property="og:image" />    
  13.     <meta name="theme-color" content="#52881b" />
  14.     <!---------       --------->
  15.     <style>
  16.     /* body stuff and variables */
  17.  
  18.     :root {
  19.         /* these are colors that are reused a lot throughout the page, try changing them so you know which parts they affect! */
  20.         --main-color: #405f11;
  21.         --main-color-t: hsla(84, 70%, 22%, 0.8);
  22.     }
  23.    
  24.     * {
  25.         box-sizing: border-box;
  26.    
  27.     }
  28.        
  29.     html,
  30.     body {
  31.         overflow: clip;
  32.         overflow: hidden;
  33.     }
  34.  
  35.     body {
  36.         /* this centers the page */
  37.         min-height: 100dvh;
  38.         width: 100vw;
  39.         display: flex;
  40.         justify-content: center;
  41.         align-items: center;
  42.  
  43.         /* this is the background color for the page! if you dont know how gradients work, you can make your own at https://cssgradient.io */
  44.         background: rgb(182, 201, 123);
  45.         background: radial-gradient(
  46.             circle,
  47.             rgba(255, 255, 230, 1) 0%,
  48.             rgba(84, 102, 35, 1) 100%
  49.         );
  50.     }
  51.  
  52.     /* fonts */
  53.  
  54.     /* replace the font names and srcs with your own fonts if you want! */
  55.     @font-face {
  56.         src: url("https://file.garden/ZRgh3nzfnhFDJvPp/Astral Delight Black.ttf");
  57.         font-family: "Astral Delight";
  58.     }
  59.  
  60.     @font-face {
  61.         src: url("https://file.garden/ZRgh3nzfnhFDJvPp/ADDSBP__.TTF");
  62.         font-family: "ADDSBP";
  63.     }
  64.  
  65.     @font-face {
  66.         src: url("https://file.garden/ZRgh3nzfnhFDJvPp/Retro Gaming.ttf");
  67.         font-family: "Retro Gaming";
  68.     }
  69.    
  70.     /* utility */
  71.    
  72.     .flex {
  73.         display: flex;
  74.     }
  75.  
  76.     .flex-column {
  77.         flex-direction: column;
  78.     }      
  79.  
  80.     /* main CSS */
  81.  
  82.     #m-hoard {
  83.         width: auto;
  84.         border: none;
  85.         position: relative;
  86.         transform: scale(
  87.             105%
  88.         ); /* i decided i wanted everything to be bigger but i got too lazy to manually change everything */
  89.     }
  90.  
  91.     /* header area */
  92.  
  93.     #h-area {
  94.         width: 100%;
  95.         height: auto;
  96.         z-index: 9999;
  97.         margin-left: 1%;
  98.     }
  99.  
  100.     #h-img {
  101.         background-image: url("https://file.garden/ZRgh3nzfnhFDJvPp/Untitled429_20231230195057.png"); /* this is where you can replace the miku image! */
  102.         background-size: cover;
  103.         height: 150px;
  104.         width: 150px;
  105.         position: relative;
  106.         margin-right: -10%;
  107.         z-index: 9999;
  108.     }
  109.    
  110.     /* art credits */
  111.     #h-img > a,
  112.     #h-img > a:visited {
  113.         position: absolute;
  114.         top: 120px;
  115.         left: 23px;
  116.         font-family: "ADDSBP";
  117.         display: block;
  118.         width: 100%;
  119.         color: white;
  120.         transition: all 0.2s ease-out;
  121.         text-decoration: underline;
  122.         filter: drop-shadow(1px 0 0 var(--main-color))
  123.             drop-shadow(0 1px 0 var(--main-color))
  124.             drop-shadow(1px 1px 0 var(--main-color))
  125.             drop-shadow(-1px 0 0 var(--main-color))
  126.             drop-shadow(-1px -1px 0 var(--main-color))
  127.             drop-shadow(-1px 1px 0 var(--main-color))
  128.             drop-shadow(1px -1px 0 var(--main-color));
  129.     }
  130.  
  131.     #h-img > a:hover {
  132.         color: gray;
  133.         transition: all 0.2s ease-in;
  134.         filter: drop-shadow(1px 0 0 white) drop-shadow(0 1px 0 white)
  135.             drop-shadow(1px 1px 0 white) drop-shadow(-1px 0 0 white)
  136.             drop-shadow(-1px -1px 0 white) drop-shadow(-1px 1px 0 white)
  137.             drop-shadow(1px -1px 0 white);
  138.     }
  139.  
  140.     /* this is the css for the part that says ".cc/rollinggirl", you can change the background (once again referencing https://cssgradient.io) */
  141.     #h-banner {
  142.         display: block;
  143.         width: 240px;
  144.         border: 2px solid var(--main-color);
  145.         background: rgb(132, 166, 74);
  146.         background: linear-gradient(
  147.             0deg,
  148.             rgba(132, 166, 74, 1) 0%,
  149.             rgba(208, 237, 142, 1) 100%
  150.         );
  151.         height: max-content;
  152.         padding: 0.2rem 0.1rem;
  153.         margin-top: auto;
  154.         margin-bottom: 22px;
  155.         border-radius: 0 20px 20px 0;
  156.         /* box shadow */
  157.         box-shadow:
  158.             0 0 0 1px #caed97 /* this one is the thin outer outline around it */,
  159.             5px 5px 10px 2px #566831 /* the main shadow */;
  160.         background: transparent;
  161.         font-size: 1.3em;
  162.         margin: 0 0 0 13%;
  163.         padding: 0;
  164.         display: inline-block;
  165.         z-index: 9998;
  166.     }
  167.  
  168.     #h-banner:hover {
  169.         transform: scale(1.15);
  170.         transition: transform 0.3s ease-out;
  171.         z-index: 9998;
  172.     }
  173.  
  174.     /* container thing */
  175.  
  176.     .m-container {
  177.         gap: 0.7rem;
  178.         margin-top: -3%;
  179.     }
  180.  
  181.     /* middle box */
  182.  
  183.     #t-header {
  184.         background: white;
  185.         position: static;
  186.         white-space: nowrap;
  187.         border: 3px solid var(--main-color);
  188.         border-radius: 0;
  189.         box-shadow: 0 0 15px 2px var(--main-color-t);
  190.         overflow: auto;
  191.         display: block;
  192.         scroll-snap-type: x mandatory; /* make the scroll snap effect */
  193.         margin: auto;
  194.         padding: 0.2rem;
  195.         width: 320px;
  196.     }
  197.  
  198.     #t-header > div {
  199.         display: inline-block;
  200.         scroll-snap-align: center;
  201.         transition: 1s ease;
  202.         margin: 0 60px auto 60px;
  203.     }
  204.  
  205.     #t-header * {
  206.         font-family: "ADDSBP";
  207.         font-size: 0.7rem;
  208.         word-spacing: 2px;
  209.     }
  210.  
  211.     /* scrollboxes */
  212.  
  213.     .scrollbox {
  214.         display: block;
  215.         height: 100px;
  216.         width: 320px;
  217.         box-shadow: 0 0 15px 2px var(--main-color-t);
  218.         margin: auto;
  219.         overflow: auto;
  220.         overflow-x: hidden;
  221.         background: white;
  222.         padding: 0;
  223.         border: 3px solid var(--main-color);
  224.         border-radius: 20px 20px 0 0;
  225.         z-index: 6;
  226.     }
  227.  
  228.     .l-class div,
  229.     .l-class mark,
  230.     .l-class code {
  231.         color: #505c00; /* text color for all body text */
  232.         font-family: "Retro Gaming"; /* font for all the body text */
  233.         font-size: 0.8em; /* font size for all the body text */
  234.     }
  235.  
  236.     .l-class code {
  237.         background: rgba(160, 195, 70, 0.57); /* background for code blocks */
  238.     }
  239.  
  240.     .scrollbox div {
  241.         margin: 0.8rem;
  242.     }
  243.  
  244.     .scrollbox strong {
  245.         /* these are the sort of "labels" in the code. you can adjust everything for it here */
  246.         display: inline-block;
  247.         padding: 2px 8px 2px 8px;
  248.         background: #5e7d1c;
  249.         background: linear-gradient(
  250.             0deg,
  251.             #5e7d1c 0 40%,
  252.             #859a6a 40% 50%,
  253.             #5e7d1c 50% 60%,
  254.             #859a6a 60% 100%
  255.         );
  256.         border-radius: 20px;
  257.         border: 2px solid var(--main-color);
  258.         color: white;
  259.     }
  260.  
  261.     .scrollbox h3 {
  262.         /* the "title" parts */
  263.         font-family: "ADDSBP";
  264.         color: #7e9b41;
  265.         font-size: 1.6em;
  266.         margin: 5% 0 0.3rem 0;
  267.         line-height: auto;
  268.     }
  269.  
  270.     .l-class em {
  271.         color: #859900; /* color for italic text */
  272.     }
  273.  
  274.     .l-class a,
  275.     .l-class a:visited {
  276.         color: #559e42; /* color for links */
  277.         text-decoration: underline;
  278.         text-decoration-color: #559e42; /* color for the underline of links */
  279.     }
  280.  
  281.     #log {
  282.         border-radius: 0 0 20px 20px;
  283.     }
  284.  
  285.     /* extras */
  286.  
  287.     header {
  288.         /* the container for the "header text" part */
  289.         width: 100%;
  290.         text-align: center;
  291.         filter: drop-shadow(1px 0 0 white) drop-shadow(0 1px 0 white)
  292.             drop-shadow(0 0 1px white) drop-shadow(-1px 0 0 white)
  293.             drop-shadow(0 -1px 0 white);
  294.         position: absolute;
  295.         top: 60px;
  296.         right: -45px;
  297.     }
  298.  
  299.     header a {
  300.         /* the actual header text, here you can change the text color, font, font size, etc. */
  301.         color: var(--main-color);
  302.         font-family: "Retro Gaming";
  303.         font-size: 1.3em;
  304.         display: block;
  305.         width: 100%;
  306.     }
  307.  
  308.     * mark {
  309.         /* highlight color for the mark element */
  310.         background: var(--yellow1);
  311.         padding: 0 0.2rem 0 0.2rem;
  312.     }
  313.  
  314.     #audio-button {
  315.         /* the audio player, you can change the bg here */
  316.         transform: scale(1);
  317.         transition: transform 0.3s ease-in-out;
  318.         background: rgb(132, 166, 74);
  319.         background: linear-gradient(
  320.             0deg,
  321.             rgba(132, 166, 74, 1) 0%,
  322.             rgba(208, 237, 142, 1) 100%
  323.         );
  324.         border-radius: 20px;
  325.         width: 140px;
  326.         display: flex;
  327.         justify-content: start;
  328.         border: 2px solid var(--main-color);
  329.         position: absolute;
  330.         bottom: -15px;
  331.         right: 17px;
  332.         z-index: 9999;
  333.         padding: 0.4rem 0.8rem;
  334.         transition: transform 0.3s ease-in-out;
  335.     }
  336.  
  337.     #audio-button:active {
  338.         transform: scale(1.1);
  339.         transition: transform 0.3s ease-in-out;
  340.     }
  341.    
  342.     #audio-button svg {
  343.         margin-right: 0.4rem;
  344.     }
  345.  
  346.     .marquee {
  347.         width: 100%;
  348.         overflow: hidden;
  349.         white-space: nowrap;
  350.     }
  351.  
  352.     .marquee span {
  353.         font-family: "Retro Gaming";
  354.         color: black;
  355.         display: inline-block;
  356.         overflow: visible;
  357.         width: fit-content;
  358.         animation: marquee 7s infinite linear;
  359.         font-size: 1.15em;
  360.     }
  361.  
  362.     @keyframes marquee {
  363.         0% {
  364.             transform: translateX(100%);
  365.         }
  366.         100% {
  367.             transform: translateX(-100%);
  368.         }
  369.     }
  370.  
  371.     @media screen and (max-width: 900px) {
  372.         #m-hoard {
  373.             transform: scale(95%);
  374.         }
  375.     }
  376.     </style>
  377. </head>
  378. <body>
  379. <div id="m-hoard">
  380.     <header>
  381.         <a href="#"><em>HEADER TEXT</em></a>
  382.     </header>
  383.     <div id="h-area" class="flex">
  384.         <div id="h-img" title="art of hatsune miku by @mel_tinii on twitter">
  385.             <a
  386.                href="https://twitter.com/mel_tinii/status/1719147882559730002/photo/1"
  387.                target="_blank"
  388.            >
  389.                 art creds
  390.             </a>
  391.         </div>
  392.         <div id="h-banner"><span>. CC / ROLLINGGIRL</span></div>
  393.     </div>
  394.     <div class="flex flex-column m-container">
  395.         <div class="scrollbox l-class">
  396.             <div>
  397.                 <h3 id="misc">Title</h3>
  398.                 <strong>bold</strong>
  399.                 <em>italic</em>
  400.                 <a href="/gloomy">link</a>
  401.                 Brownie gummies gummies soufflé fruitcake soufflé powder brownie. Tootsie roll oat cake halvah fruitcake lemon drops. Halvah gummi bears apple pie tiramisu apple pie jelly-o pastry. Macaroon jelly beans toffee cake chocolate toffee ice cream lollipop tootsie roll. Gummies icing fruitcake pastry icing marshmallow bonbon. Cupcake cake sweet roll cookie fruitcake chocolate cake fruitcake. Macaroon jelly-o halvah tootsie roll chocolate icing liquorice fruitcake. Icing apple pie chocolate bar lollipop shortbread danish. Jujubes pastry shortbread chupa chups liquorice. Fruitcake pudding marzipan cheesecake tart caramels biscuit. Topping croissant chocolate cake icing cake. Jelly beans bear claw caramels wafer tootsie roll lollipop marshmallow marshmallow. Macaroon dessert bear claw cookie tart shortbread. Pie wafer lemon drops chocolate bar cupcake jelly dragée bear claw wafer.
  402. Sesame snaps gingerbread icing candy donut macaroon. Jelly-o bear claw jelly beans jelly-o croissant cake cheesecake. Cheesecake marshmallow soufflé dragée croissant. Dessert cake pie biscuit carrot cake fruitcake ice cream lollipop. Bear claw pie cookie gummi bears biscuit pie gummies pudding cake. Gummi bears sweet roll pudding cookie muffin. Oat cake pie candy toffee tootsie roll muffin. Cotton candy gummi bears wafer topping chocolate bar tart. Toffee croissant icing bear claw cake cheesecake. Lemon drops dragée danish powder jelly beans jelly. Chupa chups toffee sugar plum icing carrot cake macaroon sugar plum candy pudding. Marzipan cake fruitcake lemon drops sweet marzipan cake. Tiramisu sweet roll sweet roll tootsie roll wafer sesame snaps sugar plum. Brownie tootsie roll ice cream sugar plum fruitcake gummi bears.
  403.             </div>
  404.         </div>
  405.  
  406.         <div id="t-header" class="l-class">
  407.             <div>text text text text text text -></div>
  408.             <div>text text text text text text -></div>
  409.             <div>text text text text text text -></div>
  410.             <div>
  411.                 <a href="#">link text</a>
  412.                 +
  413.                 <a href="#">link text</a>
  414.             </div>
  415.         </div>
  416.  
  417.         <div class="scrollbox l-class" id="log">
  418.             <div>
  419.                 <h3>Title</h3>
  420.                 Brownie gummies gummies soufflé fruitcake soufflé powder brownie. Tootsie roll oat cake halvah fruitcake lemon drops. Halvah gummi bears apple pie tiramisu apple pie jelly-o pastry. Macaroon jelly beans toffee cake chocolate toffee ice cream lollipop tootsie roll. Gummies icing fruitcake pastry icing marshmallow bonbon. Cupcake cake sweet roll cookie fruitcake chocolate cake fruitcake. Macaroon jelly-o halvah tootsie roll chocolate icing liquorice fruitcake. Icing apple pie chocolate bar lollipop shortbread danish. Jujubes pastry shortbread chupa chups liquorice. Fruitcake pudding marzipan cheesecake tart caramels biscuit. Topping croissant chocolate cake icing cake. Jelly beans bear claw caramels wafer tootsie roll lollipop marshmallow marshmallow. Macaroon dessert bear claw cookie tart shortbread. Pie wafer lemon drops chocolate bar cupcake jelly dragée bear claw wafer.
  421. Sesame snaps gingerbread icing candy donut macaroon. Jelly-o bear claw jelly beans jelly-o croissant cake cheesecake. Cheesecake marshmallow soufflé dragée croissant. Dessert cake pie biscuit carrot cake fruitcake ice cream lollipop. Bear claw pie cookie gummi bears biscuit pie gummies pudding cake. Gummi bears sweet roll pudding cookie muffin. Oat cake pie candy toffee tootsie roll muffin. Cotton candy gummi bears wafer topping chocolate bar tart. Toffee croissant icing bear claw cake cheesecake. Lemon drops dragée danish powder jelly beans jelly. Chupa chups toffee sugar plum icing carrot cake macaroon sugar plum candy pudding. Marzipan cake fruitcake lemon drops sweet marzipan cake. Tiramisu sweet roll sweet roll tootsie roll wafer sesame snaps sugar plum. Brownie tootsie roll ice cream sugar plum fruitcake gummi bears.
  422.             </div>
  423.         </div>
  424.     </div>
  425.     <div>
  426.         <button id="audio-button">
  427.             <!-- icons from https://primer.style/foundations/icons/ - MIT licensed by GitHub -->
  428.             <svg
  429.                id="audio-muted"
  430.                xmlns="http://www.w3.org/2000/svg"
  431.                viewBox="0 0 16 16"
  432.                width="20"
  433.                height="20"
  434.            >
  435.                 <path
  436.                    d="M8 2.75v10.5a.751.751 0 0 1-1.238.57L3.473 11H1.75A1.75 1.75 0 0 1 0 9.25v-2.5C0 5.784.784 5 1.75 5h1.722l3.29-2.82A.75.75 0 0 1 8 2.75Zm3.28 2.47L13 6.94l1.72-1.72a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L14.06 8l1.72 1.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L13 9.06l-1.72 1.72a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L11.94 8l-1.72-1.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-7.042 1.1a.752.752 0 0 1-.488.18h-2a.25.25 0 0 0-.25.25v2.5c0 .138.112.25.25.25h2c.179 0 .352.064.488.18L6.5 11.62V4.38Z"
  437.                ></path>
  438.             </svg>
  439.  
  440.             <svg
  441.                id="audio-unmuted"
  442.                style="display: none"
  443.                xmlns="http://www.w3.org/2000/svg"
  444.                viewBox="0 0 16 16"
  445.                width="20"
  446.                height="20"
  447.            >
  448.                 <path
  449.                    d="M7.563 2.069A.75.75 0 0 1 8 2.75v10.5a.751.751 0 0 1-1.238.57L3.472 11H1.75A1.75 1.75 0 0 1 0 9.25v-2.5C0 5.784.784 5 1.75 5h1.723l3.289-2.82a.75.75 0 0 1 .801-.111ZM6.5 4.38 4.238 6.319a.748.748 0 0 1-.488.181h-2a.25.25 0 0 0-.25.25v2.5c0 .138.112.25.25.25h2c.179 0 .352.064.488.18L6.5 11.62Zm6.096-2.038a.75.75 0 0 1 1.06 0 8 8 0 0 1 0 11.314.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042 6.5 6.5 0 0 0 0-9.193.75.75 0 0 1 0-1.06Zm-1.06 2.121-.001.001a5 5 0 0 1 0 7.07.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734 3.5 3.5 0 0 0 0-4.95.75.75 0 1 1 1.061-1.061Z"
  450.                ></path>
  451.             </svg>
  452.             <div class="marquee">
  453.                 <span>Rolling Girl - Wowaka</span>
  454.             </div>
  455.         </button>
  456.         <script>
  457.             // audio player made by hkau
  458.  
  459.             // set audio
  460.             const AudioURL = "https://ia600205.us.archive.org/15/items/HatsuneMikuRollingGirlPVVOCALOID/Hatsune Miku - Rolling Girl (PV) - VOCALOID.mp3";
  461.  
  462.             // state
  463.             let Playing = false;
  464.             const audio = new Audio(AudioURL);
  465.  
  466.             // get icons
  467.             const Icons = {
  468.                 Muted: document.getElementById("audio-muted"),
  469.                 Unmuted: document.getElementById("audio-unmuted"),
  470.             };
  471.  
  472.             // ...
  473.             document.getElementById("audio-button").addEventListener(
  474.                 "click",
  475.                 () => {
  476.                     Playing = !Playing; // swap playing state
  477.  
  478.                     // toggle icons
  479.                     if (Playing) {
  480.                         Icons.Muted.style.display = "none";
  481.                         Icons.Unmuted.style.display = "block";
  482.                     } else {
  483.                         Icons.Muted.style.display = "block";
  484.                         Icons.Unmuted.style.display = "none";
  485.                     }
  486.  
  487.                     // play/stop audio
  488.                     if (Playing) audio.play();
  489.                     else audio.pause();
  490.                 }
  491.             );
  492.         </script>
  493.     </div>
  494. </div>
  495. </body>
  496. </html>
  497.  
Advertisement
Comments
  • loversrock
    157 days
    # text 0.13 KB | 0 0
    1. the .cc/rollinggirl container keeps showing up differently from the original (as plain black text), is there any way to fix it??
Add Comment
Please, Sign In to add comment
Advertisement