Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html xmlns="https://www.w3.org/1999/xhtml">
- <head>
- <!--
- prism @ shythemes
- -->
- <title>{Title}</title>
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link rel="shortcut icon" href="{Favicon}">
- {block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="image:sidebar" content="">
- <meta name="if:sidebar" content="">
- <meta name="if:bigger posts" content="">
- <meta name="if:show title" content="">
- <meta name="if:show captions" content="">
- <meta name="if:show reblog" content="">
- <meta name="if:show like" content="">
- <meta name="if:show source" content="">
- <meta name="if:show tags" content="">
- <meta name="select:color i" content="232,232,232" title="light grey">
- <meta name="select:color i" content="255,227,227" title="coral">
- <meta name="select:color i" content="255,227,214" title="peach">
- <meta name="select:color i" content="242,242,165" title="yellow">
- <meta name="select:color i" content="220,248,202" title="light green">
- <meta name="select:color i" content="197,242,218" title="sea foam">
- <meta name="select:color i" content="202,243,243" title="aqua blue">
- <meta name="select:color i" content="194,240,254" title="light blue">
- <meta name="select:color i" content="219,225,255" title="violet">
- <meta name="select:color i" content="255,223,252" title="pink">
- <meta name="select:color ii" content="232,232,232" title="light grey">
- <meta name="select:color ii" content="255,227,227" title="coral">
- <meta name="select:color ii" content="255,227,214" title="peach">
- <meta name="select:color ii" content="242,242,165" title="yellow">
- <meta name="select:color ii" content="220,248,202" title="light green">
- <meta name="select:color ii" content="197,242,218" title="sea foam">
- <meta name="select:color ii" content="202,243,243" title="aqua blue">
- <meta name="select:color ii" content="194,240,254" title="light blue">
- <meta name="select:color ii" content="219,225,255" title="violet">
- <meta name="select:color ii" content="255,223,252" title="pink">
- <meta name="select:link hover" content="255,255,255" title="white">
- <meta name="select:link hover" content="255,227,227" title="coral">
- <meta name="select:link hover" content="255,227,214" title="peach">
- <meta name="select:link hover" content="242,242,165" title="yellow">
- <meta name="select:link hover" content="220,248,202" title="light green">
- <meta name="select:link hover" content="197,242,218" title="sea foam">
- <meta name="select:link hover" content="202,243,243" title="aqua blue">
- <meta name="select:link hover" content="194,240,254" title="light blue">
- <meta name="select:link hover" content="219,225,255" title="violet">
- <meta name="select:link hover" content="255,223,252" title="pink">
- <meta name="text:home link" content="">
- <meta name="text:archive link" content="">
- <meta name="text:ask link" content="contact">
- <meta name="text:link 1" content="">
- <meta name="text:link 1 url" content="">
- <meta name="text:link 2" content="">
- <meta name="text:link 2 url" content="">
- <meta name="text:link 3" content="">
- <meta name="text:link 3 url" content="">
- <meta name="text:link 4" content="">
- <meta name="text:link 4 url" content="">
- <meta name="text:link 5" content="">
- <meta name="text:link 5 url" content="">
- <meta name="text:link 6" content="">
- <meta name="text:link 6 url" content="">
- <link href='https://fonts.googleapis.com/css?family=Libre+Franklin:200,200italic,400,400italic,600,600italic' rel='stylesheet' type='text/css'><style type="text/css">
- body {
- margin:0;
- font-size:8px;
- font-weight:;
- letter-spacing:1px;
- text-transform:lowercase;
- font-family:'libre franklin', sans-serif;
- line-height:14px;
- word-break:break-word;
- -moz-osx-font-smoothing:grayscale;
- -webkit-font-smoothing:antialiased;
- font-smoothing:antialiased;
- color:rgba(0,0,0,.44);
- background-color:rgba(255,255,255,1);
- background-image:linear-gradient(180deg, rgba({select:color i},.4) 0, rgba({select:color ii},.4));
- background-size:100% 100%;
- background-position:0 0;
- background-repeat:repeat;
- background-attachment:fixed;
- }
- a {
- color:inherit;
- text-decoration:none;
- -webkit-transition:all 1s ease-in-out;
- transition:all 1s ease-in-out;
- }
- a:hover {
- -webkit-transition:all .1s ease-in-out;
- transition:all .1s ease-in-out;
- }
- b, strong {
- font-weight:600;
- }
- small, sub {
- font-size:1em;
- vertical-align:baseline;
- }
- blockquote {
- padding:3px 15px;
- border-left:1px solid rgba(0,0,0,.08);
- }
- blockquote > blockquote:first-child {
- margin-top:-3px!important;
- }
- blockquote > blockquote:last-child {
- margin-bottom:-3px!important;
- }
- blockquote, ol, ul, p, pre {
- margin:0 0 8px;
- }
- h1, h2, h3, h4, h5, h6 {
- margin:0 0 1em;
- font-size:1em;
- font-weight:inherit;
- }
- ol {
- counter-reset:list;
- list-style:none;
- padding:0;
- }
- ol li {
- position:relative;
- padding-left:4em;
- counter-increment:list;
- }
- ol li:before {
- content:counter(list) '.';
- position:absolute;
- margin-left:-4em;
- color:rgb(120,120,120);
- }
- img {
- border:0;
- max-width:100%;
- height:auto;
- display:block;
- }
- hr {
- margin:1em 0;
- border:0;
- height:1px;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
- background-color:rgba(0,0,0,.08);
- }
- .title {
- font-weight:200;
- font-size:12px;
- padding:6px;
- }
- .accent {
- opacity:.8;
- }
- .text a {
- margin-left:1px;
- margin-right:1px;
- box-shadow:1px 0 0 rgba({select:color i},.44), -2px 0 0 rgba({select:color i},.5);
- background-color:rgba({select:color i},.44);
- }
- .text a:hover {
- color:inherit;
- box-shadow:1px 0 0 rgba({select:link hover},.44), -2px 0 0 rgba({select:link hover},.5);
- background-color:rgba({select:link hover},.44);
- }
- .main {
- margin:150px auto;
- {block:ifNotBiggerPosts}width:300px;{/block:ifNotBiggerPosts}
- {block:ifBiggerPosts}width:400px;{/block:ifBiggerPosts}
- }
- {block:ifSidebar}
- /* sidebar */
- aside {
- position:fixed!important;
- margin-left:-300px!important;
- width:150px;
- }
- aside .title {
- margin:0;
- padding:0;
- font-size:10px;
- font-weight:200;
- padding:15px;
- letter-spacing:2px;
- }
- aside .desc {
- margin:0;
- }
- aside nav {
- margin:15px;
- position:relative;
- overflow:hidden;
- }
- aside .title + nav {
- padding-top:0;
- margin-top:-7px;
- }
- {/block:ifSidebar}
- {block:ifNotSidebar}
- /* header */
- aside.ghost .entry {
- display:none;
- }
- aside .hb {
- display:none;
- position:fixed;
- bottom:15px;
- left:15px;
- width:12px;
- padding:8px 8px 5px;
- background-color:white;
- border:1px solid rgba({select:color ii},1);
- transition:0s;
- }
- aside .hb svg {
- width:12px;
- fill:rgba(0,0,0,.15);
- }
- aside.box {
- position:fixed;
- z-index:98;
- top:0;
- left:0;
- right:0;
- bottom:0;
- width:100%;
- height:100%;
- background-color:rgba(255,255,255,.9)!important;
- background-image:linear-gradient(180deg, rgba({select:color i},.3) 0, rgba({select:color ii},.3));
- background-size:100% 100%;
- background-position:0 0;
- background-repeat:repeat;
- background-attachment:fixed;
- }
- aside.box .hb {
- position:fixed;
- z-index:99;
- top:0;
- left:0;
- right:0;
- bottom:0;
- width:100%;
- height:100%;
- cursor:default;
- border:none;
- background-color:transparent;
- }
- aside.box .hb svg {
- display:none;
- }
- aside.box .entry {
- display:block!important;
- position:fixed;
- z-index:100;
- top:50%;
- left:50%;
- -webkit-transform:translate(-50%,-50%);
- transform:translate(-50%,-50%);
- {block:ifNotBiggerPosts}width:300px;{/block:ifNotBiggerPosts}
- {block:ifBiggerPosts}width:400px;{/block:ifBiggerPosts}
- }
- aside .top {
- margin:15px;
- position:relative;
- overflow:hidden;
- }
- aside .title {
- display:inline;
- margin:0;
- padding:0 13px 0 0!important;
- font-size:10px;
- font-weight:200;
- letter-spacing:2px;
- }
- aside .desc {
- margin:0;
- }
- aside nav {
- display:inline;
- }
- {/block:ifNotSidebar}
- aside nav li {
- display:inline-block;
- margin-right:13px;
- }
- aside nav li:before {
- content:' / ';
- position:absolute;
- margin-left:-13px;
- padding:0 4px;
- font-style:normal;
- }
- .content {
- margin:150px 0;
- }
- .entry {
- position:relative;
- margin:0 0 150px;
- padding:6px;
- background-color:rgba(255,255,255,1);
- border:1px solid rgba({select:color i},1);
- }
- .entry:last-child {
- margin-bottom:0;
- }
- .post {
- position:relative;
- border:1px solid rgba({select:color ii},1);
- }
- .post:not(:last-child):after {
- content:'';
- position:absolute;
- z-index:3;
- left:-7px;
- right:-7px;
- bottom:0px;
- height:1px;
- background-color:rgba({select:color i},1);
- }
- .post .title {
- margin:0;
- padding:15px;
- }
- .text:not(:last-child) {
- margin:0 0 -1px;
- }
- .text:first-child {
- margin-top:0;
- }
- .text *:last-child {
- margin-bottom:0;
- }
- .text {
- position:relative;
- padding:15px;
- background-color:white;
- background-image:linear-gradient(180deg, rgba({select:color i},.2) 0, rgba({select:color ii},.2));
- background-size:100% 100%;
- background-position:0 0;
- background-repeat:repeat;
- background-attachment:fixed;
- }
- .text > * {
- position:relative;
- z-index:1;
- }
- .text:not(:first-child):before {
- content:'';
- position:absolute;
- z-index:3;
- left:-7px;
- right:-7px;
- top:0px;
- height:1px;
- background-color:rgba({select:color i},1);
- }
- .date {
- text-align:;
- position:relative;
- padding:15px;
- margin-top:-2px;
- background-color:white;
- border:1px solid rgba({select:color ii},1);
- }
- .date .accent {
- position:relative;
- }
- .comma {
- padding:0 4px;
- font-style:normal;
- }
- .like-b {
- position:relative;
- display:inline-block;
- height:1em;
- line-height:1em;
- overflow:hidden;
- margin-bottom:-1px;
- }
- .like-b .like_button iframe {
- position:absolute;
- top:0;
- left:0;
- bottom:0;
- right:0;
- z-index:2;
- opacity:0;
- }
- .like-b .liked + .b {
- color:inherit;
- }
- .like-b .liked + .b:after {
- content:'d';
- }
- .tags {
- {block:IndexPage}{block:ifNotShowTags}display:none;{/block:ifNotShowTags}{/block:IndexPage}
- }
- .tags .comma:not(:first-child) {
- padding-left:0;
- }
- .tags .comma:last-of-type {
- display:none;
- }
- .caption {
- {block:IndexPage}{block:ifNotShowCaptions}display:none;{/block:ifNotShowCaptions}{/block:IndexPage}
- }
- .chat {
- list-style-type:none;
- }
- .chat .label {
- font-weight:bold;
- }
- .question {
- padding:15px;
- }
- .sender {
- padding-right:.8em;
- }
- .media {
- position:relative;
- z-index:2;
- display:block;
- padding:15px;
- border-bottom:1px solid transparent;
- }
- .media:not(:last-child) {
- margin-bottom:-1px;
- }
- .media > * {
- position:relative;
- }
- /* audio posts */
- .audiowrap {
- position:relative;
- height:60px;
- }
- .albumart {
- position:absolute;
- top:0;
- right:0;
- z-index:1;
- display:block;
- width:60px;
- height:60px;
- opacity:.9;
- background-size:cover;
- }
- .audio {
- position:absolute;
- display:inline-block;
- left:0;
- top:0;
- right:0;
- bottom:0;
- text-align:left;
- line-height:60px;
- }
- .audio .player {
- width:27px;
- height:27px;
- left:16px;
- top:16px;
- opacity:.4;
- line-height:0;
- overflow:hidden;
- position:absolute;
- }
- .audio .track {
- overflow:hidden;
- line-height:15px;
- margin-left:60px;
- width: calc(100% - 60px);
- display:inline-block;
- vertical-align:middle;
- }
- .audio .track span {
- display:block;
- max-height:15px;
- white-space:nowrap;
- overflow:hidden;
- text-overflow:ellipsis;
- margin-right:75px;
- }
- /* notes */
- .notes {
- padding:0;
- background:transparent;
- }
- .notes li {
- display:block;
- }
- .notes img {
- display:none;
- }
- .notes .more_notes_link_container {
- text-align:inherit!important;
- }
- #tumblr_controls,
- .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls {
- position:fixed!important;
- top:0!important;
- right:0!important;
- opacity:.4!important;
- -webkit-filter:invert(100%);
- -webkit-backface-visibility:hidden;
- padding:17px;
- }
- #tumblr_lightbox, .tmblr-lightbox {
- background-color:rgba(255,255,255,.9)!important;
- background-image:linear-gradient(180deg, rgba({select:color i},.3) 0, rgba({select:color ii},.3));
- background-size:100% 100%;
- background-position:0 0;
- background-repeat:repeat;
- background-attachment:fixed;
- }
- #vignette, .vignette {
- opacity:0;
- }
- #tumblr_lightbox img, .lightbox-image {
- box-shadow:none!important;
- border-radius:0!important;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
- border:6px solid #ffffff!important;
- background-color:#ffffff;
- max-width:none;
- }
- #tumblr_lightbox_caption, .lightbox-caption {
- visibility:hidden;
- }
- .pagination .title {
- font-size:9px;
- letter-spacing:2px;
- position:relative;
- overflow:hidden;
- text-align:center;
- padding:0;
- }
- .pagination,
- #infscr-loading {
- display:none!important;
- }
- #theme {
- position:fixed;
- display:block;
- bottom:15px;
- right:15px;
- z-index:999;
- padding:10px;
- line-height:1em;
- background-color:white;
- border:1px solid rgba({select:color ii},1);
- }
- </style>
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css">
- <link href="https://static.tumblr.com/wupwnyt/1iho27ad1/gkthm.css" rel="stylesheet" type="text/css">
- </head>
- <body>
- <div class="main">
- <aside class="static"><!-- main sidebar/header -->
- <article class="entry">
- <section class="post">
- <div class="top">
- {block:ifShowTitle}<h1 class="title"><a href="/">{Title}</a></h1>{block:ifShowTitle}
- {block:ifSidebar}{block:ifSidebarImage}<a href="/" class="sideimage"><img src="{image:sidebar}"></a>{/block:ifSidebarImage}{/block:ifSidebar}
- <nav class="accent">
- {block:ifHomeLink}<li><a href="/">{text:home link}</a></li>{/block:ifHomeLink}
- {block:ifArchiveLink}<li><a href="/archive">{text:archive link}</a></li>{/block:ifArchiveLink}
- {block:ifAskLink}<li><a href="/ask">{text:ask link}</a></li>{/block:ifAskLink}
- {block:HasPages}{block:Pages}<li><a href="{URL}">{Label}</a></li> {/block:Pages}{/block:HasPages}
- {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}
- {block:ifLink4}<li><a href="{text:link 4 url}">{text:link 4}</a></li>{/block:ifLink4}
- {block:ifLink5}<li><a href="{text:link 5 url}">{text:link 5}</a></li>{/block:ifLink5}
- {block:ifLink6}<li><a href="{text:link 6 url}">{text:link 6}</a></li>{/block:ifLink6}
- </nav>
- </div>
- {block:Description}<div class="desc text">{Description}</div>{/block:Description}
- </section>
- </article>
- </aside>
- {block:ifNotSidebar}
- <aside class="ghost"><!-- popup header -->
- <a href="#" class="hb"><svg xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 442 442" style="enable-background:new 0 0 442 442;" xml:space="preserve"><g><g><path d="M221,155.833c9.35,0,17-7.65,17-17v-17c0-9.35-7.65-17-17-17c-9.35,0-17,7.65-17,17v17 C204,148.183,211.65,155.833,221,155.833z"/><path d="M187,223.833h17v96.333c0,9.35,7.65,17,17,17c9.35,0,17-7.65,17-17V206.833c0-9.35-7.65-17-17-17h-34 c-9.35,0-17,7.65-17,17S177.65,223.833,187,223.833z"/><path d="M442,17c0-9.35-7.65-17-17-17H17C7.65,0,0,7.65,0,17v408c0,9.35,7.65,17,17,17h408c9.35,0,17-7.65,17-17V17z M408,408H34 V34h374V408z"/></g></g></svg></a>
- <article class="entry">
- <section class="post">
- <div class="top">
- {block:ifShowTitle}<h1 class="title"><a href="/">{Title}</a></h1>{block:ifShowTitle}
- <nav class="accent">
- {block:ifHomeLink}<li><a href="/">{text:home link}</a></li>{/block:ifHomeLink}
- {block:ifArchiveLink}<li><a href="/archive">{text:archive link}</a></li>{/block:ifArchiveLink}
- {block:ifAskLink}<li><a href="/ask">{text:ask link}</a></li>{/block:ifAskLink}
- {block:HasPages}{block:Pages}<li><a href="{URL}">{Label}</a></li> {/block:Pages}{/block:HasPages}
- {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}
- {block:ifLink4}<li><a href="{text:link 4 url}">{text:link 4}</a></li>{/block:ifLink4}
- {block:ifLink5}<li><a href="{text:link 5 url}">{text:link 5}</a></li>{/block:ifLink5}
- {block:ifLink6}<li><a href="{text:link 6 url}">{text:link 6}</a></li>{/block:ifLink6}
- </nav>
- </div>
- {block:Description}<div class="desc text">{Description}</div>{/block:Description}
- </section>
- </article>
- </aside>
- {/block:ifNotSidebar}
- <div class="content">
- {block:Posts}
- <article class="item entry {block:Photo}ph{/block:Photo}{block:Photoset}ph{/block:Photoset}" id="{PostID}">
- <section class="post">
- {block:Audio}
- <div class="audiowrap">
- <div class="albumart" style="{block:AlbumArt}background-image:url({AlbumArtURL});{/block:AlbumArt}"></div>
- <div class="audio accent block">
- {block:AudioPlayer}
- <div class="player">{AudioPlayerWhite}</div>
- {/block:AudioPlayer}
- <div class="track">{block:TrackName}<span>{TrackName}</span>{/block:TrackName}{block:Artist}<span>{Artist}</span>{/block:Artist}</div>
- </div>
- </div>
- {/block:Audio}
- {block:Photo}
- <div class="media">
- {LinkOpenTag}
- <img src="{PhotoURL-HighRes}">
- {LinkCloseTag}
- </div>
- {/block:Photo}
- {block:Photoset}
- <div class="media photoset">
- <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><div class="pxu-photo"><img src="{PhotoURL-500}" 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>
- </div>
- {/block:Photoset}
- {block:Video}
- <div class="media video">{Video-500}</div>
- {/block:Video}
- {block:Answer}
- <div class="question accent">
- <span class="sender">{Asker}:</span>
- <span class="inquiry">{Question}</span>
- </div>
- <div class="answer text">{Answer}</div>
- {/block:Answer}
- {block:Chat}
- {block:Title}<h1 class="title">{Title}</h1>{/block:Title}
- <ul class="chat text">
- {block:Lines}
- <li class="line">
- {block:Label}
- <span class="label">{Label} </span>
- {/block:Label}
- {Line}
- </li>
- {/block:Lines}
- </ul>
- {/block:Chat}
- {block:Link}
- <h1 class="title"><a href="{URL}">{Name}</a></h1>
- {block:Description}<div class="text">{Description}</div>{/block:Description}
- {/block:Link}
- {block:Quote}
- <div class="quote title">{Quote}</div>
- {block:Source}
- <div class="source text">{Source}</div>
- {/block:Source}
- {/block:Quote}
- {block:Text}
- {block:Title}<h1 class="title">{Title}</h1>{/block:Title}
- <div class="text">{Body}</div>
- {/block:Text}
- {block:Caption}
- <div class="caption text">{Caption}</div>
- {/block:Caption}
- </section>
- {block:Date}
- <section class="date">
- <div class="accent">
- {block:PermalinkPage}<a class="permalink" href="{Permalink}">{Year}.{MonthNumberWithZero}.{DayOfMonthWithZero}</a>{/block:PermalinkPage}
- {block:IndexPage}
- <a class="permalink" href="{Permalink}">{DayOfWeek}</a>
- {block:ifShowReblog}<i class="comma"> / </i><a class="reblog-b" target="_blank" href="{ReblogURL}">reblog</a>{/block:ifShowReblog}{block:ifShowLike}<i class="comma"> / </i><a class="like-b" href="#">{LikeButton}<span class="b">like</span></a>{/block:ifShowLike}
- {/block:IndexPage}
- {block:ifShowSource}
- {block:RebloggedFrom}
- <i class="comma"> / </i><a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{block:ContentSource}<i class="comma"> / </i><a href="{ReblogRootURL}" title="{ReblogParentName}">source</a>{/block:ContentSource}
- {/block:RebloggedFrom}
- {/block:ifShowSource}
- {block:HasTags}
- <span class="tags"><i class="comma"> / </i>tags:<i class="comma"> </i>{block:Tags}<a href="{TagURL}">{Tag}</a><i class="comma">, </i>{/block:Tags}</span>
- {/block:HasTags}
- </div>
- </section>
- {/block:Date}
- </article>
- {block:PostNotes}
- <article class="entry">
- <section class="post">
- <h1 class="title">{NoteCountWithLabel}</h1>
- <div class="text">{PostNotes}</div>
- </section>
- </article>
- {/block:PostNotes}
- {/block:Posts}
- <!-- {block:ContentSource}{SourceURL}{/block:ContentSource}{block:RebloggedFrom}{ReblogRootURL}{ReblogParentURL}{/block:RebloggedFrom} -->
- </div>
- {block:Pagination}<div class="pagination"><div class="title">{block:PreviousPage}<a class="prev" href="{PreviousPage}">previous</a>{/block:PreviousPage} {block:NextPage}<a class="next" href="{NextPage}">next</a>{/block:NextPage}</div></div>{/block:Pagination}
- </div>
- <a href="https://shythemes.tumblr.com" id="theme" class="accent" title="theme">k.</a>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- {block:IndexPage}
- <script src="https://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- {/block:IndexPage}
- <script>
- $.fn.extend({
- plyrs: function(hex) { // audio players
- $(this).find('.soundcloud_audio_player').each(function(){
- $(this).attr({ src: $(this).attr('src').split('&')[0] + '&liking=false&sharing=false&auto_play=false&show_comments=false&continuous_play=false&buying=false&show_playcount=false&show_artwork=false&origin=tumblr&color=' + hex.split('#')[1], height: 20, width: '100%' });
- });
- $(this).find('.tumblr_audio_player').each(function(){
- $(this).attr({ src: $(this).attr('src').split('&color=')[0] + '&color=transparent&simple=1 '});
- });
- },
- resizevideos: function() {
- $(this).find('.video:not(.resized) iframe:not(.tumblr_video_iframe)').each(function(){
- var vw = $(this).width();
- var vh = $(this).height();
- var scale = $(this).parents('.video').width() / vw;
- $(this).attr({
- width: Math.floor($(this).attr('width') * scale),
- height: Math.floor($(this).attr('height') * scale)
- });
- $(this).parents('.video').addClass('resized');
- });
- $(this).find('.video:not(.resized) .tumblr_video_iframe').each(function(){
- var vw = $(this).width();
- var vh = $(this).height();
- var scale = $(this).parents('.video').width() / vw;
- $(this).css({
- 'transform': 'scale(' + scale + ')',
- 'margin': vh * (scale - 1) / 2 + 'px ' + vw * (scale - 1) / 2 + 'px'
- });
- $(this).parents('.tumblr_video_container').css({
- width: Math.floor(vw * ( scale + 1 ) / 2),
- height: Math.floor(vh * ( scale + 1 ) / 2)
- });
- $(this).parents('.video').addClass('resized');
- });
- }
- });
- $(document).ready(function(){
- var color = '#ededed',
- $content = $('.content'),
- o = $('.content').offset().top;
- $('.hb').click(function(){
- $('aside.ghost').toggleClass('box');
- return false
- });
- $(document).scroll(function(){
- var s = $(window).scrollTop();
- if (s > o) {
- $('.hb').fadeIn();
- }
- else {
- $('aside.ghost').removeClass('box');
- $('.hb').fadeOut();
- }
- });
- $content.plyrs(color);
- $content.resizevideos();
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- var $container = $('.content');
- {block:IndexPage}
- $container.infinitescroll({
- itemSelector: '.item',
- navSelector: '.pagination',
- nextSelector: '.next',
- loadingImg: '',
- loadingText: '<em></em>',
- bufferPx: 2000
- },
- function(newElements){
- var $newElems = $(newElements);
- var $newElemsIDs = $newElems.map(function(){
- return this.id;
- }).get();
- Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
- $newElems.find('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- $newElems.plyrs(color);
- $newElems.resizevideos();
- });
- {/block:IndexPage}
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement