yLii

Infinite Isotope 50

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