Advertisement
nicolelle

Theme 20 w/ Infinite Scroll

Apr 3rd, 2013
3,231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.15 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <!--
  5. THEME MADE BY THEMES-BY-MOI.TUMBLR.COM
  6. DO NOT REMOVE CREDIT OR YOU WILL BE REPORTED!!!!!
  7.  
  8.  
  9. 00 00 00 00 0000 00 000000 00 00 000000 0 0
  10. 0000 00 00 00 00 000 00 00 00 00 00 00 0 0
  11. 00 00 00 00 00 00 0 00 00 0000 00 00 0000 0 0
  12. 00 0000 00 00 00 0 00 00 00 00 00 00 0 0
  13. 00 000 00 00 00 00 000 00 00 00 00 00 0 0
  14. 00 00 00 00 0000 000000 000000 000000 000000 000000 000000
  15.  
  16.  
  17. THEME MADE BY THEMES-BY-MOI.TUMBLR.COM
  18. -->
  19.  
  20. <head>
  21. <link href='http://fonts.googleapis.com/css?family=Carme' rel='stylesheet' type='text/css'>
  22. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  23.  
  24. <script src="/path/to/jquery.masonry.min.js"></script>
  25. <script>
  26. $(document).ready(function(){
  27. $("div#click").click(function(){
  28. $("div#click").hide();
  29. $("div#click2").show();
  30. $("div#desc").fadeIn();
  31. });
  32. $("div#click2").click(function() {
  33. $("div#click2").hide();
  34. $("div#click").show();
  35. $("div#desc").fadeOut();
  36. });
  37. });
  38. </script>
  39. <meta name="image:sidebar" content="http://img837.imageshack.us/img837/1940/tumblrli6h1vp9r81qgbwyc.jpg"/>
  40. <meta name="color:text" content="#000000"/>
  41. <meta name="color:post bg" content="#F2F2E9"/>
  42. <meta name="text:link 1 url" content=""/>
  43. <meta name="text:link 1 title" content=""/>
  44. <meta name="text:link 2 url" content=""/>
  45. <meta name="text:link 2 title" content=""/>
  46. <meta name="text:link 3 url" content=""/>
  47. <meta name="text:link 3 title" content=""/>
  48. <meta name="color:sidebar background" content="#FAEEE8"/>
  49. <meta name="image:background" content=""/>
  50. <meta name="color:background" content="#ffffff"/>
  51. <title>{Title}</title>
  52. <link rel="shortcut icon" href="{Favicon}"/>
  53. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  54. {block:Description} <meta name="description" content="{MetaDescription}"/> {/block:Description}
  55.  
  56. <style type="text/css">
  57.  
  58. iframe#tumblr_controls {
  59. top: 0% !important;
  60. right:0% !important;
  61. position: fixed !important;
  62. }
  63. body {
  64. font-family: carme;
  65. background: url({image:background}) fixed {color:background};
  66. font-size: 12px;
  67. color: {color:text};
  68. }
  69. a, a:visited, a:active {
  70. text-decoration: underline;
  71. color: {color:text};
  72. }
  73. a:hover {
  74. text-decoration: none;
  75. }
  76. #posts {
  77. width: 1230px;
  78. margin-top:20px;
  79. }
  80. .posts {
  81. width: 250px;
  82. overflow: hidden;
  83. padding: 20px;
  84. margin-left: 15px;
  85. float: left;
  86. margin-bottom: 15px;
  87. overflow: hidden;
  88. background: {color:post bg};
  89. border: 1px solid #A6A6A2;
  90. }
  91. .postss {
  92. width: 250px;
  93. overflow: hidden;
  94. padding: 20px;
  95. margin-left: 15px;
  96. float: left;
  97. margin-bottom: 15px;
  98. overflow: hidden;
  99. background: {color:post bg};
  100. border: 1px solid #A6A6A2;
  101. }
  102. .postss img {
  103. z-index: 9;
  104. }
  105.  
  106. #click {
  107. text-align: center;
  108. margin-left: 0px;
  109. width: 26px;
  110. height: 20px;
  111. position:absolute;
  112. margin-top: -40px;
  113. z-index: 999999999;
  114. opacity: 1;
  115. font-size: 40px;
  116. font-family: arial;
  117. }
  118. #click2 {
  119. text-align: center;
  120. margin-left: 0px;
  121. width: 26px;
  122. height: 20px;
  123. position:absolute;
  124. margin-top: -43px;
  125. z-index: 9999999;
  126. display:none;
  127. opacity: 1;
  128. font-size: 40px;
  129. font-family: arial;
  130. }
  131. .postss #clickbg {
  132. width: 30px;
  133. background: white;
  134. margin-left: 0px;
  135. position: absolute;
  136. margin-top: -31px;
  137. border-radius: 0px 10px 0px 0px;
  138. -o-border-radius: 0px 10px 0px 0px;
  139. -moz-border-radius: 0px 10px 0px 0px;
  140. -webkit-border-radius: 0px 10px 0px 0px;
  141. height:28px;
  142. opacity:0.4;
  143. }
  144. #desc {
  145. text-align: center;
  146. width:220px;
  147. opacity: 0.9;
  148. display: none;
  149. position: absolute;
  150. margin-top: 10px;
  151. margin-left: 10px;
  152. background: {color:post bg};
  153. padding: 5px;
  154.  
  155. }
  156. .posts:hover .cercle {
  157. right: 60px;
  158. opacity:0.85;
  159. }
  160. .posts:hover .cercle2 {
  161. right:25px;
  162. opacity:0.85;
  163. }
  164. .posts .cercle:hover {
  165. opacity:0.95;
  166. }
  167. .posts .cercle2:hover {
  168. opacity:0.95;
  169. }
  170. .posts .cercle {
  171. background: #9e9e9e;
  172. border: 1px solid #828282;
  173. height:18px;
  174. width:auto;
  175. padding-left:5px;
  176. padding-right:5px;
  177. position:absolute;
  178. right: 30px;
  179. margin-top:5px;
  180. border-radius: 5px;
  181. -o-border-radius: 5px;
  182. -moz-border-radius: 5px;
  183. text-align: center;
  184. font-family: arial;
  185. font-weight: bold;
  186. color: white;
  187. line-height: 18px;
  188. opacity: 0;
  189. -webkit-border-radius: 5px;
  190. transition:0.5s;
  191. -o-transition:0.5s;
  192. -moz-transition:0.5s;
  193. -webkit-transition:0.5s;
  194. }
  195. .posts .cercle2 {
  196. background: #9e9e9e;
  197. border: 1px solid #828282;
  198. height:18px;
  199. width:auto;
  200. padding-left:5px;
  201. padding-right:5px;
  202. transition:0.5s;
  203. -o-transition:0.5s;
  204. -moz-transition:0.5s;
  205. -webkit-transition:0.5s;
  206. position:absolute;
  207. right: -5px;
  208. margin-top:5px;
  209. border-radius: 5px;
  210. -o-border-radius: 5px;
  211. -moz-border-radius: 5px;
  212. text-align: center;
  213. font-family: arial;
  214. font-weight: bold;
  215. color: white;
  216. line-height: 18px;
  217. opacity: 0;
  218. -webkit-border-radius: 5px;
  219. }
  220.  
  221. {CustomCSS}
  222. </style>
  223.  
  224. {block:IndexPage}
  225. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  226. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  227.  
  228. <script type="text/javascript">
  229. $(window).load(function () {
  230. var $content = $('#posts');
  231. $content.masonry({itemSelector: '.posts,.postss'}),
  232. $content.infinitescroll({
  233. navSelector : 'div#pagination',
  234. nextSelector : 'div#pagination a#nextPage',
  235. itemSelector : '.posts',
  236. loading: {
  237. finishedMsg: '',
  238. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  239. },
  240. bufferPx : 600,
  241. debug : false,
  242. },
  243. // call masonry as a callback.
  244. function( newElements ) {
  245. var $newElems = $( newElements );
  246. $newElems.hide();
  247. // ensure that images load before adding to masonry layout
  248. $newElems.imagesLoaded(function(){
  249. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn
  250.  
  251. (300);} );
  252.  
  253.  
  254. });
  255. });
  256. });
  257. </script>
  258. {/block:IndexPage}
  259.  
  260. </head>
  261. <body>
  262.  
  263.  
  264. {block:IndexPage}
  265. {block:Pagination}
  266. <div id="pagination">
  267. {block:NextPage}
  268. <a id="nextPage" href="{NextPage}"></a>
  269. {/block:NextPage}
  270. {block:PreviousPage}
  271. <a href="{PreviousPage}"></a>
  272. {/block:PreviousPage}
  273. </div>
  274. {/block:Pagination}
  275. {/block:IndexPage}
  276.  
  277. <div id="posts">
  278. <div class="postss" style="background:{color:sidebar background};">
  279. <div id="desc">
  280. <big><big><b>{Title}</b></big></big><br>
  281. {Description}<br><br>
  282. <a href="/">home</a> - <a href="/ask">ask</a> - {block:IfLink1Url}<a href="{text:link 1 url}">{text:link 1 title}</a> - {/block:IfLink1Url}{block:IfLink2Url}<a href="{text:link 2 url}">{text:link 2 title}</a> - {/block:IfLink2Url}{block:IfLink3Url}<a href="{text:link 3 url}">{text:link3 title}</a> - {/block:IfLink3Url}<a href="//themes-by-moi.tumblr.com">theme</a>
  283. </div>
  284. <img src="{image:sidebar}" width="250"/><br>
  285. <div id="click">
  286. <b>+</b>
  287. </div><div id="click2"><b>-</b></div><div id="clickbg"></div>
  288. </div>
  289.  
  290.  
  291.  
  292. {block:Posts}
  293. <div class="postsi">
  294. <div class="posts">
  295.  
  296. {block:Text}
  297. <big><big><b><center>{Title}</center></b></big></big>
  298. {Body}
  299. {block:IndexPage}
  300. <hr align="right">
  301. <div align="right"><small><a href="{Permalink}">{NoteCountWithLabel}</a> - <a href="{ReblogURL}">Reblog</a></small></div>
  302. {/block:IndexPage}
  303. {/block:Text}
  304.  
  305. {block:Photo}
  306. {block:IndexPage}
  307. <a href="{Permalink}" style="opacity:1;">
  308. <div class="cercle">
  309. {NoteCount}
  310. </div>
  311. </a>
  312. <a href="{ReblogURL}" style="opacity:1;">
  313. <div class="cercle2">
  314. <img src="http://static.tumblr.com/fj8ewuq/ILEmk9swf/reblog.png" height="18"/>
  315. </div>
  316. </a>
  317. {/block:IndexPage}
  318. {LinkOpenTag}<img src="{PhotoURL-250}" width="250" alt="{PhotoAlt}"/>{LinkCloseTag}
  319. {/block:Photo}
  320.  
  321. {block:Photoset}
  322. {Photoset-250}
  323. {/block:Photoset}
  324.  
  325. {block:link}
  326. <big><big><b><center><a href="{URL}">{Name}</a></center></b></big></big>
  327. {Description}
  328. {block:IndexPage}
  329. <hr align="right">
  330. <div align="right"><small><a href="{Permalink}">{NoteCountWithLabel}</a> - <a href="{ReblogURL}">Reblog</a></small></div>
  331. {/block:IndexPage}
  332. {/block:link}
  333.  
  334. {block:Quote}
  335. <big><b>"{Quote}"</b></big>
  336. <center>- {Source}</center>
  337. {block:IndexPage}
  338. <hr align="right">
  339. <div align="right"><small><a href="{Permalink}">{NoteCountWithLabel}</a> - <a href="{ReblogURL}">Reblog</a></small></div>
  340. {/block:IndexPage}
  341. {/block:Quote}
  342.  
  343. {block:Chat}
  344. {block:Title}
  345. <center><big><big><b>{Title}</b></big></big></center>
  346. {/block:Title}
  347. {block:Lines}
  348. {block:Label}<b>{Label} </b>{/block:Label}{Line}<br>
  349. {/block:Lines}
  350. {block:IndexPage}
  351. <hr align="right">
  352. <div align="right"><small><a href="{Permalink}">{NoteCountWithLabel}</a> - <a href="{ReblogURL}">Reblog</a></small></div>
  353. {/block:IndexPage}
  354. {/block:Chat}
  355.  
  356. {block:Audio}
  357. <center>{AudioPlayerBlack}</center>
  358. {block:IndexPage}
  359. <hr align="right">
  360. <div align="right"><small><a href="{Permalink}">{NoteCountWithLabel}</a> - <a href="{ReblogURL}">Reblog</a></small></div>
  361. {/block:IndexPage}
  362. {/block:Audio}
  363.  
  364. {block:Video}
  365. {Video-250}
  366. {block:IndexPage}
  367. <hr align="right">
  368. <div align="right"><small><a href="{Permalink}">{NoteCountWithLabel}</a> - <a href="{ReblogURL}">Reblog</a></small></div>
  369. {/block:IndexPage}
  370. {/block:Video}
  371.  
  372. {block:Answer}
  373. <b><u>{Asker}</u> {Question}</b>
  374. {Answer}
  375. {block:IndexPage}
  376. <hr align="right">
  377. <div align="right"><small><a href="{Permalink}">{NoteCountWithLabel}</a> - <a href="{ReblogURL}">Reblog</a></small></div>
  378. {/block:IndexPage}
  379. {/block:Answer}
  380.  
  381.  
  382. {block:PermalinkPage}
  383. {Caption}
  384. {/block:PermalinkPage}
  385.  
  386. </div>
  387.  
  388. {block:PermalinkPage}
  389. <div class="posts">
  390. <center>Posted {TimeAgo}
  391. {block:RebloggedFrom}<br>
  392. Reblogged from <a href="{ReblogParentURL}" title="{ReblogParentTitle}">{ReblogParentName}</a><br>
  393. Originally Posted by <a href="{ReblogRootURL}" title="{ReblogRootTitle}">{ReblogRootName}</a>{/block:RebloggedFrom}<br>
  394. {NoteCountWithLabel}<br><br></center>
  395. {PostNotes}
  396. {/block:RebloggedFrom}
  397.  
  398.  
  399. </div>
  400. {/block:PermalinkPage}
  401.  
  402.  
  403.  
  404. {/block:Posts}</div>
  405. </div>
  406.  
  407. <br><br>
  408. <center>
  409.  
  410. </center>
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417. </body>
  418. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement