Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- THEME: HERA
- by acuite
- - a revamp!!
- - 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="image:Sidebar" content=""/>
- <meta name="color:Link" content="#999"/>
- <meta name="color:Hover" content="#89adc3"/>
- <meta name="if:Load More" content=""/>
- <meta name="if:Paginate" content=""/>
- <meta name="if:Captions" content=""/>
- <meta name="select:Tags" content="tshow" title="Show">
- <meta name="select:Tags" content="thide" title="Hide">
- <meta name="select:Tags" content="thover" title="Hover">
- <meta name="text:Post" content="350"/>
- <meta name="text:Sidebar" content="150"/>
- <meta name="text:Margin" content="100"/>
- <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=Open+Sans:400,400i,600,600i" rel="stylesheet">
- <style type="text/css">
- /* Scroll */
- ::-webkit-scrollbar {width:11px;height:11px;background:#eee;}
- ::-webkit-scrollbar-thumb {background:rgba({RGBcolor:Link},0.5);}
- ::-webkit-scrollbar,::-webkit-scrollbar-thumb {border:5px solid #f8f8f8;}
- /* Controls */
- .tc .oi {font-size:20px;color:{color:Link};}
- .tc {position:fixed;top:15px;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:0!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:#555;background:#f8f8f8;}
- a:link, a:active, a:visited {text-decoration:none;}
- body,p,pre,blockquote,big,small,sub,sup {font-size:11px;}
- body,p,pre,em{font-family:'Open Sans',Helvetica,Arial,sans-serif;}
- a,.tags,#tumblr_controls,.tmblr-iframe,.tc {
- transition:0.5s ease;
- -o-transition:0.5s ease;
- -moz-transition:0.5s ease;
- -webkit-transition:0.5s ease;
- }
- /* 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:20px;}
- .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:{text:Margin}px 0;
- left:calc({text:Sidebar}px + ({text:Margin}px * 2) + 1px);
- width:calc({text:Post}px + 12px);
- }
- .entry img {max-width:100%;height:auto;}
- .entry {margin:{text:Margin}px 0;}
- /* Header */
- aside {
- position:fixed;
- left:0;
- top:0;
- width:{text:Sidebar}px;
- height:100%;
- text-align:center;
- padding:calc({text:Margin}px / 2);
- background:#fff;
- border-right:1px solid #eee;
- }
- .image img{max-width:calc(100% - 2px);border:1px solid #eee;}
- .desc{
- margin:15px 0;
- padding:15px;
- background:#f8f8f8;
- border:1px solid #eee;
- }
- nav {font-size:0;}
- nav a{
- display:inline-block;
- margin:0 6px;
- padding-bottom:3px;
- font-size:9px;
- line-height:100%;
- letter-spacing:0.75px;
- text-transform:uppercase;
- }
- .lb {display:none;margin-top:5px;}
- .lb a {margin:4px;}
- /* Titles */
- h2 {margin:10px;font-size:13px;line-height:100%;font-weight:400;}
- /* Permalinks */
- a.nt{font-weight:600;}
- .p {margin:10px;font-size:0;}
- .p a {
- display:inline-block;
- margin:0 10px 4px 0;
- font-size:9px;
- line-height:100%;
- letter-spacing:0.75px;
- text-transform:uppercase;
- }
- .entry:hover .thover{opacity:1;}
- .tshow,.thover{display:block;position:relative;}
- .thide {display:none;}
- .thover {opacity:0;}
- .tags {margin-top:2px;}
- .tags a {text-transform:none;margin:0 6px 4px 0;letter-spacing:0;font-size:10px;}
- /* Quotes */
- .src {margin:10px;}
- .qut {
- font-size:14px;
- font-style:italic;
- padding:20px;
- letter-spacing:0.25px;
- }
- /* Audio & Chat */
- .lines:first-of-type {border:0;}
- .lines,.chat h2 {margin:0;padding:15px;border-top:1px solid #eee;}
- .lines b {font-weight:600;}
- .play {padding:10px;background:#e4e4e4;height:27px;width:27px;}
- .audio {font-size:0;padding:20px;}
- .play,.au {display:inline-block;vertical-align:middle;}
- .soundcloud_audio_player{padding:15px 0;}
- .au span.tn {font-size:13px;font-weight:600;}
- .au span {display:block;margin:5px 0;font-size:11px;line-height:100%;}
- .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:5px;}
- p,blockquote,pre,ul,ol{margin:5px 0;}
- 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-left:10px;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 */
- a.tumblr_blog:after {content:':';}
- .cap {{block:IndexPage}border-bottom:1px solid #eee;{/block:IndexPage}}
- .txt iframe,.cap iframe{display:block;max-width:100%;overflow:hidden;}
- .tumblr_parent:first-of-type {border:0;}
- .tumblr_parent blockquote {margin:5px 0;}
- .tumblr_parent {
- border:0;
- margin:0;
- padding:20px;
- border-top:1px solid #eee;
- }
- /* 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(255,255,255,0.95)!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:0!important;
- }
- /* Ask */
- .ask {padding:20px;}
- .aski {margin:0 0 10px;line-height:20px;font-size:10px;}
- .aski img {float:left;width:20px;margin-right:7px;}
- /* Permalink Page + Postnotes */
- .perma {font-size:0;text-transform:lowercase;}
- .perma_li {
- display:inline-block;
- width:calc(50% - 20px);
- height:10px;
- font-size:10px;
- line-height:100%;
- margin:0;
- padding:10px;
- border-top:1px solid #eee;
- }
- .perma_li .oi {font-size:12px;width:12px;float:left;margin-right:6px;}
- .perma_li.pnh,.perma_li.pmt {display:block;width:auto;height:auto;}
- .pmt a:after {content:',';}
- .pmt a:last-of-type:after {content:'.';}
- .pn ol {margin:0;padding:0;list-style-type:none;}
- .pn li{
- margin:0;
- font-size:9px;
- line-height:100%;
- padding:7px;
- border-top:1px dotted #eee;
- }
- .pn,.pn img{display:none;}
- .pn {font-size:0;}
- .pnh {margin:0;font-size:11px;color:#555;}
- .pnh,.more_notes_link,.notes_loading {display:block;font-weight:400;}
- .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,.qut,.desc{line-height:150%;}
- a:hover, a h2:hover{color:{color:Hover};}
- a,.perma,.src,.lines b,.tn,h2,.ask{color:{color:Link};}
- .oto {padding:5px;}
- .ph,#s-m-t-tooltip,.pph {background:#fff;border:1px solid #eee;}
- .pph {border-top:0;}
- /* Borders */
- .cap a,.src a,nav a{
- border-bottom:1px solid rgba({RGBcolor:Link},0.25);
- }
- .cap a:hover,.src a:hover,nav a:hover{
- border-color:rgba({RGBcolor:Hover},0.5);
- }
- /* Etc */
- .notes img {width:0px;}
- img {margin:0px;display:block;}
- </style>
- </head>
- <body>
- <div class="tc"><i class="oi oi-menu"></i></div>
- <aside>
- {block:ifSidebarImage}
- <div class="image"><a href="/"><img src="{image:Sidebar}"/></a></div>
- {/block:ifSidebarImage}
- <div class="desc">{Description}</div>
- <nav>
- <a href="/">home</a>
- <a href="/ask">contact</a>
- <a href="#" class="lh">links</a>
- <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>
- </nav>
- </aside>
- <div class="center">
- <div class="content">
- {block:Posts}
- <div class="entry" id="{PostID}">
- {block:Text}
- {block:Title}<h2>{Title}</h2>{/block:Title}
- <div class="ph txt cap">{Body}</div>
- {/block:Text}
- {block:Link}
- <h2><a title="{URL}" href="{URL}">{Name}</a></h2>
- {block:Description}<div class="ph txt cap">{Description}</div>{/block:Description}
- {/block:Link}
- {block:Photo}
- <div class="ph oto"><a href="{Permalink}"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="bx"/></a></div>
- {/block:Photo}
- {block:Photoset}
- <div class="ph oto"><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="ph qut">{Quote}</div>
- </div>
- {/block:Quote}
- {block:Chat}
- <div class="ph 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="ph 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="ph video">{Video-500}</div>
- {/block:Video}
- {block:Answer}
- <div class="ask">
- <div class="aski"><img src="{AskerPortraitURL-24}">{Asker} said:</div>
- <div class="que">{Question}</div>
- </div>
- <div class="ans">{Answer}</div>
- {/block:Answer}
- {block:ifCaptions}{block:Caption}<div class="cap">{Caption}</div>{/block:Caption}{/block:ifCaptions}
- {block:IndexPage}
- <div class="p">
- <a href="{Permalink}" class="nt">{NoteCount}</a>
- <a href="{Permalink}">{Month} {DayofMonth}</a>
- <a href="{ReblogURL}">reblog</a>
- {block:HasTags}<div class="tags {select:Tags}">
- {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
- </div>{/block:HasTags}
- </div>
- {/block:IndexPage}
- {block:PermalinkPage}
- {block:Date}
- <div class="pph">
- <div class="perma">
- <span class="perma_li">
- <span class="oi oi-time"></span> posted {TimeAgo}
- </span>
- <span class="perma_li">
- <span class="oi oi-calendar"></span> {DayofMonthWithSuffix} {Month} {Year}
- </span>
- {block:RebloggedFrom}
- <span class="perma_li">
- <span class="oi oi-user"></span> via:
- <a href="{ReblogParentURL}">{ReblogParentName}</a>
- </span>
- <span class="perma_li">
- <span class="oi oi-location"></span> source:
- <a href="{ReblogRootURL}">{ReblogRootName}</a>
- </span>
- {/block:RebloggedFrom}
- {block:HasTags}
- <span class="perma_li pmt">
- <span class="oi oi-tags"></span>
- {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags}
- </span>
- {/block:HasTags}
- <a href="#" class="pnh perma_li">view {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-chevron-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-chevron-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(){});
- });
- $(".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: false,
- 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: false,
- 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