Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- hydra :: @mercurythms :: @freddie-mercurys
- please don't remove credit or take parts of this code :)
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <title>{Title} {block:TagPage}/ #{Tag}{/block:TagPage}{block:PostSummary}: {PostSummary}{/block:PostSummary}</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 charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!--variables and options-->
- <meta name="image:header" content=""/>
- <meta name="color:background" content="#ffffff"/>
- <meta name="color:post background" content="#fcfcfc"/>
- <meta name="color:text" content="#888888"/>
- <meta name="color:link" content="#444444"/>
- <meta name="color:link hover" content="#c9c9c9"/>
- <meta name="color:accent" content="#ceabb1"/>
- <meta name="color:borders" content="#eeeeee"/>
- <meta name="select:post width" content="400px" title="400px"/>
- <meta name="select:post width" content="450px" title="450px"/>
- <meta name="select:post width" content="500px" title="500px"/>
- <meta name="select:post width" content="540px" title="540px"/>
- <meta name="select:post width" content="600px" title="600px"/>
- <meta name="select:icon size" content="5em" title="large"/>
- <meta name="select:icon size" content="4em" title="medium"/>
- <meta name="select:icon size" content="3em" title="small"/>
- <meta name="if:multi column" content="1"/>
- <meta name="if:post shadow" content="1"/>
- <meta name="if:show tags" content="0"/>
- <meta name="text:font" content="Inter"/>
- <meta name="text:font size" content="13"/>
- <meta name="text:post margin" content="100"/>
- <meta name="text:home link" content="home"/>
- <meta name="text:ask link" content="ask"/>
- <meta name="text:archive link" content="past"/>
- <meta name="text:link 1 url" content="/"/>
- <meta name="text:link 1" content="link 1"/>
- <meta name="text:link 2 url" content="/"/>
- <meta name="text:link 2" content="link 2"/>
- <meta name="text:Link 3 url" content="/"/>
- <meta name="text:link 3" content="link 3"/>
- <script src="//ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
- <!--google fonts-->
- <link rel="preconnect" href="https://fonts.gstatic.com">
- <link href="https://fonts.googleapis.com/css2?family={text:font}:wght@400;700&display=swap" rel="stylesheet">
- <!--feather icons-->
- <script src="https://unpkg.com/feather-icons"></script>
- <!-- responsive video -->
- <script src="https://rawgit.com/robinpx/tumblr/master/scripts/flexibleFrames/flexibleFrames.min.js"></script>
- <!--photoset fix-->
- <link href="https://static.tumblr.com/0podkko/xIbplezmo/modified_photosets.css" rel="stylesheet">
- <script src="https://static.tumblr.com/0podkko/jfMplm3f8/modified_photosets.js"></script>
- <!--mobile photoset fix-->
- <link href="//dl.dropbox.com/s/bnoj86mka0bkplb/npf-override.css" rel="stylesheet">
- <script src="//dl.dropbox.com/s/vwrm94pcg4c9e71/npf-evenize.js"></script>
- <style type="text/css">
- :root {
- --NPF-Image-Spacing: 5px;
- --NPF-Bottom-Gap-From-Captions: 1em;
- }
- </style>
- <!--tooltips-->
- <script src="https://unpkg.com/popper.js@1"></script>
- <script src="https://unpkg.com/tippy.js@5/dist/tippy-bundle.iife.js"></script>
- <!--time ago-->
- <script type="text/javascript" src="https://static.tumblr.com/i5s2zks/9Acok8oo2/bct-timeago.min.js"></script>
- <!--masonry-->
- {block:ifmulticolumn}
- <script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script>
- <script src="https://unpkg.com/imagesloaded@4/imagesloaded.pkgd.min.js"></script>
- <script type="text/javascript" charset="utf-8">$(document).ready(function(){
- var $grid = $("section").masonry({
- itemSelector: ".posts",
- initLayout: 1
- });
- $grid.on("layoutComplete", function(o, r) {
- console.log(r.length)
- }), $grid.masonry({
- fitWidth: 1,
- horizontalOrder: 0,
- gutter: {text:post margin},
- resize: 1
- }), $grid.imagesLoaded().progress(function() {
- $grid.masonry("layout")
- });
- });</script>
- {/block:ifmulticolumn}
- <!--css-->
- <style type="text/css">
- /*tumblr controls*/
- .tmblr-iframe-compact .tmblr-iframe--unified-controls {
- z-index: 999999999!important;
- opacity: 0.7;
- width: 100%;
- transform-origin: 100% 0;
- top: 15px;
- right: 15px;
- transform:scale(0.7);
- transform-origin:100% 0;
- -webkit-transform:scale(0.7);
- -webkit-transform-origin:100% 0;
- -o-transform:scale(0.7);
- -o-transform-origin:100% 0;
- -moz-transform:scale(0.7);
- -moz-transform-origin:100% 0;
- -ms-transform:scale(0.7);
- -ms-transform-origin:100% 0;
- transition: opacity 0.6s ease-in-out;
- -moz-transition: opacity 0.6s ease-in-out;
- -webkit-transition: opacity 0.6s ease-in-out;
- }
- .tmblr-iframe-compact .tmblr-iframe--unified-controls:hover {
- opacity: 1;
- -webkit-transition: all 0.6s;
- -moz-transition: all 0.6s;
- -ms-transition: all 0.6s;
- -o-transition: all 0.6s;
- transition: all 0.6s;
- }
- .tmblr-iframe--app-cta-button {
- display: none!important;
- }
- /*tooltips*/
- .tippy-tooltip.custom-theme {
- background-color: {color:post background};
- color: {color:text};
- text-align: center;
- letter-spacing: 1px;
- border-radius: 0.5em;
- padding: 0.25em;
- margin: 20px auto auto 10px;
- font-size: 1em;
- border: 1px solid {color:borders};
- {block:ifpostshadow}
- box-shadow: 5px 5px 10px #eee;
- {/block:ifpostshadow}
- }
- /*scrollbar*/
- ::-webkit-scrollbar{
- height: 15px;
- width: 15px;
- background: inherit;
- }
- ::-webkit-scrollbar-thumb {background: {color:borders};}
- ::-webkit-scrollbar-thumb, ::-webkit-scrollbar-track {border: 5px solid {color:background};}
- /*basic styling*/
- * {box-sizing: border-box;}
- body {
- font: {text:font size}px/1.8em {text:font};
- color: {color:text};
- background-color: {color:background};
- text-align: left;
- word-wrap: break-word;
- letter-spacing: 0.08em;
- margin: 0;
- padding: 0;
- opacity: 1;
- transition: 1s opacity;
- }
- body.fade-out {
- opacity: 0;
- transition: none;
- }
- a {
- color: {color:link};
- text-decoration: none;
- -webkit-transition: all 0.3s;
- -moz-transition: all 0.3s;
- -ms-transition: all 0.3s;
- -o-transition: all 0.3s;
- transition: all 0.3s;
- }
- a:hover {
- color: {color:link hover};
- -webkit-transition: all 0.3s;
- -moz-transition: all 0.3s;
- -ms-transition: all 0.3s;
- -o-transition: all 0.3s;
- transition: all 0.3s;
- }
- blockquote {
- padding: 0 0 0 1.5em;
- border-left: 1px solid {color:borders};
- margin: 1.5em 0 1.5em 1.5em;
- }
- h1, h2, h3, h4, h5, .title {
- letter-spacing: 0.15em;
- line-height: 170%;
- font-weight: bold;
- }
- #blog-title {
- letter-spacing: 0.3em;
- font-weight: bold;
- }
- .title a, #blog-title a {color: {color:accent};}
- .title a:hover, #blog-title a:hover {color: {color:link hover};}
- h1, .title, #blog-title {font-size: 1.2em;}
- h2 {font-size: 1.1em;}
- h3 {font-size: 1em;}
- h4 {font-size: 1em;}
- h5 {font-size: 1em;}
- small {font-size: 1em;}
- big {font-size: 1em;}
- hr {
- height: 1px;
- border: none;
- box-shadow: none;
- background-color: {color:borders};
- }
- pre {
- line-height: inherit;
- font-size: inherit;
- white-space: pre-wrap;
- white-space: -moz-pre-wrap;
- white-space: -pre-wrap;
- white-space: -o-pre-wrap;
- word-wrap: break-word;
- }
- li {max-width: 100%; list-style-type: circle;}
- .tmblr-iframe-compact .tmblr-iframe--unified-controls {z-index: 999999999!important;}
- /*header*/
- #header {
- position: relative;
- margin: {text:post margin}px auto;
- top: auto;
- text-align: center;
- width: calc({select:post width} - 4em);
- }
- {block:ifheaderimage}
- #header-icon {
- width: {select:icon size};
- margin: 0 auto 2em auto;
- border-radius: 50%;
- }
- {/block:ifheaderimage}
- #description {margin-top: 2em;}
- nav {margin-top: 0.5em;}
- nav a {margin: auto 0.5em; color: {color:accent};}
- /*posts*/
- main {
- position: relative;
- width: 100%;
- margin: auto;
- }
- section {
- position: relative;
- width: {select:post width};
- margin: auto;
- }
- article {
- position: relative;
- width: {select:post width};
- margin: 0 auto {text:post margin}px auto;
- padding: 2em;
- background: {color:post background};
- border-radius: 0.5em;
- border: 1px solid {color:borders};
- {block:ifpostshadow}
- box-shadow: 5px 5px 10px #eee;
- {/block:ifpostshadow}
- }
- .posts p a {border-bottom: 1px solid {color:accent};}
- {block:ifmulticolumn}
- .posts {float:left;}
- .clearfix:before,.clearfix:after{content:'';display:table;}
- .clearfix:after{clear:both;}
- .clearfix{zoom:1;}
- {/block:ifmulticolumn}
- .tumblr_video_container {max-height: {select:post width} !important; overflow: hidden !important;}
- .posts li, .posts blockquote, figure, video, iframe, .video, .video iframe, figure.tmblr-embed.tmblr-full, figure.tmblr-embed.tmblr-full iframe {max-width: 100%;}
- /*captions*/
- .caption {margin-top: 2em; list-style-type: none;}
- .caption p {margin: 0.5em 0;}
- .caption p:last-of-type {margin-bottom: 0;}
- .original-caption p:first-of-type {margin-top: 0;}
- .text-caption:first-of-type {margin-top: 0;}
- .caption iframe, .caption img {max-width: 100%;}
- .user-icon {
- display: inline-block;
- vertical-align: middle;
- border-radius: 50%;
- width: 2em;
- height: 2em;
- margin-right: 0.5em;
- padding: 5px;
- background: {color:background};
- }
- .username, .ask-wrap .asking, .answering {
- display: inline-block;
- vertical-align: middle;
- font-weight: bold;
- }
- .deactive::after {
- content: '(deactivated)';
- margin-left: 0.5em;
- opacity: 0.75;
- color: {color:text};
- }
- p.tmblr-attribution {margin-top: 1em !important;}
- /*text*/
- h1.post-title {margin-top: 0;}
- /*link*/
- a.link-wrap {display: block}
- .link {
- padding: 2em;
- background-color: {color:background};
- border: 1px solid {color:borders};
- border-radius: 0.5em;
- }
- .link .title {padding: 0 0.5em;}
- .npf-link-block {
- margin-top: 1.5em;
- border-radius: 0;
- background-color: initial;
- }
- .npf-link-block .poster .title {padding: 1em;}
- .npf-link-block.no-poster .title {padding: 1em 1em 0 1em;}
- .npf-link-block .title {font-size: 1em; border-bottom: none;}
- .npf-link-block .bottom {padding: 1em !important;}
- /*photo*/
- img {
- margin: 0;
- display: block;
- height: auto;
- max-width: 100%;
- }
- .photo img {width: 100%;}
- .vignette, #vignette {opacity: 0;}
- .tmblr-lightbox, #tumblr_lightbox {background-color: rgba(130, 130, 130, 0.9) !important;}
- .lightbox-image, #tumblr_lightbox img {
- box-shadow: none !important;
- border-radius: 0 !important;
- max-width: none;
- }
- #tumblr_lightbox_caption, .lightbox-caption {
- color: #fff !important;
- font-family: inherit;
- margin-top: 1em !important;
- }
- /*photoset*/
- [photoset-layout] {grid-gap: 5px;}
- [photoset-layout] div {cursor: pointer;}
- /*quote*/
- .quote, p.npf_quote {
- line-height: 170%;
- font-size: 1.3em;
- font-weight: bold;
- padding: 1.5em 2em;
- background: {color:background};
- border-radius: 0.5em;
- border: 1px solid {color:borders};
- }
- .quote p:first-of-type {margin-top: 0;}
- .quote p:last-of-type {margin-bottom: 0;}
- p.npf_quote {font-family: inherit; margin-bottom: 1em;}
- .source {margin-top: 2em;}
- /*chat*/
- .chat {padding: 0; margin: 0;}
- .chat li {list-style-type: none; margin-top: 1em;}
- .chat li:first-of-type {margin-top: 0;}
- .chatter {font-weight: bold;}
- p.npf_chat {font-family: inherit; margin-top: 1em;}
- p.npf_chat b {font-family: inherit;}
- /*answer*/
- .ask-wrap {
- padding: 2em;
- background: {color:background};
- border-radius: 0.5em;
- border: 1px solid {color:borders};
- }
- .ask-wrap .askicon {
- width: 3em;
- height: 3em;
- display: inline-block;
- vertical-align: middle;
- border-radius: 50%;
- margin-right: 0.5em;
- padding: 8px;
- background: {color:post background};
- }
- .ask-wrap .asking {font-size: 1.1em;}
- .question {margin-top: 1em;}
- .question p:first-of-type {margin-top: 0;}
- .question p:last-of-type {margin-bottom: 0;}
- /*audio*/
- .audiopost {
- background: {color:background};
- border-radius: 0.5em;
- border: 1px solid {color:borders};
- }
- .button {
- width: 30px;
- height: 30px;
- overflow: hidden;
- position: relative;
- z-index: 2;
- margin: 7px;
- }
- .audiobox {
- background-color: {color:background};
- z-index: 3;
- position: absolute;
- margin: 18px 0 0 18px;
- }
- .audioinfo {
- height: 80px;
- display: flex;
- justify-content: center;
- flex-direction: column;
- box-sizing: border-box;
- padding-left: 6em;
- }
- .audioinfo li {list-style-type: none;}
- .track {font-weight: bold;}
- .spotify_audio_player {max-height: 80px;}
- .soundcloud_audio_player {max-height: 116px;}
- /*post info*/
- .info {
- margin-top: 1.5em;
- display: flex;
- flex-direction: row;
- align-items: flex-start;
- justify-content: space-between;
- }
- .info a {display: inline-block;}
- .info svg {width: 1.2em; height: 1.2em; vertical-align: middle;}
- .like {position:relative;}
- .like .like_button {
- position:absolute;
- top:0;
- left:0;
- right:0;
- bottom:0;
- width:100%;
- height:100%;
- opacity:0;
- }
- .like .like_button iframe {width: 100%!important; height: 100%!important;}
- .like .like_button.liked + svg path {color: #dc143c!important;}
- .info-left a, .tags a {margin-right: 1em;}
- .tags {
- margin-top: 0.5em;
- {block:ifnotshowtags}
- display: none;
- {/block:ifnotshowtags}
- }
- .post-controls a {margin-left: 1.2em;}
- .notecount {font-weight: bold;}
- .source-info {margin-top: 2em;}
- .source-info li {list-style-type: none;}
- a.pinned-post {display: block; font-weight: bold; color: {color:accent};}
- /*post notes*/
- .notes {margin-top: 2em;}
- ol.notes {
- max-width: 100%;
- padding: 0;
- margin: 2em 0 0 0;
- }
- ol.notes li.note {padding: 0.5em 0; list-style-type: none;}
- ol.notes li.note img.avatar {
- border-radius: 50%;
- margin-right: 1em;
- vertical-align: middle;
- display: inline-block;
- width: 1.3em;
- height: 1.3em;
- }
- /*pagination*/
- #page-navigation {
- display: flex;
- justify-content: center;
- margin: 0 auto {text:post margin}px auto;
- cursor: pointer;
- }
- #page-navigation a {margin: 0 2em;}
- #page-navigation svg {width: 2em; height: 2em; stroke-width: 1.5; vertical-align: middle;}
- /*scroll to top*/
- #scrollup {
- position: fixed;
- bottom: 15px;
- left: 15px;
- background: {color:background};
- padding: 0 5px;
- border-radius: 5px;
- }
- #scrollup svg {
- width: 1.2em;
- height: 1.2em;
- vertical-align: middle;
- }
- /*credit*/
- #credit {
- position: fixed;
- right: 15px;
- bottom: 15px;
- font-size: 1.2em;
- background: {color:background};
- padding: 0 5px;
- border-radius: 5px;
- }
- /*responsive*/
- @media only screen and (max-width: 720px) {
- body {font-size: 14px;}
- main, section, article, #header {width: 85vw;}
- article {padding: 1.2em;}
- .user-icon, .ask-wrap .askicon {display: none;}
- .info-left a, .tags a {margin-right: 0.5em;}
- .post-controls a {margin-left: 1em;}
- .info svg {width: 1.05em; height: 1.05em;}
- .tippy-tooltip.custom-theme, .tmblr-iframe-compact .tmblr-iframe--unified-controls {display:none;}
- }
- {CustomCSS}
- </style>
- </head>
- <!--html-->
- <body>
- <script>document.body.className += ' fade-out';</script>
- <!--main container-->
- <main>
- <!--header-->
- <aside id="header">
- {block:ifHeaderImage}<img src="{image:header}" id="header-icon" alt="header image"/></a>{/block:ifHeaderImage}
- <div id="blog-title"><a href="/">{Title}</a></div>
- {block:Description}<div id="description">{Description}</div>{/block:Description}
- <nav>
- {block:ifHomeLink}<a href="/">{text:Home Link}</a>{/block:ifHomeLink}
- {block:ifAskLink}<a href="/ask">{text:Ask Link}</a>{/block:ifAskLink}
- {block:ifArchiveLink}<a href="/archive">{text:Archive Link}</a>{/block:ifArchiveLink}
- {block:ifLink1}<a href="{text:Link 1 URL}">{text:Link 1}</a>{/block:ifLink1}
- {block:ifLink2}<a href="{text:Link 2 URL}">{text:Link 2}</a>{/block:ifLink2}
- {block:ifLink3}<a href="{text:Link 3 URL}">{text:Link 3}</a>{/block:ifLink3}
- </nav>
- </aside>
- <!--post container-->
- <section>
- <!--posts-->
- {block:Posts}
- <article class="posts" id="{PostID}" post-type="{PostType}">
- {block:Text}
- {block:Title}<h1 class="post-title"><a href="{Permalink}">{Title}</a></h1>{/block:Title}
- {block:NotReblog}
- <li class="caption original-caption text-caption">
- <div class="caption-text">{Body}</div>
- </li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-wrap">
- {block:Reblogs}
- <li class="caption text-caption">
- <img src="{PortraitURL-64}" class="user-icon">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- <div class="caption-text">{Body}</div>
- </li>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Text}
- {block:Link}
- <a href="{URL}" class="link-wrap">
- <div class="link"><div class="title">{Name}</div>
- </div>
- </a>
- {block:Description}
- {block:NotReblog}
- <li class="caption original-caption">
- <div class="caption-text">{Description}</div>
- </li>
- {/block:NotReblog}
- {/block:Description}
- {block:RebloggedFrom}
- <div class="reblog-wrap">
- {block:Reblogs}
- <li class="caption">
- <img src="{PortraitURL-64}" class="user-icon">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- <div class="caption-text">{Body}</div>
- </li>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Link}
- {block:Photo}
- <div class="photo">
- {LinkOpenTag}<a href="#" onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"></a>{LinkCloseTag}
- </div>
- {block:Caption}
- {block:NotReblog}
- <li class="caption original-caption">
- <div class="caption-text">{Caption}</div>
- </li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-wrap">
- {block:Reblogs}
- <li class="caption">
- <img src="{PortraitURL-64}" class="user-icon">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- <div class="caption-text">{Body}</div>
- </li>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Caption}
- {/block:Photo}
- {block:Photoset}
- <div class="photoset-grid" photoset-layout="{PhotosetLayout}">{block:Photos}<div data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}" data-lowres="{PhotoURL-500}" data-highres="{PhotoURL-HighRes}" onclick="lightbox(this)"><img src="{PhotoURL-HighRes}" /></div>{/block:Photos}</div>
- {block:Caption}
- {block:NotReblog}
- <li class="caption original-caption">
- <div class="caption-text">{Caption}</div>
- </li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-wrap">
- {block:Reblogs}
- <li class="caption">
- <img src="{PortraitURL-64}" class="user-icon">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- <div class="caption-text">{Body}</div>
- </li>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Caption}
- {/block:Photoset}
- {block:Video}
- <div class="video">{Video-500}</div>
- {block:Caption}
- {block:NotReblog}
- <li class="caption original-caption">
- <div class="caption-text">{Caption}</div>
- </li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-wrap">
- {block:Reblogs}
- <li class="caption">
- <img src="{PortraitURL-64}" class="user-icon">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- <div class="caption-text">{Body}</div>
- </li>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Caption}
- {/block:Video}
- {block:Quote}
- <div class="quote">{Quote}</div>
- {block:Source}<div class="source">— {Source}</div>{/block:Source}
- {/block:Quote}
- {block:Chat}
- {block:Title}<h1 class="post-title"><a href="{Permalink}">{Title}</a></h1>{/block:Title}
- <ul class="chat">{block:Lines}
- <li>
- {block:Label}<div class="chatter">{Label}</div>{/block:Label}
- <div class="chattxt">{Line}</div>
- </li>
- {/block:Lines}</ul>
- {/block:Chat}
- {block:Answer}
- <div class="ask-wrap">
- <img src="{AskerPortraitURL-64}" class="askicon">
- <div class="asking">{Asker} asked</div>
- <div class="question">{Question}</div>
- </div>
- {block:Answerer}
- <li class="caption">
- <img src="{AnswererPortraitURL-64}" class="user-icon">
- <div class="answering {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Answerer}</a></div>
- <div class="caption-text">{Answer}</div>
- </li>
- {/block:Answerer}
- {block:NotReblog}
- <li class="caption original-caption">
- <div class="caption-text">{Replies}</div>
- </li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-wrap">
- {block:Reblogs}
- <li class="caption">
- <img src="{PortraitURL-64}" class="user-icon">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- <div class="caption-text">{Body}</div>
- </li>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Answer}
- {block:Audio}
- <div class="audiopost">
- <div class="audiobox"><div class="button">
- {block:AudioPlayer}{AudioPlayer}{/block:AudioPlayer}
- </div></div>
- <div class="audioinfo">
- {block:TrackName}<li class="track">{TrackName}</li>{/block:TrackName}
- {block:Artist}<li>{Artist}</li>{/block:Artist}
- </div>
- </div>
- {block:Caption}
- {block:NotReblog}
- <li class="caption original-caption">
- <div class="caption-text">{Caption}</div>
- </li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-wrap">
- {block:Reblogs}
- <li class="caption">
- <img src="{PortraitURL-64}" class="user-icon">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- <div class="caption-text">{Body}</div>
- </li>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Caption}
- {/block:Audio}
- <!--post info-->
- {block:Date}
- {block:IndexPage}
- <!--time and notecount-->
- <div class="info">
- <div class="info-left">
- {block:NoteCount}<a class="notecount" href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}
- <a class="time-ago" href="{Permalink}">{Timestamp}</a>
- {block:PinnedPostLabel}<a class="pinned-post">{PinnedPostLabel}</a>{/block:PinnedPostLabel}
- </div>
- <!--like and reblog buttons-->
- <div class="post-controls">
- {block:ifnotshowtags}<a class="tag-icon" title="show tags"><i data-feather="tag"></i></a>{/block:ifnotshowtags}
- <a href="{ReblogURL}" target="_blank" title="reblog"><i data-feather="repeat"></i></a>
- <a class="like" title="like">{LikeButton}<i data-feather="heart"></i></a>
- </div>
- </div>
- {/block:IndexPage}
- <!--tags-->
- {block:HasTags}
- <div class="tags">
- {block:Tags}<a href="{TagURL}">{Tag}</a>{/block:Tags}
- </div>
- {/block:HasTags}
- <!--permalink pages-->
- {block:PermalinkPage}
- <div class="source-info">
- {block:RebloggedFrom}
- <li>Posted: {TimeAgo}, {NotecountWithLabel}</li>
- <li>Reblogged via: <a href="{ReblogParentURL}">{ReblogParentName}</a></li>
- <li>Originally from: <a href="{ReblogRootURL}">{ReblogRootName}</a></li>
- {block:ContentSource}<li>{lang:Source}: <a href="{SourceURL}">{SourceTitle}</a></li>{/block:ContentSource}
- {block:HasTags}<li>Filed under: {block:Tags}<a href="{TagURL}">{Tag} </a>{/block:Tags}</li>{/block:HasTags}
- {/block:RebloggedFrom}
- </div>
- {/block:PermalinkPage}
- </div></div></div>
- {/block:Date}
- <!--post notes-->
- {block:PermalinkPage}{block:Date}
- {block:NoteCount}{block:PostNotes}
- <div class="notes">
- {PostNotes-64}
- </div>
- {/block:PostNotes}{/block:NoteCount}
- {/block:Date}{/block:PermalinkPage}
- </article>
- {/block:Posts}
- <!--end of posts container-->
- </section>
- <!--pagination-->
- {block:Pagination}
- <div id="page-navigation">
- {block:PreviousPage}<a href="{PreviousPage}" title="back"><i data-feather="chevron-left"></i></a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}" title="forth"><i data-feather="chevron-right"></i></a>{/block:NextPage}
- </div>
- {/block:Pagination}
- <!--end of main container-->
- </main>
- <!--scroll to top button-->
- <a href="#" title="back to top" id="scrollup"><i data-feather="arrow-up"></i></a>
- <!--theme credit-->
- <a href="https://mercurythms.tumblr.com" title="mercurythms" id="credit">m.</a>
- <script>
- //time ago
- $(".time-ago").timeAgo({
- time: "short",
- spaces: true,
- words: false,
- suffix: "ago"
- });
- //show tags
- $(".tag-icon").click(function(){
- $(this).parents(".posts").find(".tags").slideToggle(300);
- });
- //feather icons
- feather.replace()
- // tooltips
- tippy('[title]', {
- theme: 'custom',
- arrow: false,
- followCursor: true,
- delay: 100,
- placement: 'top',
- zIndex: 9999999999,
- maxWidth: 150,
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title');
- return title;
- },
- });
- // photoset fix
- initPhotosets();
- // responsive video
- $(document).ready(function() {
- flexibleFrames($(".video")); // $(".video") is the class selector passed in the argument
- });
- //notecount shortener
- var $container = $('.info-left');
- $container.find('.notecount').each(function(){
- var n = $(this).html().split(' ')[0].replace(/,/g, '');
- if (n > 999) {
- n = Math.floor(n / 100) / 10;
- $(this).text(n + 'k notes');
- }
- });
- // fade effect
- $(function() {
- $('body').removeClass('fade-out');
- });
- //remove redirects
- function noHrefLi(){
- var linkSet = document.querySelectorAll('a[href*="href.li/?"]');
- Array.prototype.forEach.call(linkSet,function(el,i){
- var theLink = linkSet[i].getAttribute('href').split("href.li/?")[1];
- linkSet[i].setAttribute("href",theLink);
- });
- }
- noHrefLi();
- // audio player
- $(document).ready(function() {
- var $audio = $('iframe.tumblr_audio_player');
- $audio.load(function() {
- $(this).contents().find('head').append('<style type="text/css">' +
- '.audio-player { background: {color:background}; color: {color:text} !important; }' +
- '.audio-player .audio-info .track-artist { color: {color:text} !important; }' +
- '</style>');
- });
- });
- // minimal soundcloud player © shythemes.tumblr
- $(document).ready(function(){
- var color = '#eee'; // 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=false&origin=tumblr&color=' + color.split('#')[1], height: 116, width: '100%' });
- });
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement