Advertisement
yLii

Infinite Isotope 47

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