Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- THEME: CLIO
- a dashboard-inspired theme
- by acuite
- - don't steal this pls
- - enjoy, ilu (ノ◕ヮ◕)ノ*:・゚✧
- - @acuite for more themes
- -->
- <html>
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <meta name="color:Text" content="#555"/>
- <meta name="color:Link" content="#999"/>
- <meta name="color:Hover" content="#75a1e2"/>
- <meta name="if:Right Sidebar" content=""/>
- <meta name="if:Tags" content=""/>
- <meta name="if:Shadow" content=""/>
- <meta name="if:Load More" content=""/>
- <meta name="if:Paginate" content=""/>
- <meta name="if:Round Edges" content=""/>
- <meta name="text:Post" content="480"/>
- <meta name="text:Link 1" content="/"/>
- <meta name="text:Link 1 Title" content="one"/>
- <meta name="text:Link 2" content="/" />
- <meta name="text:Link 2 Title" content="two"/>
- <meta name="text:Link 3" content="/" />
- <meta name="text:Link 3 Title" content="three"/>
- <meta name="text:Link 4" content="/" />
- <meta name="text:Link 4 Title" content="four"/>
- <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <link href='http://static.tumblr.com/8pnyeus/sXxofi7lt/outicons.css' rel='stylesheet' type='text/css'>
- <link href='https://fonts.googleapis.com/css?family=Roboto:400,400i,600,600i' rel='stylesheet' type='text/css'>
- <style type="text/css">
- /* Scroll */
- ::-webkit-scrollbar {width:15px;height:15px;background:#eee;}
- ::-webkit-scrollbar-thumb {background:rgba({RGBcolor:Link},0.5);}
- ::-webkit-scrollbar,::-webkit-scrollbar-thumb {
- border:7px solid #f8f8f8;
- }
- /* Controls */
- .tc .oi {font-size:20px;color:{color:Link};}
- .tc {position:fixed;top:65px;right:15px;cursor:pointer;}
- #tumblr_controls,.tmblr-iframe{-webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%);opacity:0;top:50px!important;right:0!important;z-index:999999; padding:10px 30px 10px 10px;}
- #tumblr_controls:hover,.tmblr-iframe:hover{opacity:0.5;}
- /* General */
- body {margin:0;color:{color:Text};background:#f8f8f8;}
- a:link, a:active, a:visited {text-decoration:none;}
- body,p,pre,blockquote,big,small,sub,sup {font-size:12px;}
- body,p,pre,em{font-family:'Roboto',Helvetica,Arial,sans-serif;}
- a,.our_button,.like_button,aside nav a .oi{
- transition:0.5s ease;
- -o-transition:0.5s ease;
- -moz-transition:0.5s ease;
- -webkit-transition:0.5s ease;
- }
- .cap,.srch,aside nav a,.tags,.qut,aside h2 {
- font-smooth:always;
- -webkit-font-smoothing:antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- /* Credit & Scroll to Top */
- .c,.top{position:fixed;right:30px;width:40px;}
- .c {bottom:30px;}
- .top {bottom:50px;display:none;}
- /* Pagination */
- .cp {font-weight:600;}
- .cp,.jp,.pag a{display:inline-block;vertical-align:middle;margin:0 10px;}
- .pag a i,.top{font-size:22px;}
- .pag {position:relative;}
- .load {cursor:pointer;display:block;}
- .c,.top,.pag,.load {text-align:center;}
- .c,.pag,.load{font-size:10px;letter-spacing:1px;text-transform:uppercase;}
- {block:ifnotPaginate}
- .pag,#infscr-loading {display:none!important;}
- {/block:ifnotPaginate}
- /* Containers */
- .center {
- position:relative;
- margin:calc(75px + 52px) auto 60px;
- width:calc({text:Post}px + 2px);
- }
- .entry img.photo {width:100%;}
- .entry img{max-width:100%;height:auto;}
- .entry {margin:60px 0;position:relative;width:{text:Post}px;}
- .from-pic {position:absolute;margin-top:-1px;}
- .from-pic img {width:44px;border:1px solid #eee;}
- /* Sidebar */
- aside {position:fixed;width:180px;font-size:0;}
- {block:ifnotRightSidebar}
- aside{margin-left:calc(-60px + -180px + -2px);}
- .from-pic {margin-left:calc({text:Post}px + 10px);width:44px;}
- {/block:ifnotRightSidebar}
- {block:ifRightSidebar}
- aside{margin-left:calc(60px + {text:Post}px + 2px);}
- .from-pic {margin-left:-56px;}
- {/block:ifRightSidebar}
- .icon {width:37px;padding:1px;border-right:1px solid #eee;}
- .lh,.dh {cursor:help;}
- .lb,.desc {display:none;}
- .lb {padding:0;}
- .lb a:first-of-type {border:0;}
- .lb a {
- display:block;
- margin:0;
- padding:8px 15px;
- font-size:11px;
- line-height:100%;
- color:{color:Text};
- border-top:1px dotted #eee;
- }
- .lb a:hover {padding-left:25px;}
- .desc {font-size:11px;padding:15px;}
- nav {font-size:0;}
- aside nav .oi{font-size:16px;float:right;height:8px;margin-top:-2px;}
- aside nav a:hover .oi {color:rgba({RGBcolor:Hover},0.75);}
- aside nav a:hover {padding:15px 20px;}
- aside nav a{
- padding:15px;
- display:block;
- font-size:11px;
- line-height:100%;
- text-transform:capitalize;
- }
- /* Header */
- header {
- top:0;
- left:0;
- font-size:0;
- position:fixed;
- z-index:99999;
- padding:15px;
- width:calc(100% - 32px);
- }
- header nav {width:50%;text-align:right;}
- header nav a {font-size:18px;line-height:100%;margin:2px 0 0 20px;}
- .srch,header nav,header nav a,.srch input,.srch .oi {
- display:inline-block;
- vertical-align:middle;
- }
- .srch {color:{color:Link};width:50%;padding:1px 0;}
- .srch .oi {font-size:18px;margin:0 7px 0 0;}
- .srch input{
- width:150px;
- background:inherit;
- padding:0;
- border:0;
- margin:0;
- outline:none;
- font:inherit;
- font-size:12px;
- line-height:100%;
- }
- .srch input[type=text] {color:{color:Link};}
- input::-webkit-input-placeholder {color:{color:Link};}
- input::-moz-placeholder {color:{color:Link};}
- input:-moz-placeholder {color:{color:Link};}
- input:-ms-input-placeholder {color:{color:Link};}
- input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {-webkit-appearance:none;}
- /* Titles */
- aside h1 {
- margin:0;
- padding:15px;
- font-size:10px;
- line-height:100%;
- letter-spacing:1px;
- text-transform:uppercase;
- }
- aside h2,.icon {display:inline-block;vertical-align:middle;}
- aside h2,aside h2 a {color:{color:Text};}
- aside h2 {
- margin:0 0 0 10px;
- width:calc(100% - 50px);
- font-size:13px;
- line-height:100%;
- letter-spacing:0.3px;
- }
- .entry h2 {margin:25px;font-size:14px;line-height:100%;font-weight:600;}
- h3,h4,h5 {margin:10px;font-weight:600;font-size:11px;line-height:100%;}
- /* Quotes */
- .qut_hold {padding:25px 25px 0;}
- .src {margin-bottom:10px;}
- .qut {font-size:15px;line-height:130%;font-style:italic;}
- /* Permalinks */
- .p {margin:15px;font-size:0;}
- .ple,.tags a,.from a{line-height:100%;}
- .ple {
- padding:3px 0 2px;
- width:calc(100% - 40px);
- font-weight:700;
- font-size:11px;
- letter-spacing:0.5px;
- text-transform:uppercase;
- }
- .ple,.pri {display:inline-block;vertical-align:middle;}
- .pri {text-align:right;width:40px;}
- .pri .oi {font-size:16px;}
- .from {padding:15px;}
- .from .oi {margin:0 5px;font-size:12px;}
- .from b a{color:{color:Hover};}
- .from .oi-file {float:right;margin:-2px 0;font-size:16px;opacity:0.75;}
- .from a{font-size:10px;letter-spacing:0.75px;text-transform:uppercase;}
- .tags {margin:15px 0 5px;}
- .tags a {margin-right:6px;font-size:11px;}
- .custom-like-button *{cursor:pointer!important;}
- .custom-like-button {
- position:relative;
- display:inline-block;
- vertical-align:top;
- width:16px;
- height:14px;
- cursor:pointer;
- margin-right:3px;
- }
- .like_button:hover + .our_button {color:{color:Hover};}
- .like_button.liked + .our_button {color:{color:Hover};}
- .like_button iframe {width:100%!important;height:100%!important;}
- .like_button {z-index:10;opacity:0;}
- .our_button {z-index:1;}
- .our_button,.like_button{position:absolute;top:0;left:0;width:100%;height:100%;}
- /* Audio & Chat */
- .chat {padding:15px 15px 0;}
- .lines,.chat h2 {padding:0;margin:10px;}
- .lines b{font-weight:600;}
- .play {padding:10px;background:#e4e4e4;height:27px;width:27px;}
- .audio {font-size:0;margin:25px;}
- .play,.au {display:inline-block;vertical-align:middle;}
- .soundcloud_audio_player{padding:15px 0;}
- .tn {text-transform:uppercase;letter-spacing:1px;}
- .au span {display:block;margin:3px 0;font-size:11px;}
- .au {width:calc(100% - 62px);margin-left:15px;}
- .tumblr_audio_player {width:27px;height:27px;overflow:hidden;}
- /* Text */
- ol,ul {padding:0 0 0 20px;}
- li {margin:1px 0;}
- p,blockquote,pre,ul,ol{margin:5px;}
- b,strong {font-weight:600;}
- blockquote p{margin:5px 0;}
- blockquote p:first-child{margin:0 0 5px;}
- blockquote p:last-child{margin:5px 0 0;}
- blockquote p:only-child{margin:0;}
- blockquote blockquote {margin:0;}
- blockquote{padding:0 0 0 5px;border-left:1px solid #eee;}
- pre {
- white-space:pre-wrap;
- white-space:-moz-pre-wrap;
- white-space:-pre-wrap;
- white-space:-o-pre-wrap;
- word-wrap:break-word;
- }
- /* Captions */
- .txt iframe,.cap iframe{display:block;max-width:100%;overflow:hidden;}
- .cap a:hover,.txt a:hover {border-color:rgba({RGBcolor:Hover},0.5);}
- .cap a,.txt a {
- color:{color:Text};
- border-bottom:1px solid rgba({RGBcolor:Hover},0.75);
- }
- a.tumblr_blog {border:0;vertical-align:middle;font-weight:600;}
- .txt.cap.ans .tumblr_parent {border-top:1px solid #eee;}
- .txt.cap .tumblr_parent {border:0;}
- .txt.cap.nospace .tumblr_parent {border:0;padding-top:0;}
- .tumblr_parent {border:0;margin:0;padding:25px 25px 10px;}
- {block:PermalinkPage}
- .tumblr_parent {padding:25px;}
- {/block:PermalinkPage}
- .user-pic {
- display:inline-block;
- vertical-align:middle;
- border-radius:2px;
- margin-right:7px;
- width:16px;
- }
- /* Video */
- .video {overflow:hidden;}
- .vine-embed,#youtube_iframe {display:block;}
- .instagram-media {border-radius:0!important;box-shadow:none!important;}
- /* Photosets */
- #tumblr_lightbox,.tmblr-lightbox {background:rgba({RGBcolor:Background},0.99)!important;}
- #vignette,#tumblr_lightbox_caption,.vignette,.lightbox-caption{opacity:0!important;}
- #tumblr_lightbox_center_image, #tumblr_lightbox_left_image,
- #tumblr_lightbox_right_image, .lightbox-image {
- box-shadow:none!important;
- border-radius:0px!important;
- {block:ifRoundEdges}border-radius:4px!important;{/block:ifRoundEdges}
- }
- /* Ask */
- .asktext,.askicon {display:inline-block;vertical-align:top;}
- .ask {font-size:0;margin:15px;}
- .asktext {padding:15px;border-radius:3px;background:#fafafa;border:1px solid #eee;width:calc(100% - 76px);font-size:12px;line-height:150%;}
- .aski {margin:0 0 7px;line-height:100%;font-size:10px;text-transform:uppercase;letter-spacing:0.75px;}
- .aski b {font-weight:700;}
- .askicon {width:35px;border:1px solid #eee;border-radius:3px;margin-left:7px;}
- /* Permalink Page + Postnotes */
- .pph {text-transform:lowercase;}
- .perma {font-size:0;}
- .per_li {display:block;font-size:9px;line-height:100%;padding:9px;}
- .per_li .oi {font-size:10px;width:10px;margin-right:5px;}
- .pmt a {margin-left:1px;}
- .pmt a:after {content:',';}
- .pmt a:last-of-type:after {content:'.';}
- .pn ol {margin:0;padding:0;list-style-type:none;}
- .pn li{margin:10px;font-size:10px;line-height:100%;}
- .pn,.pn img{display:none;}
- .pn {padding:10px;font-size:0;}
- .pnh,.more_notes_link,.notes_loading {display:block;font-weight:600;}
- .more_notes_link,.notes_loading {text-align:left!important;}
- /* Tooltips */
- #s-m-t-tooltip{
- max-width:200px;
- margin:15px;
- z-index:99999999;
- padding:6px;
- line-height:100%;
- word-wrap:break-word;
- word-break:break-all;
- }
- /* Common Styles */
- .ask,p,blockquote,.lines,.pn,.desc{line-height:150%;}
- a:hover,a h2:hover,nav a:hover{color:{color:Hover};}
- a,.perma,h1,h2,h2 a,.ask,.from,.pri{color:{color:Link};}
- .from .oi-repeat{color:rgba({RGBcolor:Link},0.75);}
- {block:ifRoundEdges}
- .icon {border-radius:4px 0 0;}
- .play,.aski img,.entry,aside,.from-pic img,#s-m-t-tooltip{
- border-radius:4px;
- }
- {/block:ifRoundEdges}
- /* Borders */
- .from {border-bottom:1px solid #eee;}
- .pn,.desc,.per_li,aside nav a,.lb,aside h1,.tumblr_parent{
- border-top:1px solid #eee;
- }
- .entry,aside,#s-m-t-tooltip,header,.from-pic img{
- background:#fff;
- border:1px solid #eee;
- {block:ifShadow}
- box-shadow:rgba(0,0,0,0.04)0 2px 4px;
- {/block:ifShadow}
- }
- /* Etc */
- img {margin:0;display:block;}
- </style>
- </head>
- <body>
- <div class="tc"><i class="oi oi-menu"></i></div>
- <header>
- <form class="srch" action="/search" method="get">
- <i class="oi oi-search"></i>
- <input type="text" name="q" placeholder="Search {Name}" value="{SearchQuery}"/>
- </form>
- <nav>
- <a href="/" title="Home"><i class="oi oi-home"></i></a>
- <a href="/ask" title="Ask"><i class="oi oi-mail"></i></a>
- <a href="/archive" title="Archive"><i class="oi oi-time"></i></a>
- </nav>
- </header>
- <div class="center">
- <aside>
- <img class="icon" src="{PortraitURL-128}">
- <h2><a href="/">@{Name}</a></h2>
- <nav>
- <a href="/ask">inbox<i class="oi oi-mail"></i></a>
- <a href="#" class="dh">about<i class="oi oi-user"></i></a>
- <a href="#" class="lh">navigate<i class="oi oi-menu"></i></a>
- <a href="/archive">archive<i class="oi oi-time"></i></a>
- </nav>
- <div class="desc">{Description}</div>
- <div class="lb">
- {block:ifLink1}
- <a href="{text:Link 1}">{text:Link 1 Title}</a>
- {/block:ifLink1}{block:ifLink2}
- <a href="{text:Link 2}">{text:Link 2 Title}</a>
- {/block:ifLink2}{block:ifLink3}
- <a href="{text:Link 3}">{text:Link 3 Title}</a>
- {/block:ifLink3}{block:ifLink4}
- <a href="{text:Link 4}">{text:Link 4 Title}</a>
- {/block:ifLink4}
- </div>
- <h1>account</h1>
- <nav>
- <a href="http://tumblr.com/likes">likes<i class="oi oi-heart"></i></a>
- <a href="http://tumblr.com/following">following<i class="oi oi-plus"></i></a>
- <a href="http://tumblr.com/settings">settings<i class="oi oi-gear"></i></a>
- </nav>
- </aside>
- <div id="content">
- {block:Posts}
- <div class="entry" id="{PostID}">
- {block:Date}
- <div class="from-pic"><img src="{PortraitURL-128}"></div>
- <div class="from">
- {block:RebloggedFrom}
- <b><a href="{Permalink}">{Name}</a></b>
- <i class="oi oi-repeat"></i>
- <a href="{ReblogParentURL}">{ReblogParentName}</a>
- {/block:RebloggedFrom}
- {block:NotReblog}
- <b><a href="{Permalink}">{Name}</a></b>
- {/block:NotReblog}
- <a href="{Permalink}"><i class="oi oi-file"></i></a>
- </div>
- {/block:Date}
- {block:Text}
- {block:Title}<h2>{Title}</h2>{/block:Title}
- <div class="txt cap {block:Title}nospace{/block:Title}">{Body}</div>
- {/block:Text}
- {block:Link}
- <h2><a title="{URL}" href="{URL}">{Name}</a></h2>
- {block:Description}<div class="txt cap nospace">{Description}</div>{/block:Description}
- {/block:Link}
- {block:Photo}
- <div class="bx"><a href="{Permalink}"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="photo"/></a></div>
- {/block:Photo}
- {block:Photoset}
- <div class="bx"><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:Quote}
- <div class="qut_hold">
- {block:Source}<div class="src">{Source}</div>{/block:Source}
- <div class="qut">{Quote}</div>
- </div>
- {/block:Quote}
- {block:Chat}
- <div class="chat">
- {block:Title}<h2>{Title}</h2>{/block:Title}
- {block:Lines}<div class="lines {Alt}"><div class="{Alt} user_{UserNumber}">{block:Label}<b>{Label}</b> {/block:Label}{Line}</div></div>{/block:Lines}
- </div>
- {/block:Chat}
- {block:Audio}
- <div class="audio">
- {block:AudioPlayer}<div class="play">{AudioPlayerGrey}</div>{/block:AudioPlayer}
- <div class="au">
- {block:TrackName}<span class="tn">{TrackName}</span>{/block:TrackName}
- {block:Artist}<span>by {Artist}</span>{/block:Artist}
- </div>
- </div>
- {/block:Audio}
- {block:Video}
- <div class="video">{Video-500}</div>
- {/block:Video}
- {block:Answer}
- <div class="ask">
- <div class="asktext">
- <div class="aski"><b>{Asker}</b> asked:</div>{Question}
- </div>
- <img class="askicon" src="{AskerPortraitURL-48}">
- </div>
- <div class="txt cap ans">{Answer}</div>
- {/block:Answer}
- {block:Caption}<div class="cap {block:HasTags}hastags{/block:HasTags}">{Caption}</div>{/block:Caption}
- {block:IndexPage}
- <div class="p">
- {block:ifTags}{block:HasTags}<div class="tags">
- {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
- </div>{/block:HasTags}{/block:ifTags}
- <a class="ple" href="{Permalink}">{NoteCountWithLabel}</a>
- <div class="pri">
- <div class="custom-like-button">{LikeButton}
- <span class="our_button"><i class="oi oi-heart"></i></span>
- </div>
- <a href="{ReblogURL}"><i class="oi oi-refresh"></i></a>
- </div>
- </div>
- {/block:IndexPage}
- {block:PermalinkPage}
- {block:Date}
- <div class="pph">
- <div class="perma">
- <div class="per_li">
- <i class="oi oi-time"></i>
- posted {TimeAgo} on {DayofMonthWithSuffix} {Month}
- </div>
- {block:RebloggedFrom}<div class="per_li">
- <i class="oi oi-user"></i>
- via <a href="{ReblogParentURL}">{ReblogParentName}</a>
- ·
- source <a href="{ReblogRootURL}">{ReblogRootName}</a>
- </div>{/block:RebloggedFrom}
- {block:HasTags}<div class="per_li pmt"><i class="oi oi-tags"></i>
- {block:Tags} <a href="{TagURL}">{Tag}</a> {/block:Tags}
- </div>{/block:HasTags}
- <a href="#" class="per_li pnh">
- <i class="oi oi-chart"></i>
- {NoteCountWithLabel}
- </a>
- </div>
- {block:PostNotes}
- <div class="pn">{PostNotes}</div>
- {/block:PostNotes}
- </div>
- {/block:Date}
- {/block:PermalinkPage}
- {block:ContentSource}
- <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
- width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
- {/block:SourceLogo}
- {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
- {/block:ContentSource}
- <!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
- </div>
- {/block:Posts}
- {block:ifPaginate}
- {block:Pagination}
- <div class="pag">
- {block:PreviousPage}
- <a href="{PreviousPage}"><i class="oi oi-arrow-left"></i></a>
- {/block:PreviousPage}
- {block:JumpPagination length="3"}
- {block:CurrentPage}
- <span class="cp">{PageNumber}</span>
- {/block:CurrentPage}
- {block:JumpPage}
- <a class="jp" href="{URL}">{PageNumber}</a>
- {/block:JumpPage}
- {/block:JumpPagination}
- {block:NextPage}
- <a href="{NextPage}"><i class="oi oi-arrow-right"></i></a>
- {/block:NextPage}
- </div>
- {/block:Pagination}
- {/block:ifPaginate}
- </div>
- {block:ifnotPaginate}
- {block:Pagination}
- <div class="pag">
- {block:PreviousPage}
- <a href="{PreviousPage}" class="prev">back</a>
- {/block:PreviousPage}
- {block:NextPage}
- <a href="{NextPage}" class="next">next</a>
- {/block:NextPage}
- </div>
- {block:ifLoadMore}
- <a class="load">Load More</a>
- {/block:ifLoadMore}
- {/block:Pagination}
- {/block:ifnotPaginate}
- </div>
- <a href="#" class="top"><i class="oi oi-chevron-up"></i></a>
- <div class="c"><a href="http://acuite.tumblr.com">acuite</a></div>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
- <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script src="http://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
- <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- <script>
- // pxu photosets
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '1px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- // minimal soundcloud player © eoxk.tumblr
- $(document).ready(function(){
- var color = '{color:Link}'; // color of play button (hex)
- $('.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=true&origin=tumblr&color=' + color.split('#')[1], height: 20, width: '100%' });
- });
- });
- // drop links & post notes
- $(document).ready(function(){
- $(".pn").hide();
- $(".pnh").show();$('.pnh').toggle(function(){
- $(".pn").slideDown(function(){});
- },function(){
- $(".pn").slideUp(function(){});
- });
- $(".desc").hide();
- $(".dh").show();$('.dh').toggle(function(){
- $(".desc").slideDown(function(){});
- },function(){
- $(".desc").slideUp(function(){});
- });
- $(".lb").hide();
- $(".lh").show();$('.lh').toggle(function(){
- $(".lb").slideDown(function(){});
- },function(){
- $(".lb").slideUp(function(){});
- });
- });
- // scroll to top © html-tuts.com
- var amountScrolled = 500;
- $(window).scroll(function() {
- if ($(window).scrollTop() > amountScrolled) {
- $('a.top').fadeIn('slow');
- } else {
- $('a.top').fadeOut('slow');
- }
- });
- $('a.top').click(function() {
- $('body, html').animate({
- scrollTop: 0
- }, 'slow');
- return false;
- });
- // tooltips
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_delay_time:200,
- tip_fade_speed:300
- }
- );
- });
- })(jQuery);
- /*
- UN-NEST TUMBLR CAPTIONS PLUGIN
- 2016 @magnusthemes & @neothm
- source: http://neothm.com/post/148902138319
- */
- $('.entry').unnest({
- yourCaption: ".cap",
- newCaptionUsername: false,
- originalPostCaptionUsername: false,
- tumblrAvatars: true,
- tumblrAvatarClass: ".user-pic",
- usernameColon: false
- });
- // infinite scroll
- {block:ifnotPaginate}
- var $container = $('#content');
- $container.infinitescroll({
- itemSelector: '.entry',
- navSelector: '.pag',
- nextSelector: '.next',
- loadingImg: ' ',
- loadingText: ' ',
- donetext: 'No more posts' ,
- bufferPx: 2000,
- {block:ifLoadMore}
- errorCallback: function(){
- jQuery('.load').delay(50).fadeOut();
- }
- {/block:ifLoadMore}
- },
- function( newElements ) {
- var $newElems = $( newElements );
- var $newElemsIDs = $newElems.map(function(){
- return this.id;
- }).get();
- console.log($newElems, $newElemsIDs);
- Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
- $newElems.find('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '1px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- resizeVideos();
- $newElems.unnest({
- yourCaption: ".cap",
- newCaptionUsername: true,
- originalPostCaptionUsername: true,
- tumblrAvatars: true,
- tumblrAvatarClass: ".user-pic",
- usernameColon: false
- });
- });
- {block:ifLoadMore}
- $(window).unbind(".infscr");
- $(".load").click(function(){
- $("#content").infinitescroll("retrieve");
- });
- {/block:ifLoadMore}
- {/block:ifnotPaginate}
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement