Advertisement
teenageblog

Classy Theme

Jun 21st, 2013
1,291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.60 KB | None | 0 0
  1.  
  2.  
  3.  
  4. <!-----------------------------------------
  5. ╭━━━┳╮╱╱╱╱╱╱╱╱╱╱╭╮╱╭━━━━┳╮
  6. ┃╭━╮┃┃╱╱╱╱╱╱╱╱╱╱┃┃╱┃╭╮╭╮┃┃
  7. ┃┃╱╰┫╰━┳━━┳━╮╭━━┫┃╱╰╯┃┃╰┫╰━┳━━┳╮╭┳━━┳━━╮
  8. ┃┃╱╭┫╭╮┃╭╮┃╭╮┫┃━┫┃╱╱╱┃┃╱┃╭╮┃┃━┫╰╯┃┃━┫━━┫
  9. ┃╰━╯┃┃┃┃╭╮┃┃┃┃┃━┫╰╮╱╱┃┃╱┃┃┃┃┃━┫┃┃┃┃━╋━━┃
  10. ╰━━━┻╯╰┻╯╰┻╯╰┻━━┻━╯╱╱╰╯╱╰╯╰┻━━┻┻┻┻━━┻━━╯
  11.  
  12. Please keep credit (✿◠‿◠)
  13. ----------------------------------------------->
  14.  
  15. <html lang="en">
  16. <!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  17. <html xmlns="http://www.w3.org/1999/xhtml">
  18. <script type="text/javascript"
  19. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  20.  
  21. <head>
  22. <!-- DEFAULT VARIABLES -->
  23. <title>{Title}</title>
  24. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  25. <meta name="color:Background" content="#fff"/>
  26. <meta name="color:Header border" content="#000000"/>
  27. <meta name="color:Header" content="#000000"/>
  28. <meta name="color:Blogtitle" content="#ffffff"/>
  29. <meta name="color:Text" content="#000"/>
  30. <meta name="color:Description" content="#ffffff"/>
  31. <meta name="color:Link" content="#ccc"/>
  32. <meta name="color:Title" content="#000"/>
  33. <meta name="color:Hover" content="#000"/>
  34. <meta name="color:Scrollbar" content="#ccc"/>
  35. <meta name="color:Post Shadows" content="#eee">
  36.  
  37. <meta name="if:SmallCursor" content="0"/>
  38. <meta name="if:Six Columns" content="0"/>
  39. <meta name="if:Five Columns" content="1"/>
  40. <meta name="if:Title Font 1" content="1"/>
  41. <meta name="if:Title Font 2" content="0"/>
  42. <meta name="if:Border" content="0"/>
  43. <meta name="if:Dotted Borders" content="0">
  44. <meta name="if:Dashed Borders" content="0">
  45. <meta name="if:Post Shadows" content="0">
  46. <meta name="if:Topbutton" content="1"/>
  47.  
  48.  
  49. <meta name="image:Background" content="0"/>
  50.  
  51. <meta name="text:Link 1 Title" content=""/>
  52. <meta name="text:Link 1 URL" content=""/>
  53. <meta name="text:Link 2 Title" content=""/>
  54. <meta name="text:Link 2 URL" content=""/>
  55. <meta name="text:Link 3 Title" content=""/>
  56. <meta name="text:Link 3 URL" content=""/>
  57. <meta name="text:Link 4 Title" content=""/>
  58. <meta name="text:Link 4 URL" content=""/>
  59. <meta name="text:Link 5 Title" content=""/>
  60. <meta name="text:Link 5 URL" content=""/>
  61.  
  62.  
  63. <style type="text/css">
  64.  
  65. #toTop {
  66. text-align:center;
  67. padding:5px;
  68. position:fixed;
  69. bottom:10px;
  70. right:10px;
  71. cursor:pointer;
  72. display:none;
  73. color:#000;
  74. z-index: 99999999999999999999;
  75. font-size:10px;
  76. }
  77.  
  78. {block:ifsmallcursor}body, a:hover {cursor: url(http://i.imgur.com/ZOrzC.png), progress !important;} a:hover {cursor: url(http://cur.cursors-4u.net/others/oth-6/oth589.cur), progress !important;}{/block:ifsmallcursor}
  79. :-webkit-scrollbar {width: 6px; height: 4px; background: {color:Background}; }
  80.  
  81. ::-webkit-scrollbar-thumb { background-color: {color:Scrollbar};}
  82.  
  83. iframe#tumblr_controls {right:3px !important; position: fixed !important;-webkit-transition: opacity 0.7s linear;opacity: 0.2;-webkit-transition: all 0.8s ease-out;-moz-transition: all 0.8s ease-out;transition: all 0.8s ease-out;}
  84.  
  85. iframe#tumblr_controls:hover{-webkit-transition: opacity 0.7s linear;opacity: 1;-webkit-transition: all 0.4s ease-out;-moz-transition: all 0.4s ease-out;transition: all 0.4s ease-out;}
  86.  
  87.  
  88.  
  89.  
  90. @font-face { font-family: "ronda"; src: url'http://static.tumblr.com/rmj06l2/kcLlo1q2y/pf_ronda_seven.ttf'); }
  91.  
  92.  
  93. .wrapper{
  94. margin: 0px auto;
  95. margin-left: 60px;
  96. width: 1045px;
  97. }
  98.  
  99. .header{
  100. float: left;
  101. width: 100%;
  102. }
  103.  
  104. .left{
  105. float: left;
  106. margin-right: 20px;
  107. width:1045;
  108. }
  109.  
  110. .right{
  111. float: right;
  112. width: 200px;
  113. background-color: #fff;
  114. }
  115.  
  116.  
  117. body {
  118. margin:0px;
  119. background-color: {color:Background};
  120. background-image:url({image:Background});
  121. background-attachment: fixed;
  122. background-repeat: repeat;}
  123. body, div, p, textarea, submit, input{
  124. font-family: 'Ubuntu', sans-serif;
  125. font-size: 11px;
  126. line-height:14px;
  127. letter-spacing:1px;
  128. color:{color:Text};
  129. }
  130.  
  131. ::-webkit-scrollbar {width: 6px; height: 4px; background: #FFFFFF; border-left:0px solid #aaa; }
  132.  
  133. ::-webkit-scrollbar-thumb { background-color: {color:scrollbar}; border: 0px solid #eee; border-radius:40px;}
  134.  
  135.  
  136. p {
  137. margin:0px;
  138. margin-top:0px;
  139. }
  140.  
  141. a:link, a:active, a:visited{
  142. text-decoration: none;
  143. -webkit-transition: color 0.3s ease-out;
  144. -moz-transition: color 0.3s ease-out;
  145. transition: color 0.3s ease-out;
  146. color: {color:Link};
  147. }
  148.  
  149. a:hover {
  150. text-decoration: underline;
  151. font-style:;
  152. color: {color:Hover};
  153. }
  154.  
  155.  
  156.  
  157.  
  158. div#center{
  159. margin:auto;
  160. margin-top:0px;
  161. position:relative;
  162. width:1045px;
  163. background-color:;
  164. overflow:auto;
  165. overflow-y:hidden;
  166. }
  167.  
  168.  
  169.  
  170. .entry {
  171. float:left;
  172. display: block;
  173. overflow:hidden;
  174. width:100%;
  175. padding:1px;
  176. margin:4px;
  177. transition: all 0.5s ease-out;
  178. -o-transition-transition: all 0.5s ease-out;
  179. -webkit-transition: all 0.5s ease-out;
  180. -moz-transition: all 0.5s ease-out;
  181. {block:ifdottedborders}
  182. border: 1px dotted #000;
  183. {/block:ifdottedborders}
  184. {block:ifdashedborders}
  185. border: 1px dashed #000;
  186. {/block:ifdashedborders}
  187. {block:ifpostshadows}
  188. box-shadow: 1px 1px 10px {color:Post Shadows};
  189. {/block:ifpostshadows}
  190. {block:ifsixcolumns}
  191. width:210px
  192. {/block:ifsixcolumns}
  193. {block:iffivecolumns}
  194. width:250px;
  195. {/block:iffivecolumns}
  196. {block:PermalinkPage}
  197. width:520px;
  198. margin-left:0px;
  199. text-align:center;
  200. {/block:PermalinkPage}
  201. }
  202.  
  203. .stay {
  204. position: absolute;
  205. font-size:40px;
  206. padding: 5px;
  207. margin-top: 15px;
  208. margin-left: 0px;
  209. height: 30px;
  210. width: 30px;
  211. text-align: left;
  212. background-color: transparent;
  213. opacity:0;
  214. -moz-transition: all 0.4s;
  215. -webkit-transition: all 0.4s;
  216. -o-transition: all 0.4s;
  217. transition: all 0.4;}
  218.  
  219. .entry:hover .stay {
  220. -moz-transition: all 0.4s;
  221. -webkit-transition: all 0.4s;
  222. -o-transition: all 0.4s;
  223. transition: all 0.4;
  224. position:absolute;
  225. margin-top: 5px;
  226. opacity: 0.8;}
  227.  
  228. .entry:hover .stay:hover {
  229. -moz-transition: all 0.4s;
  230. -webkit-transition: all 0.4s;
  231. -o-transition: all 0.4s;
  232. transition: all 0.4;
  233. opacity: 1;}
  234.  
  235. .stay img{
  236. height: 35px;
  237. width: 35px;
  238. border-radius: 100%;
  239. border: 3px solid #dfdfdf;}
  240.  
  241. .classy {
  242. position:absolute;
  243. padding: 5px;
  244. margin-top: 15px;
  245. margin-left: 45px;
  246. opacity: 0;
  247. -moz-transition: all 0.4s;
  248. -webkit-transition: all 0.4s;
  249. -o-transition: all 0.4s;
  250. transition: all 0.4;}
  251.  
  252. .entry:hover .classy {
  253. -moz-transition: all 0.4s;
  254. -webkit-transition: all 0.4s;
  255. -o-transition: all 0.4s;
  256. transition: all 0.4;
  257. position: absolute;
  258. margin-top: 5px;
  259. opacity: 0.8;}
  260.  
  261. .entry:hover .classy:hover {
  262. -moz-transition: all 0.4s;
  263. -webkit-transition: all 0.4s;
  264. -o-transition: all 0.4s;
  265. transition: all 0.4;
  266. opacity: 1;}
  267.  
  268. .my-like{
  269. background-image: url("http://static.tumblr.com/acwedkp/nWCmncg5b/like.png") !important;
  270. height: 35px;
  271. width: 35px;
  272. border-radius: 100%;
  273. border: 3px solid #dfdfdf;}
  274.  
  275. .my-liked, .my-like:hover{
  276. background-image: url("http://static.tumblr.com/acwedkp/ZQFmncg5s/likeddd.png") !important;
  277. -moz-transition: all 0.4s;
  278. -webkit-transition: all 0.4s;
  279. -o-transition: all 0.4s;
  280. transition: all 0.4;}
  281.  
  282.  
  283. .permalinktext {
  284. display: block;
  285. padding: 5px;
  286. margin: 4px 8px 0px 8px;
  287. text-transform: uppercase;
  288. font-family: calibri;
  289. letter-spacing: 2px;
  290. font-size: 10px;
  291. color: #000000;
  292. line-height: 10px;
  293. text-align: right;
  294. text-decoration: none;
  295. -webkit-transition: color 0.5s ease-out;
  296. -moz-transition: color 0.5s ease-out;
  297. border-top: 1px solid #dcdcdc;
  298. }
  299.  
  300.  
  301.  
  302.  
  303. @font-face { font-family: "lala"; src: url('http://static.tumblr.com/vpzhdvv/6d7m90v7t/111.woff');}
  304.  
  305. .title{
  306. font-family: "Lala";
  307. font-size: 22px;
  308. line-height: 20px;
  309. color: {color:Title};
  310. text-shadow:1px 2px 2px #aaa;
  311. letter-spacing: 1px;
  312. font-weight: normal;
  313. }
  314.  
  315. .head {margin-left:0px;width: 1330px;{block:ifborder}border-bottom:2px solid {color:Header border};{/block:ifborder};padding:20px;margin-top:0px;background:{color:header};}
  316.  
  317. @font-face {font-family:"Pacifico"; src:url('http://static.tumblr.com/9wzbixa/D3Wlyw7u4/pacifico.ttf');}
  318. .blogtitle {
  319. text-align:center;
  320. color:{color:Blogtitle};
  321. {Block:IfTitleFont1}font-family: 'Pacifico' !important;{/Block:IfTitleFont1}
  322. {Block:IfTitleFont2}font-family: 'Lala' !important;{/Block:IfTitleFont2}
  323. padding-bottom:8px;
  324. font-size:50px;
  325. line-height:50px;}
  326. .desc {margin-left:255px;width:60%;text-align:center;line-height: 13px;padding-top:7px;font-size:11px;color:{color:description}}
  327. .links {font-size:12px; color:{color:Link};font-family:calibri;letter-spacing:1px;text-align:center;padding-bottom:3px;font-weight:bold;padding:2px;text-transform:uppercase;padding-right:3px;padding-left:3px;-webkit-transition: all 0.4s linear;
  328. -moz-transition: all 0.4s linear;
  329. transition: all 0.4s linear;}
  330.  
  331.  
  332. #posts {
  333. width:1400px;
  334. margin-top: 5px;
  335. margin-left: -35px;
  336. margin-right: auto;
  337. position:relative;
  338. overflow-y: hidden;
  339. }
  340.  
  341.  
  342. #infscr-loading{
  343. bottom: -70px;
  344. position: absolute;
  345. left: 50%;
  346. margin-left:-8px;
  347. width:16px;
  348. height:11px;
  349. overflow:hidden;
  350. margin-bottom: 50px;
  351. }
  352.  
  353. #postnotes{
  354. text-align: justify;
  355. }
  356.  
  357. #postnotes blockquote{
  358. border: 0px;
  359. }
  360.  
  361. blockquote{
  362. padding:0px 0px 2px 5px;
  363. margin:0px 0px 2px 1px;
  364. border-left: 1px dotted {color:Text};
  365. }
  366.  
  367. blockquote p, ul{
  368. margin:0px;
  369. padding:0px;
  370. }
  371.  
  372. a img{border: 0px;}
  373. ul, ol, li{list-style:none; margin:0px; padding:0px;}
  374. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label,
  375. .user_7 .label, .user_8 .label, .user_9 .label {color:{color:Title};}
  376. .notes img{width:10px; position:relative; top:3px;
  377. }
  378.  
  379. small{font-size: 90%;}
  380.  
  381. .video embed, .post div.video object {width:260px !important; height:180px !important;}
  382. .video2 embed, .post div.video object {width:400px !important; height:400px !important;}
  383.  
  384. {CustomCSS}
  385.  
  386. </style>
  387. <script>
  388. window.onload = function () {
  389. document.body.insertAdjacentHTML( 'beforeEnd', '<iframe id="my-like-frame" style="display:none;"></iframe>' );
  390. document.addEventListener( 'click', function ( event ) {
  391. var myLikeLink = event.target;
  392. if( myLikeLink.className.indexOf( 'my-like' ) > -1 ) {
  393. var myLikeFrame = document.getElementById( 'my-like-frame' ),
  394. liked = ( myLikeLink.className == 'my-liked' ),
  395. command = liked ? 'unlike' : 'like',
  396. reblog = myLikeLink.getAttribute( 'data-reblog' ),
  397. postId = myLikeLink.getAttribute( 'data-id' ),
  398. oauth = reblog.slice( -8 ),
  399. likeUrl = 'http://tumblr.com/' + command + '/' + oauth + '?id=' + postId;
  400. myLikeFrame.src = likeUrl;
  401. liked ? myLikeLink.className = 'my-like'
  402. : myLikeLink.className = 'my-liked';
  403. };
  404. }, false );
  405. };
  406. </script>
  407. {block:IndexPage}
  408.  
  409.  
  410. <script type='text/javascript' src='http://static.tumblr.com/m52lhg5/u9amoiddc/infinite.js'></script>
  411. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  412. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  413.  
  414. <script type="text/javascript">
  415. $(window).load(function () {
  416. var $content = $('#posts');
  417. $content.masonry({itemSelector: '.entry'}),
  418. $content.infinitescroll({
  419. navSelector : 'div#pagination',
  420. nextSelector : 'div#pagination a#nextPage',
  421. itemSelector : '.entry',
  422. loading: {
  423. finishedMsg: '',
  424. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  425. },
  426. bufferPx : 600,
  427. debug : false,
  428. },
  429. // call masonry as a callback.
  430. function( newElements ) {
  431. var $newElems = $( newElements );
  432. $newElems.hide();
  433. // ensure that images load before adding to masonry layout
  434. $newElems.imagesLoaded(function(){
  435. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );
  436.  
  437.  
  438. });
  439. });
  440. });
  441. </script>
  442. {/block:IndexPage}
  443.  
  444.  
  445. <title>{Title}</title>
  446. <link rel="shortcut icon" href="{Favicon}">
  447. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  448. <meta name="viewport" content="width=820" />
  449. </head>
  450.  
  451. <body>
  452. {block:ifTopButton}<div id="toTop"><img src="http://media.tumblr.com/tumblr_lw4i8ijjPt1r43b17.png" /></div>{/block:ifTopButton}
  453. <div class="head">
  454. <div class="blogtitle">{Title}</a></div>
  455. <div class="desc">{Description}</div>
  456. <br>
  457. <center><a href="/" class="links">home</a>&nbsp;&nbsp;&nbsp;
  458. <a href="/ask" class="links">message</a>&nbsp;&nbsp;&nbsp;
  459. <a href="/archive" class="links">archive</a>&nbsp;&nbsp;&nbsp;
  460.  
  461. {block:ifLink1Title}
  462. <a href="{text:Link 1 URL}" class="links">{text:Link 1 Title}</a>&nbsp;&nbsp;&nbsp;
  463. {/block:ifLink1Title}
  464.  
  465. {block:ifLink2Title}
  466. <a href="{text:Link 2 URL}" class="links">{text:Link 2 Title}</a>&nbsp;&nbsp;&nbsp;
  467. {/block:ifLink2Title}
  468.  
  469. {block:ifLink3Title}
  470. <a href="{text:Link 3 URL}" class="links">{text:Link 3 Title}</a>&nbsp;&nbsp;&nbsp;
  471. {/block:ifLink3Title}
  472.  
  473. {block:ifLink4Title}
  474. <a href="{text:Link 4 URL}" class="links">{text:Link 4 Title}</a>&nbsp;&nbsp;&nbsp;
  475. {/block:ifLink4Title}
  476.  
  477. {block:ifLink5Title}
  478. <a href="{text:Link 5 URL}" class="links">{text:Link 5 Title}&nbsp;&nbsp;</a>&nbsp;
  479. {/block:ifLink5Title}
  480.  
  481. <a href="http://teenageblog.tumblr.com" class="links">theme</a></center>
  482.  
  483.  
  484. </div>
  485.  
  486. <div class="wrapper">
  487. <div class="header">
  488. </div>
  489.  
  490.  
  491.  
  492. <div class="left">
  493. <div id="posts">
  494. {block:Posts}
  495. <div class="entry">
  496.  
  497. {block:Photo}
  498. {block:IndexPage}
  499. <span class="stay">
  500. <a href="{ReblogURL}" title="{text:ReblogText}"><img src="http://static.tumblr.com/acwedkp/D28mncg6m/reblogggg.png"></a></span>
  501.  
  502. <span class="classy"><div class="my-like" data-reblog="{ReblogURL}" data-id="{PostID}" title="like"></div></span>
  503.  
  504. <a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width="100%"></a>
  505.  
  506. {/block:IndexPage}
  507.  
  508. {block:PermalinkPage}
  509. <div align="center">{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}" width="500px">{LinkCloseTag}</div>
  510. {/block:PermalinkPage}
  511.  
  512. {/block:Photo}
  513.  
  514.  
  515. {block:Answer}
  516. <img src="{AskerPortraitURL-30}" width="30" align="left" style="margin-right:3px;"/>
  517. <strong>{Asker}: {Question}</strong>
  518. <div class="caption">
  519. {Answer}</div>
  520. {block:IndexPage}<a href="{permalink}"><div align="right"><div style="font-size:9px;line-height:10px; border-top: 0px #777777 solid; padding-bottom: 2px;">{Notecount} notes</a></span></div></div>{/block:IndexPage}
  521. {/block:Answer}
  522.  
  523. {block:Text}
  524. {block:Title}<span class="title">{Title}</span>{/block:Title}
  525. <span class="entrytext">{Body}</span>
  526. <div class="permalinktext">
  527. <a href="{permalink}">{notecountwithlabel} &middot {timeago}</a>
  528. </div>
  529. {/block:Text}
  530.  
  531. {block:Link}
  532. <center><a href="{URL}"><span class="title">{Name}</span></a></center>
  533. <div style="margin-left:3px;">{block:Description}{Description}{/block:Description}</div>
  534. {block:IndexPage}<div class="permalinktext">
  535. <a href="{permalink}">{notecountwithlabel} &middot {timeago}</a>
  536. </div>
  537. {/block:IndexPage}
  538. {block:Link}
  539.  
  540.  
  541.  
  542. {block:Quote}<span class="title">"{Quote}"</span> — {block:Source}<b>{Source}</b>{/block:Source}<br><p align=right><div class="permalink">
  543. <div class="permalinktext">
  544. <a href="{permalink}">{NoteCount}</a> &middot <a href="{ReblogURL}" target="_blank"> REBLOG </a></span></div></div>{/block:Quote}
  545.  
  546. {block:Chat}{block:Title}<span class="title">{Title}</span>{/block:Title}
  547. <ul class="chat">
  548. {block:Lines}
  549. <li class="user_{UserNumber}">
  550. {block:Label}
  551. <span class="label">{Label}</span>
  552. {/block:Label}
  553.  
  554. {Line}
  555. </li>
  556. {/block:Lines}
  557. <div class="permalink">
  558. <div class="permalinktext">
  559. <a href="{permalink}">{NoteCount}</a> &middot <a href="{ReblogURL}" target="_blank"> REBLOG </a></span></div></div>
  560. {/block:Chat}
  561.  
  562. {block:Audio}
  563. <div style="width:200px; height:30px;">
  564. {AudioPlayerBlack}
  565. </div>
  566. {block:IndexPage}<div class="permalink">
  567. <div class="permalinktext">
  568. <a href="{permalink}">{NoteCount}</a> &middot <a href="{ReblogURL}" target="_blank"> REBLOG </a></span></div></div>
  569. {/block:IndexPage}
  570. {/block:Audio}
  571.  
  572. {block:Video}
  573. {block:IndexPage}
  574. <center>
  575. <div class="permalink">
  576. <div class="permalinktext">
  577. <a href="{permalink}">{NoteCount}</a> &middot <a href="{ReblogURL}" target="_blank"> REBLOG </a></span></div></div>
  578. {Video-250}</center>
  579. {/block:IndexPage}
  580. {block:PermalinkPage}
  581. <center>
  582. {Video-400}</center>
  583. {/block:PermalinkPage}
  584. {block:Video}
  585.  
  586. {block:PostNotes}<div align="middle">{caption}</div>
  587. <center>
  588.  
  589. {block:NoteCount}{NoteCountWithLabel}<br>{/block:NoteCount}
  590.  
  591. {block:HasTags}
  592. tags: {block:Tags}<a href="{TagURL}">{Tag}. </a>{/block:Tags}<br> {/block:HasTags}
  593. {block:RebloggedFrom}
  594. reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a><br>
  595. posted by <a href="{ReblogRootURL}">{ReblogRootName}</a>
  596.  
  597. {/block:RebloggedFrom}
  598. </center></span>
  599. <br>
  600. <div id="postnotes">{PostNotes}</div><br>
  601.  
  602. <center>{block:ContentSource}
  603. <br><a href="{SourceURL}">
  604. {lang:Source}:
  605. {block:SourceLogo}
  606. <img src="{BlackLogoURL}" width="{LogoWidth}"
  607. height="{LogoHeight}" alt="{SourceTitle}" />
  608. {/block:SourceLogo}
  609. {block:NoSourceLogo}
  610. {SourceLink}
  611. {/block:NoSourceLogo}
  612. </a>
  613. {/block:ContentSource}</center>
  614.  
  615. {/block:PostNotes}
  616. </div>
  617. {/block:Posts}
  618. </div></div>
  619.  
  620. {block:IndexPage}
  621. {block:Pagination}
  622. <div id="pagination">
  623. {block:NextPage}
  624. <a id="nextPage" href="{NextPage}"></a>
  625. {/block:NextPage}
  626. {block:PreviousPage}
  627. <a href="{PreviousPage}"></a>
  628. {/block:PreviousPage}
  629. </div>
  630. {/block:Pagination}
  631. {/block:IndexPage}
  632.  
  633. <script type="text/javascript" src="http://static.tumblr.com/uiqhh9x/2MFlzww4p/likenew.js"></script>
  634.  
  635. <script type="text/javascript">autoscale(new Array('object', 'embed'));</script>
  636.  
  637. <script type="text/javascript" src="http://static.tumblr.com/iddq6cw/cz1m316ry/arny.js"></script>
  638. <iframe id="likeiframe" style="display:none;"></iframe>
  639.  
  640.  
  641. </body>
  642. <script type="text/javascript">
  643.  
  644. $(function() {
  645. $(window).scroll(function() {
  646. if($(this).scrollTop() != 0) {
  647. $('#toTop').fadeIn();
  648. } else {
  649. $('#toTop').fadeOut();
  650. }
  651. });
  652.  
  653. $('#toTop').click(function() {
  654. $('body,html').animate({scrollTop:0},800);
  655. });
  656. });
  657.  
  658.  
  659. $(window).load(function () {
  660.  
  661.  
  662.  
  663.  
  664.  
  665. // endless scrolling
  666. var $container = $('#holder');
  667. $container.imagesLoaded(function(){
  668. $container.masonry({
  669. itemSelector: '.box'
  670. });
  671. });
  672. $container.infinitescroll({
  673. navSelector : '#page-nav', // selector for the paged navigation
  674. nextSelector : '#page-nav a', // selector for the NEXT link (to page 2)
  675. itemSelector : '.box', // selector for all items you'll retrieve
  676. bufferPx: 0,
  677. debug : true,
  678. loading: {
  679. finishedMsg: '',
  680. img: '',
  681. msgText: ''
  682. }
  683. },
  684. // trigger Masonry as a callback
  685. function( newElements ) {
  686. // hide new items while they are loading
  687. var $newElems = $( newElements ).css({ opacity: 0 });
  688. // ensure that images load before adding to masonry layout
  689. $newElems.imagesLoaded(function(){
  690. // show elems now they're ready
  691. $newElems.animate({ opacity: 1 });
  692. $container.masonry( 'appended', $newElems, true );
  693. });
  694. }
  695. );
  696.  
  697. // End of endless scrolling
  698.  
  699. });
  700.  
  701. </script>
  702. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement