Advertisement
bubblemelon

New Leaf Redirection Page Clone

Apr 24th, 2020
749
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!--
  2.                              
  3. // [Page:Revamp]
  4.  
  5. A New Leaf redirect page
  6.  
  7. by eggdesigns //
  8.  
  9.    + html and css knowledge is required to customize this page
  10.    + feel free to edit and custom the theme to your liking,
  11.      but don't redistribute, use as a base, or claim as your own
  12.    + please report any bugs to eggdesigns.co/contact
  13.    
  14. Link to Original Paste: https://pastebin.com/NNtWGnTU
  15. -->
  16.  
  17.  
  18. <!DOCTYPE html>
  19. <html>
  20.     <head>
  21.    
  22.      <title>{Title}</title>
  23.     <link rel="shortcut icon" href="{Favicon}">
  24.     <link rel="alternate" type="application/rss+xml" href="{RSS}">
  25.     <meta name="color:background" content="#fff" />
  26.     <meta name="color:plant pot" content="#452C18" />
  27.     <meta name="color:plant pot shadow" content="#301D0D" />
  28.     <meta name="color:text" content="#bbb" />
  29.     <meta name="color:stem" content="#BED6AB" />
  30.     <meta name="color:leaf" content="#95A868" />
  31.     <meta name="color:link hover" content="#0E2430" />
  32.     <meta name="if:auto redirect" content="" />
  33.     <meta name="if:full background" content="" />
  34.     <meta name="text:old username" content="username" />
  35.     <meta name="text:new username" content="espoirthemes" />
  36.     <meta name="text:text" content="I've moved to a new url" />
  37.     <meta name="image:background" content="" />
  38.    
  39.    
  40.     <link href="https://fonts.googleapis.com/css?family=Amatic+SC" rel="stylesheet">
  41.     <style type="text/css">
  42.    
  43.    
  44. /* I really don't recommend editing much of this if you don't know HTML or CSS. This page is based around CSS shapes and animations. If you want to edit colors or text, all of that can already be done on the regular customizing page.
  45.  
  46. */
  47.  
  48.  
  49.        
  50.  
  51.     .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop{display:none;}
  52.     /* general styling */
  53.     body{
  54.         font-family:Amatic SC;
  55.         color:{color:text};
  56.         font-size:1.4em;
  57.         font-weight:bold;
  58.         background:{color:background} url({image:background})
  59.         {block:iffullbackground} no-repeat center center fixed;
  60.         background-size: cover; {/block:iffullbackground};
  61.         background-attachment:fixed;
  62.     }
  63.    
  64.     /* moved to a new url text */
  65.    
  66.     .intro {
  67.         width:200px;
  68.         font-size:40px;
  69.         position:absolute;
  70.         top:20%;
  71.         left:30%;
  72.         height:auto;
  73.         animation-name:intro;
  74.         animation-fill-mode:forwards;
  75.         animation-duration:6s;
  76.         animation-iteration-count:1; opacity:0;
  77.        
  78.     }
  79.      @keyframes intro{
  80.         from{opacity:0;}
  81.         to{opacity:1;}
  82.     }
  83.     /* plant container */
  84.     main {
  85.         width:500px;
  86.         margin:10px auto;
  87.         height:600px;
  88.         display:flex;
  89.         justify-content:center;
  90.         align-items:center;
  91.     }
  92.    
  93.     /* plant pot */
  94.    
  95.     .potbottom {
  96.         top:400px;
  97.         background:white;
  98.         height:90px;
  99.         width: 90px;
  100.         position:absolute;
  101.         border-radius:10% 10% 100% 100%;
  102.         box-shadow:inset -14px -10px rgba(0,0,0,.04);
  103.     }
  104.    
  105.    
  106.     .potbottom:before {
  107.         position:absolute;
  108.         height:10px;
  109.         bottom:-5px;
  110.         z-index:-9;
  111.         content:'';
  112.         border-radius:100%;
  113.         background:rgba(0,0,0,.088);
  114.         width:100%;
  115.     }
  116.  
  117.     /* stem */
  118.    
  119.     .plantstem{
  120.         width:3.2px;
  121.         height:100px;
  122.         background:{color:leaf};
  123.         margin-top:380px;
  124.         position:absolute;
  125.         animation-name: stem;
  126.         margin-left:0px;
  127.         border-radius:4px;
  128.         opacity:.8;
  129.         animation-duration: 2s; animation-fill-mode:forwards;
  130.         animation-iteration-count: 1;
  131.        
  132.     }
  133.    
  134.     /* bottom leaf */
  135.    
  136.     .leaf {
  137.         width: 40px;
  138.         position:absolute;
  139.         height: 60px;  
  140.         animation-name: leaf;
  141.         opacity:0;
  142.         transform:rotate(-20deg);
  143.         margin-left:-50px;
  144.         background: {color:leaf};
  145.         border-bottom-left-radius:60px;
  146.         border-top-right-radius:60px;
  147.         animation-duration: 5s;
  148.         animation-fill-mode:forwards;
  149.         transform-style: preserve-3d;
  150.         animation-iteration-count: 1; transition:1s;color:{color:leaf};
  151.        
  152.     }
  153.    
  154.     @keyframes stem{
  155.         from{top:0px; height:100px;}
  156.         to{top:-170px;height:250px;}
  157.     }
  158.    
  159.     @keyframes leaf{
  160.         from{opacity:0; }
  161.         to{opacity:1;}
  162.     }
  163.    
  164.     /* top leaf */
  165.    
  166.      .leaf2 {
  167.         width: 40px;
  168.         position:absolute;
  169.         height:60px;
  170.         transform:rotate(20deg);
  171.         border-top-left-radius:60px;
  172.         border-bottom-right-radius:60px;
  173.         background: {color:leaf};
  174.         animation-delay:1s;
  175.         opacity:0;
  176.         transform-style: preserve-3d;
  177.         margin-left:10px;
  178.         margin-top:-80px;
  179.         animation-name: leaf2;
  180.         animation-duration:5s; animation-fill-mode:forwards;
  181.         animation-iteration-count: 1;
  182.         transition:1s; color:{color:leaf};
  183.          
  184.      }
  185.      /* url labels */
  186.      
  187.     .text{
  188.         margin-top:-22px;
  189.         opacity:1;
  190.         width:100px;
  191.         height:auto;
  192.         font-size:1.2em;
  193.         margin-left:-10px;
  194.     }
  195.  
  196.     .leaf .text {
  197.           transform:rotate(20deg);
  198.     }
  199.      .leaf2 .text {
  200.          transform:rotate(-20deg);
  201.          margin-top:-40px;
  202.     }
  203.     @keyframes leaf2{
  204.         from{opacity:0;}
  205.         to{opacity:1;}
  206.     }
  207.    
  208.    
  209.    
  210.         #egg { opacity:.8; right:10px; bottom:10px; position:fixed;display:block; width: 14px; height: 18px; background-color:#FFFEFC; -webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  211. font-family: "bitxmap";  
  212. border:1px solid #444;  z-index:4;
  213.                
  214. }
  215.  #egg:hover   { animation-name: egg;
  216.     animation-duration: 1s;
  217.     animation-iteration-count: infinite;}
  218.     @keyframes egg{
  219.         0%{}
  220.         10%{transform:rotate(20deg)}
  221.         80%{transform:rotate(-20deg)}
  222.         100%{}
  223.     }
  224.  
  225.     </style>
  226.     </head>
  227.     <body>
  228. <!-- autoredirect script -->    
  229.     {block:ifautoredirect}
  230. <script>
  231.  setTimeout( redirectTumblr, 12000 );
  232.  function redirectTumblr() {
  233.   location.replace('http://{text:new username}.tumblr.com' + location.pathname);
  234.  }
  235. </script>
  236. {/block:ifautoredirect}
  237.  
  238.     <a href="http://espoirthemes.tumblr.com" title="credit"><div id="egg"></div></a>
  239.     <!-- text -->
  240.     <div class="intro">{text:text}</div>
  241.     <!-- plant container -->
  242.     <main>
  243.    <a href="http://{text:new username}.tumblr.com">
  244.    <div class="leaf2">
  245.    <div class="text">new url</div>
  246.    </div></a>
  247.  
  248.    <a href="http://{text:old username}.tumblr.com">
  249.    <div class="leaf">
  250.    <div class="text">old url</div>
  251.    </div></a>
  252.    
  253.    <!-- plant -->
  254.     <div class="plantstem"></div>
  255.     <div class="pottop"></div>
  256.     <div class="potbottom"></div>
  257.     </main>
  258.     <!-- end page -->
  259.     </body>
  260. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement