Advertisement
yLii

Infinite Isotope 39

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