Advertisement
Guest User

Stay: Interstellar theme by Zarillo

a guest
Nov 20th, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 7.57 KB | None | 0 0
  1. <!--
  2.  
  3. Put anything here. Like the name of the theme or credits,rules etc.
  4.  
  5. Base Code by repealinq.tumblr.com , causedthemes.tumblr.com
  6. -->
  7.  
  8. <!--Go to www.tumblr.com/docs/en/custom_themes for more assistance-->
  9.  
  10. <head>
  11.  
  12. <title>{title}</title>
  13. <link rel="shortcut icon" href="{Favicon}"/>
  14. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  15. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  16.  
  17. <!--Default Variables-->
  18. <meta name="color:Text" content="#000000"/>
  19. <meta name="color:Link" content="#555555"/>
  20. <meta name="color:Link Hover" content="#cccccc"/>
  21. <meta name="if:2 Column" content="1"/>
  22. <meta name="image:Sidebar" content=""/>
  23. <meta name="image:Background" content=""/>
  24. <meta name="color:Menu 1" content=""/>
  25. <meta name="color:Menu 3" content=""/>
  26. <meta name="color:Menu 5" content=""/>
  27. <meta name="color:Menu Hover 1" content=""/>
  28. <meta name="color:Menu Hover 3" content=""/>
  29. <meta name="color:Menu Hover 5" content=""/>
  30.  
  31. <meta name="text:Link URL 1" content="">
  32. <meta name="text:Link URL 3" content="">
  33. <meta name="text:Link URL 5" content="">
  34. <!--Styling,css-->
  35. <style type="text/css">
  36. body{
  37. color:{color:Text};
  38. font-family:calibri;/* The main font, you can change this anytime*/
  39. font-size:11px;/* Font size */
  40. background-color:{color:Background};/* Background color */
  41. background-image: url('{image:Background}');no-repeat;
  42. background-size: cover;
  43. background-attachment: fixed;
  44. }
  45.  
  46.  /* What your entries are on*/
  47. #post{
  48. {block:If2Column}
  49. width:600px;{/block:If2Column}
  50. {block:IfNot2Column}width:508px;{block:IfNot2Column}
  51. margin-left:auto;
  52. margin-right:auto;
  53. background-color:#fff opacity: .8;/* Background color for posts*/
  54. padding:5px;
  55. }
  56. /* Links */
  57. a{color:{color:Link};text-decoration:none;} a:hover{color:{color:Link Hover};}
  58. /* Entries  */
  59. .entry{
  60. padding:2px;
  61. background-color:#fff;
  62. {block:If2Column}width:250px;{block:If2Column}
  63. {block:IfNot2Column}width:300px;{block:IfNot2Column}
  64. float:right;
  65. margin:2px;/* Spacing of entries*/
  66. }
  67.  
  68. .entry img{
  69. {block:IfNot2Column}width:300px;{block:IfNot2Column}
  70. float:right;
  71. margin:2px;
  72. }
  73.  /* Permalinks on hover*/
  74. .entry .perm{
  75.     background:#fff;
  76.     padding:5px;
  77.     text-align:center;
  78.     margin-top:3px;
  79.     margin-left:-20px;
  80.     position:absolute;
  81.     opacity:0.0;
  82.  
  83. }
  84.  
  85. .entry:hover .perm{opacity:.7;margin-left:0px; }
  86.  
  87.  /* Sidebar*/
  88. #sidebar{
  89. background-color:#fff, opacity: .9;
  90. width:250px;
  91. margin-bottom:0px;
  92. margin-left:0px;
  93. position:fixed;
  94. padding:10px;
  95. border:1px solid #eee;
  96. text-align:center;
  97. float:center;
  98. border-radius: 50px 0px 50px 0px;
  99. opacity: ;
  100. }
  101.  /* Sidebar image*/
  102. #sidebar img{border:1px solid #eee;width:180px;height:auto;padding:5px;
  103. }
  104.  
  105. #sidebar2{
  106. background-color:#fff, opacity: .9;
  107. width:250px;
  108. margin-bottom:0px;
  109. margin-left:0px;
  110. position:fixed;
  111. padding:10px;
  112. border:1px solid #eee;
  113. text-align:center;
  114. float:center;
  115. border-radius: 50px 0px 50px 0px;
  116. }
  117.  
  118. #sidebar img2{border:1px solid #eee;width:180px;height:auto;padding:5px;
  119. }
  120.  
  121. .menu{display:block;width:50px;height:50px;border-radius:50px;margin-top:-30px;color:color:#000;line-height:100px;background:{color:Menu 1}}.menu:hover{color:#000;background:{color:Menu Hover 1}
  122. }
  123.  
  124. .menu5{display:block;width:50px;height:50px;border-radius:50px;margin-left:200px;margin-top:50px;color:#000;text-align:center;text-decoration:none;background:{color:Menu 5};margin-top:-50px;}.menu5:hover{color:#ccc;text-decoration:none;background:{color:Menu Hover 5}
  125. }
  126.  
  127. .menu3{display:block;width:50px;height:50px;border-radius:50px;margin-left:100px;font-size:20px;color:#000;line-height:100px;text-align:center;text-decoration:none;background:{color:Menu 3}}.menu3:hover{color:#ccc;text-decoration:none;background:{color:Menu Hover 3}
  128. }
  129.  
  130.  
  131.  
  132. .pagination {
  133. display: none;
  134. }
  135. {CustomCSS]</style>
  136. <!--I reccommend not touching any ofthis unless you don't want infinite scroll!-->
  137. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  138.  
  139. <script src="http://static.tumblr.com/6hsqxdt/vmwm2rb4g/infinitescrolling.js"></script><script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
  140.  
  141. <script>
  142. $(function(){
  143. var $container = $('#post');
  144. $container.imagesLoaded(function(){
  145. $container.masonry({
  146. itemSelector: '.entry',
  147. });
  148. });
  149. $container.infinitescroll({
  150. itemSelector : ".entry",
  151. navSelector : "div.pagination",
  152. nextSelector : ".pagination a#next",
  153. loadingImg : "",
  154. loadingText : "<em></em>",
  155. bufferPx : 10000,
  156. extraScrollPx: 12000,
  157. },
  158. // trigger Masonry as a callback
  159. function( newElements ) {
  160.   var $newElems = $( newElements ).css({ opacity: 0 });
  161. // ensure that images load before adding to masonry layout
  162. $newElems.imagesLoaded(function(){
  163. $newElems.animate({ opacity: 1 });
  164. $container.masonry( 'appended', $newElems, true );
  165. });
  166. }
  167. );
  168. });
  169. </script>
  170.  
  171. </head>
  172. <body>
  173. <!--Sidebar-->
  174. <div id="sidebar">
  175.  
  176. <img src="{image:Sidebar}">
  177. <br>
  178. {description}<br><br>
  179. <a href="/">Home</a> /
  180. <a href="/ask">Ask</a> /
  181. <a href="/">Links</a>
  182. <a href="{text: Link 1 URL}" class="menu"></a>
  183.  
  184. <a href="{text: Link 5 URL}" class="menu5"></a>
  185.  
  186. <a href="{text: Link 3 URL}" class="menu3"></a>
  187.  
  188. </div></div><!--End of sidebar-->
  189.  
  190. <div id="triangle-up">
  191.  
  192. &nbsp;
  193.  
  194. </div>
  195.  
  196. <div id="triangle-down">
  197.  
  198. &nbsp;
  199.  
  200. </div>
  201.  
  202. <!--Posts and entries-->
  203. <div id="post">
  204. {block:Posts}
  205. <div class="entry">
  206.  
  207. <div class="perm"><a href="{Permalink}">{TimeAgo}</a> <a href="{ReblogURL}">Reblog</a><br><a href="{Permalink}">{NoteCountWithLabel}</a></div>
  208.  
  209. {block:Title}<h1>{Title}</h1>{/block:Title}
  210.  
  211. {block:Text}{Body}{/block:Text}
  212.  
  213. {block:Photo}
  214. {block:If2Column}
  215. <a href="{permalink}"><img src="{PhotoURL-500}" width="250"/></a>{/block:If2Column}
  216.  
  217. {block:IfNot2Column}
  218. <a href="{permalink}"><img src="{PhotoURL-500}" width="500"/></a>{/block:IfNot2Column}
  219. {/block:Photo}
  220.  
  221. {block:Photoset}
  222.  
  223. {block:If2Column}
  224. {Photoset-250}
  225. {/block:If2Column}
  226.  
  227. {block:IfNot2Column}
  228. {Photoset-500}
  229. {/block:IfNot2Column}
  230.  
  231. {/block:Photoset}
  232.  
  233.  
  234. {block:Quote}
  235. {Quote}
  236. <div align="right">
  237. {block:Source}-{Source}{/block:Source}
  238. </div>
  239. {/block:Quote}
  240.  
  241.  
  242. {block:Video}
  243. {block:If2Column}
  244. {Video-250}
  245. {/block:If2Column}
  246.  
  247. {block:IfNot2Column}
  248. {Video-500}
  249. {/block:IfNot2Column}<br>
  250. {PlayCountWithLabel}
  251. {/block:Video}
  252.  
  253.  
  254. {block:Link}
  255. <h1><a href="{URL}" class="link" {Target}>{Name}</a></h1>
  256. {block:Description}{Description}{/block:Description}
  257. {/block:Link}
  258.  
  259. {block:Chat}
  260. {block:Lines}
  261. {block:Label}
  262. <br>{Label}
  263. {/block:Label}
  264. &nbsp;{Line}
  265. {/block:Lines}
  266. {/block:Chat}
  267.  
  268. {block:Audio}
  269. {AudioPlayerGrey}
  270. <br><div align="right">{block:Artist}
  271. Artist: {Artist}</div>
  272. {/block:Artist}<br>
  273. {block:Caption}{Caption}{/block:Caption}
  274. {/block:Audio}
  275.  
  276.  
  277. {block:Answer}
  278. {Asker} asked <b>{Question}</b><Br>
  279. {Answer}
  280. {/block:Answer}
  281.  
  282. {block:PermalinkPage}
  283. {block:Caption}
  284. {Caption}
  285. {/block:Caption}
  286. <br>
  287. {block:NoteCount}
  288. {NoteCount} notes
  289. {/block:NoteCount}
  290. <Br>
  291. {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
  292. {/block:PermalinkPage}
  293. </div>
  294.  
  295. {/block:Posts}
  296.  
  297. </div>
  298. <!--Pagination-->
  299. <div class="pagination">
  300. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">previous</a> &middot;{/block:PreviousPage} {block:NextPage}<a href="{NextPage}" id="next">next</a>{/block:NextPage}{/block:Pagination}
  301. </div>
  302.  
  303. <!--You can delete this because this is a base code or replace it with yours x-->
  304. <div style="bottom:5px;left:10px;position:fixed;font-size:8px;"><a href="http://repealinq.tumblr.com" title="Base code by repealinq on tumblr">CREDIT</a></div>
  305. </body>
  306. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement