Advertisement
yLii

Infinite Isotope 51

Jan 17th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.60 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:80vh;
  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. {block:IfFade}
  524. opacity:{select:Fade Opacity};
  525. -webkit-transition-duration: 0.8s;
  526. -moz-transition-duration: 0.8s;
  527. transition-duration: 0.8s;
  528. {/block:IfFade}
  529.  
  530. }
  531.  
  532.  
  533.  
  534. .box:hover {
  535. {block:IfFade}
  536. opacity:1.0;
  537. -webkit-transition-duration: 0.8s;
  538. -moz-transition-duration: 0.8s;
  539. transition-duration: 0.8s;
  540. {/block:IfFade}
  541. }
  542.  
  543.  
  544. .text {
  545. height: 50vh;
  546. display:block;
  547. text-overflow: ellipsis;
  548. -o-text-overflow: ellipsis;
  549. -ms-text-overflow: ellipsis;
  550. overflow: hidden;
  551. white-space: nowrap;
  552. }
  553.  
  554.  
  555. .permalink-post {
  556. background:yellow;
  557. font-size:1.3vh;
  558. height:calc(100vh - {text:Header Height});
  559. text-align:center;
  560. /* position: relative;
  561. top: 50%;
  562. transform: translateY(-50%); */ /* to vertical align*/
  563.  
  564. }
  565.  
  566. .permalink-post .permalink-text {
  567. height: 100%;
  568. display:block;
  569. text-overflow: ellipsis;
  570. -o-text-overflow: ellipsis;
  571. -ms-text-overflow: ellipsis;
  572. overflow: scroll;
  573. white-space: nowrap;
  574. }
  575.  
  576.  
  577. /* note the :first-chile thing doesn't work even with the img: specifier*/
  578. .permalink-photoset {background:cyan; width:100%; height:100%;}
  579. .permalink-photoset img { transform:translateX(-50%); position:absolute; height:50vh; width:auto; max-width:60vw; overflow-x:visible;
  580. counter-increment:number;
  581. -webkit-transition:opacity .6s ease-in-out;
  582. transition:opacity .6s ease-in-out;
  583. opacity:0; z-index:0;}
  584. .permalink-photoset img:first-child{opacity:1; z-index:1; }
  585. .permalink-photoset img .active {opacity:1; z-index:1; }
  586. .permalink-photoset img #counter { content:counter(number); }
  587.  
  588. .photo {
  589.  
  590. }
  591.  
  592. .photoset{
  593.  
  594. }
  595.  
  596.  
  597.  
  598. {block:IfHorizontal}
  599. {block:ifStackPhotoset}
  600. .photoset-wrap {}
  601. .photoset-wrap img { display: none; width:100%; }
  602. .photoset-wrap img:first-child { display: block; width:100%; }
  603. {/block:ifStackPhotoset}
  604. {/block:IfHorizontal}
  605.  
  606. {block:ifStackPhotoset}
  607. .photoset-wrap {}
  608. .photoset-wrap img { display: none; width:100%; }
  609. .photoset-wrap img:first-child { display: block; width:100%; }
  610. {/block:ifStackPhotoset}
  611.  
  612. .photocount, .photocount a {
  613. right:0px;
  614. bottom:0px;
  615. position:absolute;
  616. font-size:10px;
  617. font-family:;
  618. color:{color:Background};
  619. }
  620.  
  621.  
  622.  
  623.  
  624.  
  625. #vignette, .vignette{opacity:0!important;}.lightbox-caption {color:#000;}
  626. #tumblr_lightbox,.tmblr-lightbox{ background:rgba( {RGBcolor:Lightbox Background}, 0.8)!important;}
  627. #tumblr_lightbox img, .lightbox-image {box-shadow:none!important;border-radius:0px!important;}
  628.  
  629.  
  630.  
  631.  
  632. #footer {
  633. width:100%;
  634. height:{text:Footer Height};
  635. bottom:0px;
  636. background:pink;
  637.  
  638.  
  639. }
  640.  
  641.  
  642. .pagination {
  643. z-index:50;
  644. {block:IfNotHorizontal}
  645. margin-top:50px;
  646. margin-bottom:50px;
  647. {/block:IfNotHorizontal}
  648.  
  649. {block:IfHorizontal}
  650.  
  651. margin-top:-75px;
  652.  
  653. {/block:IfHorizontal}
  654.  
  655. }
  656.  
  657.  
  658. .load-more {
  659. font-family:'{text:Link Font}';
  660. left:50vw;
  661. border:0;
  662. padding-top:2vh;
  663. padding-bottom:2vh;
  664. padding-left:10vw;
  665. padding-right:10vw;
  666. background:#f0f0f0;
  667. color:#9f9f9f;
  668. -webkit-transition-duration: 0.8s;
  669. -moz-transition-duration: 0.8s;
  670. transition-duration: 0.8s;
  671.  
  672. }
  673.  
  674.  
  675. .load-more:hover {
  676. background:{color:Links};
  677. color:{color:Background};
  678. -webkit-transition-duration: 0.8s;
  679. -moz-transition-duration: 0.8s;
  680. transition-duration: 0.8s;
  681. }
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690. {block:ifSidebar}
  691. {/block:ifSidebar}
  692. .sidebar {
  693. {select:SideFloat}:calc( (100vw - {select:Content Width})/2 );
  694. margin:auto;
  695. float:{select:SideFloat};
  696. width:calc(100% - {select:Content Width} );
  697. background-color:cyan;
  698.  
  699. }
  700.  
  701.  
  702.  
  703.  
  704. .portrait {
  705. vertical-align:middle;
  706. border-radius:35px;
  707. opacity:0.7;
  708. -webkit-transition-duration: 0.8s;
  709. -moz-transition-duration: 0.8s;
  710. transition-duration: 0.8s;
  711. }
  712.  
  713.  
  714. .portrait:hover {
  715. opacity:1.0;
  716. border-radius:0px;
  717. -webkit-transition-duration: 0.8s;
  718. -moz-transition-duration: 0.8s;
  719. transition-duration: 0.8s;
  720.  
  721.  
  722. }
  723.  
  724.  
  725. .about {
  726. top : calc({text:Header Height}/4.5);
  727. left: 0; right: 0;
  728. margin:auto;
  729. padding-left:3px;
  730. padding-right:3px;
  731. padding-bottom:10px;
  732. background-color: rgba({RGBcolor:Links},0);
  733. border-radius:5px;
  734. width:300px;
  735. position:absolute;
  736. z-index:5;
  737. font-family:Barkentina;
  738. font-size:10px;
  739. color:rgba(255,255,255,0);
  740. -webkit-transition-duration: 0.8s;
  741. -moz-transition-duration: 0.8s;
  742. transition-duration: 0.8s;
  743.  
  744.  
  745.  
  746. }
  747.  
  748. .about img {
  749. padding-top:10px;
  750. padding-bottom:10px;
  751. opacity:{select:Fade Opacity};
  752. }
  753.  
  754.  
  755.  
  756. </style>
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767. </head>
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780. <body>
  781.  
  782.  
  783. <div id="wrapper">
  784.  
  785. {block:IfHeadSpace}
  786. <div id="header">
  787.  
  788. <a href="{BlogURL}" >{Title}</a>
  789.  
  790.  
  791.  
  792. {block:ifShowAvatar}
  793. <center>
  794. <div class="about">
  795. <center>
  796. <img src="{PortraitURL-64}" class="portrait"
  797.  
  798. onmouseover="$(this).parent().parent().css('background-color', 'rgba({RGBcolor:Links},1)'); $(this).parent().parent().css('color', 'rgba(255,255,255,1)');"
  799.  
  800. onmouseout="$(this).parent().parent().css('background-color', 'rgba({RGBcolor:Links},0)'); $(this).parent().parent().css('color', 'rgba(255,255,255,0)'); "
  801.  
  802. />
  803. </center>
  804. Hello dummy text
  805. </div>
  806. </center>
  807. {/block:ifShowAvatar}
  808.  
  809.  
  810.  
  811. </div>
  812. {/block:IfHeadSpace}
  813.  
  814.  
  815.  
  816.  
  817.  
  818. <div id="content-wrapper">
  819. <div id="content">
  820. {block:Posts}
  821.  
  822. {block:IndexPage}
  823.  
  824. {block:Text}
  825. <div class="box text" style="opacity:0;">
  826. <u><a href="{Permalink}">{Title}</a></u>
  827. {Body}
  828. </div>
  829. {/block:Text}
  830.  
  831.  
  832.  
  833. {block:Photo}
  834.  
  835. <a href="#">
  836. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="box photo" style="opacity:0;"
  837. 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" />
  838. </a>
  839. {/block:Photo}
  840.  
  841.  
  842. {block:Photoset}
  843. <div class="box" style="opacity:0;">
  844.  
  845. {block:ifNotStackPhotoset}
  846. <!--preset code to abide by pxu -->
  847. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">
  848.  
  849. {block:Photos}
  850. <div class="photo-data">
  851. <div class="pxu-photo">
  852. <img src="{PhotoURL-HighRes}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}">
  853. </div>
  854. <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}">
  855. </a>
  856. </div>
  857. {/block:Photos}
  858. </div>
  859. {block:ifNotStackPhotoset}
  860.  
  861.  
  862.  
  863. {block:ifStackPhotoset}
  864. {block:IndexPage}
  865. <div class="photoset-wrap">
  866. {block:Photos}
  867. <!-- <a href="#"> for some reason loads all images in photoset-->
  868. <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" />
  869. <!-- </a> -->
  870.  
  871. {/block:Photos}
  872. <div class="photocount"><a href="{Permalink}">{PhotoCount}</a></div>
  873. </div>
  874. {/block:IndexPage}
  875. {/block:ifStackPhotoset}
  876.  
  877.  
  878.  
  879.  
  880. {block:ifCaptions}
  881. {Caption}
  882. {/block:ifCaptions}
  883.  
  884. </div>
  885. {/block:Photoset}
  886.  
  887. {/block:IndexPage}
  888.  
  889.  
  890.  
  891.  
  892. {block:PermalinkPage}
  893.  
  894.  
  895. <div class="permalink-post">
  896.  
  897. {block:Text}
  898. <div class="permalink-text">
  899. {Title}
  900. {Body}
  901. </div>
  902. {/block:Text}
  903.  
  904. {block:Photo}
  905. <img id ="{PhotoCount}" src="{PhotoURL-HighRes}" style="width:auto; height:100%; margin:auto"/>
  906. {block:Photo}
  907.  
  908. {block:Photoset}
  909. <div class="permalink-photoset" >
  910. {block:Photos}
  911. <img class="active" src="{PhotoURL-HighRes}" alt="{PhotoAlt}"
  912. id="counter"
  913. onClick="
  914.  
  915.  
  916. var $next = $(this).next('img');
  917. $(this).css('opacity','0');
  918. $(this).css('z-index','0');
  919. $next.css('opacity','1');
  920. $next.css('z-index','1');
  921. if ($next.length == 0) {
  922. $(this).parent().find('img:first-child').css('opacity','1');
  923. $(this).parent().find('img:first-child').css('z-index','1');
  924. };"
  925.  
  926.  
  927. />
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934. {/block:Photos}
  935. </div>
  936. <!-- <div style="width:300px; margin:auto;">{Photoset}</div> whole photoset-->
  937.  
  938. {block:Photoset}
  939.  
  940. </div>
  941.  
  942.  
  943. {/block:PermalinkPage}
  944.  
  945.  
  946.  
  947.  
  948. {/block:Posts}
  949. </div> <!--content -->
  950. </div> <!--content wrapper -->
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961. {block:ifSidebar}
  962. {block:IndexPage}
  963. <div class="sidebar">
  964.  
  965. <center><img src="{PortraitURL-64}" class="portrait" /></center>
  966.  
  967. </div>
  968. {block:IndexPage}
  969. {/block:ifSidebar}
  970.  
  971.  
  972.  
  973.  
  974.  
  975. {block:IfNotHorizontal}
  976. <div id="footer">
  977. {/block:IfNotHorizontal}
  978.  
  979.  
  980. <div class="navigation">
  981. {block:Pagination}
  982. {block:NextPage}
  983. <p id="page_nav"><a style="float:right" href="{NextPage}" id="next">Older ?</a>
  984. {/block:NextPage}
  985. {block:PreviousPage}
  986. <a style="float:left" href="{PreviousPage}">? Newer</a></p>
  987. {/block:PreviousPage}
  988. {/block:Pagination}
  989. </div>
  990.  
  991. {block:IfManualInfiniteScroll}
  992. {block:Pagination}
  993. <div class="pagination">
  994. <center><button class="load-more" >load more</button></center>
  995. </div>
  996. {/block:Pagination}
  997. {/block:IfManualInfiniteScroll}
  998.  
  999. {block:IfNotHorizontal}
  1000. </div>
  1001. {/block:IfNotHorizontal}
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010. {block:PermalinkPage}
  1011. {block:PermalinkPagination}
  1012. {block:PreviousPost} <a href="{PreviousPost}" style="float:right; right:0px; bottom:0px; position:fixed;"> Older </a>{/block:PreviousPost}
  1013. {block:NextPost}<a href="{NextPost}" style="float:left; left:0px; bottom:0px; position:fixed;">Newer</a> {/block:NextPost}
  1014. {/block:PermalinkPagination}
  1015. {block:PermalinkPage}
  1016.  
  1017. </div>
  1018.  
  1019. </div>
  1020.  
  1021.  
  1022.  
  1023.  
  1024. </body>
  1025. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement