Advertisement
tomkirk

Color Block

Aug 12th, 2016
506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.28 KB | None | 0 0
  1. <!--
  2.  
  3.  
  4. [ T H E M E B Y ]
  5.  
  6. ○ ● ○
  7.  
  8. [ T O M K I R K ]
  9.  
  10.  
  11.  
  12. -->
  13. <html>
  14. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  15. <html xmlns="http://www.w3.org/1999/xhtml">
  16. <head>
  17.  
  18. <!--Default Variables-->
  19. <!--Colors-->
  20. <meta name="color:Ask Background" content="#000000"/>
  21. <meta name="color:Ask Text" content="#ffffff"/>
  22. <meta name="color:Background" content="#ffffff"/>
  23. <meta name="color:Border" content="#ffffff"/>
  24. <meta name="color:Text" content="#000000"/>
  25. <meta name="color:Link" content="#000000"/>
  26. <meta name="color:Link Background" content="#ffee59"/>
  27. <meta name="color:Link Hover" content="#000000"/>
  28. <meta name="color:Link Hover Background" content="#e8e8e8"/>
  29. <meta name="color:Scrollbar" content="#000000"/>
  30. <meta name="color:Perma" content="#949494"/>
  31. <meta name="color:Perma Hover" content="#B8B8B8"/>
  32. <meta name="color:Tool Tip" content="#ffffff"/>
  33. <meta name="color:Tool Tip Text" content="#000000"/>
  34. <meta name="color:Text Border" content="#FFA1A1"/>
  35. <meta name="color:Quote Border" content="#FFCDA1"/>
  36. <meta name="color:Audio Border" content="#FFFFA1"/>
  37. <meta name="color:Chat Border" content="#A1FFA2"/>
  38. <meta name="color:Photo Border" content="#A1CAFF"/>
  39. <meta name="color:Video Border" content="#DCA1FF"/>
  40.  
  41. <!--Images-->
  42. <meta name="image:Background" content=""/>
  43.  
  44. <!--Options-->
  45. <meta name="if:Infinite Scroll" content="1"/>
  46. <meta name="if:Photo Zoom" content="1"/>
  47. <meta name="if:Captions" content=""/>
  48. <meta name="if:Tiny Cursor" content=""/>
  49. <meta name="if:Crosshair Cursor" content=""/>
  50.  
  51. <!--Links-->
  52. <meta name="text:Link 1 URL" content="/"/>
  53. <meta name="text:Link 1 name" content=""/>
  54. <meta name="text:Link 2 URL" content="/"/>
  55. <meta name="text:Link 2 name" content=""/>
  56. <meta name="text:Link 3 URL" content="/"/>
  57. <meta name="text:Link 3 name" content=""/>
  58. <meta name="text:Link 4 URL" content="/"/>
  59. <meta name="text:Link 4 name" content=""/>
  60. <meta name="text:Link 5 URL" content="/"/>
  61. <meta name="text:Link 5 name" content=""/>
  62.  
  63. <link href='http://fonts.googleapis.com/css?family=Quicksand:400,700' rel='stylesheet' type='text/css'>
  64. <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
  65.  
  66. {block:Description}
  67. <meta name="description" content="{MetaDescription}" />
  68. {/block:Description}
  69. <meta charset="utf-8">
  70. <meta name="viewport" content="initial-scale=1.0, width=device-width" />
  71. <title>{block:TagPage}{Tag} posts - {/block:TagPage} {block:SearchPage}{lang:Search results for SearchQuery} - {/block:SearchPage}{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}</title>
  72. <link rel="shortcut icon" href="{Favicon}">
  73. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  74. <style type="text/css">
  75.  
  76. iframe#tumblr_controls {-webkit-filter:invert(100%);-moz-filter:invert(100%);-filter:invert(100%);right:3px;-webkit-transition: all 0.4s linear;-moz-transition: all 0.4s linear;transition: all 0.4s linear;z-index:9999999999999;}
  77.  
  78. iframe#tumblr_controls:hover{opacity:1;}
  79.  
  80. ::-webkit-scrollbar {width:12px; height:20px; background: {color:Background};}
  81. ::-webkit-scrollbar-thumb { background-color: {color:Scrollbar}; border-top:30px solid {color:Background};border-bottom:30px solid {color:Background};border-right:10px solid {color:Background};}
  82.  
  83. html,body,a,a:hover{
  84. {block:ifTinyCursor}cursor:url(https://31.media.tumblr.com/bdff266e410c6a626f3d7ba461afff73/tumblr_inline_nf2nph3m4q1rs8bwg.png), progress; {/block:ifTinyCursor}{block:ifCrosshairCursor}cursor:crosshair;{/block:ifCrosshairCursor}
  85. }
  86.  
  87. body{background:{color:Background};{block:ifbackgroundimage}background-image:url('{image:background}');{/block:ifbackgroundimage}background-attachment:fixed;background-repeat:repeat;background-position:center;font-family:arial;font-size:15px;line-height:15px;color:{color:Text};
  88. {block:ifTinyCursor}cursor:url(https://31.media.tumblr.com/bdff266e410c6a626f3d7ba461afff73/tumblr_inline_nf2nph3m4q1rs8bwg.png), progress; {/block:ifTinyCursor}{block:ifCrosshairCursor}cursor:crosshair;{/block:ifCrosshairCursor}
  89. }
  90.  
  91. a:link, a:active, a:visited{color:{color:Link};background:{color:Link Background};padding:0 3px 0 3px;text-decoration:none;-webkit-transition: all 0.s linear;-moz-transition: all 0.s linear;transition: all 0.s linear;{block:ifTinyCursor}cursor:url(https://31.media.tumblr.com/769de35144cf314ac2a3c6cc0f5f369a/tumblr_inline_nf2nq0naf51rs8bwg.png), progress; {/block:ifTinyCursor}{block:ifCrosshairCursor}cursor:crosshair;{/block:ifCrosshairCursor}}
  92.  
  93. a:hover{color:{color:Link Hover};background:{color:Link Hover Background};}
  94.  
  95. #s-m-t-tooltip {
  96. max-width:200px;
  97. background-color:{color:Tool Tip};
  98. color:{color:Tool Tip Text};
  99. border:0px solid {color:Border};
  100. font-size:14px;
  101. line-height:15px;
  102. padding:3px 5px 3px 5px;
  103. box-shadow:rgba(0,0,0,0.07) 4px 4px;
  104. -webkit-transition: all 0.3s ease-out;
  105. -moz-transition: all 0.3s ease-out;
  106. transition: all 0.3s ease-out;
  107. z-index:999999999999999999999999999999999999;
  108. margin:20px;
  109. {block:ifTinyCursor}margin:10px;{/block:ifTinyCursor}
  110. }
  111.  
  112. #container {
  113. margin:auto;
  114. {block:IndexPage}width:1050px;{/block:IndexPage}
  115. {block:PermalinkPage}width:600px;{/block:PermalinkPage}
  116. }
  117.  
  118. #content{
  119. {block:IndexPage}width:1200px;{/block:IndexPage}
  120. {block:PermalinkPage}width:500px;{/block:PermalinkPage}
  121. }
  122.  
  123. article{
  124. float:left;
  125. position:relative;
  126. {block:IndexPage}width:290px;margin:0 100px 100px 0;{/block:IndexPage}
  127. {block:PermalinkPage}width:535px;margin:0 100px 100px 25px;{/block:PermalinkPage}
  128. }
  129.  
  130. article img{max-width:100%;{block:indexPage}display:block;{/block:IndexPage}}
  131.  
  132. article .cap{
  133. margin:10px 0 10px 0;
  134. /*
  135. background:{color:Entry};
  136. color:{color:Entry Text};
  137. */
  138. }
  139.  
  140. article .cap2{
  141. /*
  142. background:{color:Entry};
  143. color:{color:Entry Text};
  144. */
  145. }
  146.  
  147.  
  148. article #permalinktxt a{
  149. position:absolute;
  150. color:{color:Perma};
  151. border:2px dashed {color:Perma};
  152. margin:0px 0 0 0;
  153. padding:7px 9px 7px 9px;
  154. margin:20px 0 0 0;
  155. font-size:20px;
  156. line-height:20px;
  157. text-transform:uppercase;
  158. background:transparent;
  159. }
  160.  
  161. #permalinktxt a:hover{
  162. color:{color:Perma Hover};
  163. border:2px dashed {color:Perma Hover};
  164. }
  165.  
  166. article #permalinktxt{
  167. opacity:0;
  168. }
  169. article:hover #permalinktxt{
  170. opacity:1;
  171. }
  172.  
  173. article #permalinkpg{
  174. margin:0px 0 0 0;
  175. padding:10px 13px 10px 13px;
  176. margin:10px 0 0 0;
  177. font-size:22px;
  178. line-height:30px;
  179. text-transform:uppercase;
  180. }
  181.  
  182.  
  183. .texts{
  184. border:2px dashed {color:Text Border};
  185. padding:10px 15px 5px 15px;
  186. }
  187. .quotes{
  188. border:2px dashed {color:Quote Border};
  189. padding:10px 15px 5px 15px;
  190. }
  191. .chats{
  192. border:2px dashed {color:Chat Border};
  193. padding:10px 15px 5px 15px;
  194. }
  195. .audios{
  196. border:2px dashed {color:Audio Border};
  197. padding:15px 15px 15px 15px;
  198. }
  199. .pics{
  200. border:2px dashed {color:Photo Border};
  201. padding:15px 15px 15px 15px;
  202. }
  203. .photosets{
  204. border:2px dashed {color:Quote Border};
  205. padding:15px 15px 15px 15px;
  206. }
  207. .vids{
  208. border:2px dashed {color:Video Border};
  209. padding:15px 15px 15px 15px;
  210. }
  211.  
  212. #pic {
  213. position:relative;
  214. overflow:hidden;
  215. }
  216.  
  217. #pic a{padding:0 0 0 0;}
  218.  
  219. #pic img{
  220. display:block;
  221. -webkit-transition: all 0.4s linear;
  222. -moz-transition: all 0.4s linear;
  223. transition: all 0.4s linear;
  224. }
  225.  
  226. article #pc{
  227. -webkit-transition: all 0.4s linear;
  228. -moz-transition: all 0.4s linear;
  229. transition: all 0.4s linear;
  230. }
  231.  
  232. article:hover #pc{
  233. {block:ifPhotoZoom}
  234. {block:IndexPage}
  235. -ms-transform: scale(1.10); /* IE 9 */
  236. -webkit-transform: scale(1.10); /* Chrome, Safari, Opera */
  237. transform: scale(1.10); /* Standard syntax */
  238. {/block:IndexPage}
  239. {/block:ifPhotoZoom}
  240. }
  241.  
  242. article #ugh{
  243. display:block;
  244. margin-bottom:-10px;
  245. -webkit-transition: all 0.4s linear;
  246. -moz-transition: all 0.4s linear;
  247. transition: all 0.4s linear;
  248. }
  249.  
  250. article:hover #ugh{
  251. {block:ifPhotoZoom}
  252. {block:IndexPage}
  253. -ms-transform: scale(1.10); /* IE 9 */
  254. -webkit-transform: scale(1.10); /* Chrome, Safari, Opera */
  255. transform: scale(1.10); /* Standard syntax */
  256. {/block:IndexPage}
  257. {/block:ifPhotoZoom}
  258. }
  259.  
  260. #permalinkpg{margin:10px 0 0 0;line-height:17px;}
  261.  
  262.  
  263. #ask {
  264. padding:10px;
  265. background:{color:Ask Background};
  266. color:{color:Ask Text};
  267. }
  268.  
  269. .asktri1{
  270. margin:-6px 0 0 30px;
  271. color:{color:Ask Background};
  272. font-size:65px;
  273. font-family:arial;
  274. }
  275.  
  276. .askername{
  277. position:Absolute;
  278. margin:-29px 0 0 39px;
  279. }
  280.  
  281. .askername a{
  282. color:{color:Ask Text};
  283. }
  284.  
  285. .askerimg{
  286. margin-bottom:8px;
  287. }
  288.  
  289. .askerimg img{
  290. width:30px;
  291. border-radius:30px;
  292. -webkit-border-radius:30px;
  293. -moz-border-radius:30px;
  294. }
  295.  
  296. #answer{
  297. margin:10px 15px 20px 15px;
  298. }
  299.  
  300.  
  301. h1{
  302. font-size:25px;
  303. line-height:28px;
  304. font-weight:bold;
  305. margin:0 0 0 0;
  306. }
  307.  
  308. h2{
  309. font-size:25px;
  310. line-height:28px;
  311. font-weight:bold;
  312. margin:0 0 10px 0;
  313. }
  314.  
  315. .q_q{
  316. position:absolute;
  317. font-size:times new roman;
  318. font-weight:bold;
  319. font-size:80px;
  320. line-height:70px;
  321. opacity:.15;
  322. }
  323.  
  324. blockquote{
  325. padding-left:10px;
  326. margin:0 0 0 15px;
  327. border-left:2px solid rgba(0,0,0,0.2);
  328. }
  329.  
  330. p {
  331. margin:10px 0 10px 0;
  332. }
  333.  
  334. .ol, ul {
  335. margin-left:30px;
  336. padding:5px;
  337. }
  338.  
  339. .ul {
  340. list-style-type:square;
  341. }
  342.  
  343. .chat .line{
  344. padding: 2px;
  345. }
  346.  
  347. .chat .line .odd{
  348. padding:2px;
  349. color:{color:Ask Text};
  350. background:{color:Ask Background};
  351. }
  352.  
  353. .label {
  354. font-weight:bold;
  355. }
  356.  
  357. .audioart img{
  358. {block:IndexPage}width:250px;{/block:IndexPage}
  359. {block:PermalinkPage}width:500px;{/block:PermalinkPage}
  360. }
  361.  
  362. .audioplayer{
  363. padding:10px;
  364. background:black;
  365. opacity:1;
  366. }
  367.  
  368. .audioinfo{
  369. border-top:1px solid rgba(255,255,255,1);
  370. padding:10px;
  371. background:black;
  372. color:white;
  373. opacity:1;
  374. }
  375.  
  376. .notes img{
  377. width:10px;
  378. position:left;
  379. margin:3px 5px 0 0;
  380. background:transparent;
  381. -webkit-border-radius:10px;
  382. -moz-border-radius:10px;
  383. border-radius:10px;
  384. }
  385.  
  386. .notes a{
  387. background:transparent;
  388. }
  389.  
  390. .notes{
  391. line-height:30px;
  392. }
  393.  
  394.  
  395. #pgs{
  396. position:fixed;
  397. margin:20px 0 0 7px;
  398. text-align:center;
  399. font-size:15px;
  400. font-weight:bold;
  401. font-family:helvetica;
  402. z-index:999;
  403. }
  404.  
  405. #pgs a{
  406. background:transparent;
  407. }
  408.  
  409. .pagination{display:none;}
  410.  
  411. .com:last-child{display:none;}
  412.  
  413.  
  414. #infscr-loading{
  415. position:absolute;
  416. left:50%;
  417. bottom:-40px;
  418.  
  419. }
  420.  
  421. #top{
  422. position:fixed;
  423. {block:IndexPage}width:1100px;{/block:IndexPage}
  424. {block:PermalinkPage}width:600px;{/block:PermalinkPage}
  425. top:90px;
  426. text-align:center;
  427. z-index:999;
  428. }
  429. .nav a{
  430. margin:0 5px 0 5px;
  431. font-weight:bold;
  432. }
  433.  
  434. {CustomCSS}
  435. </style>
  436.  
  437. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  438. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  439. <script>
  440. (function($){
  441. $(document).ready(function(){
  442. $("a[title]").style_my_tooltips({
  443. tip_follows_cursor:true,
  444. tip_delay_time:0,
  445. tip_fade_speed:0,
  446. attribute:"title"
  447. });
  448. });
  449. })(jQuery);
  450. </script>
  451.  
  452. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
  453.  
  454. <script language="javascript">
  455. $(document).ready(function() {
  456. $('#click').click(function() {
  457. $('.guts',this).toggle();
  458. });
  459.  
  460. $("#etc").css({"margin-left":"-900px" , "opacity":"1"})
  461. $("#click").toggle(
  462. function () {
  463. $("#etc").animate({"margin-left":"10px" , "opacity":"1"}, "slow");
  464. },
  465. function () {
  466. $("#etc").animate({"margin-left":"-900px" , "opacity":"1"}, "slow");
  467. });
  468. });
  469. </script>
  470.  
  471. </head>
  472. <body>
  473.  
  474. <div id="container">
  475.  
  476. <div id="top">
  477. <div class="nav">
  478. <a href="/">h0m3</a>
  479. <a href="/ask">45k</a>
  480. <a href="/d">4b0ut</a>
  481. <a href="http://tomkirk.tumblr.com/">th3m35</a>
  482. </div>
  483. </div>
  484.  
  485. <br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  486.  
  487. <div id="content">
  488.  
  489. {block:Posts}
  490. <article>
  491.  
  492.  
  493. {block:Answer}
  494. <div class="chats">
  495.  
  496. <div id="ask">
  497. <div class="askerimg"><img src="{AskerPortraitURL-128}"></div>
  498. <span class="askername"> {Asker} asked:</span>
  499. <span style="padding-left:3px;padding-right:3px;">{Question}</span>
  500. </div>
  501. <div class="asktri1">▾</div>
  502. <div id="answer">{Answer}</div>
  503.  
  504. </div>
  505. {/block:Answer}
  506.  
  507. {block:Text}
  508. <div class="texts">
  509. <div class="cap2">
  510. {block:Title}
  511. <h1>{Title}</h1>
  512. {/block:Title}
  513. {Body}
  514. </div>
  515. </div>
  516. {/block:Text}
  517.  
  518. {block:Link}
  519. <div class="texts">
  520. <div class="cap2">
  521. <h1><a href="{URL}">{Name} »</a></h1>
  522. {block:Description}{Description}{/block:Description}
  523. </div>
  524. </div>
  525. {/block:Link}
  526.  
  527. {block:Photo}
  528. <div class="pics">
  529. <div id="pic">
  530. <a href="{permalink}">
  531. <div id="pc"><img src="{PhotoURL-500}" alt="{PhotoAlt}"></div>
  532. </a>
  533. </div>
  534. {block:ifCaptions}
  535. {block:Caption}<div class="cap">{Caption}</div>{/block:Caption}
  536. {/block:ifCaptions}
  537. {block:ifNotCaptions}
  538. {block:PermalinkPage}
  539. {block:Caption}<div class="cap">{Caption}</div>{/block:Caption}
  540. {/block:PermalinkPage}
  541. {/block:ifNotCaptions}
  542. {block:ContentSource}
  543. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  544. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  545. {/block:SourceLogo}
  546. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  547. {/block:ContentSource}
  548. {block:ReblogParentURL}
  549. <!-- {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  550. {/block:ReblogParentURL}
  551. </div>
  552. {/block:Photo}
  553.  
  554. {block:Photoset}
  555. <div class="photosets">
  556. <div class="photo">
  557. <center>
  558. {block:IndexPage}
  559. <div id="pic">
  560. <div id="ugh">
  561. {Photoset-250}
  562. </div>
  563. </div>
  564. {/block:IndexPage}
  565. {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
  566. </center>
  567. </div>
  568. {block:ifCaptions}
  569. {block:Caption}<div class="cap">{Caption}</div>{/block:Caption}
  570. {/block:ifCaptions}
  571. {block:ifNotCaptions}
  572. {block:PermalinkPage}
  573. {block:Caption}<div class="cap">{Caption}</div>{/block:Caption}
  574. {/block:PermalinkPage}
  575. {/block:ifNotCaptions}
  576. </div>
  577. {/block:Photoset}
  578.  
  579. {block:Quote}
  580. <div class="quotes">
  581. <div class="cap2">
  582. <div class="q_q">❝</div>
  583. <h2>{Quote}</h2>
  584. {block:Source}
  585. - {Source}
  586. {/block:Source}
  587. </div>
  588. </div>
  589. {/block:Quote}
  590.  
  591. {block:Chat}
  592. <div class="chats">
  593. <div class="cap2">
  594. {block:Title}
  595. <h1>{Title}</h1>
  596. {/block:Title}
  597. <div class="chat">
  598. {block:Lines}
  599. <div class="chat">
  600. <div class="line {Alt}">
  601. <div class="{Alt} user_{UserNumber}">
  602. {block:Label}
  603. <b>{Label} </b>
  604. {/block:Label}
  605. {Line}
  606. </div>
  607. </div>
  608. </div>
  609. {/block:Lines}
  610. </div>
  611. </div>
  612. </div>
  613. {/block:Chat}
  614.  
  615. {block:Audio}
  616. <div class="audios">
  617. {block:AlbumArt}
  618. <div class="audioart">
  619. <img src="{AlbumArtURL}">
  620. </div>
  621. {/block:AlbumArt}
  622. {block:AudioPlayer}
  623. <div class="audioplayer">
  624. {AudioPlayerBlack}
  625. </div>
  626. {/block:AudioPlayer}
  627. {block:TrackName}
  628. <div class="audioinfo">
  629. Song : {TrackName}
  630. </div>
  631. {/block:TrackName}
  632. {block:Artist}
  633. <div class="audioinfo">
  634. Artist : {Artist}
  635. </div>
  636. {/block:Artist}
  637. {block:Album}
  638. <div class="audioinfo">
  639. Album : {Album}
  640. </div>
  641. {/block:Album}
  642. {block:Caption}<div class="cap">{Caption}</div>{/block:Caption}
  643. </div>
  644. {/block:Audio}
  645.  
  646. {block:Video}
  647. <div class="vids">
  648.  
  649. <div class="photo">
  650. {Video-250}
  651. </div>
  652. {block:ifCaptions}
  653. {block:Caption}<div class="cap">{Caption}</div>{/block:Caption}
  654. {/block:ifCaptions}
  655. {block:ifNotCaptions}
  656. {block:PermalinkPage}
  657. {block:Caption}<div class="cap">{Caption}</div>{/block:Caption}
  658. {/block:PermalinkPage}
  659. {/block:ifNotCaptions}
  660.  
  661. </div>
  662. {/block:Video}
  663.  
  664.  
  665. {block:IndexPage}
  666. <div id="permalinktxt">
  667. <a title="{TimeAgo}"href="{Permalink}">{NoteCount} %</a>
  668.  
  669. </div>
  670. {/block:IndexPage}
  671.  
  672. {block:PermalinkPage}
  673. {block:Date}
  674. <div id="permalinkpg">
  675. <b>Posted:</b> {TimeAgo} on
  676. {ShortMonth} {DayofMonth},{Year} at
  677. {12Hour}:{Minutes} {CapitalAmPm}
  678. {block:NoteCount}<br>
  679. <b>Notes:</b>
  680. {NoteCount}
  681. {/block:NoteCount}
  682. {block:HasTags}
  683. <br>
  684. <b>Tags:</b>
  685. {block:Tags}<a href="{TagURL}">#{Tag}</a>&nbsp;
  686. {/block:Tags}
  687. {/block:HasTags}
  688. <br>{block:RebloggedFrom}
  689. <b>Via:</b> <a href="{ReblogParentURL}" target="_blank">{ReblogParentName}</a><br> <b>Src:</b> <a href="{ReblogRootURL}" target="_blank">{ReblogRootName}</a> {/block:RebloggedFrom}
  690. </div>
  691. <div class="cap">
  692. {block:PostNotes}
  693. {PostNotes}
  694. {/block:PostNotes}
  695. </div>
  696. {/block:Date}
  697. {/block:PermalinkPage}
  698.  
  699. </article>
  700. {/block:Posts}
  701.  
  702. {block:ifNotInfiniteScroll}
  703. {block:IndexPage}
  704. <div id="pgs">
  705. {block:Pagination}
  706. {block:PreviousPage} <a href="{PreviousPage}"><i class="fa fa-arrow-circle-left"></i></a> / {/block:PreviousPage}
  707. {/block:JumpPagination}
  708. {block:NextPage}<a href="{NextPage}"><i class="fa fa-arrow-circle-right"></i></a>{/block:NextPage}
  709. {/block:Pagination}
  710. </div>
  711. {/block:IndexPage}
  712. {/block:ifNotInfiniteScroll}
  713.  
  714. </div>
  715.  
  716. <!--Pagination: previous/next page links-->
  717. {block:Pagination}
  718. <div class="pagination">
  719. {block:PreviousPage}<a href="{PreviousPage}"> </a>{/block:PreviousPage}
  720. {block:NextPage}<a href="{NextPage}"> </a>{/block:NextPage}
  721. </div>
  722. {/block:Pagination}
  723.  
  724. <!--Links to jQuery library, Masonry, infinite scroll and imagesLoaded-->
  725. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  726. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  727. {block:IfInfiniteScroll}
  728. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  729. <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
  730. {/block:IfInfiniteScroll}
  731. <!--Code for infinite scroll and grid layout-->
  732. <script>
  733. (function() {
  734. var $tumblelog = $('#content');
  735. {block:IfInfiniteScroll}
  736. $tumblelog.infinitescroll({
  737. navSelector : ".pagination",
  738. nextSelector : ".pagination a:first",
  739. itemSelector : "article",
  740. bufferPx : 50,
  741. done : "",
  742. loading: {
  743. finishedMsg: "<p> </p>",
  744. img : "http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif",
  745. msg: null,
  746. msgText: "<p> </p>"
  747. },
  748. },
  749. function( newElements ) {
  750. var $newElems = $( newElements ).css({ opacity: 0 });
  751. $newElems.imagesLoaded(function(){
  752. $newElems.animate({ opacity: 1 });
  753. $tumblelog.masonry( 'appended', $newElems);
  754. });
  755. }
  756. );
  757. {/block:IfInfiniteScroll}
  758. $tumblelog.imagesLoaded( function(){
  759. $tumblelog.masonry({
  760. columnWidth: function( containerWidth ) {
  761. return containerWidth / 100;
  762. }
  763. });
  764. });
  765. })();
  766. </script>
  767. </div>
  768.  
  769. <div style="position:fixed;bottom:0;right:0;padding:0 30px 30px 0;font-size:14px;z-index:9999999999;"><a title="theme by tomkirk" style="background:transparent;"href="http://tomkirk.tumblr.com/">▲</a></div>
  770. </body>
  771. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement