Advertisement
yLii

Infinite Isotope 70

Jan 19th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.13 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>{Title}</title>
  5.  
  6.  
  7. <script src="http://static.tumblr.com/iuvoef7/bXomx943d/jquery-1.7.1.min.js"></script>
  8.  
  9.  
  10.  
  11.  
  12. <!--don't understand why this script doesn't work -->
  13. <script src="http://static.tumblr.com/iuvoef7/hshmx93xt/jquery.isotope.min.js"></script>
  14.  
  15. <!-- for some reason this one works -->
  16. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/2.2.2/isotope.pkgd.min.js"></script>
  17.  
  18. <!--cellsbycolumn-->
  19. <script src="https://raw.githubusercontent.com/metafizzy/isotope-cells-by-column/master/cells-by-column.js"></script>
  20.  
  21. <!--cellsbyrow-->
  22. <script src="https://raw.githubusercontent.com/metafizzy/isotope-cells-by-row/master/cells-by-row.js"></script>
  23.  
  24. <!--fitcolumns-->
  25. <script src="https://raw.githubusercontent.com/metafizzy/isotope-fit-columns/master/fit-columns.js"></script>
  26.  
  27. <!--masonryhorizontal-->
  28. <script src="https://raw.githubusercontent.com/metafizzy/isotope-masonry-horizontal/master/masonry-horizontal.js"></script>
  29.  
  30.  
  31. <!--horizontal horiz-->
  32. <script src="https://raw.githubusercontent.com/metafizzy/isotope-horizontal/master/horizontal.js"></script>
  33.  
  34.  
  35.  
  36. <!--infinite scroll -->
  37. <script src="http://static.tumblr.com/iuvoef7/tIEmx9449/jquery.infinitescroll.min.js"></script>
  38.  
  39.  
  40. <!--smooth scrolling-->
  41. <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.6/SmoothScroll.min.js"></script>
  42.  
  43. <!-- images Loaded -->
  44. <script src="https://npmcdn.com/imagesloaded@4.1/imagesloaded.pkgd.min.js"></script>
  45.  
  46.  
  47. <!-- font awesome -->
  48. <script src="https://use.fontawesome.com/a3cfd1d70a.js"></script>
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57. <script>
  58.  
  59. //main function, called isotope
  60.  
  61.  
  62.  
  63.  
  64. var isotope = $(function(){
  65. var $container = $('#content');
  66. var $boxes = $('.box').css('opacity','0');
  67. $container.imagesLoaded(function(){
  68. $boxes.fadeIn()
  69. $container.isotope({
  70. itemSelector : '.box',
  71. layoutMode : '{select:Layout Type}',
  72. masonry: {
  73. gutter: {text:Gutter Width}
  74. }
  75.  
  76. {block:ifMasonryHorizontal}
  77. masonryHorizontal: {
  78. rowHeight: 50
  79. }
  80. {/block:ifMasonryHorizontal}
  81.  
  82. });
  83. setTimeout(function(){
  84. $boxes.css('opacity','{select:Fade Opacity}');
  85. }, 1000);
  86. });
  87.  
  88. $boxes.mouseover(function(){$(this).css('opacity','1')});
  89. $boxes.mouseout(function(){$(this).css('opacity','{select:Fade Opacity}')});
  90.  
  91.  
  92.  
  93. //infinite scroll and callback
  94.  
  95.  
  96. $container.infinitescroll({
  97. navSelector : '#page_nav',
  98. nextSelector : '#page_nav a',
  99. itemSelector : '.box',
  100. loading: {
  101. finishedMsg: 'You have reached the end of the internet.',
  102. img: 'http://i.imgur.com/qkKy8.gif'
  103. }
  104. },
  105. // call Isotope as a callback
  106. function ( newElements ) {
  107. var $newElems = jQuery( newElements ).hide(); // hide to begin with
  108. $( newElements ).find('.photo-slideshow').pxuPhotoset({
  109. lightbox: true,
  110. rounded: false,
  111. gutter: ' {text:Photoset Gutter Width}px',
  112. borderRadius: '0px',
  113. highRes : true,
  114. captions : true,
  115. photoset: '.photo-slideshow',
  116. photoWrap: '.photo-data',
  117. photo: '.pxu-photo'
  118. });
  119. // ensure that images load before adding to masonry layout
  120. $newElems.imagesLoaded(function(){
  121. $newElems.fadeIn(); // fade in when ready
  122. $container.isotope( 'insert', $newElems );
  123.  
  124.  
  125. });
  126. }
  127.  
  128.  
  129. );
  130.  
  131. {block:ifManualInfiniteScroll}
  132. //manual infinite scroll
  133. $(window).unbind('.infscr');
  134. $('.load-more').click(function(){
  135. $container.infinitescroll('retrieve');
  136. return false
  137. });
  138. {/block:ifManualInfiniteScroll}
  139.  
  140.  
  141. }); //ending main function
  142.  
  143.  
  144.  
  145. $(document).ready(isotope);
  146.  
  147. </script>
  148.  
  149. <!--Responsive photosets-->
  150. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  151. <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  152.  
  153. <script>
  154. $(document).ready(function(){
  155. $('.photo-slideshow').pxuPhotoset({
  156. lightbox: true,
  157. rounded: false,
  158. gutter: ' {text:Photoset Gutter Width}px',
  159. borderRadius: '0px',
  160. highRes : true,
  161. captions : true,
  162. photoset: '.photo-slideshow',
  163. photoWrap: '.photo-data',
  164. photo: '.pxu-photo'
  165. });
  166. });
  167. </script>
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175. <meta name="image:Background" content="" />
  176. <meta name="image:Lollipop Background" content="" />
  177. <meta name="image:Quote Background" content="" />
  178. <meta name="image:HeaderBackground" content="" />
  179.  
  180. <meta name="color:Background" content="#ffffff" />
  181. <meta name="color:Lightbox Background" content="#ffffff" />
  182. <meta name="color:Links" content="#ffa9b6" />
  183. <meta name="color:Text highlight" content="#ffa9b6" />
  184. <meta name="color:Hover" content="#b7512e" />
  185. <meta name="color:Post Deets" content="#a8a8a8" />
  186. <meta name="color:Scrollbar" content="#fed3f2" />
  187.  
  188. <meta name="font:Header Font" content="Arial" />
  189.  
  190.  
  191.  
  192.  
  193. <meta name="if:Captions" content="0" />
  194. <meta name="if:Fade" content="1" />
  195. <meta name="if:Head Space" content="1" />
  196. <meta name="if:Horizontal" content="0" />
  197. <meta name="if:Infinite Scroll" content="1" />
  198. <meta name="if:Manual Infinite Scroll" content="1" />
  199. <meta name="if:Masonry Horizontal" content="0" />
  200. <meta name="if:Show Avatar" content="1" />
  201. <meta name="if:Show Post Deets" content="1" />
  202. <meta name="if:Show Post Deets On Hover" content="1" />
  203. <meta name="if:Sidebar" content="0" />
  204. <meta name="if:Stack Photoset" content="0" />
  205.  
  206.  
  207. <meta name="select:Content Width" content="30%" />
  208. <meta name="select:Content Width" content="40%" />
  209. <meta name="select:Content Width" content="50%" />
  210. <meta name="select:Content Width" content="60%" />
  211. <meta name="select:Content Width" content="70%" />
  212. <meta name="select:Content Width" content="80%" />
  213. <meta name="select:Content Width" content="90%" />
  214. <meta name="select:Content Width" content="100%" />
  215.  
  216.  
  217. <meta name="select:Fade Opacity" content="0.1" />
  218. <meta name="select:Fade Opacity" content="0.2" />
  219. <meta name="select:Fade Opacity" content="0.3" />
  220. <meta name="select:Fade Opacity" content="0.4" />
  221. <meta name="select:Fade Opacity" content="0.5" />
  222. <meta name="select:Fade Opacity" content="0.6" />
  223. <meta name="select:Fade Opacity" content="0.7" />
  224. <meta name="select:Fade Opacity" content="0.8" />
  225. <meta name="select:Fade Opacity" content="0.9" />
  226. <meta name="select:Fade Opacity" content="1.0" />
  227.  
  228. <meta name="select:Float" content="margin:auto" title="Align Center" />
  229. <meta name="select:Float" content="left:calc(100vw/2.33)" title="Align Left" />
  230. <meta name="select:Float" content="left:calc(100vw/1.75)" title="Align Right" />
  231.  
  232.  
  233.  
  234.  
  235. <meta name="select:SideFloat" content="left" title="Left Sidebar" />
  236. <meta name="select:SideFloat" content="right" title="Right Sidebar" />
  237.  
  238.  
  239. <meta name="select:Layout Type" content="cellsByColumn" title="Cells by Column" />
  240. <meta name="select:Layout Type" content="cellsByRow" title="Cells by Row" />
  241. <meta name="select:Layout Type" content="fitColumns" title="Fit Columns" />
  242. <meta name="select:Layout Type" content="fitRows" title="Fit Rows" />
  243. <meta name="select:Layout Type" content="horiz" title="Horizontal" />
  244. <meta name="select:Layout Type" content="masonry" title="Masonry" />
  245. <meta name="select:Layout Type" content="masonryHorizontal" title="Masonry Horizontal" />
  246. <meta name="select:Layout Type" content="vertical" title="Vertical" />
  247.  
  248.  
  249.  
  250.  
  251. <!--Post Width in relation to Content Width -->
  252. <meta name="select:Post Width" content="100%" />
  253. <meta name="select:Post Width" content="25%" />
  254. <meta name="select:Post Width" content="30%" />
  255. <meta name="select:Post Width" content="32%" />
  256. <meta name="select:Post Width" content="32.75%" />
  257. <meta name="select:Post Width" content="33.33%" />
  258. <meta name="select:Post Width" content="40%" />
  259. <meta name="select:Post Width" content="50%" />
  260. <meta name="select:Post Width" content="60%" />
  261. <meta name="select:Post Width" content="70%" />
  262. <meta name="select:Post Width" content="75%" />
  263. <meta name="select:Post Width" content="80%" />
  264. <meta name="select:Post Width" content="90%" />
  265.  
  266.  
  267.  
  268. <meta name="text:Header Height" content="250px" />
  269. <meta name="text:Footer Height" content="100px" />
  270. <meta name="text:Header Font" content="Jellyka"/>
  271. <meta name="text:Body Font" content="Lato" />
  272. <meta name="text:Link Font" content="Open Sans" />
  273. <meta name="text:Sidebar Font" content="Lato" />
  274. <meta name="text:Horizontal Post Height" content="300px" />
  275. <meta name="text:Gutter Width" content="200" />
  276. <meta name="text:Photoset Gutter Width" content="1" />
  277. <meta name="text:Image Border Radius" content="0px" />
  278.  
  279.  
  280.  
  281. <!--fonts-->
  282. <link href='http://fonts.googleapis.com/css?family={text:Body Font}' rel='stylesheet' type='text/css'>
  283. <link href='http://fonts.googleapis.com/css?family={text:Header Font}' rel='stylesheet' type='text/css'>
  284. <link href='http://fonts.googleapis.com/css?family={text:Link Font}' rel='stylesheet' type='text/css'>
  285.  
  286.  
  287.  
  288.  
  289.  
  290. <link rel="shortcut icon" href="{Favicon}">
  291. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  292. <link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
  293.  
  294.  
  295.  
  296.  
  297.  
  298. <style type="text/css">
  299. @font-face {font-family:"Accent";src:url('http://static.tumblr.com/m9qxvhq/mc9mhlhm3/accent.ttf');}
  300. @font-face {font-family:"Barkentina";src:url('http://static.tumblr.com/m9qxvhq/CH5mhn23p/barkentina_1.otf');}
  301. @font-face {font-family:"Blake";src:url('http://static.tumblr.com/m9qxvhq/bnRmhedq1/blake2.ttf');}
  302. @font-face {font-family:"Buffet";src:url('http://static.tumblr.com/m9qxvhq/0V2mhl3je/buffet_script.ttf');}
  303.  
  304. @font-face {font-family:"Jellyka";src:url('http://static.tumblr.com/iuvoef7/mNnojgowh/jellyka_bees_antique_handwriting.ttf');}
  305. @font-face {font-family:"Mayo";src:url('http://static.tumblr.com/m9qxvhq/dD6mhcpd0/mayonaise-condensed.otf');}
  306.  
  307.  
  308. @font-face {font-family:"Sachiko";src:url('http://static.tumblr.com/m9qxvhq/UTEmhi6ks/sachiko.ttf');}
  309. @font-face {font-family:"Sugah";src:url('http://static.tumblr.com/m9qxvhq/Dghmhi6ct/frenchsugar.ttf');}
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316. ::-webkit-scrollbar {width: 8px; height: 4px; background: {color:Background}; opacity:0;}
  317. ::-webkit-scrollbar-thumb { background-color: {color:Scrollbar}; -webkit-border-radius: 2ex; }
  318. ::-moz-scrollbar {width: 8px; height: 4px; background: {color:Background}; }
  319. ::-moz-scrollbar-thumb { background-color: {color:Scrollbar}; -moz-border-radius: 2ex; }
  320. ::-o-scrollbar {width: 8px; height: 4px; background: {color:Background}; }
  321. ::-o-scrollbar-thumb { background-color: {color:Scrollbar}; -o-border-radius: 2ex; }
  322.  
  323.  
  324.  
  325.  
  326. #tumblr_controls,.tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop{-webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%);opacity:0; -webkit-transition-duration: 0.8s;-moz-transition-duration: 0.8s;transition-duration: 0.8s;}
  327.  
  328.  
  329. #tumblr_controls:hover,.tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop:hover {opacity:0.5; -webkit-transition-duration: 0.8s;-moz-transition-duration: 0.8s;transition-duration: 0.8s;}
  330.  
  331.  
  332.  
  333. ::selection {background: #d83e5c;color: #fff;}
  334. ::-moz-selection {background: #d83e5c;color: #fff;}
  335.  
  336. a, a:hover, a:visited {
  337. cursor:inherit;
  338. text-decoration:none;
  339. color:inherit;
  340. }
  341.  
  342. ul {
  343. list-style-type: none;
  344. }
  345.  
  346. img {border-radius:{text:Image Border Radius};}
  347.  
  348.  
  349. html {
  350. width:100%;
  351. }
  352.  
  353.  
  354.  
  355. body {
  356. cursor:url(''), crosshair;
  357. background: {color:Background};
  358. width:100%;
  359. font-family:'{text:Body Font}';
  360.  
  361. {block:IfHorizontal}
  362. height:100vh;
  363. overflow-y:hidden;
  364. position:fixed;
  365. {block:IfHorizontal}
  366.  
  367.  
  368. {block:PermalinkPage}
  369. height:100vh;
  370. overflow:hidden;
  371. {/block:PermalinkPage}
  372.  
  373. }
  374.  
  375.  
  376. #wrapper {
  377. {block:IfHorizontal} overflow-y:hidden; {/block:IfHorizontal}
  378. }
  379.  
  380.  
  381.  
  382. #header{
  383. font-family:{text:Header Font};
  384.  
  385. {block:IfHeadSpace}
  386. margin-top:calc({text:Header Height}/2);
  387. margin-bottom:calc({text:Header Height}/2);
  388. width:100%;
  389. text-align:center;
  390. font-size:50px;
  391. z-index:5;
  392.  
  393. {block:IfHorizontal}
  394. position:fixed;
  395. {/block:IfHorizontal}
  396. {/block:IfHeadSpace}
  397.  
  398.  
  399. }
  400.  
  401.  
  402. #content-wrapper {
  403.  
  404. {block:IfNotHorizontal}
  405. width:100%;
  406. {block:IfHeadspace}
  407. min-height:calc(100vh - {text:Header Height});
  408. {/block:IfHeadspace}
  409.  
  410. {block:IfNotHeadspace}
  411. margin-top:30px;
  412. min-height:100vh;
  413. {/block:IfNotHeadspace}
  414. {/block:IfNotHorizontal}
  415.  
  416. {block:IfHorizontal}
  417. transform:translateY(30%);
  418. height:100vh;
  419. {/block:IfHorizontal}
  420.  
  421. }
  422.  
  423. #content {
  424.  
  425. {block:IfNotHorizontal}
  426. width:{select:Content Width};
  427. {select:Float};
  428. {/block:IfNotHorizontal}
  429.  
  430. {block:IfHorizontal}
  431. height:100%;
  432. max-height:100vh;
  433. vertical-align:middle;
  434. overflow-y:visible;
  435. {/block:IfHorizontal}
  436.  
  437.  
  438.  
  439. {block:PermalinkPage}
  440. position:fixed;
  441. width:100%;
  442. {/block:PermalinkPage}
  443.  
  444. }
  445.  
  446.  
  447.  
  448. .box {
  449.  
  450. cursor:inherit;
  451. margin-bottom:{text:Gutter Width}px;
  452. font-family:'{text:Body Font}';
  453. font-size:10px;
  454. {block:IfNotHorizontal}
  455. {block:IfNotMasonryHorizontal}
  456. float: left;
  457. width:{select:Post Width};
  458. {/block:IfNotMasonryHorizontal}
  459.  
  460. {block:IfMasonryHorizontal}
  461. max-width:inherit;
  462. width:auto;
  463. height:100px;
  464. {/block:IfMasonryHorizontal}
  465. {/block:IfNotHorizontal}
  466.  
  467. {block:IfHorizontal}
  468. width:auto; height:{text:Horizontal Post Height};
  469. max-height:calc(100vh - {text:Header Height});
  470. {/block:IfHorizontal}
  471.  
  472.  
  473. {block:IfFade}
  474. opacity:{select:Fade Opacity};
  475. -webkit-transition: 0.8s ease-in-out;
  476. -moz-transition: 0.8s ease-in-out;
  477. transition: 0.8s ease-in-out;
  478. {/block:IfFade}
  479.  
  480. }
  481.  
  482.  
  483.  
  484. .box:hover {
  485. {block:IfFade}
  486. opacity:1.0;
  487. {/block:IfFade}
  488. }
  489.  
  490.  
  491.  
  492.  
  493. .title {
  494.  
  495. }
  496.  
  497.  
  498.  
  499.  
  500. .text {
  501. {block:IfNotHorizontal}max-height:300px;{block:IfNotHorizontal}
  502. {block:IfHorizontal}height:{text:Horizontal Post Height};
  503. width:{text:Horizontal Post Height} ;{/block:IfHorizontal}
  504. display:block;
  505. overflow: hidden;
  506. white-space: nowrap;
  507.  
  508.  
  509. }
  510.  
  511. .photo img {
  512. {block:IfNotHorizontal}width:100%;height:100%;{/block:IfNotHorizontal}
  513. {block:IfHorizontal}max-height:100%; width:auto;{block:IfHorizontal}
  514. }
  515.  
  516.  
  517.  
  518.  
  519. {block:IfHorizontal}
  520. {block:ifStackPhotoset}
  521. .photoset-wrap {}
  522. .photoset-wrap img { display: none; width:100%; }
  523. .photoset-wrap img:first-child { display: block; width:100%; }
  524. {/block:ifStackPhotoset}
  525. {/block:IfHorizontal}
  526.  
  527. {block:ifStackPhotoset}
  528. .photoset-wrap {}
  529. .photoset-wrap img { display: none; width:100%; }
  530. .photoset-wrap img:first-child { display: block; width:100%; }
  531. {/block:ifStackPhotoset}
  532.  
  533. .photocount, .photocount a {
  534. right:0px;
  535. bottom:0px;
  536. position:absolute;
  537. font-size:10px;
  538. font-family:;
  539. color:{color:Background};
  540. }
  541.  
  542.  
  543.  
  544. #deets {
  545. {block:ifShowPostDeetsOnHover}opacity:0;{/block:ifShowPostDeetsOnHover}
  546. {block:ifNotShowPostDeetsOnHover} opacity:0.5;{/block:ifNotShowPostDeetsOnHover} -webkit-transition: 0.6s ease-in-out;-moz-transition: 0.6s ease-in-out;transition: 0.6s ease-in-out; cursor:crosshair!important;
  547. }
  548.  
  549. .box:hover #deets {
  550. opacity:1;
  551. }
  552.  
  553. .like_buttons, .reblog_buttons {
  554. font-size:10px;
  555. color:{color:Post Deets};
  556. position:absolute;
  557. top:7px;
  558.  
  559. }
  560.  
  561.  
  562. .tumblr_like {
  563. opacity:0;
  564. z-index:10;
  565. position:absolute;
  566. left:-20px;
  567. top:-4px;
  568. cursor:crosshair!important;
  569.  
  570.  
  571. }
  572.  
  573. .my_like {
  574. opacity:0.5;
  575. z-index:1;
  576. position:absolute;
  577. left:-15px;
  578. cursor:crosshair!important;
  579. }
  580.  
  581.  
  582.  
  583. .tumblr_reblog {
  584. opacity:0;
  585. z-index:10;
  586. position:absolute;
  587. top:12px;
  588. left:-20px;
  589. cursor:crosshair!important;
  590. }
  591.  
  592. .my_reblog {
  593. opacity:0.5;
  594. z-index:1;
  595. position:absolute;
  596. top:15px;
  597. left:-14px;
  598. cursor:crosshair!important;
  599. }
  600.  
  601.  
  602. .permalink-post {
  603. background:yellow;
  604. font-size:1.3vh;
  605. height:calc(100vh - {text:Header Height});
  606. text-align:center;
  607. /* position: relative;
  608. top: 50%;
  609. transform: translateY(-50%); */ /* to vertical align*/
  610.  
  611. }
  612.  
  613. .permalink-post .permalink-text {
  614. height: 100%;
  615. display:block;
  616. text-overflow: ellipsis;
  617. -o-text-overflow: ellipsis;
  618. -ms-text-overflow: ellipsis;
  619. overflow: scroll;
  620. white-space: nowrap;
  621. }
  622.  
  623.  
  624. /* note the :first-chile thing doesn't work even with the img: specifier*/
  625. .permalink-photoset {background:cyan; width:100%; height:100%;}
  626. .permalink-photoset img { transform:translateX(-50%); position:absolute; height:50vh; width:auto; max-width:60vw; overflow-x:visible;
  627. counter-increment:number;
  628. -webkit-transition:opacity .6s ease-in-out;
  629. transition:opacity .6s ease-in-out;
  630. opacity:0; z-index:0;}
  631. .permalink-photoset img:first-child{opacity:1; z-index:1; }
  632. .permalink-photoset img .active {opacity:1; z-index:1; }
  633. .permalink-photoset img #counter { content:counter(number); }
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642. #vignette, .vignette{opacity:0!important;}.lightbox-caption {color:#000;}
  643. #tumblr_lightbox,.tmblr-lightbox{ background:rgba( {RGBcolor:Lightbox Background}, 0.8)!important;}
  644. #tumblr_lightbox img, .lightbox-image {box-shadow:none!important;border-radius:0px!important;}
  645.  
  646.  
  647.  
  648.  
  649. #footer {
  650. width:100%;
  651. height:{text:Footer Height};
  652. bottom:0px;
  653. z-index:10;
  654.  
  655. {block:IfHorizontal}
  656. position:fixed;
  657. {block:IfHorizontal}
  658.  
  659.  
  660.  
  661. }
  662.  
  663.  
  664. .pagination {
  665. z-index:50;
  666. {block:IfNotHorizontal}
  667. margin-top:50px;
  668. margin-bottom:50px;
  669. {/block:IfNotHorizontal}
  670.  
  671. {block:IfHorizontal}
  672. margin-top:0px;
  673. {/block:IfHorizontal}
  674.  
  675. }
  676.  
  677.  
  678. .load-more {
  679. font-family:'{text:Link Font}';
  680. left:50vw;
  681. border:0;
  682. padding-top:2vh;
  683. padding-bottom:2vh;
  684. padding-left:10vw;
  685. padding-right:10vw;
  686. background:#f0f0f0;
  687. color:#9f9f9f;
  688. -webkit-transition: 0.8s ease-in-out;
  689. -moz-transition: 0.8s ease-in-out;
  690. transition: 0.8s ease-in-out;
  691.  
  692. }
  693.  
  694.  
  695. .load-more:hover {
  696. background:{color:Links};
  697. color:{color:Background};
  698.  
  699. }
  700.  
  701.  
  702.  
  703.  
  704.  
  705. {block:ifSidebar}
  706. {/block:ifSidebar}
  707. .sidebar {
  708. {select:SideFloat}:calc( (100vw - {select:Content Width})/2 );
  709. margin:auto;
  710. float:{select:SideFloat};
  711. width:calc(100% - {select:Content Width} );
  712. background-color:cyan;
  713.  
  714. }
  715.  
  716.  
  717.  
  718.  
  719. .portrait {
  720. vertical-align:middle;
  721. border-radius:35px;
  722. opacity:0.7;
  723. -webkit-transition: 0.8s ease-in-out;
  724. -moz-transition: 0.8s ease-in-out;
  725. transition: 0.8s ease-in-out;
  726. }
  727.  
  728.  
  729. .portrait:hover {
  730. opacity:1.0;
  731. border-radius:0px;
  732.  
  733.  
  734. }
  735.  
  736.  
  737. .about {
  738. top : calc({text:Header Height}/4.5);
  739. left: 0; right: 0;
  740. margin:auto;
  741. padding-left:3px;
  742. padding-right:3px;
  743. padding-bottom:10px;
  744. background-color: rgba({RGBcolor:Links},0);
  745. border-radius:5px;
  746. width:300px;
  747. {block:IfNotHorizontal}position:absolute;{/block:IfNotHorizontal}
  748. {block:IfHorizontal}position:fixed;{/block:IfHorizontal}
  749. z-index:5;
  750. font-family:Barkentina;
  751. font-size:10px;
  752. color:rgba(255,255,255,0);
  753. -webkit-transition: 0.8s ease-in-out;
  754. -moz-transition: 0.8s ease-in-out;
  755. transition: 0.8s ease-in-out;
  756.  
  757.  
  758.  
  759. }
  760.  
  761. .about img {
  762. margin-top:10px;
  763. margin-bottom:10px;
  764. opacity:{select:Fade Opacity};
  765. }
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772. #nav {float: left;margin-top: 20px;position: fixed;z-index:1000;right:0px;margin-right:auto;position:fixed;}
  773. #nav a {text-decoration: none;font-size: 15px;line-height: 25px;color: #595959;}
  774. #nav a:hover {color: #393939;}
  775. #nav a:active {color: #151515;}
  776.  
  777. .tumblrAutoPager_page_info, .tumblrAutoPager_page_separator {display:none;}
  778. #infscr-loading {display:none;}
  779. .navigation {display:none!important;}
  780.  
  781. .isotope-item {z-index: 2;}
  782.  
  783. .isotope-hidden.isotope-item {pointer-events: none;z-index: 1;}
  784.  
  785. .isotope,
  786. .isotope .isotope-item {
  787. /* change duration value to whatever you like */
  788. -webkit-transition: 0.8s ease-in-out;
  789. -moz-transition: 0.8s ease-in-out;
  790. transition: 0.8s ease-in-out;
  791. }
  792.  
  793. .isotope {
  794. -webkit-transition-property: height, width;
  795. -moz-transition-property: height, width;
  796. transition-property: height, width;
  797. }
  798.  
  799. .isotope .isotope-item {
  800. -webkit-transition-property: -webkit-transform, opacity;
  801. -moz-transition-property: -moz-transform, opacity;
  802. transition-property: transform, opacity;
  803. }
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810. </style>
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821. </head>
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834. <body>
  835. <div id="wrapper">
  836.  
  837. {block:IfHeadSpace}
  838. <div id="header">
  839.  
  840. <a href="{BlogURL}" >{Title}</a>
  841.  
  842.  
  843.  
  844. {block:ifShowAvatar}
  845. <center>
  846. <div class="about">
  847. <center>
  848. <img src="{PortraitURL-64}" class="portrait"
  849.  
  850. onmouseover="$(this).parent().parent().css('background-color', 'rgba({RGBcolor:Links},1)'); $(this).parent().parent().css('color', 'rgba(255,255,255,1)');"
  851.  
  852. onmouseout="$(this).parent().parent().css('background-color', 'rgba({RGBcolor:Links},0)'); $(this).parent().parent().css('color', 'rgba(255,255,255,0)'); "
  853.  
  854. />
  855. </center>
  856. This is where I experiment with my pictures :)
  857. </div>
  858. </center>
  859. {/block:ifShowAvatar}
  860.  
  861.  
  862.  
  863. </div>
  864. {/block:IfHeadSpace}
  865.  
  866.  
  867.  
  868.  
  869.  
  870. <div id="content-wrapper">
  871. <div id="content">
  872. {block:Posts}
  873.  
  874. {block:IndexPage}
  875.  
  876. <div class="box" style="opacity:0;">
  877. {block:IfShowPostDeets}
  878. <div id="deets">
  879. <div class="like_buttons"><div class="tumblr_like"> {LikeButton}</div> <div class="my_like"><i class="fa fa-heart"></i></div></div>
  880. <div class="reblog_buttons"><div class="tumblr_reblog"> {ReblogButton}</div> <div class="my_reblog"><i class="fa fa-undo"></i></div></div>
  881. </div>
  882. {/block:IfShowPostDeets}
  883.  
  884. {block:Text}
  885. <div class="text">
  886. <u><a href="{Permalink}">{Title}</a></u>
  887. {Body}
  888. </div>
  889. {/block:Text}
  890.  
  891.  
  892.  
  893. {block:Photo}
  894. <div class="photo">
  895. <a href="#">
  896. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"
  897. onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false" />
  898. </a>
  899. {block:ifCaptions}{Caption}{/block:ifCaptions}
  900. </div>
  901. {/block:Photo}
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908. {block:Photoset}
  909. <div class="photoset">
  910. {block:ifNotStackPhotoset}
  911. {block:IfNotHorizontal}
  912. <!--preset code to abide by pxu -->
  913. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}" >
  914. {block:Photos}
  915. <div class="photo-data">
  916. <div class="pxu-photo">
  917. <img src="{PhotoURL-HighRes}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}">
  918. </div>
  919. <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}">
  920. </a>
  921. </div>
  922. {/block:Photos}
  923. </div>
  924. {/block:IfNotHorizontal}
  925.  
  926.  
  927. {block:IfHorizontal}
  928. {Photoset}
  929. {/block:IfHorizontal}
  930. {block:ifNotStackPhotoset}
  931.  
  932.  
  933.  
  934. {block:ifStackPhotoset}
  935. {block:IndexPage}
  936. <div class="photoset-wrap" >
  937. {block:Photos}
  938. <!-- <a href="#"> for some reason loads all images in photoset-->
  939. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false" {block:IfHorizontal}style="height:{text:Horizontal Post Height};
  940. width:auto;"{/block:IfHorizontal} />
  941. <!-- </a> -->
  942.  
  943. {/block:Photos}
  944. <div class="photocount"><a href="{Permalink}">{PhotoCount}</a></div>
  945. </div>
  946. {/block:IndexPage}
  947. {/block:ifStackPhotoset}
  948.  
  949.  
  950.  
  951.  
  952. {block:ifCaptions}{Caption}{/block:ifCaptions}
  953.  
  954. </div>
  955. {/block:Photoset}
  956. </div>
  957. {/block:IndexPage}
  958.  
  959.  
  960.  
  961.  
  962. {block:PermalinkPage}
  963.  
  964.  
  965. <div class="permalink-post">
  966.  
  967. {block:Text}
  968. <div class="permalink-text">
  969. {Title}
  970. {Body}
  971. </div>
  972. {/block:Text}
  973.  
  974. {block:Photo}
  975. <img id ="{PhotoCount}" src="{PhotoURL-HighRes}" style="width:auto; height:100%; margin:auto"/>
  976. {block:Photo}
  977.  
  978. {block:Photoset}
  979. <div class="permalink-photoset" >
  980. {block:Photos}
  981. <img class="active" src="{PhotoURL-HighRes}" alt="{PhotoAlt}"
  982. id="counter"
  983. onClick="
  984.  
  985.  
  986. var $next = $(this).next('img');
  987. $(this).css('opacity','0');
  988. $(this).css('z-index','0');
  989. $next.css('opacity','1');
  990. $next.css('z-index','1');
  991. if ($next.length == 0) {
  992. $(this).parent().find('img:first-child').css('opacity','1');
  993. $(this).parent().find('img:first-child').css('z-index','1');
  994. };"
  995.  
  996.  
  997. />
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004. {/block:Photos}
  1005. </div>
  1006. <!-- <div style="width:300px; margin:auto;">{Photoset}</div> whole photoset-->
  1007.  
  1008. {block:Photoset}
  1009.  
  1010. </div>
  1011.  
  1012.  
  1013. {/block:PermalinkPage}
  1014.  
  1015.  
  1016.  
  1017.  
  1018. {/block:Posts}
  1019. </div> <!--content -->
  1020. </div> <!--content wrapper -->
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031. {block:ifSidebar}
  1032. {block:IndexPage}
  1033. <div class="sidebar">
  1034.  
  1035. <center><img src="{PortraitURL-64}" class="portrait" /></center>
  1036.  
  1037. </div>
  1038. {block:IndexPage}
  1039. {/block:ifSidebar}
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046. <div id="footer">
  1047.  
  1048.  
  1049.  
  1050. <div class="navigation">
  1051. {block:Pagination}
  1052. {block:NextPage}
  1053. <p id="page_nav"><a style="float:right" href="{NextPage}" id="next">Older ?</a>
  1054. {/block:NextPage}
  1055. {block:PreviousPage}
  1056. <a style="float:left" href="{PreviousPage}">? Newer</a></p>
  1057. {/block:PreviousPage}
  1058. {/block:Pagination}
  1059. </div>
  1060.  
  1061. {block:IfManualInfiniteScroll}
  1062. {block:Pagination}
  1063. <div class="pagination">
  1064. <center><button class="load-more" >load more</button></center>
  1065. </div>
  1066. {/block:Pagination}
  1067. {/block:IfManualInfiniteScroll}
  1068.  
  1069.  
  1070. </div>
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080. {block:PermalinkPage}
  1081. {block:PermalinkPagination}
  1082. {block:PreviousPost} <a href="{PreviousPost}" style="float:right; right:0px; bottom:0px; position:fixed;"> Older </a>{/block:PreviousPost}
  1083. {block:NextPost}<a href="{NextPost}" style="float:left; left:0px; bottom:0px; position:fixed;">Newer</a> {/block:NextPost}
  1084. {/block:PermalinkPagination}
  1085. {block:PermalinkPage}
  1086.  
  1087. </div>
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095. </div>
  1096.  
  1097.  
  1098.  
  1099.  
  1100. </body>
  1101. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement