Advertisement
urbanbutts

theme 08

Nov 20th, 2013
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.84 KB | None | 0 0
  1. <!--
  2.  
  3. ~*~ theme by joanvvatsons base code by 13cameras~*~
  4.  
  5. be a decent human being, keep the credit intact!!
  6. -->
  7.  
  8. <head>
  9.  
  10. <title>{title}</title>
  11. <link rel="shortcut icon" href="{image:Favicon}"/>
  12. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  13. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  14.  
  15. <!-- C O L O U R -->
  16.  
  17. <meta name="color:background" content="#ffffff"/>
  18. <meta name="color:text" content="#000000"/>
  19. <meta name="color:link" content="#b8b8b8"/>
  20. <meta name="color:link hover" content="#f2f2f2"/>
  21.  
  22. <!---T E X T --->
  23.  
  24. <meta name="text:Link 1 URL" content="" />
  25. <meta name="text:Link 1 Title" content="" />
  26. <meta name="text:Link 2 URL" content="" />
  27. <meta name="text:Link 2 Title" content="" />
  28. <meta name="text:Link 3 URL" content="" />
  29. <meta name="text:Link 3 Title" content="" />
  30. <meta name="text:Link 4 URL" content="" />
  31. <meta name="text:Link 4 Title" content="" />
  32.  
  33.  
  34. <!-- I M A G E -->
  35.  
  36. <meta name="image:sidebar" content=""/>
  37. <meta name="image:favicon" content=""/>
  38.  
  39. <!-- IF -->
  40.  
  41. <meta name="if:Show Caption" content="1" />
  42. <meta name="if:Show Tags" content="1" />
  43. <meta name="if:custom cursor" content="1" />
  44. <meta name="if:Show Link 1" content="1" />
  45. <meta name="if:Show Link 2" content="1" />
  46. <meta name="if:Show Link 3" content="1" />
  47. <meta name="if:Show Link 4" content="1" />
  48. <meta name="if:Show Link 5" content="1" />
  49.  
  50.  
  51.  
  52. <style type="text/css">
  53.  
  54. /*- C U R S O R -*/
  55.  
  56. {block:ifcustomcursor}*, body, a, a:hover {cursor: url(http://media.tumblr.com/tumblr_m2umkqvNUT1qfamg6.gif), auto;}{/block:ifcustomcursor}
  57.  
  58. /*- S C R O L L B A R -*/
  59.  
  60.  
  61. ::-webkit-scrollbar-thumb{
  62. background-color: #a8a8a8;
  63. width:5px;
  64. height:auto;
  65. }
  66.  
  67. ::-webkit-scrollbar {
  68. height:7px;
  69. width:5px;
  70. background-color: #a8a8a8;
  71. border: 2px solid #fff;
  72. }
  73.  
  74. /*---CREDIT---*/
  75. #cred {
  76. position:fixed;
  77. color:{color:Font};
  78. bottom:15px;
  79. right:15px;
  80. font-size:8px;
  81. padding:5px;
  82. text-transform:uppercase;
  83. border:1px solid; padding: 2px 3px 2px 3px;
  84. border-color: #b8b8b8
  85. }
  86.  
  87.  
  88.  
  89. body{
  90. color:{color:Text};
  91. font-family:verdana;
  92. font-size:10px;
  93. background-color:{color:Background};
  94. }
  95.  
  96. #post{
  97.  
  98. width:890px;
  99. margin-left:420px;
  100. margin-right:auto;
  101. background-color:#fff;
  102. padding:4px;
  103. }
  104.  
  105. a {
  106. color:{color:Link}
  107. }
  108.  
  109. a {
  110. text-decoration:none;
  111. -webkit-transition:all 0.5s ease-in-out;
  112. -moz-transition:all 0.5s ease-in-out;
  113. -o-transition:all 0.5s ease-in-out;
  114. -ms-transition:all 0.5s ease-in-out;
  115. -transition:all 0.5s ease-in-out;
  116. }
  117.  
  118. a:hover{color:{color:Link Hover};}
  119.  
  120. .entry{
  121. padding:2px;
  122. background-color:#fff;
  123. width:400px;
  124. float:left;
  125. margin:5px;
  126. }
  127.  
  128. .entry .perma{
  129. background:#fff;
  130. padding:6px;
  131. text-align:center;
  132. border-radius:5px;
  133. margin-top:3px;
  134. margin-left:-30px;
  135. position:absolute;
  136. opacity:0.0;
  137. -webkit-transition: opacity 0.5s linear;
  138. -webkit-transition: all 0.5s linear;
  139. -moz-transition: all 0.5s linear;
  140. }
  141.  
  142. .entry:hover .perma{opacity:.9;margin-left:4px; -webkit-transition: opacity 0.5s linear;
  143. -webkit-transition: all 0.5s linear;
  144. -moz-transition: all 0.5s linear;}
  145.  
  146. #sidebar{
  147. background-color:#fff;
  148. width:210px;
  149. margin-top:150px;
  150. margin-left:100px;
  151. position:fixed;
  152. padding:3px;
  153. text-align:center;
  154. float:center;
  155. }
  156.  
  157. #sidebar img{width:200px;height:auto;padding:5px;}
  158.  
  159. .pagination {
  160. display: none;
  161. }
  162. {CustomCSS]</style>
  163.  
  164. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  165.  
  166. <script src="http://static.tumblr.com/6hsqxdt/vmwm2rb4g/infinitescrolling.js"></script><script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
  167.  
  168. <script>
  169. $(function(){
  170. var $container = $('#post');
  171. $container.imagesLoaded(function(){
  172. $container.masonry({
  173. itemSelector: '.entry',
  174. });
  175. });
  176. $container.infinitescroll({
  177. itemSelector : ".entry",
  178. navSelector : "div.pagination",
  179. nextSelector : ".pagination a#next",
  180. loadingImg : "",
  181. loadingText : "<em></em>",
  182. bufferPx : 10000,
  183. extraScrollPx: 12000,
  184. },
  185. // trigger Masonry as a callback
  186. function( newElements ) {
  187. var $newElems = $( newElements ).css({ opacity: 0 });
  188. // ensure that images load before adding to masonry layout
  189. $newElems.imagesLoaded(function(){
  190. $newElems.animate({ opacity: 1 });
  191. $container.masonry( 'appended', $newElems, true );
  192. });
  193. }
  194. );
  195. });
  196. </script>
  197.  
  198. </head>
  199. <body>
  200.  
  201. <div id="sidebar">
  202.  
  203. <img src="{image:Sidebar}">
  204. <br>
  205. <div class="links">
  206.  
  207. {block:IfShowLink1}
  208. <a href="{text:link 1 url}">{text:link 1 title}</a> ·
  209. {/block:IfShowLink1}
  210. {block:IfShowLink2}
  211. <a href="{text:link 2 url}">{text:link 2 title}</a> ·
  212. {/block:IfShowLink2}
  213. {block:IfShowLink3}
  214. <a href="{text:link 3 url}">{text:link 3 title}</a> ·
  215. {/block:IfShowLink3}
  216. {block:IfShowLink4}
  217. <a href="{text:link 4 url}">{text:link 4 title}</a>
  218. {/block:IfShowLink4}
  219. </div>
  220. <center>{description}</center><br><br>
  221.  
  222. </div></div><!--Sidebar End-->
  223.  
  224. <div id="post">
  225. {block:Posts}
  226. <div class="entry">
  227.  
  228. <div class="perma"><a href="{ReblogURL}">Reblog</a><br><a href="{Permalink}">{NoteCountWithLabel}</a></div>
  229.  
  230. {block:Title}<h1>{Title}</h1>{/block:Title}
  231.  
  232. {block:Text}{Body}{/block:Text}
  233.  
  234. {block:Photo}
  235. <a href="{permalink}"><img src="{PhotoURL-500}" width="250"/></a>
  236.  
  237. {/block:Photo}
  238.  
  239. {block:Photoset}
  240.  
  241. {Photoset-250}
  242.  
  243.  
  244. {/block:Photoset}
  245.  
  246.  
  247. {block:Quote}
  248. {Quote}
  249. <div align="right">
  250. {block:Source}-{Source}{/block:Source}
  251. </div>
  252. {/block:Quote}
  253.  
  254.  
  255. {block:Video}
  256.  
  257. {Video-250}
  258. <br>
  259. {PlayCountWithLabel}
  260. {/block:Video}
  261.  
  262.  
  263. {block:Link}
  264. <h1><a href="{URL}" class="link" {Target}>{Name}</a></h1>
  265. {block:Description}{Description}{/block:Description}
  266. {/block:Link}
  267.  
  268. {block:Chat}
  269. {block:Lines}
  270. {block:Label}
  271. <br>{Label}
  272. {/block:Label}
  273. &nbsp;{Line}
  274. {/block:Lines}
  275. {/block:Chat}
  276.  
  277. {block:Audio}
  278. {AudioPlayerGrey}
  279. <br><div align="right">{block:Artist}
  280. Artist: {Artist}</div>
  281. {/block:Artist}<br>
  282. {block:Caption}{Caption}{/block:Caption}
  283. {/block:Audio}
  284.  
  285.  
  286. {block:Answer}
  287. {Asker} asked <b>{Question}</b><Br>
  288. {Answer}
  289. {/block:Answer}
  290.  
  291. {block:PermalinkPage}
  292. {block:Caption}
  293. {Caption}
  294. {/block:Caption}
  295. <br>
  296. {block:NoteCount}
  297. {NoteCount} notes
  298. {/block:NoteCount}
  299. <Br>
  300. {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
  301. {/block:PermalinkPage}
  302. </div>
  303.  
  304. {/block:Posts}
  305.  
  306. </div>
  307. <div class="pagination">
  308. {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}
  309. </div>
  310.  
  311. <!---CREDIT--->
  312. <div id="cred">
  313. <a title="joanvvatsons"href="http://joanvvatsons.tumblr.com/">THEME</a>
  314. </div>
  315. </div>
  316. </body>
  317. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement