Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>{Title}</title>
- <script src="http://static.tumblr.com/iuvoef7/bXomx943d/jquery-1.7.1.min.js"></script>
- <!--don't understand why this script doesn't work -->
- <script src="http://static.tumblr.com/iuvoef7/hshmx93xt/jquery.isotope.min.js"></script>
- <!-- for some reason this one works -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/2.2.2/isotope.pkgd.min.js"></script>
- <!--cellsbycolumn-->
- <script src="https://raw.githubusercontent.com/metafizzy/isotope-cells-by-column/master/cells-by-column.js"></script>
- <!--cellsbyrow-->
- <script src="https://raw.githubusercontent.com/metafizzy/isotope-cells-by-row/master/cells-by-row.js"></script>
- <!--fitcolumns-->
- <script src="https://raw.githubusercontent.com/metafizzy/isotope-fit-columns/master/fit-columns.js"></script>
- <!--masonryhorizontal-->
- <script src="https://raw.githubusercontent.com/metafizzy/isotope-masonry-horizontal/master/masonry-horizontal.js"></script>
- <!--horizontal horiz-->
- <script src="https://raw.githubusercontent.com/metafizzy/isotope-horizontal/master/horizontal.js"></script>
- <!--infinite scroll -->
- <script src="http://static.tumblr.com/iuvoef7/tIEmx9449/jquery.infinitescroll.min.js"></script>
- <!--smooth scrolling-->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.6/SmoothScroll.min.js"></script>
- <!--images Loaded
- <script src="https://npmcdn.com/imagesloaded@4.1/imagesloaded.pkgd.min.js"></script> -->
- <script>
- //main function, called isotope
- var isotope = $(function(){
- var $container = $('#content');
- var $boxes = $('.box').css('opacity','0');
- $container.imagesLoaded(function(){
- $boxes.fadeIn()
- $container.isotope({
- itemSelector : '.box',
- layoutMode : '{select:Layout Type}',
- masonry: {
- gutter: {text:Gutter Width}
- }
- {block:ifMasonryHorizontal}
- masonryHorizontal: {
- rowHeight: 50
- }
- {/block:ifMasonryHorizontal}
- });
- setTimeout(function(){
- $boxes.css('opacity','{select:Fade Opacity}');
- }, 1000);
- });
- $boxes.mouseover(function(){$(this).css('opacity','1')});
- $boxes.mouseout(function(){$(this).css('opacity','{select:Fade Opacity}')});
- //infinite scroll and callback
- $container.infinitescroll({
- navSelector : '#page_nav',
- nextSelector : '#page_nav a',
- itemSelector : '.box',
- loading: {
- finishedMsg: 'You have reached the end of the internet.',
- img: 'http://i.imgur.com/qkKy8.gif'
- }
- },
- // call Isotope as a callback
- function ( newElements ) {
- var $newElems = jQuery( newElements ).hide(); // hide to begin with
- $( newElements ).find('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: ' {text:Photoset Gutter Width}px',
- borderRadius: '0px',
- highRes : true,
- captions : true,
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- // ensure that images load before adding to masonry layout
- $newElems.imagesLoaded(function(){
- $newElems.fadeIn(); // fade in when ready
- $container.isotope( 'insert', $newElems );
- });
- }
- );
- {block:ifManualInfiniteScroll}
- //manual infinite scroll
- $(window).unbind('.infscr');
- $('.load-more').click(function(){
- $container.infinitescroll('retrieve');
- return false
- });
- {/block:ifManualInfiniteScroll}
- }); //ending main function
- $(document).ready(isotope);
- </script>
- <!--Responsive photosets-->
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script>
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: ' {text:Photoset Gutter Width}px',
- borderRadius: '0px',
- highRes : true,
- captions : true,
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- });
- </script>
- <meta name="image:Background" content="" />
- <meta name="image:Lollipop Background" content="" />
- <meta name="image:Quote Background" content="" />
- <meta name="image:HeaderBackground" content="" />
- <meta name="color:Background" content="#ffffff" />
- <meta name="color:Lightbox Background" content="#ffffff" />
- <meta name="color:Links" content="#ffa9b6" />
- <meta name="color:Text highlight" content="#ffa9b6" />
- <meta name="color:Hover" content="#b7512e" />
- <meta name="color:Scrollbar" content="#fed3f2" />
- <meta name="font:Header Font" content="Arial" />
- <meta name="if:Captions" content="0" />
- <meta name="if:Fade" content="1" />
- <meta name="if:Head Space" content="1" />
- <meta name="if:Horizontal" content="0" />
- <meta name="if:Infinite Scroll" content="1" />
- <meta name="if:Manual Infinite Scroll" content="1" />
- <meta name="if:Masonry Horizontal" content="0" />
- <meta name="if:Show Avatar" content="1" />
- <meta name="if:Sidebar" content="0" />
- <meta name="if:Stack Photoset" content="0" />
- <meta name="select:Content Width" content="30%" />
- <meta name="select:Content Width" content="40%" />
- <meta name="select:Content Width" content="50%" />
- <meta name="select:Content Width" content="60%" />
- <meta name="select:Content Width" content="70%" />
- <meta name="select:Content Width" content="80%" />
- <meta name="select:Content Width" content="90%" />
- <meta name="select:Content Width" content="100%" />
- <meta name="select:Fade Opacity" content="0.1" />
- <meta name="select:Fade Opacity" content="0.2" />
- <meta name="select:Fade Opacity" content="0.3" />
- <meta name="select:Fade Opacity" content="0.4" />
- <meta name="select:Fade Opacity" content="0.5" />
- <meta name="select:Fade Opacity" content="0.6" />
- <meta name="select:Fade Opacity" content="0.7" />
- <meta name="select:Fade Opacity" content="0.8" />
- <meta name="select:Fade Opacity" content="0.9" />
- <meta name="select:Fade Opacity" content="1.0" />
- <meta name="select:Float" content="margin:auto" title="Align Center" />
- <meta name="select:Float" content="left:calc(100vw/2.33)" title="Align Left" />
- <meta name="select:Float" content="left:calc(100vw/1.75)" title="Align Right" />
- <meta name="select:SideFloat" content="left" title="Left Sidebar" />
- <meta name="select:SideFloat" content="right" title="Right Sidebar" />
- <meta name="select:Layout Type" content="cellsByColumn" title="Cells by Column" />
- <meta name="select:Layout Type" content="cellsByRow" title="Cells by Row" />
- <meta name="select:Layout Type" content="fitColumns" title="Fit Columns" />
- <meta name="select:Layout Type" content="fitRows" title="Fit Rows" />
- <meta name="select:Layout Type" content="horiz" title="Horizontal" />
- <meta name="select:Layout Type" content="masonry" title="Masonry" />
- <meta name="select:Layout Type" content="masonryHorizontal" title="Masonry Horizontal" />
- <meta name="select:Layout Type" content="vertical" title="Vertical" />
- <!--Post Width in relation to Content Width -->
- <meta name="select:Post Width" content="100%" />
- <meta name="select:Post Width" content="25%" />
- <meta name="select:Post Width" content="30%" />
- <meta name="select:Post Width" content="32%" />
- <meta name="select:Post Width" content="32.75%" />
- <meta name="select:Post Width" content="33.33%" />
- <meta name="select:Post Width" content="40%" />
- <meta name="select:Post Width" content="50%" />
- <meta name="select:Post Width" content="60%" />
- <meta name="select:Post Width" content="70%" />
- <meta name="select:Post Width" content="75%" />
- <meta name="select:Post Width" content="80%" />
- <meta name="select:Post Width" content="90%" />
- <meta name="text:Header Height" content="250px" />
- <meta name="text:Footer Height" content="100px" />
- <meta name="text:Header Font" content="Jellyka"/>
- <meta name="text:Body Font" content="Lato" />
- <meta name="text:Link Font" content="Open Sans" />
- <meta name="text:Sidebar Font" content="Lato" />
- <meta name="text:Horizontal Post Height" content="300px" />
- <meta name="text:Gutter Width" content="200" />
- <meta name="text:Photoset Gutter Width" content="1" />
- <!--fonts-->
- <link href='http://fonts.googleapis.com/css?family={text:Body Font}' rel='stylesheet' type='text/css'>
- <link href='http://fonts.googleapis.com/css?family={text:Header Font}' rel='stylesheet' type='text/css'>
- <link href='http://fonts.googleapis.com/css?family={text:Link Font}' rel='stylesheet' type='text/css'>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- @font-face {font-family:"Accent";src:url('http://static.tumblr.com/m9qxvhq/mc9mhlhm3/accent.ttf');}
- @font-face {font-family:"Barkentina";src:url('http://static.tumblr.com/m9qxvhq/CH5mhn23p/barkentina_1.otf');}
- @font-face {font-family:"Blake";src:url('http://static.tumblr.com/m9qxvhq/bnRmhedq1/blake2.ttf');}
- @font-face {font-family:"Buffet";src:url('http://static.tumblr.com/m9qxvhq/0V2mhl3je/buffet_script.ttf');}
- @font-face {font-family:"Jellyka";src:url('http://static.tumblr.com/iuvoef7/mNnojgowh/jellyka_bees_antique_handwriting.ttf');}
- @font-face {font-family:"Mayo";src:url('http://static.tumblr.com/m9qxvhq/dD6mhcpd0/mayonaise-condensed.otf');}
- @font-face {font-family:"Sachiko";src:url('http://static.tumblr.com/m9qxvhq/UTEmhi6ks/sachiko.ttf');}
- @font-face {font-family:"Sugah";src:url('http://static.tumblr.com/m9qxvhq/Dghmhi6ct/frenchsugar.ttf');}
- ::-webkit-scrollbar {width: 8px; height: 4px; background: {color:Background}; opacity:0.5;}
- ::-webkit-scrollbar-thumb { background-color: {color:Scrollbar}; -webkit-border-radius: 2ex; }
- ::-moz-scrollbar {width: 8px; height: 4px; background: {color:Background}; }
- ::-moz-scrollbar-thumb { background-color: {color:Scrollbar}; -moz-border-radius: 2ex; }
- ::-o-scrollbar {width: 8px; height: 4px; background: {color:Background}; }
- ::-o-scrollbar-thumb { background-color: {color:Scrollbar}; -o-border-radius: 2ex; }
- {block:PermalinkPage}
- ::-webkit-scrollbar {width: 8px; height: 4px; background: {color:Background}; opacity:0.5;}
- ::-webkit-scrollbar-thumb { background-color: {color:Background}; -webkit-border-radius: 2ex; }
- ::-moz-scrollbar {width: 8px; height: 4px; background: {color:Background}; }
- ::-moz-scrollbar-thumb { background-color: {color:Background}; -moz-border-radius: 2ex; }
- ::-o-scrollbar {width: 8px; height: 4px; background: {color:Background}; }
- ::-o-scrollbar-thumb { background-color: {color:Background}; -o-border-radius: 2ex; }
- {block:PermalinkPage}
- #tumblr_controls,.tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop{-webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%);opacity:0; -webkit-transition-duration: 0.8s;-moz-transition-duration: 0.8s;transition-duration: 0.8s;}
- #tumblr_controls:hover,.tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop:hover {opacity:0.5; -webkit-transition-duration: 0.8s;-moz-transition-duration: 0.8s;transition-duration: 0.8s;}
- ::selection {background: #d83e5c;color: #fff;}
- ::-moz-selection {background: #d83e5c;color: #fff;}
- a, a:hover, a:visited {
- cursor:inherit;
- text-decoration:none;
- color:inherit;
- }
- ul {
- list-style-type: none;
- }
- html {
- width:100%;
- }
- body {
- cursor:url(''), crosshair;
- background: {color:Background};
- width:100%;
- font-family:'{text:Body Font}';
- {block:IfHorizontal}
- height:100vh;
- overflow-y:hidden;
- position:fixed;
- {block:IfHorizontal}
- {block:PermalinkPage}
- height:100vh;
- overflow:hidden;
- {/block:PermalinkPage}
- }
- #wrapper {
- {block:IfHorizontal} overflow-y:hidden; {/block:IfHorizontal}
- }
- #header{
- font-family:{text:Header Font};
- {block:IfHeadSpace}
- margin-top:calc({text:Header Height}/2);
- margin-bottom:calc({text:Header Height}/2);
- width:100%;
- text-align:center;
- font-size:50px;
- z-index:5;
- {block:IfHorizontal}
- position:fixed;
- {/block:IfHorizontal}
- {/block:IfHeadSpace}
- }
- #content-wrapper {
- {block:IfNotHorizontal}
- width:100%;
- {block:IfHeadspace}
- min-height:calc(100vh - {text:Header Height});
- {/block:IfHeadspace}
- {block:IfNotHeadspace}
- margin-top:30px;
- min-height:100vh;
- {/block:IfNotHeadspace}
- {/block:IfNotHorizontal}
- {block:IfHorizontal}
- transform:translateY(30%);
- height:100vh;
- {/block:IfHorizontal}
- }
- #content {
- {block:IfNotHorizontal}
- width:{select:Content Width};
- {select:Float};
- {/block:IfNotHorizontal}
- {block:IfHorizontal}
- height:100%;
- max-height:100vh;
- vertical-align:middle;
- overflow-y:visible;
- {/block:IfHorizontal}
- {block:PermalinkPage}
- position:fixed;
- width:100%;
- {/block:PermalinkPage}
- }
- .box {
- background:red;
- cursor:inherit;
- margin-bottom:{text:Gutter Width}px;
- font-family:'{text:Body Font}';
- font-size:10px;
- {block:IfNotHorizontal}
- {block:IfNotMasonryHorizontal}
- float: left;
- width:{select:Post Width};
- {/block:IfNotMasonryHorizontal}
- {block:IfMasonryHorizontal}
- max-width:inherit;
- width:auto;
- height:100px;
- {/block:IfMasonryHorizontal}
- {/block:IfNotHorizontal}
- {block:IfHorizontal}
- width:auto; height:{text:Horizontal Post Height};
- max-height:calc(100vh - {text:Header Height});
- {/block:IfHorizontal}
- {block:IfFade}
- opacity:{select:Fade Opacity};
- -webkit-transition: 0.8s ease-in-out;
- -moz-transition: 0.8s ease-in-out;
- transition: 0.8s ease-in-out;
- {/block:IfFade}
- }
- .box:hover {
- {block:IfFade}
- opacity:1.0;
- {/block:IfFade}
- }
- .title {
- }
- #nav {
- float: left;
- margin-top: 20px;
- position: fixed;
- z-index:1000;
- right:0px;
- margin-right:auto;
- position:fixed;
- }
- #nav a {
- text-decoration: none;
- font-size: 15px;
- line-height: 25px;
- color: #595959;
- }
- #nav a:hover {
- color: #393939;
- }
- #nav a:active {
- color: #151515;
- }
- .tumblrAutoPager_page_info, .tumblrAutoPager_page_separator {display:none;}
- #infscr-loading {display:none;}
- .navigation {display:none!important;}
- .isotope-item {
- z-index: 2;
- }
- .isotope-hidden.isotope-item {
- pointer-events: none;
- z-index: 1;
- }
- .isotope,
- .isotope .isotope-item {
- /* change duration value to whatever you like */
- -webkit-transition: 0.8s ease-in-out;
- -moz-transition: 0.8s ease-in-out;
- transition: 0.8s ease-in-out;
- }
- .isotope {
- -webkit-transition-property: height, width;
- -moz-transition-property: height, width;
- transition-property: height, width;
- }
- .isotope .isotope-item {
- -webkit-transition-property: -webkit-transform, opacity;
- -moz-transition-property: -moz-transform, opacity;
- transition-property: transform, opacity;
- }
- .text {
- {block:IfNotHorizontal}max-height:300px;{block:IfNotHorizontal}
- {block:IfHorizontal}height:{text:Horizontal Post Height};
- width:{text:Horizontal Post Height} ;{/block:IfHorizontal}
- display:block;
- overflow: hidden;
- white-space: nowrap;
- }
- .permalink-post {
- background:yellow;
- font-size:1.3vh;
- height:calc(100vh - {text:Header Height});
- text-align:center;
- /* position: relative;
- top: 50%;
- transform: translateY(-50%); */ /* to vertical align*/
- }
- .permalink-post .permalink-text {
- height: 100%;
- display:block;
- text-overflow: ellipsis;
- -o-text-overflow: ellipsis;
- -ms-text-overflow: ellipsis;
- overflow: scroll;
- white-space: nowrap;
- }
- /* note the :first-chile thing doesn't work even with the img: specifier*/
- .permalink-photoset {background:cyan; width:100%; height:100%;}
- .permalink-photoset img { transform:translateX(-50%); position:absolute; height:50vh; width:auto; max-width:60vw; overflow-x:visible;
- counter-increment:number;
- -webkit-transition:opacity .6s ease-in-out;
- transition:opacity .6s ease-in-out;
- opacity:0; z-index:0;}
- .permalink-photoset img:first-child{opacity:1; z-index:1; }
- .permalink-photoset img .active {opacity:1; z-index:1; }
- .permalink-photoset img #counter { content:counter(number); }
- .photo {
- }
- .photoset{
- {block:IfHorizontal}height:{text:Horizontal Post Height};
- width:{text:Horizontal Post Height} ;{/block:IfHorizontal}
- }
- {block:IfHorizontal}
- {block:ifStackPhotoset}
- .photoset-wrap {}
- .photoset-wrap img { display: none; width:100%; }
- .photoset-wrap img:first-child { display: block; width:100%; }
- {/block:ifStackPhotoset}
- {/block:IfHorizontal}
- {block:ifStackPhotoset}
- .photoset-wrap {}
- .photoset-wrap img { display: none; width:100%; }
- .photoset-wrap img:first-child { display: block; width:100%; }
- {/block:ifStackPhotoset}
- .photocount, .photocount a {
- right:0px;
- bottom:0px;
- position:absolute;
- font-size:10px;
- font-family:;
- color:{color:Background};
- }
- #vignette, .vignette{opacity:0!important;}.lightbox-caption {color:#000;}
- #tumblr_lightbox,.tmblr-lightbox{ background:rgba( {RGBcolor:Lightbox Background}, 0.8)!important;}
- #tumblr_lightbox img, .lightbox-image {box-shadow:none!important;border-radius:0px!important;}
- #footer {
- width:100%;
- height:{text:Footer Height};
- bottom:0px;
- z-index:10;
- {block:IfHorizontal}
- position:fixed;
- {block:IfHorizontal}
- }
- .pagination {
- z-index:50;
- {block:IfNotHorizontal}
- margin-top:50px;
- margin-bottom:50px;
- {/block:IfNotHorizontal}
- {block:IfHorizontal}
- margin-top:0px;
- {/block:IfHorizontal}
- }
- .load-more {
- font-family:'{text:Link Font}';
- left:50vw;
- border:0;
- padding-top:2vh;
- padding-bottom:2vh;
- padding-left:10vw;
- padding-right:10vw;
- background:#f0f0f0;
- color:#9f9f9f;
- -webkit-transition: 0.8s ease-in-out;
- -moz-transition: 0.8s ease-in-out;
- transition: 0.8s ease-in-out;
- }
- .load-more:hover {
- background:{color:Links};
- color:{color:Background};
- }
- {block:ifSidebar}
- {/block:ifSidebar}
- .sidebar {
- {select:SideFloat}:calc( (100vw - {select:Content Width})/2 );
- margin:auto;
- float:{select:SideFloat};
- width:calc(100% - {select:Content Width} );
- background-color:cyan;
- }
- .portrait {
- vertical-align:middle;
- border-radius:35px;
- opacity:0.7;
- -webkit-transition: 0.8s ease-in-out;
- -moz-transition: 0.8s ease-in-out;
- transition: 0.8s ease-in-out;
- }
- .portrait:hover {
- opacity:1.0;
- border-radius:0px;
- }
- .about {
- top : calc({text:Header Height}/4.5);
- left: 0; right: 0;
- margin:auto;
- padding-left:3px;
- padding-right:3px;
- padding-bottom:10px;
- background-color: rgba({RGBcolor:Links},0);
- border-radius:5px;
- width:300px;
- {block:IfNotHorizontal}position:absolute;{/block:IfNotHorizontal}
- {block:IfHorizontal}position:fixed;{/block:IfHorizontal}
- z-index:5;
- font-family:Barkentina;
- font-size:10px;
- color:rgba(255,255,255,0);
- -webkit-transition: 0.8s ease-in-out;
- -moz-transition: 0.8s ease-in-out;
- transition: 0.8s ease-in-out;
- }
- .about img {
- margin-top:10px;
- margin-bottom:10px;
- opacity:{select:Fade Opacity};
- }
- </style>
- </head>
- <body>
- <div id="wrapper">
- {block:IfHeadSpace}
- <div id="header">
- <a href="{BlogURL}" >{Title}</a>
- {block:ifShowAvatar}
- <center>
- <div class="about">
- <center>
- <img src="{PortraitURL-64}" class="portrait"
- onmouseover="$(this).parent().parent().css('background-color', 'rgba({RGBcolor:Links},1)'); $(this).parent().parent().css('color', 'rgba(255,255,255,1)');"
- onmouseout="$(this).parent().parent().css('background-color', 'rgba({RGBcolor:Links},0)'); $(this).parent().parent().css('color', 'rgba(255,255,255,0)'); "
- />
- </center>
- This is where I experiment with my pictures :)
- </div>
- </center>
- {/block:ifShowAvatar}
- </div>
- {/block:IfHeadSpace}
- <div id="content-wrapper">
- <div id="content">
- {block:Posts}
- {block:IndexPage}
- {block:Text}
- <div class="box text" style="opacity:0;">
- <u><a href="{Permalink}">{Title}</a></u>
- {Body}
- </div>
- {/block:Text}
- {block:Photo}
- <a href="#">
- <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="box photo" style="opacity:0;"
- 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" />
- </a>
- {/block:Photo}
- {block:Photoset}
- <div class="box" style="opacity:0;">
- {block:ifNotStackPhotoset}
- <!--preset code to abide by pxu -->
- <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}" >
- {block:Photos}
- <div class="photo-data">
- <div class="pxu-photo">
- <img src="{PhotoURL-HighRes}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}">
- </div>
- <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}">
- </a>
- </div>
- {/block:Photos}
- </div>
- {block:ifNotStackPhotoset}
- {block:ifStackPhotoset}
- {block:IndexPage}
- <div class="photoset-wrap" >
- {block:Photos}
- <!-- <a href="#"> for some reason loads all images in photoset-->
- <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" {block:IfHorizontal}style="height:{text:Horizontal Post Height};
- width:auto;"{/block:IfHorizontal} />
- <!-- </a> -->
- {/block:Photos}
- <div class="photocount"><a href="{Permalink}">{PhotoCount}</a></div>
- </div>
- {/block:IndexPage}
- {/block:ifStackPhotoset}
- {block:ifCaptions}
- {Caption}
- {/block:ifCaptions}
- </div>
- {/block:Photoset}
- {/block:IndexPage}
- {block:PermalinkPage}
- <div class="permalink-post">
- {block:Text}
- <div class="permalink-text">
- {Title}
- {Body}
- </div>
- {/block:Text}
- {block:Photo}
- <img id ="{PhotoCount}" src="{PhotoURL-HighRes}" style="width:auto; height:100%; margin:auto"/>
- {block:Photo}
- {block:Photoset}
- <div class="permalink-photoset" >
- {block:Photos}
- <img class="active" src="{PhotoURL-HighRes}" alt="{PhotoAlt}"
- id="counter"
- onClick="
- var $next = $(this).next('img');
- $(this).css('opacity','0');
- $(this).css('z-index','0');
- $next.css('opacity','1');
- $next.css('z-index','1');
- if ($next.length == 0) {
- $(this).parent().find('img:first-child').css('opacity','1');
- $(this).parent().find('img:first-child').css('z-index','1');
- };"
- />
- {/block:Photos}
- </div>
- <!-- <div style="width:300px; margin:auto;">{Photoset}</div> whole photoset-->
- {block:Photoset}
- </div>
- {/block:PermalinkPage}
- {/block:Posts}
- </div> <!--content -->
- </div> <!--content wrapper -->
- {block:ifSidebar}
- {block:IndexPage}
- <div class="sidebar">
- <center><img src="{PortraitURL-64}" class="portrait" /></center>
- </div>
- {block:IndexPage}
- {/block:ifSidebar}
- <div id="footer">
- <div class="navigation">
- {block:Pagination}
- {block:NextPage}
- <p id="page_nav"><a style="float:right" href="{NextPage}" id="next">Older ?</a>
- {/block:NextPage}
- {block:PreviousPage}
- <a style="float:left" href="{PreviousPage}">? Newer</a></p>
- {/block:PreviousPage}
- {/block:Pagination}
- </div>
- {block:IfManualInfiniteScroll}
- {block:Pagination}
- <div class="pagination">
- <center><button class="load-more" >load more</button></center>
- </div>
- {/block:Pagination}
- {/block:IfManualInfiniteScroll}
- </div>
- {block:PermalinkPage}
- {block:PermalinkPagination}
- {block:PreviousPost} <a href="{PreviousPost}" style="float:right; right:0px; bottom:0px; position:fixed;"> Older </a>{/block:PreviousPost}
- {block:NextPost}<a href="{NextPost}" style="float:left; left:0px; bottom:0px; position:fixed;">Newer</a> {/block:NextPost}
- {/block:PermalinkPagination}
- {block:PermalinkPage}
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement