Advertisement
teenageblog

Royal Theme

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