Advertisement
yLii

Infinite Isotope 60

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