Advertisement
ErisNotEros

Redirect Theme: Companion Cube

Nov 22nd, 2012
3,052
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.94 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <!--
  4. *********************************
  5. *********************************
  6. *** ------ created by ------- ***
  7. *** THEMESBYERIS.TUMBLR.COM ***
  8. *** ------------------------- ***
  9. *** Please do not remove ***
  10. *** the credit, thank you. ***
  11. *********************************
  12. *********************************
  13. -->
  14.  
  15. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  16. <head>
  17.  
  18. <meta name="text:Redirect Link" content="http://themesbyeris.tumblr.com/post/36283681553" />
  19.  
  20. <title>{Title}{block:PostSummary}, {PostSummary}{/block:PostSummary}</title>
  21. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  22. <link rel="shortcut icon" href="{Favicon}" />
  23. <link rel="apple-touch-icon" href="{PortraitURL-128}"/>
  24. <link rel="alternate" type="application/rss+xml" href="{RSS}" />
  25.  
  26. <style type="text/css">
  27.  
  28. body {background-color:#000000; width:100%; height:100%; margin:0; padding:0;}
  29. h1 {font-size:24px; margin:0 0 10px 0;}
  30. a {text-decoration:none; color:#6d8faa;}
  31. a:hover {color:#4c6f85;}
  32. a, a:hover, #inc #aperture img {-webkit-transition:all 0.5s ease-in-out; -moz-transition:all 0.5s ease-in-out; -o-transition:all 0.5s ease-in-out; transition:all 0.5s ease-in-out;}
  33.  
  34. ::selection {background:rgba(0,0,0,0); color:rgba(0,0,0,0);}
  35. ::-moz-selection {background:rgba(0,0,0,0); color:rgba(0,0,0,0);}
  36.  
  37. #well {background-image:url(http://imageshack.us/a/img441/2175/floorx.png); background-repeat:no-repeat; background-position:center bottom; height:540px; width:960px; position:fixed; top:50%; left:50%; margin-top:-270px; margin-left:-480px;}
  38. #well .description {position:absolute; bottom:350px; color:#ffffff; font-family:Arial,sans-serif; font-size:12px; word-wrap:break-word;}
  39.  
  40.  
  41. /***Cube and Incinerator***/
  42. #well img.cube {width:87px; height:87px; border:none; position:relative; z-index:3;}
  43. h2 {margin:0; padding:345px 300px 103px 230px;}
  44. #inc {background-image:url(http://imageshack.us/a/img89/1516/incinerator.png); background-repeat:no-repeat; background-position:center bottom; width:320px; height:500px; position:absolute; bottom:102px; right:155px; z-index:2;}
  45. #inc #aperture {width:194px; height:120px; position:absolute; bottom:75px; left:62px; overflow:hidden;}
  46. #inc #aperture img {width:242px; height:141px; position:absolute; top:-12px; left:-20px;}
  47. #inc #aperture img.top {z-index:2;}
  48. #inc:hover #aperture img.one {transform: translate(55px,-42px) rotate(-60deg); -ms-transform: translate(55px,-42px) rotate(-60deg); -webkit-transform: translate(55px,-42px) rotate(-60deg); -o-transform: translate(55px,-42px) rotate(-60deg); -moz-transform: translate(55px,-42px) rotate(-60deg);}
  49. #inc:hover #aperture img.two {transform: translate(85px,27px) rotate(-60deg); -ms-transform: translate(85px,27px) rotate(-60deg); -webkit-transform: translate(85px,27px) rotate(-60deg); -o-transform: translate(85px,27px) rotate(-60deg); -moz-transform: translate(85px,27px) rotate(-60deg);}
  50. #inc:hover #aperture img.three {transform: translate(-10px,60px) rotate(-60deg); -ms-transform: translate(-10px,60px) rotate(-60deg); -webkit-transform: translate(-10px,60px) rotate(-60deg); -o-transform: translate(-10px,60px) rotate(-60deg); -moz-transform: translate(-10px,60px) rotate(-60deg);}
  51. #inc:hover #aperture img.four {transform: translate(-90px,15px) rotate(-60deg); -ms-transform: translate(-90px,15px) rotate(-60deg); -webkit-transform: translate(-90px,15px) rotate(-60deg); -o-transform: translate(-90px,15px) rotate(-60deg); -moz-transform: translate(-90px,15px) rotate(-60deg);}
  52. #inc:hover #aperture img.five {transform: translate(-40px,-50px) rotate(-60deg); -ms-transform: translate(-40px,-50px) rotate(-60deg); -webkit-transform: translate(-40px,-50px) rotate(-60deg); -o-transform: translate(-40px,-50px) rotate(-60deg); -moz-transform: translate(-40px,-50px) rotate(-60deg);}
  53. iframe#tumblr_controls {display:none;}
  54.  
  55. /***Internet Explorer Popup***/
  56. #IEpopup {background-color:rgba(0,0,0,0.6); position:fixed; width:100%; height:100%; z-index:10;}
  57. #IEpopup .message {background-color:white; color:black; font:12px Arial,sans-serif; width:360px; padding:20px; position:fixed; top:50%; left:50%; margin-top:-100px; margin-left:-200px; text-align:center; border-radius:10px;}
  58. #IEpopup .message h1 {font-size:24px; margin:0 0 10px 0;}
  59. #IEpopup .message a {display:inline-block; width:150px; color:white; font:bold 12px Arial; margin-top:10px; margin-bottom:10px; text-align:left; padding:3px 5px 0; border-radius:5px;}
  60. #IEpopup .message a img {border:none;}
  61. #IEpopup .message a.chrome {background-color:#db2034; margin-right:15px;}
  62. #IEpopup .message a.chrome:hover {background-color:#b7030d;}
  63. #IEpopup .message a.safari {background-color:#3db2dd; margin-left:15px;}
  64. #IEpopup .message a.safari:hover {background-color:#2e80d8;}
  65. #IEpopup .message a span {position:relative; top:-10px;}
  66. #IEpopup .message a.redirect {display:block; height:25px; padding-top:10px; margin:10px auto 0; background-color:#ffd345; text-align:center;}
  67. #IEpopup .message a.redirect:hover {background-color:#f5be2c;}
  68.  
  69. </style>
  70.  
  71. <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js'></script>
  72. <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>
  73. <script src='js/slidetounlock.js'></script>
  74.  
  75. <script>
  76. $(function() {
  77. $("h2 img").draggable({
  78. containment: 'parent',
  79. drag: function(event, ui) {
  80. if (ui.position.left > 300 && ui.position.left < 575) {
  81. $("#well").fadeOut();
  82. window.location.href = "{text:Redirect Link}";
  83. $(img).opacity = 0;
  84. }
  85. },
  86. stop: function(event, ui) {
  87. if (ui.position.left < 301) {
  88. $(this).animate({
  89. left: 0
  90. })
  91. }
  92. }
  93. });
  94. });
  95. </script>
  96.  
  97.  
  98. </head>
  99. <body>
  100.  
  101. <div id="well">
  102. <div class="description">{Description}</div>
  103. <h2>
  104. <img class="cube" src="http://imageshack.us/a/img805/4200/cuben.png" />
  105. <div id="inc">
  106. <div id="aperture">
  107. <img class="top" src="http://img836.imageshack.us/img836/8939/hover0.png" />
  108. <img class="one" src="http://imageshack.us/a/img84/9031/hover1.png" />
  109. <img class="two" src="http://imageshack.us/a/img824/8602/hover2.png" />
  110. <img class="three" src="http://imageshack.us/a/img856/1829/hover3.png" />
  111. <img class="four" src="http://imageshack.us/a/img600/3350/hover4.png" />
  112. <img class="five" src="http://imageshack.us/a/img84/6401/hover5.png" />
  113. </div>
  114. </div>
  115. </h2>
  116. </div>
  117.  
  118. <!--[if IE]>
  119. <div id="IEpopup"><div class="message">
  120. <h1>Internet Explorer Detected!</h1>
  121. Your browser sucks. Install a better one to view this redirect page.
  122. <a class="chrome" href="http://bit.ly/R1119N"><img src="http://imageshack.us/a/img87/8146/iconchrome.png" /><span> Download Chrome</span></a>
  123. <a class="safari"href="http://bit.ly/R10Smz"><img src="http://imageshack.us/a/img689/6884/iconsafarii.png" /><span> Download Safari</span></a>
  124. Or if you'd rather live in internet-sin...
  125. <a class="redirect" href="{text:Redirect Link}">Redirect Me</a>
  126. </div></div>
  127. <![endif]-->
  128.  
  129. </body>
  130. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement