Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- THEME: METIS
- 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="image:Sidebar" content=""/>
- <meta name="color:Background" content="#fff"/>
- <meta name="color:Border" content="#eee"/>
- <meta name="color:Text" content="#666"/>
- <meta name="color:Link" content="#999"/>
- <meta name="color:Hover" content="#222"/>
- <meta name="if:Drop Links" content=""/>
- <meta name="if:Captions" content=""/>
- <meta name="if:Tags" content=""/>
- <meta name="if:Load More" content=""/>
- <meta name="if:Paginate" content=""/>
- <meta name="text:Post" content="350"/>
- <meta name="text:Sidebar" content="120"/>
- <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=Source+Sans+Pro:300,300i,400,400i,600,600i,700,700i' rel='stylesheet' type='text/css'>
- <style type="text/css">
- ::-webkit-scrollbar {width:5px;height:5px;background:{color:Background};}
- ::-webkit-scrollbar-thumb {background:{color:Border};}
- .tmblr-iframe--desktop-logged-in-controls, .iframe-controls--desktop, .tmblr-iframe, #tumblr_controls{-webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%);opacity:0.5;}
- /* General */
- body {
- margin:0;
- color:{color:Text};
- background:{color:Background};
- word-wrap:break-word;
- font-smooth:always;
- -webkit-font-smoothing:antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- a:link, a:active, a:visited {text-decoration:none;}
- pre,p,blockquote,body,big,small,sub,sup,.entry,input {font-size:10px;}
- p,body,pre,em,input{font-family:'Source Sans Pro',Helvetica,Arial,sans-serif;}
- a,.our_button,.like_button{
- 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}
- /* Containers */
- .center {
- position:relative;
- margin:{text:Margin}px auto;
- width:{text:Post}px;
- }
- .entry img {max-width:100%;height:auto;}
- .entry {margin:{text:Margin}px 0;}
- /* Sidebar */
- aside {
- position:fixed;
- width:{text:Sidebar}px;
- padding:0 5px;
- margin-left:calc(-{text:Sidebar}px + -{text:Margin}px + -10px);
- }
- .image {padding:10px 0;width:100%;}
- .desc{padding:10px 0;}
- .lb {display:none;font-size:0;}
- .lb a{display:block;padding:5px;font-size:10px;line-height:100%;}
- .lb a:hover {padding-left:15px;}
- nav {text-align:center;padding-bottom:5px;font-size:0;}
- nav a {display:inline-block;margin:4px;}
- /* Titles */
- h2,.qut {font-size:14px;}
- h2 a,a h2 {color:{color:Text};}
- h2 {margin:10px;line-height:100%;}
- .src {text-align:right;margin:10px 0 0;font-size:10px;}
- .qut {padding:10px 0;font-style:italic;font-weight:300;line-height:130%;}
- /* Permalinks */
- .p {padding:0 0 10px;font-size:0;}
- .tags a {font-size:10px;line-height:100%;font-style:italic;margin:0 5px 2px 0;display:inline-block;}
- .tags {line-height:9px;margin:10px 0 0;}
- .p a.nt,.pri {display:inline-block;vertical-align:bottom;}
- .p a.nt {width:calc(100% - 30px);padding:0 0 3px;}
- .pri {width:30px;text-align:right;}
- .pri .oi {font-size:12px;}
- .custom-like-button *{cursor:pointer!important;}
- .custom-like-button {
- position:relative;
- display:inline-block;
- vertical-align:top;
- width:10px;
- height:10px;
- cursor:pointer;
- margin:0 5px 0 0;
- }
- .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%;
- }
- /* Ask */
- .ask h2 {margin:0px 0px 5px;letter-spacing:1.5px;}
- .ask {padding:10px;line-height:150%;}
- /* Audio & Chat */
- .lines,.chat h2 {margin:10px;}
- .lines b {display:block;}
- .play {
- padding:10px;
- background:#e4e4e4;
- height:27px;
- width:27px;
- border-radius:5px;
- }
- .play,.au {display:inline-block;vertical-align:middle;}
- .audio {font-size:0;}
- .soundcloud_audio_player{padding:15px 0;}
- .au {margin-left:10px;width:calc(100% - 57px);}
- .au span {display:block;font-size:10px;line-height:100%;}
- .au span.tn {font-size:11px;font-weight:700;margin:0 0 4px;}
- .tumblr_audio_player {width:27px;height:27px;overflow:hidden;}
- /* Text */
- ol,ul {padding:0 0 0 25px;}
- li {margin:5px;}
- p,blockquote,pre,ul,ol{margin:10px;}
- blockquote p{margin:10px 0;}
- blockquote p:first-child{margin:0 0 10px;}
- blockquote p:last-child{margin:10px 0 0;}
- blockquote p:only-child{margin:0;}
- blockquote blockquote {margin:0;}
- blockquote {border-left:1px solid {color:Border};padding-left:10px;}
- pre {
- white-space:pre-wrap;
- white-space:-moz-pre-wrap;
- white-space:-pre-wrap;
- white-space:-o-pre-wrap;
- word-wrap:break-word;
- }
- /* Captions */
- .cap {margin:15px 0;}
- .cap a:hover,.txt a:hover {border-color:{color:Hover}}
- .txt iframe,.cap iframe{display:block;max-width:100%;overflow:hidden;}
- /* 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;
- }
- /* Postnotes */
- .pn img{display:none;}
- .pn li{list-style-type:none;margin:5px;}
- .pn ul, .pn ol {padding:0px;margin:0px;}
- .pn {font-size:8px;letter-spacing:0.3px;padding:10px;}
- .pnh {font-weight:700;cursor:pointer;}
- .perma a,.perma span{margin-right:5px;}
- .perma {padding:15px 10px;}
- /* Tooltips */
- #s-m-t-tooltip{
- max-width:300px;
- margin:15px;
- z-index:99999999;
- background:{color:Background};
- padding:6px 8px;
- font-size:10px;
- line-height:100%;
- }
- /* Common Styles */
- p,blockquote,.lines,.desc{line-height:150%;}
- a,.p,.perma,.src{color:{color:Link};}
- a:hover{color:{color:Hover};}
- .p a.nt,nav a {
- font-size:9px;
- line-height:100%;
- font-weight:700;
- letter-spacing:0.25px;
- text-transform:uppercase;
- }
- /* Etc */
- .notes img {width:0px;}
- img {display:block;}
- .lb a,.perma {border-top:1px solid {color:Border};}
- .perma,.cap a,.txt a,nav,.image,#s-m-t-tooltip{
- border-bottom:1px solid {color:Border};
- }
- .bx,.audio {
- padding:10px 0;
- border-top:1px solid {color:Border};
- border-bottom:1px solid {color:Border};
- {block:PermalinkPage}margin-bottom:-1px;{/block:PermalinkPage}
- }
- </style>
- </head>
- <body>
- <div class="center">
- <aside>
- <nav>
- <a href="/">home</a>
- <a href="/ask">inbox</a>
- {block:ifDropLinks}<a href="#" class="lh">links</a>{/block:ifDropLinks}
- {block:ifnotDropLinks}
- {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}
- {/block:ifnotDropLinks}
- </nav>
- {block:ifSidebarImage}
- <a href="/"><img class="image" src="{image:Sidebar}"></a>
- {/block:ifSidebarImage}
- <div class="desc">{Description}</div>
- {block:ifDropLinks}
- <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>
- {/block:ifDropLinks}
- </aside>
- <div id="content">
- {block:Posts}
- <div class="entry">
- {block:IndexPage}<div class="p">
- <a href="{Permalink}" class="nt">{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:Text}
- <div class="bx">
- {block:Title}<h2>{Title}</h2>{/block:Title}
- <div class="txt">{Body}</div>
- </div>
- {/block:Text}
- {block:Link}
- <div class="bx">
- <h2><a title="{URL}" href="{URL}">{Name} ›</a></h2>
- {block:Description}<div class="txt">{Description}</div>{/block:Description}
- </div>
- {/block:Link}
- {block:Photo}
- <div class="bx">
- <a href="{Permalink}"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/></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="bx"><div class="qut">{Quote}</div></div>
- <div class="src">{Source}</div>
- {/block:Quote}
- {block:Chat}
- <div class="bx">
- {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="bx"><div class="video">{Video-500}</div></div>
- {/block:Video}
- {block:Answer}
- <div class="bx">
- <div class="ask"><h2>{Asker} said:</h2> {Question}</div>
- </div>
- <div class="txt">{Answer}</div>
- {/block:Answer}
- {block:ifCaptions}{block:Caption}<div class="cap">{Caption}</div>{/block:Caption}{/block:ifCaptions}
- {block:ifTags}{block:HasTags}<div class="tags">
- {block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}
- </div>{/block:HasTags}{/block:ifTags}
- {block:PermalinkPage}
- {block:Date}
- <div class="perma">
- posted {TimeAgo} on {DayofMonthWithSuffix} {Month}
- {block:RebloggedFrom}<br>
- via: <a href="{ReblogParentURL}">{ReblogParentName}</a>
- origin: <a href="{ReblogRootURL}">{ReblogRootName}</a>
- {/block:RebloggedFrom}
- {block:HasTags}<br><span>tags:</span>
- {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags}
- {/block:HasTags}
- <div class="pnh">see {NoteCountWithLabel}</div>
- </div>
- {/block:Date}
- {/block:PermalinkPage}
- {block:PostNotes}
- <div class="pn">{PostNotes}</div>
- {/block:PostNotes}
- {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);
- // 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();
- });
- {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