Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- THEME: NEREUS
- by acuite
- - a simple header theme :)
- - 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:Icon" content=""/>
- <meta name="color:Text" content="#555"/>
- <meta name="color:Link" content="#999"/>
- <meta name="color:Hover" content="#97c5e0"/>
- <meta name="if:Drop Links" content=""/>
- <meta name="if:Description" 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:Margin" content="75"/>
- <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=Overpass:300,300i,400,400i,600,600i,800,800i" 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:15px;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:{color:Text};
- background:#f8f8f8;
- font-smooth:always;
- -webkit-font-smoothing:antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- 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:'Roboto',Helvetica,Arial,sans-serif;}
- a,.tags,.our_button,.like_button,#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:9px;letter-spacing:1px;text-transform:uppercase;}
- {block:ifnotPaginate}
- .pag,#infscr-loading {display:none!important;}
- {/block:ifnotPaginate}
- /* Sizing Backups & Misc Aesthetics */
- .header_content,.image,nav a,nav b,.p a,.p b{
- display:inline-block;
- vertical-align:middle;
- }
- .entry_hold,.header_content,.image {
- background:#fff;
- border:1px solid #eee;
- }
- /* Containers */
- .center {
- position:relative;
- margin:{text:Margin}px auto;
- width:calc({text:Post}px + 2px);
- }
- .entry img {max-width:100%;height:auto;}
- .entry{margin:{text:Margin}px 0px;}
- /* Sidebar */
- header {position:relative;font-size:0;text-align:center;}
- .header_content {
- margin-left:10px;
- text-align:center;
- max-width:calc({text:Post}px - 68px - 20px);
- }
- .image img{width:100%;}
- .image {width:50px;padding:3px;}
- .desc{border-bottom:1px solid #eee;font-size:11px;padding:15px;}
- .lb {display:none;margin-top:5px;}
- nav {padding:8px;}
- nav a {font-size:10px;line-height:100%;}
- nav a:after {content:'/';opacity:0.5;margin:0 5px;}
- nav a:last-of-type:after {display:none;}
- /* Titles */
- a h2:hover {border-color:inherit;}
- h2 {
- margin:15px 15px 0;
- font-size:14px;
- line-height:100%;
- display:inline-block;
- font-weight:600;
- border-bottom:1px solid rgba({RGBcolor:Link},0.7);
- padding-bottom:2px;
- }
- /* Permalinks */
- .p {margin:10px 5px;font-size:0;text-transform:lowercase;}
- .p a {font-size:10px;line-height:100%;}
- .p a:after {content:'/';opacity:0.5;margin:0 5px;}
- .p a:last-of-type:after {display:none;}
- .entry:hover .thover{opacity:1;}
- .tshow,.thover{display:block;position:relative;}
- .thide {display:none;}
- .thover {opacity:0;}
- .tags {margin-top:5px;}
- /* Quotes */
- .src {
- margin-top:8px;
- display:inline-block;
- padding-bottom:2px;
- line-height:100%;
- border-bottom:1px solid #eee;
- }
- .qut_hold {padding:25px;}
- .qut {font-size:15px;font-weight:300;line-height:130%;font-style:italic;}
- /* Audio & Chat */
- .chat {margin-top:-1px;}
- .lines,.chat h2 {margin:0;padding:15px;border-top:1px solid #eee;}
- .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:800;}
- .au span {display:block;margin:5px 0;font-size:10px;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 */
- .txt iframe,.cap iframe{display:block;max-width:100%;overflow:hidden;}
- .txt:not(.ans) .tumblr_parent:first-of-type {border:0;}
- .tumblr_parent blockquote {margin:5px 0;}
- .tumblr_parent {
- border:0;
- margin:0;
- padding:15px;
- border-top:1px solid #eee;
- }
- a.tumblr_blog:hover {border-color:inherit;}
- a.tumblr_blog {border-bottom:1px solid rgba({RGBcolor:Link},0.25);}
- a.tumblr_blog:after {content:':';}
- /* 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 */
- .ask {padding:20px;}
- .aski {margin:0 0 10px;line-height:20px;font-size:11px;font-weight:700;}
- .aski img {float:left;width:20px;margin-right:7px;border-radius:3px;}
- /* Permalink Page + Postnotes */
- .pph {text-transform:lowercase;}
- .perma {padding:15px;line-height:175%;}
- .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:8.5px;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;
- background:#fff;
- }
- /* Common Styles */
- .ask,p,blockquote,.lines,.qut,.desc{line-height:150%;}
- a:hover, a h2:hover{color:{color:Hover};}
- a,.p,.perma,.src,.lines b,.tn,h2,.ask{color:{color:Link};}
- /* Etc */
- .notes img {width:0px;}
- img {margin:0px;display:block;}
- </style>
- </head>
- <body>
- <div class="tc"><i class="oi oi-menu"></i></div>
- <div class="center">
- <header>
- {block:ifIconImage}<a href="/"><div class="image"><img src="{image:Icon}"/></div></a>{/block:ifIconImage}
- <div class="header_content">
- {block:ifDescription}
- {block:Description}<div class="desc">{Description}</div>{/block:Description}
- {/block:ifDescription}
- <nav>
- <a href="/">index</a>
- <a href="/ask">message</a>
- {block:ifDropLinks}
- <a href="#" class="lh">navigate</a>
- <div class="lb">
- {/block:ifDropLinks}
- {block:ifLink1}
- {block:ifnotDropLinks}{/block:ifnotDropLinks}
- <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}
- {block:ifDropLinks}</div>{/block:ifDropLinks}
- </nav>
- </div>
- </header>
- <div id="content">
- {block:Posts}
- <div class="entry">
- <div class="entry_hold">
- {block:Text}
- {block:Title}<h2>{Title}</h2>{/block:Title}
- <div class="txt cap">{Body}</div>
- {/block:Text}
- {block:Link}
- <a title="{URL}" href="{URL}"><h2>{Name}</h2></a>
- {block:Description}<div class="txt cap">{Description}</div>{/block:Description}
- {/block:Link}
- {block:Photo}
- <a href="{Permalink}"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/></a>
- {/block:Photo}
- {block: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>
- {/block:Photoset}
- {block:Quote}
- <div class="qut_hold">
- <div class="qut">{Quote}</div>
- {block:Source}<div class="src">{Source}</div>{/block:Source}
- </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><br>{/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="aski"><img src="{AskerPortraitURL-24}">{Asker} said:</div>
- <div class="que">{Question}</div>
- </div>
- <div class="txt ans cap">{Answer}</div>
- {/block:Answer}
- {block:ifCaptions}{block:Caption}<div class="cap">{Caption}</div>{/block:Caption}{/block:ifCaptions}
- </div>
- {block:IndexPage}<div class="p">
- <a href="{Permalink}">{NoteCount}</a>
- <a href="{Permalink}">{ShortMonth} {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">
- posted {TimeAgo} on {DayofMonthWithSuffix} {Month}
- {block:RebloggedFrom}<br>
- via <a href="{ReblogParentURL}">{ReblogParentName}</a>
- source <a href="{ReblogRootURL}">{ReblogRootName}</a>
- {/block:RebloggedFrom}
- {block:HasTags}<div class="pmt">tags:
- {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags}
- </div>{/block:HasTags}
- </div>
- <a href="#" class="pnh">View {NoteCountWithLabel}</a>
- {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