Advertisement
yLii

Infinite Isotope 48

Jan 17th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.52 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. {block:IfHorizontal}
  337. height:100vh;
  338. overflow-y:hidden;
  339. position:fixed;
  340. {block:IfHorizontal}
  341.  
  342.  
  343. {block:PermalinkPage}
  344. height:100vh;
  345. overflow:hidden;
  346. {/block:PermalinkPage}
  347.  
  348. }
  349.  
  350.  
  351. #wrapper {
  352. {block:IfHorizontal} overflow-y:hidden; {/block:IfHorizontal}
  353. }
  354.  
  355.  
  356.  
  357. #header{
  358. {block:IfHeadSpace}
  359. margin-top:calc({text:Header Height}/2);
  360. margin-bottom:calc({text:Header Height}/2);
  361. width:100%;
  362. text-align:center;
  363. vertical-align:middle;
  364. font-size:50px;
  365. {/block:IfHeadSpace}
  366. font-family:{text:Header Font};
  367.  
  368.  
  369. }
  370.  
  371.  
  372. #content-wrapper {
  373.  
  374. {block:IfNotHorizontal}
  375. width:100%;
  376. {block:IfHeadspace}
  377. min-height:calc(100vh - {text:Header Height});
  378. {/block:IfHeadspace}
  379.  
  380. {block:IfNotHeadspace}
  381. margin-top:30px;
  382. min-height:100vh;
  383. {/block:IfNotHeadspace}
  384. {/block:IfNotHorizontal}
  385.  
  386. {block:IfHorizontal}
  387. height:100vh;
  388. overflow-y:hidden;
  389. {/block:IfHorizontal}
  390.  
  391. }
  392.  
  393. #content {
  394.  
  395. {block:IfNotHorizontal}
  396. width:{select:Content Width};
  397. {select:Float};
  398. {/block:IfNotHorizontal}
  399. {block:IfHorizontal}
  400. height:{select:Content Width};
  401. max-height:100vh;
  402. vertical-align:middle;
  403. {/block:IfHorizontal}
  404.  
  405.  
  406.  
  407. {block:PermalinkPage}
  408. width:100%;
  409. {/block:PermalinkPage}
  410.  
  411. }
  412.  
  413.  
  414.  
  415.  
  416.  
  417. a, a:hover, a:visited {
  418. cursor:inherit;
  419. text-decoration:none;
  420. color:inherit;
  421. }
  422.  
  423. ul {
  424. list-style-type: none;
  425. }
  426.  
  427.  
  428.  
  429. .title {
  430.  
  431. }
  432.  
  433.  
  434.  
  435. #nav {
  436. float: left;
  437. margin-top: 20px;
  438. position: fixed;
  439. z-index:1000;
  440. right:0px;
  441. margin-right:auto;
  442. position:fixed;
  443. }
  444.  
  445. #nav a {
  446. text-decoration: none;
  447. font-size: 15px;
  448. line-height: 25px;
  449. color: #595959;
  450. }
  451.  
  452. #nav a:hover {
  453. color: #393939;
  454. }
  455.  
  456. #nav a:active {
  457. color: #151515;
  458. }
  459.  
  460.  
  461. .tumblrAutoPager_page_info, .tumblrAutoPager_page_separator {display:none;}
  462. #infscr-loading {display:none;}
  463. .navigation {display:none!important;}
  464.  
  465.  
  466.  
  467. .isotope-item {
  468. z-index: 2;
  469. }
  470.  
  471. .isotope-hidden.isotope-item {
  472. pointer-events: none;
  473. z-index: 1;
  474. }
  475.  
  476. .isotope,
  477. .isotope .isotope-item {
  478. /* change duration value to whatever you like */
  479. -webkit-transition-duration: 0.8s;
  480. -moz-transition-duration: 0.8s;
  481. transition-duration: 0.8s;
  482. }
  483.  
  484. .isotope {
  485. -webkit-transition-property: height, width;
  486. -moz-transition-property: height, width;
  487. transition-property: height, width;
  488. }
  489.  
  490. .isotope .isotope-item {
  491. -webkit-transition-property: -webkit-transform, opacity;
  492. -moz-transition-property: -moz-transform, opacity;
  493. transition-property: transform, opacity;
  494. }
  495.  
  496.  
  497.  
  498. .box {
  499. cursor:inherit;
  500. margin-bottom:{text:Gutter Width}px;
  501. font-family:'{text:Body Font}';
  502. font-size:10px;
  503. {block:IfNotHorizontal}
  504. {block:IfNotMasonryHorizontal}
  505. float: left;
  506. width:{select:Post Width};
  507. {/block:IfNotMasonryHorizontal}
  508.  
  509. {block:IfMasonryHorizontal}
  510. max-width:inherit;
  511. width:auto;
  512. height:100px;
  513. {/block:IfMasonryHorizontal}
  514. {/block:IfNotHorizontal}
  515.  
  516. {block:IfHorizontal}
  517. width:400px;
  518. {/block:IfHorizontal}
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525. {block:IfFade}
  526. opacity:{select:Fade Opacity};
  527. -webkit-transition-duration: 0.8s;
  528. -moz-transition-duration: 0.8s;
  529. transition-duration: 0.8s;
  530. {/block:IfFade}
  531.  
  532. }
  533.  
  534.  
  535.  
  536. .box:hover {
  537. {block:IfFade}
  538. opacity:1.0;
  539. -webkit-transition-duration: 0.8s;
  540. -moz-transition-duration: 0.8s;
  541. transition-duration: 0.8s;
  542. {/block:IfFade}
  543. }
  544.  
  545.  
  546. .text {
  547. height: 50vh;
  548. display:block;
  549. text-overflow: ellipsis;
  550. -o-text-overflow: ellipsis;
  551. -ms-text-overflow: ellipsis;
  552. overflow: hidden;
  553. white-space: nowrap;
  554. }
  555.  
  556.  
  557. .permalink-post {
  558. background:yellow;
  559. font-size:1.3vh;
  560. height:calc(100vh - {text:Header Height});
  561. text-align:center;
  562. /* position: relative;
  563. top: 50%;
  564. transform: translateY(-50%); */ /* to vertical align*/
  565.  
  566. }
  567.  
  568. .permalink-post .permalink-text {
  569. height: 100%;
  570. display:block;
  571. text-overflow: ellipsis;
  572. -o-text-overflow: ellipsis;
  573. -ms-text-overflow: ellipsis;
  574. overflow: scroll;
  575. white-space: nowrap;
  576. }
  577.  
  578.  
  579. /* note the :first-chile thing doesn't work even with the img: specifier*/
  580. .permalink-photoset {background:cyan; width:100%; height:100%;}
  581. .permalink-photoset img { transform:translateX(-50%); position:absolute; height:50vh; width:auto; max-width:60vw; overflow-x:visible;
  582. counter-increment:number;
  583. -webkit-transition:opacity .6s ease-in-out;
  584. transition:opacity .6s ease-in-out;
  585. opacity:0; z-index:0;}
  586. .permalink-photoset img:first-child{opacity:1; z-index:1; }
  587. .permalink-photoset img .active {opacity:1; z-index:1; }
  588. .permalink-photoset img #counter { content:counter(number); }
  589.  
  590. .photo {
  591.  
  592. }
  593.  
  594. .photoset{
  595.  
  596. }
  597.  
  598.  
  599.  
  600. {block:IfHorizontal}
  601. {block:ifStackPhotoset}
  602. .photoset-wrap {}
  603. .photoset-wrap img { display: none; width:100%; }
  604. .photoset-wrap img:first-child { display: block; width:100%; }
  605. {/block:ifStackPhotoset}
  606. {/block:IfHorizontal}
  607.  
  608. {block:ifStackPhotoset}
  609. .photoset-wrap {}
  610. .photoset-wrap img { display: none; width:100%; }
  611. .photoset-wrap img:first-child { display: block; width:100%; }
  612. {/block:ifStackPhotoset}
  613.  
  614. .photocount, .photocount a {
  615. right:0px;
  616. bottom:0px;
  617. position:absolute;
  618. font-size:10px;
  619. font-family:;
  620. color:{color:Background};
  621. }
  622.  
  623.  
  624.  
  625.  
  626.  
  627. #vignette, .vignette{opacity:0!important;}.lightbox-caption {color:#000;}
  628. #tumblr_lightbox,.tmblr-lightbox{ background:rgba( {RGBcolor:Lightbox Background}, 0.8)!important;}
  629. #tumblr_lightbox img, .lightbox-image {box-shadow:none!important;border-radius:0px!important;}
  630.  
  631.  
  632.  
  633.  
  634. #footer {
  635. width:100%;
  636. height:{text:Footer Height};
  637. bottom:0px;
  638. background:pink;
  639.  
  640.  
  641. }
  642.  
  643.  
  644. .pagination {
  645. {block:IfNotHorizontal}
  646. margin-top:50px;
  647. margin-bottom:50px;
  648. {/block:IfNotHorizontal}
  649.  
  650. {block:IfHorizontal}
  651. margin-top:-75px;
  652. {/block:IfHorizontal}
  653.  
  654. }
  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}:calc( (100vw - {select:Content Width})/2 );
  693. margin:auto;
  694. float:{select:SideFloat};
  695. width:calc(100% - {select:Content Width} );
  696. background-color:cyan;
  697.  
  698. }
  699.  
  700.  
  701.  
  702.  
  703. .portrait {
  704. vertical-align:middle;
  705. border-radius:35px;
  706. opacity:0.7;
  707. -webkit-transition-duration: 0.8s;
  708. -moz-transition-duration: 0.8s;
  709. transition-duration: 0.8s;
  710. }
  711.  
  712.  
  713. .portrait:hover {
  714. opacity:1.0;
  715. border-radius:0px;
  716. -webkit-transition-duration: 0.8s;
  717. -moz-transition-duration: 0.8s;
  718. transition-duration: 0.8s;
  719.  
  720.  
  721. }
  722.  
  723.  
  724. .about {
  725. top : calc({text:Header Height}/4.5);
  726. left: 0; right: 0;
  727. margin:auto;
  728. padding-left:3px;
  729. padding-right:3px;
  730. padding-bottom:10px;
  731. background-color: rgba({RGBcolor:Links},0);
  732. border-radius:5px;
  733. width:300px;
  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. padding-top:10px;
  749. padding-bottom:10px;
  750. opacity:{select:Fade Opacity};
  751. }
  752.  
  753.  
  754.  
  755. </style>
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766. </head>
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779. <body>
  780.  
  781.  
  782. <div id="wrapper">
  783.  
  784. {block:IfHeadSpace}
  785. <div id="header">
  786.  
  787. <a href="{BlogURL}" >{Title}</a>
  788.  
  789.  
  790.  
  791. {block:ifShowAvatar}
  792. <center>
  793. <div class="about">
  794. <center>
  795. <img src="{PortraitURL-64}" class="portrait"
  796.  
  797. onmouseover="$(this).parent().parent().css('background-color', 'rgba({RGBcolor:Links},1)'); $(this).parent().parent().css('color', 'rgba(255,255,255,1)');"
  798.  
  799. onmouseout="$(this).parent().parent().css('background-color', 'rgba({RGBcolor:Links},0)'); $(this).parent().parent().css('color', 'rgba(255,255,255,0)'); "
  800.  
  801. />
  802. </center>
  803. Hello dummy text
  804. </div>
  805. </center>
  806. {/block:ifShowAvatar}
  807.  
  808.  
  809.  
  810. </div>
  811. {/block:IfHeadSpace}
  812.  
  813.  
  814.  
  815.  
  816.  
  817. <div id="content-wrapper">
  818. <div id="content">
  819. {block:Posts}
  820.  
  821. {block:IndexPage}
  822.  
  823. {block:Text}
  824. <div class="box text" style="opacity:0;">
  825. <u><a href="{Permalink}">{Title}</a></u>
  826. {Body}
  827. </div>
  828. {/block:Text}
  829.  
  830.  
  831.  
  832. {block:Photo}
  833.  
  834. <a href="#">
  835. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="box photo" style="opacity:0;"
  836. 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" />
  837. </a>
  838. {/block:Photo}
  839.  
  840.  
  841. {block:Photoset}
  842. <div class="box" style="opacity:0;">
  843.  
  844. {block:ifNotStackPhotoset}
  845. <!--preset code to abide by pxu -->
  846. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">
  847.  
  848. {block:Photos}
  849. <div class="photo-data">
  850. <div class="pxu-photo">
  851. <img src="{PhotoURL-HighRes}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}">
  852. </div>
  853. <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}">
  854. </a>
  855. </div>
  856. {/block:Photos}
  857. </div>
  858. {block:ifNotStackPhotoset}
  859.  
  860.  
  861.  
  862. {block:ifStackPhotoset}
  863. {block:IndexPage}
  864. <div class="photoset-wrap">
  865. {block:Photos}
  866. <!-- <a href="#"> for some reason loads all images in photoset-->
  867. <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" />
  868. <!-- </a> -->
  869.  
  870. {/block:Photos}
  871. <div class="photocount"><a href="{Permalink}">{PhotoCount}</a></div>
  872. </div>
  873. {/block:IndexPage}
  874. {/block:ifStackPhotoset}
  875.  
  876.  
  877.  
  878.  
  879. {block:ifCaptions}
  880. {Caption}
  881. {/block:ifCaptions}
  882.  
  883. </div>
  884. {/block:Photoset}
  885.  
  886. {/block:IndexPage}
  887.  
  888.  
  889.  
  890.  
  891. {block:PermalinkPage}
  892.  
  893.  
  894. <div class="permalink-post">
  895.  
  896. {block:Text}
  897. <div class="permalink-text">
  898. {Title}
  899. {Body}
  900. </div>
  901. {/block:Text}
  902.  
  903. {block:Photo}
  904. <img id ="{PhotoCount}" src="{PhotoURL-HighRes}" style="width:auto; height:100%; margin:auto"/>
  905. {block:Photo}
  906.  
  907. {block:Photoset}
  908. <div class="permalink-photoset" >
  909. {block:Photos}
  910. <img class="active" src="{PhotoURL-HighRes}" alt="{PhotoAlt}"
  911. id="counter"
  912. onClick="
  913.  
  914.  
  915. var $next = $(this).next('img');
  916. $(this).css('opacity','0');
  917. $(this).css('z-index','0');
  918. $next.css('opacity','1');
  919. $next.css('z-index','1');
  920. if ($next.length == 0) {
  921. $(this).parent().find('img:first-child').css('opacity','1');
  922. $(this).parent().find('img:first-child').css('z-index','1');
  923. };"
  924.  
  925.  
  926. />
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933. {/block:Photos}
  934. </div>
  935. <!-- <div style="width:300px; margin:auto;">{Photoset}</div> whole photoset-->
  936.  
  937. {block:Photoset}
  938.  
  939. </div>
  940.  
  941.  
  942. {/block:PermalinkPage}
  943.  
  944.  
  945.  
  946.  
  947. {/block:Posts}
  948. </div> <!--content -->
  949. </div> <!--content wrapper -->
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960. {block:ifSidebar}
  961. {block:IndexPage}
  962. <div class="sidebar">
  963.  
  964. <center><img src="{PortraitURL-64}" class="portrait" /></center>
  965.  
  966. </div>
  967. {block:IndexPage}
  968. {/block:ifSidebar}
  969.  
  970.  
  971.  
  972.  
  973.  
  974. {block:IfNotHorizontal}
  975. <div id="footer">
  976. {/block:IfNotHorizontal}
  977.  
  978.  
  979. <div class="navigation">
  980. {block:Pagination}
  981. {block:NextPage}
  982. <p id="page_nav"><a style="float:right" href="{NextPage}" id="next">Older ?</a>
  983. {/block:NextPage}
  984. {block:PreviousPage}
  985. <a style="float:left" href="{PreviousPage}">? Newer</a></p>
  986. {/block:PreviousPage}
  987. {/block:Pagination}
  988. </div>
  989.  
  990. {block:ifManualInfiniteScroll}
  991. {block:Pagination}
  992. <div class="pagination">
  993. <center><button class="load-more">load more</button></center>
  994. </div>
  995. {/block:Pagination}
  996. {/block:ifManualInfiniteScroll}
  997.  
  998. {block:IfNotHorizontal}
  999. </div>
  1000. {/block:IfNotHorizontal}
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009. {block:PermalinkPage}
  1010. {block:PermalinkPagination}
  1011. {block:PreviousPost} <a href="{PreviousPost}" style="float:right; right:0px; bottom:0px; position:fixed;"> Older </a>{/block:PreviousPost}
  1012. {block:NextPost}<a href="{NextPost}" style="float:left; left:0px; bottom:0px; position:fixed;">Newer</a> {/block:NextPost}
  1013. {/block:PermalinkPagination}
  1014. {block:PermalinkPage}
  1015.  
  1016. </div>
  1017.  
  1018. </div>
  1019.  
  1020.  
  1021.  
  1022.  
  1023. </body>
  1024. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement