Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!-- theme by spacetchi, Medusa Moxie
- https://spacetchi.tumblr.com/
- https://5ppi.tumblr.com/
- https://tchi.space/
- Do not steal! -->
- <meta charset="utf-8">
- {block:Description}
- <meta name="description" content="{MetaDescription}" />
- {/block:Description}
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>{Title}</title>
- <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,400i,700,700i" rel="stylesheet">
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <!-- jquery -->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
- <!-- photoset stylesheet by pixelunion! -->
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <meta name=""
- <meta name="color:Background" content="#eee">
- <meta name="color:Text" content="#000718">
- <meta name="color:Cover" content="#2e2e2e">
- <meta name="color:Link" content="#222c7a">
- <meta name="color:Post Background" content="#fff">
- <meta name="color:Secondary Post Background" content="#eee">
- <meta name="color:Borders" content="#aaa">
- <meta name="text:Pronoun" content="their">
- <meta name="if:Show Name" content="1">
- <meta name="if:Repeat Background" content="1">
- <meta name="if:Repeat Cover" content="0">
- <meta name="if:Rounded Corners" content="1">
- <meta name="if:Infinite Scroll" content="1">
- <meta name="if:Show Tags" content="0">
- <meta name="if:Show Info" content="0">
- <meta name="text:Info">
- <meta name="image:Avatar" content="">
- <meta name="image:Background">
- <meta name="image:Cover">
- <meta name="text:link 1 URL" content="" />
- <meta name="text:link 1" content="" />
- <meta name="text:link 2 URL" content="" />
- <meta name="text:link 2" content="" />
- <meta name="text:link 3 URL" content="" />
- <meta name="text:link 3" content="" />
- <meta name="text:descri2" content="" />
- <meta name="text:titulo2" content="" />
- <meta name="text:titulo3" content="" />
- </head>
- <style>
- /* general */
- * {
- box-sizing:border-box;
- }
- body {
- margin:0;
- padding:0;
- background:{color:Background} url('{image:Background}');
- background-position:center;
- background-attachment:fixed;
- background-repeat:no-repeat;
- background-size:cover;
- {block:IfRepeatBackground}
- background-repeat:repeat;
- background-size:auto;
- {/block:IfRepeatBackground}
- color:{color:Text};
- font-family:verdana;
- font-size:13px;
- word-wrap:break-word;
- }
- a {
- color:{color:Link};
- text-decoration:none;
- }
- a:hover {
- text-decoration:underline;
- }
- img:not(.lightbox-image),
- iframe {
- max-width:100%;
- }
- img {
- height:auto;
- }
- #ask_form,
- #submit_form {
- display:block;
- }
- blockquote {
- margin:0 0 0 1em;
- padding:0 0 0 1em;
- border-left:1px solid {color:Text};
- }
- * > *:first-child {
- margin-top:0;
- }
- * > *:last-child {
- margin-bottom:0;
- }
- /* wrappers */
- .wrapper {
- max-width:100%;
- width:542px;
- margin:0 auto;
- padding:0 10px;
- }
- /* header */
- .top {
- position:relative;
- margin-bottom:15px;
- }
- .cover {
- background:transparent;
- position:relative;
- background:{color:Cover} url('{image:Cover}');
- background-repeat:no-repeat;
- background-size:cover;
- {block:IfRepeatCover}
- background-repeat:repeat;
- background-size:auto;
- {/block:IfRepeatCover}
- height:315px;
- }
- .sidebar,
- .top .avatar {
- display:none;
- }
- .cover .name {
- position:absolute;
- padding:15px;
- left:0;
- bottom:0;
- max-width:100%;
- }
- .cover a {
- color:white;
- }
- .cover a:hover {
- text-decoration:none;
- }
- h1.title {
- margin:0;
- text-shadow:1px 1px black;
- }
- .username {
- margin:0;
- font-size: 20px;
- font-family: verdana;
- text-shadow:1px 1px black;
- }
- .links {
- background:{color:Post Background};
- padding:0;
- text-align:center;
- border:1px solid {color:Borders};
- {block:IfRoundedCorners}
- border-radius:0 0 5px 5px;
- {/block:IfRoundedCorners}
- }
- .links ul {
- margin:0;
- list-style-type:none;
- padding:12px 0;
- }
- .links li {
- display:inline;
- padding:0 15px;
- }
- .links li:not(:last-of-type) {
- border-right:1px solid {color:Borders};
- }
- .links ul li a {
- font-size: 13px;
- font-family: verdana;
- }
- .post {
- position:relative;
- background:{color:Post Background};
- border:1px solid {color:Borders};
- {block:IfRoundedCorners}
- border-radius:5px;
- -webkit-border-radius:5px;
- -moz-border-radius:5px;
- {/block:IfRoundedCorners}
- margin-bottom:15px;
- }
- .post-main {
- max-width:100%;
- padding:10px;
- }
- .post-header {
- margin-bottom:10px;
- }
- .post-header .avatar {
- height:40px;
- width:40px;
- display:block;
- float:left;
- margin-right:10px;
- }
- .post-content {
- line-height:1.8;
- }
- .post-info {
- display:inline;
- font-size:12px;
- }
- .post-info a {
- font-weight:bold;
- }
- h2.title {
- margin-top:0;
- font-size: 1.2em;
- }
- h2.title a {
- text-decoration:none;
- }
- .media img {
- display:block;
- width:100%;
- cursor:pointer;
- }
- .media iframe {
- display:block;
- }
- .caption {
- margin-top:10px;
- }
- .quote {
- margin:0;
- font-size:13px;
- }
- .quote.medium {
- font-size:13px;
- }
- .quote.long {
- font-size:13px;
- }
- .chat .name {
- font-weight:700;
- }
- .question-container {
- padding:10px;
- border:1px solid {color:Borders};
- margin-bottom:10px;
- }
- .asker a,
- .question {
- font-weight:700;
- }
- a.link {
- display:block;
- position:relative;
- border:1px solid {color:Borders};
- }
- a.link:hover {
- text-decoration:none;
- }
- a.link .link-text {
- font-size:12px;
- padding:10px;
- overflow:hidden;
- }
- .has-excerpt .link-text {
- height:150px;
- position:absolute;
- left:150px;
- }
- .link-text h2 {
- margin-top:0;
- font-size:1.2em;
- }
- .link-img {
- height:150px;
- width:150px;
- }
- .excerpt {
- display:inline;
- }
- .post-footer {
- padding-top:8px;
- margin-top:10px;
- text-align: right;
- border-top:1px solid {color:Borders};
- }
- .post-footer ul {
- list-style-type:none;
- margin:0;
- padding:0;
- }
- .post-footer ul li {
- display:inline-block;
- padding-right:5px;
- font-size:11px;
- }
- /* permalink page */
- .comments {
- background:{color:Secondary Post Background};
- {block:IfRoundedCorners}
- border-radius:0 0 5px 5px;
- {/block:IfRoundedCorners}
- }
- .tags {
- border-top:1px solid {color:Borders};
- padding:10px;
- }
- .post-notes {
- padding:0 10px;
- border-top:1px solid {color:Borders};
- }
- ol.notes {
- list-style-type:none;
- margin:0;
- font-size:10px;
- padding:10px 0;
- }
- ol.notes li:not(:first-of-type) {
- margin-top:10px;
- }
- ol.notes img {
- display:inline;
- margin-right:5px;
- vertical-align:bottom;
- }
- ol.notes blockquote {
- margin-top:10px;
- }
- ol.notes blockquote a {
- text-decoration:none;
- }
- /* navigation */
- .pagination {
- margin:20px 0;
- text-align:center;
- {block:IfInfiniteScroll}
- {block:IndexPage}
- visibility:hidden;
- {/block:IndexPage}
- {/block:IfInfiniteScroll}
- }
- .pagination * {
- background:{color:Post Background};
- padding:5px 10px;
- {block:IfInfiniteScroll}
- {block:IndexPage}
- height:0;
- {/block:IndexPage}
- {/block:IfInfiniteScroll}
- border:1px solid {color:Borders};
- }
- /* responsive */
- @media (min-width: 860px) {
- .wrapper {
- width:829px;
- margin:0 auto;
- padding:0;
- }
- .content {
- float:right;
- }
- .top .avatar {
- width: 140px;
- display:block;
- background:{color:Post Background};
- {block:IfRoundedCorners}
- border-radius:4px;
- {/block:IfRoundedCorners}
- padding:5px;
- position:absolute;
- bottom:-25px;
- left:15px;
- border:1px solid {color:Borders};
- }
- .avatar img {
- display:block;
- }
- .cover .name {
- left:155px;
- }
- .links {
- padding:0 0 0 155px;
- text-align:left;
- }
- .sidebar {
- display:block;
- width:292px;
- background:{color:Post Background};
- float:left;
- padding:10px;
- border:1px solid {color:Borders};
- {block:IfRoundedCorners}
- border-radius:5px;
- {/block:IfRoundedCorners}
- position:relative;
- }
- .description {
- {block:IfShowInfo}
- padding-bottom:10px;
- {/block:IfShowInfo}
- }
- .info {
- border-top:1px solid {color:Borders};
- padding-top:10px;
- }
- .post {
- width:522px;
- }
- }
- /* clearfix */
- .clearfix {
- overflow:auto;
- }
- </style>
- <body>
- <div class="wrapper">
- <header class="top">
- <div class="cover">
- <div class="avatar"><a href="{BlogURL}"><img src="{image:Avatar}"></a></div>
- {block:IfShowName}
- <div class="name">
- <h1 class="title"><a href="{BlogURL}">{text:titulo3}</a></h1>
- <p class="username"><a href="{BlogURL}">({Name})</a></p>
- </div><!-- name -->
- {/block:IfShowName}
- </div><!-- cover -->
- <nav class="links">
- <ul>
- {block:ifLink1}<li><a href="{text:Link 1 URL}">{text:Link 1}</a></li> {/block:ifLink1}
- {block:ifLink2}<li><a href="{text:Link 2 URL}">{text:Link 2}</a></li> {/block:ifLink2}
- {block:ifLink3}<li><a href="{text:Link 3 URL}">{text:Link 3}</a></li> {/block:ifLink3}
- </ul>
- </nav>
- </header>
- <div class="container clearfix">
- <aside class="sidebar" id="sidebar">
- <h2 class="title">{text:titulo2}</h2>
- <div class="description">
- {text:descri2}
- </div>
- {block:IfShowInfo}
- <div class="info">
- {text:Info}
- </div>
- {/block:IfShowInfo}
- </aside><!-- sidebar -->
- <main class="content" id="content">
- {block:Posts}
- <article class="post" id="{PostID}">
- <div class="post-main">
- {block:Date}
- <header class="post-header clearfix">
- <div class="avatar">
- <a href="
- {block:RebloggedFrom}{ReblogParentURL}{/block:RebloggedFrom}
- {block:NotReblog}{BlogURL}{/block:NotReblog}">
- <img src="
- {block:RebloggedFrom}{ReblogParentPortraitURL-40}{/block:RebloggedFrom}
- {block:NotReblog}{PortraitURL-40}{/block:NotReblog}">
- </a>
- </div>
- <div class="post-info">
- {block:RebloggedFrom} reblogged a post from
- <a href="{ReblogParentURL}">{ReblogParentName}</a>.
- {/block:RebloggedFrom}
- {block:NotReblog}
- {block:Chat}
- updated {text:Pronoun} status.
- {/block:Chat}
- {block:Text}
- updated {text:Pronoun} status.
- {/block:Text}
- {block:Quote}
- updated {text:Pronoun} status.
- {/block:Quote}
- {block:Photo}
- added a photo.
- {/block:Photo}
- {block:Photoset}
- created an album.
- {/block:Photoset}
- {block:Video}
- added a video.
- {/block:Video}
- {block:Audio}
- added an audio file.
- {/block:Audio}
- {block:Link}
- shared a link.
- {/block:Link}
- {block:Answer}
- answered a question.
- {/block:Answer}
- {/block:NotReblog}
- <br>
- <a href="{Permalink}">{TimeAgo}</a> with <a href="{Permalink}">{NoteCountWithLabel}</a>
- </div><!-- post-info -->
- </header>
- {/block:Date}
- <div class="post-content">
- {block:Text}
- {block:Title}
- <h2 class="title">{Title}</h2>
- {/block:Title}
- {Body}
- {/block:Text}
- {block:Photo}
- <div class="media make_lightbox"
- data-width="{PhotoWidth-HighRes}"
- data-height="{PhotoHeight-HighRes}"
- data-lowres="{PhotoURL-500}" data-highres="{PhotoURL-HighRes}">
- <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="photoset-img"/>
- </div>
- {/block:Photo}
- {block:Photoset}
- <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">
- {block:Photos}
- <div class="media photo-data">
- <div class="pxu-photo">
- <img alt="{PhotoAlt}"
- src="{PhotoURL-500}"
- width="{PhotoWidth-500}"
- height="{PhotoHeight-500}"
- data-highres="{PhotoURL-HighRes}"
- data-width="{PhotoWidth-HighRes}"
- data-height="{PhotoHeight-HighRes}"
- class="{block:Exif}exif-yes{/block:Exif} {block:Caption}{/block:Caption}"{block:Exif}
- data-camera="{block:Camera}{Camera}{/block:Camera}"
- data-iso="{block:ISO}{ISO}{/block:ISO}"
- data-aperture="{block:Aperture}{Aperture}{/block:Aperture}"
- data-exposure="{block:Exposure}{Exposure}{/block:Exposure}"
- data-focal="{block:FocalLength}{FocalLength}{/block:FocalLength}"{/block:Exif} {block:Caption}
- data-caption=""{/block:Caption} />
- </div><!-- pxu-photo -->
- <div class="icons">
- <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}">
- <span class="zoom"></span>
- </a>
- </div><!-- icons -->
- </div><!-- photo-data -->
- {/block:Photos}
- </div><!-- photo-slidshow -->
- {/block:Photoset}
- {block:Quote}
- <p class="quote {Length}">“{Quote}”</p>
- {block:Source}
- <p class="source">— {Source}</p>
- {/block:Source}
- {/block:Quote}
- {block:Link}
- <a href="{URL}" class="link {block:Thumbnail}has-excerpt{/block:Thumbnail}">
- <div class="link-text">
- <h2>{Name}</h2>
- <div class="excerpt">{Excerpt}</div>
- </div><!-- link-text -->
- {block:Thumbnail}
- <div class="link-img" style="background:url('{Thumbnail}'); background-size:cover"></div>
- {/block:Thumbnail}
- </a><!-- link -->
- {block:Description}
- <div class="caption">{Description}</div>
- {/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Title}
- <h2 class="title">{Title}</h2>
- {/block:Title}
- <div class="chat">
- <p>
- {block:Lines}
- <div class="{Alt} user_{UserNumber}">
- {block:Label}<span class="name">{Label}</span>{/block:Label} {Line}
- </div>
- {/block:Lines}
- </p>
- </div><!-- chat -->
- {/block:Chat}
- {block:Video}
- <div class="media video">{Video-500}</div>
- {block:Caption}
- <div class="caption"></div>
- {/block:Caption}
- {/block:Video}
- {block:Audio}
- <div class="media audio">
- {block:AudioEmbed}
- {AudioEmbed color="white"}
- {/block:AudioEmbed}
- </div><!-- audio -->
- {block:Caption}
- <div class="caption"></div>
- {/block:Caption}
- {/block:Audio}
- {block:Answer}
- <div class="question-container">
- <span class="asker">{Asker}:</span><br />
- <span class="question">{Question}</span>
- </div><!-- question-container -->
- {block:Answerer}
- <div class="answerer">{Answerer}</div>
- {/block:Answerer}
- <div class="answer">{Answer}</div>
- {/block:Answer}
- </div><!-- post-content -->
- {block:Date}
- <footer class="post-footer">
- <ul>
- <a href="{ReblogURL}" target="_blank">reblog</a>
- </ul>
- </footer><!-- post-footer -->
- {/block:Date}
- </div><!-- post-main -->
- {block:IndexPage}
- {block:IfShowTags}
- <div class="comments">
- {block:HasTags}
- <div class="tags">
- {block:Tags}
- <a href="{TagURL}">#{Tag}</a>
- {/block:Tags}
- </div><!-- tags -->
- {/block:HasTags}
- </div><!-- comments -->
- {/block:IfShowTags}
- {/block:IndexPage}
- {block:PermalinkPage}
- <div class="comments">
- {block:HasTags}
- <div class="tags">
- {block:Tags}
- <a href="{TagURL}">#{Tag}</a>
- {/block:Tags}
- </div><!-- tags -->
- {/block:HasTags}
- {block:NoteCount}
- {block:PostNotes}
- <div class="post-notes">{PostNotes}</div>
- {/block:PostNotes}
- {/block:NoteCount}
- </div><!-- comments -->
- {/block:PermalinkPage}
- </article>
- <div class="sources">{block:RebloggedFrom}<a href="{ReblogParentURL}"></a>{/block:RebloggedFrom} {block:ContentSource}<a href="{SourceURL}"></a>{/block:ContentSource}</div>
- {/block:Posts}
- {block:Pagination}
- <nav class="pagination" id="pagination">
- {block:PreviousPage}
- <a class="back" id= "back" href="{PreviousPage}">back</a>
- {/block:PreviousPage}
- {block:JumpPagination length="3"}
- {block:CurrentPage}
- <span class="current">{PageNumber}</span>
- {/block:CurrentPage}
- {block:JumpPage}
- <a class="jump" href="{URL}">{PageNumber}</a>
- {/block:JumpPage}
- {/block:JumpPagination}
- {block:NextPage}
- <a class="next" id="next" href="{NextPage}">next</a>
- {/block:NextPage}
- </nav>
- {/block:Pagination}
- {block:PermalinkPagination}
- <nav class="pagination">
- {block:PreviousPost}
- <a class="back" href="{PreviousPost}">Previous Post</a>
- {/block:PreviousPost}
- {block:NextPost}
- <a class="next" href="{NextPost}">Next Post</a>
- {/block:NextPost}
- </nav>
- {/block:PermalinkPagination}
- </main>
- </div><!-- container -->
- </div><!-- wrapper -->
- <script type="text/javascript" src="https://static.tumblr.com/cqfswrg/1xXo902k0/jquery_photoset.js"></script><!-- pxu-photoset script-->
- <script type="text/javascript" src="https://static.tumblr.com/cqfswrg/tr3odz0m5/jquery_sticky-sidebar.js"></script><!-- stickykit -->
- {block:IfInfiniteScroll}
- <script type="text/javascript" src="https://static.tumblr.com/cqfswrg/k0bodz8wo/jquery_infinite-scroll.js"></script><!-- infinite scroll script -->
- {/block:IfInfiniteScroll}
- <script type="text/javascript">
- $(document).ready(function() {
- var $child = $("#sidebar");
- $child.parent().css("min-height", $child.outerHeight());
- $child.stick_in_parent({
- "offset_top": 15
- });
- });
- </script>
- <script type="text/javascript">
- $(document).ready(function() {
- $('.photo-slideshow').pxuPhotoset({
- 'gutter' : '10px',
- 'rounded' : 'false',
- }, function() {
- // callback
- });
- });
- </script>
- <script type="text/javascript">
- function callLightbox() {
- $('.make_lightbox').each(function(){
- $(this).on('click',function(){
- var lbArray = [];
- var arrayContents = {
- "width":$(this).data('width'),
- "height":$(this).data('height'),
- "low_res":$(this).data("lowres"),
- "high_res":$(this).data('highres')
- };
- lbArray.push(arrayContents);
- Tumblr.Lightbox.init(lbArray,1);
- $('body').toggleClass('tumblr_lightbox_active');
- });
- });
- }
- $(document).ready(function(){
- callLightbox();
- });
- </script>
- {block:IfInfiniteScroll}
- {block:IndexPage}
- <script type="text/javascript">
- $(document).ready(function() {
- $('#content').infinitescroll({
- navSelector : "#pagination",
- // selector for the paged navigation (it will be hidden)
- nextSelector : "a#next",
- // selector for the NEXT link (to page 2)
- itemSelector : "article",
- // selector for all items you'll retrieve
- loading : {
- msgText: "Loading..."
- }
- }, function( newElements ) {
- //photoset callback
- $( newElements ).find('.photo-slideshow').pxuPhotoset({
- lightbox:"true",
- rounded:"false",
- borderRadius: '0px',
- gutter:'10px',
- photoset:'.photo-slideshow',
- photoWrap:'.photo-data',
- photo:'.pxu-photo'
- });
- //lightbox callback
- callLightbox();
- //like button callback
- var $newElems = $(newElements);
- var $newElemsIDs = $newElems.map(function(){
- return this.id;
- }).get();
- console.log($newElems, $newElemsIDs);
- Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
- });
- });
- </script>
- {/block:IndexPage}
- {/block:IfInfiniteScroll}
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement