Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- THEME: HYPNOS
- by acuite
- - don't steal this pls
- - enjoy, ilu (ノ◕ヮ◕)ノ*:・゚✧
- - @acuite for more themes
- -->
- <html lang="en">
- <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="if:Paginate" content="1"/>
- <meta name="if:Title" content="1"/>
- <meta name="if:Image" content="1"/>
- <meta name="if:Caption" content="1"/>
- <meta name="if:Tags" content="1"/>
- <meta name="if:Shadow" content="1"/>
- <meta name="if:Border" content="1"/>
- <meta name="color:Background" content="#f7f7f7"/>
- <meta name="color:Post" content="#fff"/>
- <meta name="color:Border" content="#eee"/>
- <meta name="color:Text" content="#555"/>
- <meta name="color:Link" content="#999"/>
- <meta name="color:Hover" content="#222"/>
- <meta name="text:Post" content="350"/>
- <meta name="text:Sidebar" content="120"/>
- <meta name="text:Margin" content="100"/>
- <meta name="text:Photoset Margin" content="2"/>
- <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"/>
- <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,700italic,400,600,700' rel='stylesheet' type='text/css'>
- <style type="text/css">
- ::-webkit-scrollbar {width:7px;height:7px;background:{color:Background};}
- /* General */
- body {
- margin:0px;
- background:{color:Background};
- font-family:'Open Sans',Helvetica,Arial,sans-serif;
- font-size:9px;
- color:{color:Text};
- font-smooth:always;
- -webkit-font-smoothing:antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- a:link, a:active, a:visited {text-decoration:none;}
- a {
- transition:0.5s ease;
- -o-transition:0.5s ease;
- -moz-transition:0.5s ease;
- -webkit-transition:0.5s ease;
- }
- /* Containers */
- .c {position:fixed;bottom:30px;right:30px;}
- .pag a,.cp {margin:0px 5px;}
- .pag {position:relative;margin-top:100px;text-align:center;}
- {block:ifnotPaginate}
- .pag,#infscr-loading {display:none!important;}
- {/block:ifnotPaginate}
- #center {
- position:relative;
- margin:{text:Margin}px auto;
- width:{text:Post}px;
- }
- .entry img {max-width:100%;}
- .entry {width:{text:Post}px;margin:{text:Margin}px 0px;}
- /* Sidebar */
- #sidebar {
- position:fixed;
- width:{text:Sidebar}px;
- padding:0px 5px;
- margin-left:calc(-{text:Sidebar}px + -{text:Margin}px + -10px);
- }
- /* Sidebar */
- .desc {margin:15px 0px;}
- .image {padding:6px;}
- .image img{width:100%;}
- .links a:hover {padding-left:16px;}
- .links a:first-child {{block:ifnotImage}border:none;{block:ifnotImage}}
- .links a {
- display:block;
- padding:6px 8px;
- border-top:1px solid {color:Border};
- }
- /* Titles */
- h1,h2,.qut {font-size:11px;font-weight:400;letter-spacing:0.5px;}
- h1 {
- margin:0px 0px 15px;
- text-align:right;
- letter-spacing:1.5px;
- }
- h2 {margin:10px;}
- .src {text-align:right;}
- .qut {padding:15px;font-style:italic;}
- /* Permalinks */
- .pp span {margin:0px 3px;}
- .pta a{margin-right:5px;}
- .pta {margin-top:3px;letter-spacing:0.5px;text-transform:none;}
- .pp {
- padding:10px;
- border-top:1px solid {color:Border};
- }
- /* Audio & Chat */
- .lines:last-child{border:none;}
- .lines{padding:10px;border-bottom:1px solid {color:Border};}
- .lines b {display:block;}
- .play {
- float:left;
- padding:10px;
- background:#e4e4e4;
- margin-right:15px;
- border-radius:5px;
- height:27px;
- }
- .audio {height:47px;}
- .au {padding:5px;}
- .au span{display:block;margin:4px 0px;}
- .tumblr_audio_player {width:27px;height:27px;overflow:hidden;}
- /* Ask */
- .ask h2 {margin:0px 0px 10px;}
- .ask{
- padding:15px;
- border-bottom:1px solid {color:Border};
- }
- /* Text */
- pre, small, sub, sup, big {font-size:9px;}
- p,blockquote {margin:10px;}
- ul {list-style-type:square;}
- blockquote p{margin:0px;padding:10px 0px;}
- blockquote p:first-child{padding:0px 0px 10px;}
- blockquote p:last-child{padding:10px 0px 0px;}
- blockquote p:only-child{padding:0px;}
- blockquote{margin:10px;padding:0px 10px;border-left:1px solid {color:Border};}
- 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:-10px 0px 0px;padding:10px;}
- .txt {padding:10px;}
- .bx,.chat,.audio {padding:10px;}
- /* Video */
- .video iframe,
- .video #youtube_iframe,
- .video .tumblr_video_container,
- .video .tumblr_video_container iframe {
- display:block;
- max-width:100%;
- max-height:{text:Post}px;
- }
- .video #youtube_iframe {max-height:calc({text:Post}px * 0.67);}
- .tumblr_video_container {width:auto!important;height:auto!important;}
- /* Postnotes */
- .pn img {display:none;}
- .pn ol {margin:0;padding:0;}
- .pn li {list-style-type:none;margin:3px;}
- .pn {padding:12px;font-size:8px;letter-spacing:0.5px;display:none;}
- .pn,.perma{border-top:1px solid {color:Border};}
- .pnh {display:block;font-weight:600;}
- .perma a,.perma span{margin-right:5px;}
- .perma {
- padding:10px;
- line-height:180%;
- text-transform:lowercase;
- }
- /* Tooltips */
- #s-m-t-tooltip {
- max-width:300px;
- margin:15px;
- z-index:9999;
- padding:5px;
- font-size:8px;
- }
- /* Photosets */
- #vignette,#tumblr_lightbox_caption {visibility:hidden;}
- #tumblr_lightbox {background:{color:Background}!important;}
- #tumblr_lightbox_left_image,
- #tumblr_lightbox_right_image {opacity:0.5!important;}
- #tumblr_lightbox_center_image,
- #tumblr_lightbox_left_image,
- #tumblr_lightbox_right_image {
- box-shadow:none!important;
- border-radius:0px!important;
- }
- /* Common Styling */
- a,.ask,.perma,.src,.lines b,.tn {color:{color:Link};}
- a:hover {color:{color:Hover};}
- p,blockquote,ul,ol,.desc,.ask,.qut {line-height:160%;}
- .entry,.multi,::-webkit-scrollbar-thumb,#s-m-t-tooltip{
- background:{color:Post};
- {block:ifBorder}border:1px solid {color:Border};{/block:ifBorder}
- {block:ifShadow}
- box-shadow:rgba(0,0,0,0.04)3px 3px 4px;
- {/block:ifShadow}
- }
- .pp,.links,.c,.lines b,.tn,.pag{
- font-size:8px;
- letter-spacing:1px;
- text-transform:uppercase;
- }
- .c,.lines b,.pag {font-weight:600;}
- /* Etc */
- .notes img {width:0px;}
- img {display:block;}
- </style>
- </head>
- <body>
- <div id="center">
- <div id="sidebar">
- {block:ifTitle}<h1>{Title}</h1>{/block:ifTitle}
- <div class="multi">
- {block:ifImage}<div class="image"><a href="/"><img src="{image:Sidebar}"/></a></div>{/block:ifImage}
- <div class="links">
- <a href="/">index</a>
- <a href="/ask">message</a>
- {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}
- </div>
- </div>
- <div class="desc">{Description}</div>
- </div>
- <div id="content">
- {block:Posts}
- <div class="entry">
- {block:Text}
- <div class="bx">
- {block:Title}<h2>{Title}</h2>{/block:Title}{Body}
- </div>
- {/block:Text}
- {block:Link}
- <div class="bx">
- <a title="{URL}" href="{URL}"><h2> {Name} »</h2></a>
- {block:Description}{Description}{/block:Description}
- </div>
- {/block:Link}
- {block:Photo}
- <div class="bx"><a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/></a></div>
- {block:ifCaption}{block:Caption}<div class="cap">{Caption}</div>{/block:Caption}{/block:ifCaption}
- {/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:ifCaption}{block:Caption}<div class="cap">{Caption}</div>{/block:Caption}{/block:ifCaption}
- {/block:Photoset}
- {block:Quote}
- <div class="bx">
- <div class="qut">{Quote}</div>
- <div class="src">{Source}</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:ifCaption}{block:Caption}<div class="cap">{Caption}</div>{/block:Caption}{/block:ifCaption}
- {/block:Video}
- {block:Answer}
- <div class="ask"><h2>{Asker}:</h2> {Question}</div>
- <div class="bx">{Answer}</div>
- {/block:Answer}
- {block:IndexPage}<div class="pp">
- <a href="{Permalink}">{NoteCountWithLabel}</a>
- <span>{ShortDayOfWeek}, {24HourWithZero}:{Minutes}</span>
- {block:RebloggedFrom}
- <a title="{ReblogParentName}" href="{ReblogParentURL}">via</a> ·
- <a title="{ReblogRootName}" href="{ReblogRootURL}">origin</a>
- {/block:RebloggedFrom}
- {block:ifTags}{block:HasTags}<div class="pta">
- {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
- </div>{/block:HasTags}{/block:ifTags}
- </div>{/block:IndexPage}
- {block:PermalinkPage}
- {block:ifnotCaption}{block:Caption}<div class="cap">{Caption}</div>{/block:Caption}{/block:ifnotCaption}
- {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>tagged:</span>
- {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
- {/block:HasTags}
- <a href="#" class="pnh">view {NoteCountWithLabel}</a>
- </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="fa fa-angle-left"></i> back</a>
- {/block:PreviousPage}
- <span class="cp">{CurrentPage} / {TotalPages}</span>
- {block:NextPage}
- <a href="{NextPage}">next <i class="fa fa-angle-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:Pagination}
- {/block:ifnotPaginate}
- </div>
- <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="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script>
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- gutter: '{text:Photoset Margin}px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo',
- rounded: false
- });
- $('.video iframe').each(function(){
- var scale = $(this).parents('.video').width() / 500;
- $(this).attr({
- width: Math.floor($(this).attr('width') * scale),
- height: Math.floor($(this).attr('height') * scale)
- });
- });
- var $container = $('#content');
- {block:ifnotPaginate}
- $container.infinitescroll({
- navSelector: '.pag',
- nextSelector: '.next',
- itemSelector: '.entry',
- loadingImg: ' ',
- loadingText: ' ',
- donetext: 'No more posts' ,
- bufferPx: 2000
- },
- function( newElements ) {
- var $newElems = $( newElements );
- $newElems.find('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- gutter: '{text:Photoset Margin}px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo',
- rounded: false
- });
- },
- function( newElements ){
- $( newElements ).find('.video iframe').each(function(){
- var scale = $(this).parents('.video').width() / 500;
- $(this).attr({
- width: Math.floor($(this).attr('width') * scale),
- height: Math.floor($(this).attr('height') * scale)
- });
- });
- });
- {/block:ifnotPaginate}
- });
- // 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(){});
- });
- });
- // tooltips
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_delay_time:200,
- tip_fade_speed:300
- }
- );
- });
- })(jQuery);
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement