Advertisement
urbanbutts

the very first theme

Aug 24th, 2013
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.56 KB | None | 0 0
  1. <!--
  2.  
  3. ~*~Base Code provide by tumblr user 13cameras and edited by joanvvatsons~*~
  4. -->
  5.  
  6. <head>
  7.  
  8. <title>{title}</title>
  9. <link rel="shortcut icon" href="{image:Favicon}" />
  10. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  11. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  12. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  13.  
  14.  
  15. <meta name="color:Background" content="#ffffff"/>
  16. <meta name="color:Text" content="#000000"/>
  17. <meta name="color:Link" content="#555555"/>
  18. <meta name="color:Link Hover" content="#cccccc"/>
  19. <meta name="if:2 Column" content="0"/>
  20. <meta name="image:Sidebar" content="http://25.media.tumblr.com/tumblr_mdv068H9Tl1qlt206o2_250.png"/>
  21. <meta name="color:Scrollbar" content="" />
  22. <meta name="color:Scrollbar BG" content="" />
  23. <meta name="color:Scrollbar Border" content="" />
  24. <meta name="if:Show Tags" content="1" />
  25. <meta name="if:Cute Cursor" content="1" />
  26. <meta name="if:Rounded Scrollbar" content="1" />
  27.  
  28. <meta name="image:Background" content="" />
  29. <meta name="image:Sidebar" content="" />
  30. <meta name="image:Favicon" content="" />
  31. <meta name="image:Back to Top Button" content="" />
  32.  
  33.  
  34.  
  35. <style type="text/css">
  36.  
  37. @font-face {font-family:"bitxmap"; src: url("http://static.tumblr.com/ofgksh6/md0mkd9yd/bitxmap_font_tfb.ttf")}
  38.  
  39. body{
  40. color:{color:Text};
  41. font-family:bitxmap;
  42. font-size:10px;
  43. background-color:{color:Background};
  44. }
  45. ::-webkit-scrollbar {
  46. width: 10px;
  47. height: 4px;
  48. background: {color:Scrollbar BG};
  49. }
  50.  
  51. ::-webkit-scrollbar-thumb {
  52. border: 1px solid {color:Scrollbar Border};
  53. background-color: {color:Scrollbar};
  54. {block:ifroundedscrollbar}-webkit-border-radius: 1ex;{/block:ifroundedscrollbar}
  55. }
  56.  
  57. body {
  58. background: {color:Background} url('{image:Background}') top left fixed repeat;
  59. margin: 10;
  60. padding: 10;
  61. font-family: bitxmap;
  62. }
  63.  
  64. #wrapper #content #navigation.jump_pagination {}
  65.  
  66. #wrapper #content #navigation.jump_pagination a {
  67. margin: 0 0 0 4px;
  68. }
  69.  
  70. #wrapper #content #navigation.jump_pagination .current_page {
  71. color: #fff;
  72. background-color: rgba(255,255,255, 0.1);
  73. border: 2px solid #fff;
  74. padding: 3px 8px;
  75. margin: 0 0 0 4px;
  76. cursor: default;
  77. }
  78.  
  79. #wrapper #content #navigation.jump_pagination .jump_page {}
  80.  
  81. {block:ifcutecursor}html, body, a { cursor:url("http://i.imgur.com/2qleX.jpg"), auto; }
  82.  
  83. a:hover{cursor:url("http://i.imgur.com/IepP2.jpg"), auto; }{/block:ifcutecursor}
  84.  
  85.  
  86. #post{
  87. {block:If2Column}
  88. width:600px;{/block:If2Column}
  89. {block:IfNot2Column}width:508px;{block:IfNot2Column}
  90. margin-left:auto;
  91. margin-right:auto;
  92. background-color:#fff;
  93. padding:5px;
  94. }
  95.  
  96. a{color:{color:Link};text-decoration:none;} a:hover{color:{color:Link Hover};}
  97.  
  98. .entry{
  99. padding:10px;
  100. background-color:{color:Background};
  101. {block:If2Column}width:250px;{block:If2Column}
  102. {block:IfNot2Column}width:500px;{block:IfNot2Column}
  103. float:left;
  104. margin:10px;
  105. margin-left:80px
  106. }
  107.  
  108. .entry .perma{
  109. background:#fff;
  110. padding:5px;
  111. text-align:center;
  112. border-radius:5px;
  113. margin-top:3px;
  114. margin-left:-30px;
  115. position:absolute;
  116. opacity:0.0;
  117. -webkit-transition: opacity 0.5s linear;
  118. -webkit-transition: all 0.5s linear;
  119. -moz-transition: all 0.5s linear;
  120. }
  121.  
  122. .entry:hover .perma{opacity:.7;margin-left:5px; -webkit-transition: opacity 0.5s linear;
  123. -webkit-transition: all 0.5s linear;
  124. -moz-transition: all 0.5s linear;}
  125.  
  126. #sidebar{
  127. background-color:{color:Background};
  128. width:200px;
  129. margin-top:150px;
  130. margin-left:150px;
  131. position:fixed;
  132. padding:3px;
  133. text-align:center;
  134. float:center;
  135. }
  136.  
  137. #sidebar img{border:0px solid #000;width:170px;height:auto;padding:5px;}
  138.  
  139. .pagination {
  140. {block:ifinfinitescroll}</div>{/block:ifinfinitescroll}
  141. {block:ifpagination}<center>{block:Pagination}
  142. {block:PreviousPage}<a href="{PreviousPage}" title="previous page" class="jump_page">←</a>{/block:PreviousPage}{block:JumpPagination length="5"}
  143. {block:CurrentPage}<span class="current_page">{PageNumber}</span>{/block:CurrentPage}
  144. {block:JumpPage}<a class="jump_page" href="{URL}" title="page {PageNumber}">{PageNumber}</a>{/block:JumpPage}{/block:JumpPagination}
  145. {block:NextPage}<a href="{NextPage}" title="next page" class="jump_page">→</a>{/block:NextPage}
  146. {/block:Pagination}</center><br><br>{/block:ifpagination}
  147. }
  148. {CustomCSS]</style>
  149.  
  150. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  151.  
  152. <script src="http://static.tumblr.com/6hsqxdt/vmwm2rb4g/infinitescrolling.js"></script><script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
  153.  
  154. <script>
  155. $(function(){
  156. var $container = $('#post');
  157. $container.imagesLoaded(function(){
  158. $container.masonry({
  159. itemSelector: '.entry',
  160. });
  161. });
  162. $container.infinitescroll({
  163. itemSelector : ".entry",
  164. navSelector : "div.pagination",
  165. nextSelector : ".pagination a#next",
  166. loadingImg : "",
  167. loadingText : "<em></em>",
  168. bufferPx : 10000,
  169. extraScrollPx: 12000,
  170. },
  171. // trigger Masonry as a callback
  172. function( newElements ) {
  173. var $newElems = $( newElements ).css({ opacity: 0 });
  174. // ensure that images load before adding to masonry layout
  175. $newElems.imagesLoaded(function(){
  176. $newElems.animate({ opacity: 1 });
  177. $container.masonry( 'appended', $newElems, true );
  178. });
  179. }
  180. );
  181. });
  182. </script>
  183.  
  184. <a title="back to top" href="#" style="position: fixed; bottom: 20px; right: 20px;"><img src="{image:Back to Top Button}"></a>
  185.  
  186. </head>
  187. <body>
  188.  
  189. <div id="sidebar">
  190.  
  191. <img src="{image:Sidebar}">
  192. <br>
  193. {description}<br><br>
  194. <a href="/">home</a> ✿ <a href="/ask">ask </a> ✿ <a href="/links">links </a> ✿ <a href="http://www.joanvvatsons.tumblr.com">theme </a> </div></div><!--Sidebar End-->
  195.  
  196. <div id="post">
  197. {block:Posts}
  198. <div class="entry">
  199.  
  200. <div class="perma"><a href="{ReblogURL}">Reblog</a><br><a href="{Permalink}">{NoteCountWithLabel}</a></div>
  201.  
  202. {block:Title}<h1>{Title}</h1>{/block:Title}
  203.  
  204. {block:Text}{Body}{/block:Text}
  205.  
  206. {block:Photo}
  207. {block:If2Column}
  208. <a href="{permalink}"><img src="{PhotoURL-500}" width="250"/></a>{/block:If2Column}
  209.  
  210. {block:IfNot2Column}
  211. <a href="{permalink}"><img src="{PhotoURL-500}" width="500"/></a>{/block:IfNot2Column}
  212. {/block:Photo}
  213.  
  214. {block:Photoset}
  215.  
  216. {block:If2Column}
  217. {Photoset-250}
  218. {/block:If2Column}
  219.  
  220. {block:IfNot2Column}
  221. {Photoset-500}
  222. {/block:IfNot2Column}
  223.  
  224. {/block:Photoset}
  225.  
  226.  
  227. {block:Quote}
  228. {Quote}
  229. <div align="right">
  230. {block:Source}-{Source}{/block:Source}
  231. </div>
  232. {/block:Quote}
  233.  
  234.  
  235. {block:Video}
  236. {block:If2Column}
  237. {Video-250}
  238. {/block:If2Column}
  239.  
  240. {block:IfNot2Column}
  241. {Video-500}
  242. {/block:IfNot2Column}<br>
  243. {PlayCountWithLabel}
  244. {/block:Video}
  245.  
  246.  
  247. {block:Link}
  248. <h1><a href="{URL}" class="link" {Target}>{Name}</a></h1>
  249. {block:Description}{Description}{/block:Description}
  250. {/block:Link}
  251.  
  252. {block:Chat}
  253. {block:Lines}
  254. {block:Label}
  255. <br>{Label}
  256. {/block:Label}
  257. &nbsp;{Line}
  258. {/block:Lines}
  259. {/block:Chat}
  260.  
  261. {block:Audio}
  262. {AudioPlayerGrey}
  263. <br><div align="right">{block:Artist}
  264. Artist: {Artist}</div>
  265. {/block:Artist}<br>
  266. {block:Caption}{Caption}{/block:Caption}
  267. {/block:Audio}
  268.  
  269.  
  270. {block:Answer}
  271. {Asker} whispered: <b>{Question}</b><Br>
  272. {Answer}
  273. {/block:Answer}
  274.  
  275. {block:PermalinkPage}
  276. {block:Caption}
  277. {Caption}
  278. {/block:Caption}
  279. <br>
  280. {block:NoteCount}
  281. {NoteCount} notes
  282. {/block:NoteCount}
  283. <Br>
  284. {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
  285. {/block:PermalinkPage}
  286. </div>
  287.  
  288. {/block:Posts}
  289.  
  290. </div>
  291. <div class="pagination">
  292. {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}
  293. </div>
  294.  
  295.  
  296. </body>
  297. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement