Advertisement
yLii

Infinite Isotope 08 :D :D :D

Jan 3rd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.49 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Adamantine</title>
  5.  
  6.  
  7. <script src="http://static.tumblr.com/iuvoef7/bXomx943d/jquery-1.7.1.min.js"></script>
  8.  
  9. <!--don't understand why this script doesn't work -->
  10. <script src="http://static.tumblr.com/iuvoef7/hshmx93xt/jquery.isotope.min.js"></script>
  11.  
  12. <!-- for some reason this one works -->
  13. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/2.2.2/isotope.pkgd.min.js"></script>
  14.  
  15. <!--cellsbycolumn-->
  16. <script src="https://raw.githubusercontent.com/metafizzy/isotope-cells-by-column/master/cells-by-column.js"></script>
  17.  
  18. <!--cellsbyrow-->
  19. <script src="https://raw.githubusercontent.com/metafizzy/isotope-cells-by-row/master/cells-by-row.js"></script>
  20.  
  21. <!--fitcolumns-->
  22. <script src="https://raw.githubusercontent.com/metafizzy/isotope-fit-columns/master/fit-columns.js"></script>
  23.  
  24. <!--masonryhorizontal-->
  25. <script src="https://raw.githubusercontent.com/metafizzy/isotope-masonry-horizontal/master/masonry-horizontal.js"></script>
  26.  
  27.  
  28. <!--horizontal horiz-->
  29. <script src="https://raw.githubusercontent.com/metafizzy/isotope-horizontal/master/horizontal.js"></script>
  30.  
  31. <script src="http://static.tumblr.com/iuvoef7/tIEmx9449/jquery.infinitescroll.min.js"></script>
  32.  
  33.  
  34.  
  35.  
  36.  
  37. <script>
  38. var isotope = $(function(){
  39. var $container = $('#content');
  40. $container.imagesLoaded(function(){
  41. $container.isotope({
  42. itemSelector : '.box',
  43. layoutMode : '{select:Layout Type}',
  44. masonry: {
  45. gutter: {select:Gutter Width}
  46. }
  47. });
  48. });
  49.  
  50. $container.infinitescroll({
  51. navSelector : '#page_nav',
  52. nextSelector : '#page_nav a',
  53. itemSelector : '.box',
  54. loading: {
  55. finishedMsg: 'You have reached the end of the internet.',
  56. img: 'http://i.imgur.com/qkKy8.gif'
  57. }
  58. },
  59. // call Isotope as a callback
  60. function ( newElements ) {
  61. var $newElems = jQuery( newElements ).hide(); // hide to begin with
  62. // ensure that images load before adding to masonry layout
  63. $newElems.imagesLoaded(function(){
  64. $newElems.fadeIn(); // fade in when ready
  65. $container.isotope( 'insert', $newElems );
  66. });
  67. }
  68. );
  69. });
  70.  
  71.  
  72.  
  73. $(document).ready(isotope);
  74.  
  75. </script>
  76.  
  77. <!--Responsive photosets-->
  78. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  79. <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  80.  
  81. <script>
  82. $(document).ready(function(){
  83. $('.photo-slideshow').pxuPhotoset({
  84. lightbox: true,
  85. rounded: false,
  86. gutter: ' {select:Gutter Width}px',
  87. borderRadius: '0px',
  88. photoset: '.photo-slideshow',
  89. photoWrap: '.photo-data',
  90. photo: '.pxu-photo'
  91. });
  92. });
  93. </script>
  94.  
  95.  
  96.  
  97. <meta name="image:Background" content="" />
  98. <meta name="image:Lollipop Background" content="" />
  99. <meta name="image:Quote Background" content="" />
  100. <meta name="image:HeaderBackground" content="" />
  101.  
  102. <meta name="color:Background" content="#ffffff" />
  103. <meta name="color:Links" content="#619251" />
  104. <meta name="color:Text highlight" content="#d83e5c" />
  105. <meta name="color:Lollipop" content="#000000" />
  106. <meta name="color:Lollipop Hover" content="#b7512e" />
  107. <meta name="color:Hover" content="#b7512e" />
  108. <meta name="color:Scrollbar" content="#fed3f2" />
  109.  
  110.  
  111. <meta name="text:Post margin" content="10px" />
  112. <meta name="text:Columns" content="4" />
  113.  
  114.  
  115.  
  116. <meta name="text:Font size" content='0.8em'/>
  117. <meta name="text:Google Analytics ID" content=''/>
  118. <meta name="text:Twitter Username" content=''/>
  119.  
  120. <meta name="if:Fade" content="1" />
  121. <meta name="if:Head Space" content="1" />
  122. <meta name="if:Horizontal" content="0" />
  123. <meta name="if:Infinite Scroll" content="1" />
  124.  
  125.  
  126. <meta name="select:Content Width" content="30%" />
  127. <meta name="select:Content Width" content="40%" />
  128. <meta name="select:Content Width" content="50%" />
  129. <meta name="select:Content Width" content="60%" />
  130. <meta name="select:Content Width" content="70%" />
  131. <meta name="select:Content Width" content="80%" />
  132. <meta name="select:Content Width" content="90%" />
  133. <meta name="select:Content Width" content="100%" />
  134.  
  135.  
  136. <meta name="select:Fade Opacity" content="0.1" />
  137. <meta name="select:Fade Opacity" content="0.2" />
  138. <meta name="select:Fade Opacity" content="0.3" />
  139. <meta name="select:Fade Opacity" content="0.4" />
  140. <meta name="select:Fade Opacity" content="0.5" />
  141. <meta name="select:Fade Opacity" content="0.6" />
  142. <meta name="select:Fade Opacity" content="0.7" />
  143. <meta name="select:Fade Opacity" content="0.8" />
  144. <meta name="select:Fade Opacity" content="0.9" />
  145. <meta name="select:Fade Opacity" content="1.0" />
  146.  
  147. <meta name="select:Float" content="margin:auto" title="Align Center" />
  148. <meta name="select:Float" content="float:left" title="Align Left" />
  149. <meta name="select:Float" content="float:right" title="Align Right" />
  150.  
  151. <meta name="select:Layout Type" content="cellsByColumn" title="Cells by Column" />
  152. <meta name="select:Layout Type" content="cellsByRow" title="Cells by Row" />
  153. <meta name="select:Layout Type" content="fitColumns" title="Fit Columns" />
  154. <meta name="select:Layout Type" content="fitRows" title="Fit Rows" />
  155. <meta name="select:Layout Type" content="horiz" title="Horizontal" />
  156. <meta name="select:Layout Type" content="masonry" title="Masonry" />
  157. <meta name="select:Layout Type" content="masonryHorizontal" title="Masonry Horizontal" />
  158. <meta name="select:Layout Type" content="vertical" title="Vertical" />
  159.  
  160. <meta name="select:Gutter Width" content="0" />
  161. <meta name="select:Gutter Width" content="5" />
  162. <meta name="select:Gutter Width" content="10" />
  163. <meta name="select:Gutter Width" content="15" />
  164.  
  165.  
  166. <!--Post Width in relation to Content Width -->
  167. <meta name="select:Post Width" content="25%" />
  168. <meta name="select:Post Width" content="30%" />
  169. <meta name="select:Post Width" content="32%" />
  170. <meta name="select:Post Width" content="33.33%" />
  171. <meta name="select:Post Width" content="40%" />
  172. <meta name="select:Post Width" content="50%" />
  173. <meta name="select:Post Width" content="60%" />
  174. <meta name="select:Post Width" content="70%" />
  175. <meta name="select:Post Width" content="75%" />
  176. <meta name="select:Post Width" content="80%" />
  177. <meta name="select:Post Width" content="90%" />
  178. <meta name="select:Post Width" content="100%" />
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188. <link rel="shortcut icon" href="{Favicon}">
  189. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  190. <link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
  191.  
  192.  
  193.  
  194.  
  195.  
  196. <style type="text/css">
  197.  
  198.  
  199. @font-face {font-family:"Mayo";src:url('http://static.tumblr.com/m9qxvhq/dD6mhcpd0/mayonaise-condensed.otf');}
  200. @font-face {font-family:"Blake";src:url('http://static.tumblr.com/m9qxvhq/bnRmhedq1/blake2.ttf');}
  201. @font-face {font-family:"Sugah";src:url('http://static.tumblr.com/m9qxvhq/Dghmhi6ct/frenchsugar.ttf');}
  202. @font-face {font-family:"Sachiko";src:url('http://static.tumblr.com/m9qxvhq/UTEmhi6ks/sachiko.ttf');}
  203. @font-face {font-family:"Buffet";src:url('http://static.tumblr.com/m9qxvhq/0V2mhl3je/buffet_script.ttf');}
  204. @font-face {font-family:"Accent";src:url('http://static.tumblr.com/m9qxvhq/mc9mhlhm3/accent.ttf');}
  205. @font-face {font-family:"Barkentina";src:url('http://static.tumblr.com/m9qxvhq/CH5mhn23p/barkentina_1.otf');}
  206.  
  207.  
  208. ::-webkit-scrollbar {width: 8px; height: 4px; background: {color:Background}; opacity:0.5;}
  209. ::-webkit-scrollbar-thumb { background-color: {color:Scrollbar}; -webkit-border-radius: 2ex; }
  210. ::-moz-scrollbar {width: 8px; height: 4px; background: {color:Background}; }
  211. ::-moz-scrollbar-thumb { background-color: {color:Scrollbar}; -moz-border-radius: 2ex; }
  212. ::-o-scrollbar {width: 8px; height: 4px; background: {color:Background}; }
  213. ::-o-scrollbar-thumb { background-color: {color:Scrollbar}; -o-border-radius: 2ex; }
  214.  
  215.  
  216.  
  217.  
  218. ::selection {background: #d83e5c;color: #fff;}
  219. ::-moz-selection {background: #d83e5c;color: #fff;}
  220.  
  221.  
  222.  
  223.  
  224. html {
  225.  
  226. }
  227.  
  228.  
  229.  
  230. body {
  231. background: {color:Background};
  232.  
  233.  
  234. }
  235.  
  236.  
  237. {block:IfHeadSpace}
  238. .headspace{
  239. height:300px;
  240. }
  241. {/block:IfHeadSpace}
  242.  
  243.  
  244.  
  245.  
  246. #content {
  247. {block:IfNotHorizontal}
  248. width:{select:Content Width};
  249. {select:Float};
  250. {/block:IfNotHorizontal}
  251. {block:IfHorizontal}
  252. height:{select:Content Width};
  253. {/block:IfHorizontal}
  254. }
  255.  
  256.  
  257.  
  258.  
  259. .title {
  260. font-family:"Buffet";
  261. font-size: 25px;
  262. margin-bottom: 10px;
  263. }
  264.  
  265. .entry {
  266. float: left;
  267. width:50%;
  268. }
  269.  
  270.  
  271. #nav {
  272. float: left;
  273. margin-top: 20px;
  274. position: fixed;
  275. z-index:1000;
  276. right:0px;
  277. margin-right:auto;
  278. position:fixed;
  279. }
  280.  
  281. #nav a {
  282. text-decoration: none;
  283. font-size: 15px;
  284. line-height: 25px;
  285. color: #595959;
  286. }
  287.  
  288. #nav a:hover {
  289. color: #393939;
  290. }
  291.  
  292. #nav a:active {
  293. color: #151515;
  294. }
  295.  
  296.  
  297. .tumblrAutoPager_page_info, .tumblrAutoPager_page_separator {display:none;}
  298. #infscr-loading {display:none;}
  299. .navigation {display:none!important;}
  300.  
  301.  
  302.  
  303. .isotope-item {
  304. z-index: 2;
  305. }
  306.  
  307. .isotope-hidden.isotope-item {
  308. pointer-events: none;
  309. z-index: 1;
  310. }
  311.  
  312. .isotope,
  313. .isotope .isotope-item {
  314. /* change duration value to whatever you like */
  315. -webkit-transition-duration: 0.8s;
  316. -moz-transition-duration: 0.8s;
  317. transition-duration: 0.8s;
  318. }
  319.  
  320. .isotope {
  321. -webkit-transition-property: height, width;
  322. -moz-transition-property: height, width;
  323. transition-property: height, width;
  324. }
  325.  
  326. .isotope .isotope-item {
  327. -webkit-transition-property: -webkit-transform, opacity;
  328. -moz-transition-property: -moz-transform, opacity;
  329. transition-property: transform, opacity;
  330. }
  331.  
  332.  
  333.  
  334. .box {
  335. {block:IfNotHorizontal}
  336. float: left;
  337. width:{select:Post Width};
  338. {/block:IfNotHorizontal}
  339.  
  340. {block:IfHorizontal}
  341. height:400px;
  342. {/block:IfHorizontal}
  343.  
  344. margin-bottom:{select:Gutter Width}px;
  345. {block:IfFade}
  346. opacity:{select:Fade Opacity};
  347. -webkit-transition-duration: 0.8s;
  348. -moz-transition-duration: 0.8s;
  349. transition-duration: 0.8s;
  350. {/block:IfFade}
  351.  
  352. }
  353.  
  354.  
  355. {block:IfFade}
  356. .box:hover {
  357. opacity:1.0;
  358. -webkit-transition-duration: 0.8s;
  359. -moz-transition-duration: 0.8s;
  360. transition-duration: 0.8s;
  361. }
  362. {/block:IfFade}
  363.  
  364.  
  365. .text {
  366. font-size:10%;
  367. }
  368.  
  369. .photo {
  370.  
  371. }
  372.  
  373. .photoset{
  374.  
  375. }
  376.  
  377.  
  378.  
  379. </style>
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390. </head>
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403. <body>
  404.  
  405. {block:IfHeadSpace}
  406. <div class="headspace"></div>
  407. {/block:IfHeadSpace}
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414. <div id="content">
  415. {block:Posts}
  416.  
  417.  
  418. <!-- {block:Text}
  419. <div class="box text">
  420. {Title}
  421. {Body}
  422. </div>
  423. {/block:Text} -->
  424.  
  425.  
  426.  
  427. {block:Photo}
  428. <a href="{Permalink}">
  429. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="box photo" />
  430. </a>
  431. {/block:Photo}
  432.  
  433.  
  434. {block:Photoset}
  435. <div class="box photoset">
  436.  
  437. <!--preset code to abide by pxu -->
  438. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">
  439.  
  440. {block:Photos}
  441. <div class="photo-data">
  442. <div class="pxu-photo">
  443. <img src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}">
  444. </div>
  445. <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}">
  446. </a>
  447. </div>
  448. {/block:Photos}
  449. </div>
  450. </div>
  451. {/block:Photoset}
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459. {/block:Posts}
  460. </div>
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469. <div class="navigation">
  470. {block:Pagination}
  471. {block:NextPage}
  472. <p id="page_nav"><a style="float:right" href="{NextPage}" id="next">Older ?</a>
  473. {/block:NextPage}
  474. {block:PreviousPage}
  475. <a style="float:left" href="{PreviousPage}">? Newer</a></p>
  476. {/block:PreviousPage}
  477. {/block:Pagination}
  478. </div>
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490. </body>
  491. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement