Advertisement
alydae

redirect/saved url i

Jan 29th, 2016 (edited)
8,368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.98 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!--
  5.  
  6. REDIRECT/SAVED URL I
  7. by alydae
  8.  
  9. released: january 30, 2016
  10. last updated: august 27, 2023
  11.  
  12. - do not steal any part of this code
  13. - do not even TOUCH the credit
  14. - direct questions to enchantedthemes.tumblr.com
  15.  
  16. it needs to be installed as a theme. to use it as a mobile theme, turn off 'use default mobile theme' in the 'advanced options' of the customise panel.
  17.  
  18. thank you for using!!!
  19.  
  20. -->
  21.  
  22. <title>{Title}</title>
  23. <link rel="shortcut icon" href="{Favicon}">
  24.  
  25. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  26. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  27.  
  28. <meta name="color:background" content="#fafafa"/>
  29. <meta name="color:content" content="#ffffff"/>
  30. <meta name="color:border" content="#eeeeee"/>
  31. <meta name="color:text" content="#666666"/>
  32. <meta name="color:accent" content="#222222"/>
  33. <meta name="color:hover" content="#bad0f1"/>
  34.  
  35. <meta name="image:background" content=""/>
  36. <meta name="image:icon" content=""/>
  37.  
  38. <meta name="if:automatic redirect" content=""/>
  39.  
  40. <meta name="select:icon" content="iconc" title="circle"/>
  41. <meta name="select:icon" content="iconr" title="rounded"/>
  42. <meta name="select:icon" content="iconsq" title="square"/>
  43.  
  44. <meta name="select:font" content="Open Sans"/>
  45. <meta name="select:font" content="Karla"/>
  46. <meta name="select:font" content="Lato"/>
  47. <meta name="select:font" content="Roboto"/>
  48.  
  49. <meta name="select:font size" content="10px"/>
  50. <meta name="select:font size" content="11px"/>
  51. <meta name="select:font size" content="12px"/>
  52.  
  53. <meta name="text:old url" content="old url"/>
  54. <meta name="text:message" content="has moved to"/>
  55. <meta name="text:new url" content="new url"/>
  56.  
  57. <!-- scripts - DO NOT TOUCH -->
  58.  
  59. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  60.  
  61. <script src="https://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  62. <script>
  63. (function($){
  64. $(document).ready(function(){
  65. $("[title]").style_my_tooltips({
  66. tip_follows_cursor:true,
  67. tip_delay_time:200,
  68. tip_fade_speed:300
  69. }
  70. );
  71. });
  72. })(jQuery);
  73. </script>
  74.  
  75. <!-- custom font -->
  76.  
  77. <link href="https://fonts.googleapis.com/css?family={select:font}:300,400,600,700,300italic,400italic,600italic,700italic" rel="stylesheet" type="text/css">
  78.  
  79.  
  80. <style type="text/css">
  81.  
  82. @keyframes fadein {
  83. from { opacity:0; }
  84. to { opacity:1; }
  85. }
  86.  
  87. @-moz-keyframes fadein {
  88. from { opacity:0; }
  89. to { opacity:1; }
  90. }
  91.  
  92. @-webkit-keyframes fadein {
  93. from { opacity:0; }
  94. to { opacity:1; }
  95. }
  96.  
  97. @-ms-keyframes fadein {
  98. from { opacity:0; }
  99. to { opacity:1; }
  100. }
  101.  
  102. @-o-keyframes fadein {
  103. from { opacity:0; }
  104. to { opacity:1; }
  105. }
  106.  
  107. /*-- selection --*/
  108.  
  109. ::-moz-selection { background:rgba({RGBcolor:links hover},0.1); color:{color:accent}; }
  110. ::selection { background:rgba({RGBcolor:links hover},0.1); color:{color:accent}; }
  111.  
  112. /*-- scrollbar --*/
  113.  
  114. ::-webkit-scrollbar {
  115. width:1px;
  116. height:2px;
  117. }
  118.  
  119. ::-webkit-scrollbar-thumb { background-color:{color:text}; }
  120.  
  121. /*-- tooltips --*/
  122.  
  123. #s-m-t-tooltip {
  124. color:{color:text};
  125. background-color:{color:content};
  126. font-size:calc({select:font size} - 2px);
  127. font-family:{select:font}, helvetica, sans-serif;
  128. letter-spacing:1px;
  129. text-transform:uppercase;
  130. text-align:center;
  131. line-height:200%;
  132. position:absolute;
  133. padding:0px 5px 0px 5px;
  134. margin-top:30px;
  135. border:1px solid {color:border};
  136. z-index:9999;
  137. }
  138.  
  139. /*-- tumblr controls --*/
  140.  
  141. .tmblr-iframe, .iframe-controls–desktop {
  142. display:none!important;
  143. }
  144.  
  145. /*-- general customisation --*/
  146.  
  147. body {
  148. color:{color:text};
  149. background-color:{color:background};
  150. background-image:url("{image:Background}");
  151. background-repeat:repeat;
  152. font-style:normal;
  153. font-family:{select:font}, helvetica, sans-serif;
  154. font-weight:400;
  155. text-decoration:none;
  156. overflow:hidden;
  157. -moz-osx-font-smoothing: grayscale;
  158. -webkit-font-smoothing: antialiased;
  159. font-smoothing: antialiased;
  160. -webkit-animation: fadein 1.5s;
  161. -moz-animation: fadein 1.5s;
  162. -o-animation: fadein 1.5s;
  163. animation: fadein 1.5s;
  164. }
  165.  
  166. a {
  167. text-decoration:none;
  168. letter-spacing:0.5px;
  169. color:{color:accent};
  170. transition-duration: 0.6s;
  171. -moz-transition-duration: 0.6s;
  172. -webkit-transition-duration: 0.6s;
  173. -o-transition-duration: 0.6s
  174. }
  175.  
  176. a:hover {
  177. color:{color:hover};
  178. transition-duration: 0.6s;
  179. -moz-transition-duration: 0.6s;
  180. -webkit-transition-duration: 0.6s;
  181. -o-transition-duration: 0.6s
  182. }
  183.  
  184. small { font-size:{select:font size}x; }
  185.  
  186. /*-- content --*/
  187.  
  188. #content {
  189. position:absolute;
  190. top:50%;
  191. left:50%;
  192. transform:translate(-50%, -50%);
  193. width:60vw;
  194. height:60vh;
  195. background-color:{color:content};
  196. border:1px solid {color:border};
  197. }
  198.  
  199. #everything {
  200. position:absolute;
  201. top:50%;
  202. left:50%;
  203. transform:translate(-50%, -50%);
  204. }
  205.  
  206. .icon {
  207. position:relative;
  208. height:64px;
  209. width:64px;
  210. margin:0px auto;
  211. }
  212.  
  213. .icon img { width:64px; height:64px; }
  214.  
  215. .iconc { border-radius:100%; }
  216. .iconr { border-radius:10px; }
  217. .iconsq { border-radius:0px; }
  218.  
  219. h1 {
  220. color:{color:accent};
  221. text-transform:lowercase;
  222. font-weight:600;
  223. font-style:italic;
  224. font-size:calc({select:font size} + 4px);
  225. letter-spacing:0.5px;
  226. margin:3px;
  227. }
  228.  
  229. h2 {
  230. color:{color:accent};
  231. text-transform:uppercase;
  232. font-weight:700;
  233. font-size:18px;
  234. margin:20px 20px 0px 20px;
  235. }
  236.  
  237. h2 a { letter-spacing:3px; }
  238. h2 a:hover { letter-spacing:8px; }
  239.  
  240. .text {
  241. position:relative;
  242. text-align:center;
  243. margin:20px auto 0px;
  244. font-size:12px;
  245. }
  246.  
  247. /*-- credit - DO NOT TOUCH --*/
  248.  
  249. .credit a {
  250. font-size:10px;
  251. bottom:15px;
  252. right:20px;
  253. position:fixed;
  254. text-transform:uppercase;
  255. }
  256.  
  257. </style>
  258. </head>
  259.  
  260.  
  261. <body>
  262.  
  263. <div id="content">
  264.  
  265. <div id="everything">
  266. <div class="icon"><img src="{image:icon}" class="{select:icon}"/></div>
  267. <div class="text">
  268. <h1>{text:old url}</h1>
  269. {text:message}
  270. <h2><a href="http://{text:new url}.tumblr.com">{text:new url}</a></h2>
  271. {block:ifautomaticredirect}
  272. <small><i>you will be redirected...</i></small>
  273. {/block:ifautomaticredirect}
  274. </div>
  275. </div>
  276.  
  277. </div>
  278.  
  279. {block:ifautomaticredirect}
  280. <script>
  281. setTimeout( redirectTumblr, 3000 );
  282.  
  283. function redirectTumblr() {
  284. location.replace('http://{text:new url}.tumblr.com' + location.pathname);
  285. }
  286. </script>
  287. {/block:ifautomaticredirect}
  288.  
  289.  
  290. <!-- credit - DO NOT TOUCH -->
  291.  
  292. <div class="credit">
  293. <a href="http://enchantedthemes.tumblr.com" title="alydae">A.</a>
  294. </div>
  295.  
  296.  
  297. </body>
  298. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement