Advertisement
cornetespoir

Redirect page: A New Leaf

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