Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <!--
- credits:
- - hello, goodbye (redirect) page by annasthms
- -->
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link href="https://fonts.googleapis.com/css?family={text:url google font}" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family={text:text google font}" rel="stylesheet">
- <meta name="image:background" content=""/>
- <meta name="color:background" content="#ffffff"/>
- <meta name="color:color 1" content="" />
- <meta name="color:color 2" content="" />
- <meta name="color:text" content="#000000" />
- <meta name="color:loading bar" content="#000000" />
- <meta name="font:url" content="Arquitecta" />
- <meta name="font:text" content="Avalon" />
- <meta name="select:text align" content="center" title="center" />
- <meta name="select:text align" content="cascade" title="cascade" />
- <meta name="if:automatic redirect" content="1" />
- <meta name="if:hide tumblr controls" content="1" />
- <meta name="text:blog titles font size" content="32px" />
- <meta name="text:text font size" content="20px" />
- <meta name="text:note font size" content="" />
- <meta name="text:url google font" content="" />
- <meta name="text:text google font" content="" />
- <meta name="text:old url" content="blog name w/o tumblr.com" />
- <meta name="text:new url" content="blog name w/o tumblr.com" />
- <meta name="text:message" content="has moved to" />
- <meta name="text:note" content="ex: for the holidays (can leave blank)" />
- <style>
- body {
- background: {color:background} url('{image:background}');
- background-attachment: fixed;
- background-clip: border-box;
- background-position: center;
- background-repeat: no-repeat;
- background-size: cover;
- }
- a {
- color: {color:color 1};
- text-decoration: none;
- }
- a:hover {
- color: {color:color 2};
- }
- div#moved {
- position: absolute;
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- color: {color:text};
- width: 35vw;
- min-width: 300px;
- }
- div.url {
- font-size: {text:blog titles font size};
- letter-spacing: 2px;
- font-family: {block:Ifurlgooglefont}'{text:url google font}', {/block:Ifurlgooglefont}{font:url};
- }
- div.text {
- font-family: {block:Iftextgooglefont}'{text:text google font}', {/block:Iftextgooglefont}{font:text};
- font-size: {text:text font size};
- }
- div#move {
- margin: 1em 0 0.5em;
- }
- div#note {
- margin-top: 0.5em;
- font-size: {text:note font size};
- }
- .center {
- text-align: center;
- }
- .cascade div#move {
- text-align: center;
- }
- .cascade div#new {
- text-align: right;
- }
- .cascade div#note {
- text-align: right;
- }
- div#load {
- position: absolute;
- bottom: -3em;
- height: 5px;
- width: 1%;
- background: {color:loading bar};
- }
- {block:Ifhidetumblrcontrols}
- iframe.tmblr-iframe {
- display: none;
- }
- {/block:Ifhidetumblrcontrols}
- a#cred {
- position: fixed;
- bottom: 5px;
- right: 5px;
- background: #fff;
- padding: 3px 6px;
- font-family: {block:Iftextgooglefont}{text:text google font}, {/block:Iftextgooglefont}{font:text};
- }
- </style>
- </head>
- <body>
- <div id="moved" class="{select:text align}">
- <div id="orig" class="url">{text:old url}</div>
- <div id="move" class="text">{text:message}</div>
- <div id="new" class="url"><a href="https://{text:new url}.tumblr.com/">{text:new url}</a></div>
- {block:Ifnote}<div id="note" class="text">{text:note}</div>{/block:Ifnote}
- {block:Ifautomaticredirect}<div id="load"></div>{/block:Ifautomaticredirect}
- </div>
- <a href="https://annasthms.tumblr.com" id="cred" title="page by annasthms">a</a>
- {block:Ifautomaticredirect}
- <script>
- document.addEventListener("DOMContentLoaded", function() {
- var elem = document.getElementById("load");
- var width = 1;
- var id = setInterval(frame, 100);
- function frame() {
- if (width >= 100) {
- clearInterval(id);
- } else {
- width++;
- elem.style.width = width + '%';
- }
- }
- });
- setTimeout(function() {
- window.location.assign("https://{text:new url}.tumblr.com" + location.pathname);
- }, 10000);
- </script>
- {/block:Ifautomaticredirect}
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment