Advertisement
teenageblog

Clair De Lune Theme

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