Advertisement
teenageblog

Summertime Sadness Theme

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