Carolaine_Vieira

#02

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