Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- asteroid (revamp) :: @mercurythms :: @freddie-mercurys
- please don't remove credit or take parts of this code :)
- -->
- <!DOCTYPE html>
- <head>
- <title>{block:PostSummary}{PostSummary} : {/block:PostSummary}{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="viewport" content="width=device-width, initial-scale=1.0">
- <!--variables-->
- <meta name="image:sidebar" content=""/>
- <meta name="color:background" content="#ffffff"/>
- <meta name="color:text" content="#777777"/>
- <meta name="color:link" content="#bbbbbb"/>
- <meta name="color:link hover" content="#cccccc"/>
- <meta name="color:title"content="#bfb8cb"/>
- <meta name="color:accent"content="#d9d4e2"/>
- <meta name="color:scrollbar" content="#dddddd" />
- <meta name="color:borders" content="#eeeeee"/>
- <meta name="text:home title" content="index"/>
- <meta name="text:ask title" content="message"/>
- <meta name="text:archive title" content="history"/>
- <meta name="text:link 1 url" content="" />
- <meta name="text:link 1" content="" />
- <meta name="text:link 2 url" content="" />
- <meta name="text:link 2" content="" />
- <meta name="text:link 3 url" content="" />
- <meta name="text:link 3" content="" />
- <meta name="text:font" content="Karla"/>
- <meta name="if:show tags" content="1"/>
- <meta name="if:bold titles" content="1"/>
- <meta name="if:sidebar border" content="1"/>
- <meta name="if:post border" content="1"/>
- <meta name="if:animated scrolling" content="1"/>
- <meta name="if:show date" content="1"/>
- <meta name="select:post width" content="540px" title="540px"/>
- <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:sidebar width" content="250px" title="250px"/>
- <meta name="select:sidebar width" content="200px" title="200px"/>
- <meta name="select:sidebar width" content="150px" title="150px"/>
- <meta name="select:font style" content="lowercase" title="lowercase"/>
- <meta name="select:font style" content="capitalize" title="capitalize"/>
- <meta name="select:font size" content="15px" title="15px"/>
- <meta name="select:font size" content="14px" title="14px"/>
- <meta name="select:font size" content="13px" title="13px"/>
- <!--scripts-->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
- <!-- google font -->
- <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>
- <script src="//dl.dropbox.com/s/aqo7pinjzfub4tn/npf-legacy.js"></script>
- <style type="text/css">
- :root {
- --NPF-Image-Spacing:1px;
- --NPF-Bottom-Gap-From-Captions:1em;
- }
- </style>
- <!--inline image fix-->
- <script src="//dl.dropbox.com/s/1mztc6y7i6ry9ri/gtresizing.js"> </script>
- <!--tooltips-->
- <script src="https://unpkg.com/popper.js@1"></script>
- <script src="https://unpkg.com/tippy.js@5/dist/tippy-bundle.iife.js"></script>
- <!--animate on scroll-->
- <link href="https://cdn.rawgit.com/michalsnik/aos/2.1.1/dist/aos.css" rel="stylesheet">
- <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
- <style type="text/css">
- /*tumblr controls*/
- #controls-icon svg {
- position: fixed;
- top: 20px;
- right: 20px;
- width: 1.2em;
- height: 1.2em;
- color: {color:accent};
- z-index: 50;
- }
- .tmblr-iframe-compact .tmblr-iframe--unified-controls {
- z-index: 999999999!important;
- opacity: 0;
- transform: scale(0.7);
- transform-origin: 100% 0;
- margin-top: 10px;
- padding-right: calc(45px + 1.5em);
- -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;
- -webkit-transition: all 0.5s;
- -moz-transition: all 0.5s;
- -ms-transition: all 0.5s;
- -o-transition: all 0.5s;
- transition: all 0.5s;
- }
- .tmblr-iframe-compact .tmblr-iframe--unified-controls:hover {
- opacity: 1.0;
- -webkit-transition: all 0.5s;
- -moz-transition: all 0.5s;
- -ms-transition: all 0.5s;
- -o-transition: all 0.5s;
- transition: all 0.5s;
- }
- /*tooltips*/
- .tippy-tooltip.custom-theme {
- background-color: {color:background};
- color: {color:accent};
- text-align: center;
- text-transform: {select:font style};
- letter-spacing: 1px;
- border-radius: 0;
- padding: 0.25em;
- margin: 20px auto auto 10px;
- font-size: 1em;
- border: 1px solid {color:borders};
- }
- /*scrollbar*/
- ::-webkit-scrollbar{
- height: 11px;
- width: 11px;
- background: inherit;
- }
- ::-webkit-scrollbar-thumb {background: {color:scrollbar};}
- ::-webkit-scrollbar-track {background: {color:borders};}
- ::-webkit-scrollbar-thumb, ::-webkit-scrollbar-track {border: 5px solid {color:background};}
- /*main structure*/
- body {
- background: {color:background};
- color: {color:text};
- font: {select:font size}/1.5em {text:font}, sans-serif;
- -webkit-font-smoothing: antialiased;
- letter-spacing: 0.5px;
- word-wrap: break-word;
- text-align: left;
- margin: 0;
- opacity: 1;
- transition: 1s opacity;
- }
- body.fade-out {
- opacity: 0;
- transition: none;
- }
- a {
- color: {color:link};
- text-decoration: none;
- transition: all .3s linear;
- -webkit-transition: all .3s linear;
- -o-transition: all .3s linear;
- -moz-transition: all .3s linear;
- }
- a, a img {cursor: pointer;}
- a:hover {
- color: {color:link hover};
- text-decoration: none;
- }
- img {
- opacity: 1;
- border: 0;
- text-decoration: none;
- max-width: 100%;
- height: auto;
- display: block;
- }
- blockquote {
- padding: 0.25em 0 0.25em 15px;
- margin: 0.5em 0;
- border-left: 1px solid {color:borders};
- }
- pre {
- padding: 0;
- margin: 0;
- line-height: inherit!important;
- background: transparent;
- font-family: inherit!Important;
- font-size: inherit!important;
- white-space: pre-wrap;
- white-space: -moz-pre-wrap;
- white-space: -pre-wrap;
- white-space: -o-pre-wrap;
- word-wrap: break-word;
- }
- p {margin: 1em 0;}
- p:first-of-type {margin-top: 0;}
- p:last-of-type {margin-bottom: 0;}
- b, strong, b a, strong a {
- font-weight: 700!important;
- color: {color:accent};
- }
- small, big, sub, pre {
- font-size: 1em!important;
- vertical-align:baseline!important;
- }
- h1, h2, h3, h4 {
- margin: 0;
- padding: 0;
- font-size: 1.25em;
- color: {color:title};
- text-transform: {select:font style};
- {block:ifboldtitles}
- font-weight: 700;
- {/block:ifboldtitles}
- }
- .posts h1:first-child, .posts h2:first-child, .posts h3:first-child, .posts h4:first-child {margin-top: 0;}
- hr {
- border:none;
- box-shadow:0;
- margin:2em auto;
- width:{select:post width};
- border-top:1px solid {color:borders};
- {block:ifnotpostborder}
- display:none;
- {/block:ifnotpostborder}
- }
- /*sidebar*/
- sidebar {
- display: block;
- position: fixed;
- top: 0;
- width: {select:sidebar width};
- height: 100%;
- padding: 150px 50px 0 0;
- text-align: right;
- {block:ifsidebarborder}
- border-right: 1px solid {color:borders};
- {/block:ifsidebarborder}
- }
- #side-icon {
- display:inline-block;
- margin-bottom:1.5em;
- }
- #side-icon img {
- width:60px;
- height:60px;
- border-radius:100px;
- }
- #blogtitle {
- display:block;
- margin-bottom:1.5em;
- font-size:1.25em;
- letter-spacing:2px;
- text-transform:{select:font style};
- {block:ifboldtitles}
- font-weight: 700;
- {/block:ifboldtitles}
- }
- #blogtitle a{
- color: {color:title};
- }
- #blogtitle a:hover{color: {color:accent};}
- #description {
- display: block;
- margin-bottom: 1.5em;
- }
- #nav {
- display: block;
- text-transform: {select:font style};
- {block:ifboldtitles}
- font-weight: 700;
- {/block:ifboldtitles}
- }
- #nav a {
- display: block;
- margin-bottom: 5px;
- color: {color:accent};
- }
- #nav a:hover {color: {color:accent};}
- #nav a:after {
- content:'';
- background: {color:borders};
- width: 40px;
- height: 1px;
- margin-left: 5px;
- position: relative;
- top: -3px;
- display: inline-block;
- transition: all .3s ease;
- -webkit-transition: all .3s ease;
- -moz-transition: all .3s ease;
- -o-transition: all .3s ease;
- }
- #nav a:hover:after {width: 60px;}
- /*pagination*/
- footer {
- margin: auto;
- text-align:center;
- width:100%;
- }
- footer a {
- display:inline-block;
- margin:0 1.5em;
- color: {color:link};
- }
- footer svg {
- display: inline-block;
- vertical-align: middle;
- width: 1.5em;
- height: 1.5em;
- color: {color:link};
- }
- .current_page {
- color: {color:accent};
- font-weight: 700;
- }
- /*posts*/
- main {
- position: relative;
- margin: auto;
- width: calc({select:post width} + 400px);
- }
- section {
- margin: 150px 0 150px 0;
- width: {select:post width};
- float: right;
- }
- article {
- width: {select:post width};
- overflow: hidden;
- margin-bottom: 150px;
- {block:PermalinkPage}
- margin-bottom: 50px;
- {/block:PermalinkPage}
- }
- article:last-child {margin-bottom: 0px;}
- .ph {
- position: relative;
- overflow: hidden;
- }
- .ph img {
- width: 100%;
- display: block;
- }
- /*photosets*/
- [photoset-layout] {grid-gap: 1px;}
- [photoset-layout] div {cursor: pointer;}
- /*titles*/
- .title {
- color: {color:title};
- font-size: 1.25em;
- line-height: 1.5em;
- text-transform: {select:font style};
- letter-spacing: 2px;
- {block:ifboldtitles}
- font-weight: 700;
- {/block:ifboldtitles}
- }
- .title a {color: {color:title};}
- .title a:hover {color: {color:accent};}
- .ted {margin-top: 1.5em;}
- /*captions*/
- .comment {
- padding-bottom: 2em;
- list-style: none;
- }
- .comment:last-of-type {padding-bottom: 0!important;}
- .user {
- display: inline-block;
- text-transform: {select:font style};
- margin-bottom: 0.5em;
- }
- .user a {color: {color:link};}
- .user a:hover{color: {color:link hover};}
- .deactive::after {
- content: '(deactivated)';
- margin-left: 1em;
- opacity: 0.75;
- color: {color:link};
- }
- p.tmblr-attribution {margin-top: 1em !important;}
- .captioned .comment:first-of-type {margin-top: 2em;}
- .tex li, .tex blockquote {text-align: left;}
- /*quote*/
- .quote {
- margin-bottom: 2em;
- font-size: 1.25em;
- text-transform: {select:font style};
- letter-spacing: 2px;
- {block:ifboldtitles}
- font-weight: 700;
- {/block:ifboldtitles}
- }
- .quote:before {
- content:'β';
- margin-right: 5px;
- }
- .quote:after {
- content:'β';
- margin-left: 5px;
- }
- .source {
- text-transform: {select:font style};
- }
- .source:before {
- content:'β';
- color: {color:text};
- opacity: 0.5;
- margin-right: 5px;
- }
- /*audio*/
- .player {
- width: 30px;
- height: 30px;
- overflow: hidden;
- z-index: 2;
- position: absolute;
- margin: 35px 0 0 35px;
- border-radius: 50%;
- background: #f2f2f2;
- }
- .hold {background:{color:background};}
- .album-art {
- z-index: 1;
- display: inline-block;
- vertical-align: middle;
- float: left;
- width: 100px;
- height: 100px;
- }
- .audio-info {
- display: inline-block;
- height: 100px;
- display: flex;
- justify-content: center;
- flex-direction: column;
- box-sizing: border-box;
- margin-left: 10em;
- }
- .audio-info span {
- white-space:nowrap;
- overflow:hidden;
- text-overflow:ellipsis;
- display:block;
- }
- .hold .track {
- color:{color:accent};
- {block:ifboldtitles}
- font-weight:700;
- {/block:ifboldtitles}
- }
- .soundcloud_audio_player {max-height: 116px;}
- .spotify_audio_player {max-height: 80px;}
- /*asks*/
- .q {margin-bottom: 2em;}
- .as {text-transform: {select:font style};}
- .as a {color: {color:link};}
- .as a:hover {color: {color:link hover};}
- /*chat*/
- .chat {
- text-align: left;
- margin: 0;
- padding: 0;
- list-style: none;
- }
- .l {padding: 15px 0;}
- .label {
- font-weight: 700;
- color: {color:accent};
- display: inline-block;
- }
- .l:first-of-type {padding-top: 0;}
- .l:last-of-type {
- padding-bottom: 0;
- border: 0;
- }
- /*permalink and notes*/
- .post-info {
- display: inline-block;
- text-transform: {select:font style};
- {block:ifnotpostborder}
- margin-top: 2em;
- {/block:ifnotpostborder}
- }
- .post-info a {padding-right: 15px;}
- .notecount {display: inline;}
- .like-b {
- position: relative;
- display: inline-block;
- height: 1em;
- line-height: 1em;
- overflow: hidden;
- margin-bottom: -3px;
- }
- .like-b .like_button iframe {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- z-index: 2;
- opacity: 0;
- }
- .like-b .liked + .b {
- color: inherit;
- }
- .like-b .liked + .b:after {
- content:'d';
- }
- .tags {
- display: inline-block;
- max-width: {select:post width};
- text-transform: lowercase;
- }
- .tags a {
- text-align: left;
- color: {color:link};
- }
- .tags a:hover {
- color: {color:link hover};
- }
- .tags a:before {
- content:'#';
- color: {color:accent};
- }
- .tags a:not(:last-child) {
- margin-right: 8px;
- }
- .post-info svg, .tags svg {
- width: 1em;
- height: 1em;
- color: {color:accent};
- vertical-align: middle;
- margin: -2px 2px 0 0;
- }
- .pagenotes {
- margin-top: 2em;
- width: {select:post width};
- }
- ol.notes {
- list-style-type: none;
- padding: 0px;
- margin: 0px;
- }
- ol.notes li.note {
- display: block;
- padding: 0;
- margin: 5px 0;
- }
- ol.notes li.note img.avatar {display: none!important;}
- a.more_notes_link {
- display: block;
- text-align: center;
- color: {color:accent};
- }
- /*theme credit*/
- #credit {
- display: block;
- position: fixed;
- right: 20px;
- bottom: 20px;
- font-size: 1.2em;
- }
- /*responsive*/
- @media only screen and (max-width: 1024px) {
- main, sidebar, section, article, footer, hr, .pagenotes {width: {select:post width};}
- sidebar {
- height: auto;
- position: static;
- text-align: left;
- padding-right: 0;
- padding-bottom: 3em;
- border-right: 0;
- {block:ifsidebarborder}
- border-bottom: 1px solid {color:borders};
- {/block:ifsidebarborder}
- }
- #nav a {
- display: inline-block;
- margin: 0 1.5em 0 0;
- }
- #nav a:after {display: none;}
- section {margin: 100px auto 100px;}
- footer a {margin-right: 1em;}
- }
- @media only screen and (max-width: 600px) {
- main, sidebar, section, article, footer, hr, .pagenotes {width: 80vw;}
- footer a {margin-right: 5px;}
- #controls-icon svg, .tmblr-iframe-compact .tmblr-iframe--unified-controls, #credit {display: none;}
- }
- {CustomCSS}
- </style>
- </head>
- <body>
- <script>document.body.className += ' fade-out';</script>
- <div id="controls-icon"><i data-feather="menu"></i></div>
- <main>
- <sidebar>
- {block:ifSidebarImage}<div id="side-icon"><img src="{image:Sidebar}"/></div>{/block:ifSidebarImage}
- <div id="blogtitle"><a href="/">{Title}</a></div>
- <div id="description">{Description}</div>
- <div id="nav">
- {block:ifhometitle}<a href="/">{text:home title}</a>{/block:ifhometitle}{block:ifasktitle}<a href="/ask">{text:ask title}</a>{/block:ifasktitle}{block:ifarchivetitle}<a href="/archive">{text:archive title}</a>{/block:ifarchivetitle}{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}
- </div>
- </sidebar>
- <section>
- {block:posts}<article class="posts {block:caption}captioned{/block:caption}" id="{PostID}" post-type="{PostType}" {block:ifanimatedscrolling}data-aos="fade-up"{/block:ifanimatedscrolling}>
- {block:Quote}
- <div class="title quote">{quote}</div>
- {block:Source}<div class="source">{source}</div>{/block:Source}
- {/block:Quote}
- {block:Text}
- <div class="text-post">
- {block:Title}<div class="title">{title}</div>{/block:Title}
- {block:RebloggedFrom}
- {block:Reblogs}
- <li class="comment {block:Title}ted{/block:Title}">
- <a {block:haspermalink}href="{permalink}"{/block:haspermalink} class="user {block:IsDeactivated}deactive{/block:IsDeactivated}">{username}</a>
- <div class="tex">{body}</div>
- </li>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- {block:NotReblog}
- <li class="comment {block:Title}ted{/block:Title}">
- <div class="tex">{body}</div>
- </li>
- {/block:NotReblog}
- </div>
- {/block:Text}
- {block:Link}<div class="title"><a href="{URL}">{name}</a></div>
- {block:Description}
- {block:NotReblog}
- <li class="comment ted">
- <div class="tex">{description}</div>
- </li>
- {/block:NotReblog}
- {/block:Description}
- {block:RebloggedFrom}
- {block:Reblogs}
- <li class="comment">
- <a {block:haspermalink}href="{permalink}"{/block:haspermalink} class="user {block:IsDeactivated}deactive{/block:IsDeactivated}">{username}</a>
- <div class="tex">{body}</div>
- </li>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- {/block:Link}
- {block:Chat}
- {block:Title}<div id="title">{title}</div>{/block:Title}
- <ol class="chat {block:Title}ted{/block:Title}">
- {block:lines}
- <li class="l {Alt}">
- {block:label}<span class="label">{label}</span>{/block:label} {line}
- </li>
- {/block:lines}
- </ol>
- {/block:Chat}
- <div class="ph">
- {block:Photo}{linkopentag}<img src="{photoURL-HighRes}" alt="{PhotoAlt}"/>{linkclosetag}{/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:Photoset}
- {block:Video}
- <div class="video">{Video-500}</div>
- {/block:Video}
- {block:Audio}
- {block:audioplayer}
- <div class="hold">
- <div class="player">{audioplayer}</div>
- {block:AlbumArt}<div class="album-art"><img src="{AlbumArtURL}"></div>{/block:AlbumArt}
- <div class="audio-info">
- {block:trackname}<span class="track">{trackname}</span>{/block:trackname}
- {block:artist}<span class="artist">{artist}</span>{/block:artist}
- </div>
- </div>
- {/block:audioplayer}
- {/block:Audio}
- {block:caption}
- {block:Reblogs}
- <li class="comment">
- <a {block:haspermalink}href="{permalink}"{/block:haspermalink} class="user {block:IsDeactivated}deactive{/block:IsDeactivated}">{username}</a>
- <div class="tex">{body}</div>
- </li>
- {/block:Reblogs}
- {block:NotReblog}
- <li class="comment">
- <a {block:haspermalink}href="{permalink}"{/block:haspermalink} class="user {block:IsDeactivated}deactive{/block:IsDeactivated}">{name}</a>
- <div class="tex">{caption}</div>
- </li>
- {/block:NotReblog}
- {/block:caption}
- </div>
- {block:Answer}
- <div class="q">
- <span class="as">{asker}</span> sent —
- {question}
- </div>
- {block:Answerer}
- <li class="comment">
- <div class="user {block:IsDeactivated}deactive{/block:IsDeactivated}">">{answerer} replied —</div>
- <div class="tex">{answer}</div>
- </li>
- {/block:Answerer}
- {block:NotReblog}
- <li class="comment">
- <div class="tex">{replies}</div>
- </li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- {block:Reblogs}
- <li class="comment">
- <a {block:haspermalink}href="{permalink}"{/block:haspermalink} class="user {block:IsDeactivated}deactive{/block:IsDeactivated}">{username}</a>
- <div class="tex">{body}</div>
- </li>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- {/block:Answer}
- {block:Date}
- <hr>
- <div class="post-info">
- <i data-feather="activity"></i><a href="{permalink}"> {block:ifshowdate}{shortmonth} {dayofmonth}{/block:ifshowdate} {block:ifnotshowdate} <div class="notecount">{block:notecount}{notecount} N{/block:notecount}</div>{/block:ifnotshowdate}</a>
- <i data-feather="rotate-cw"></i> <a href="{ReblogURL}" target="_blank" >reblog</a>
- <i data-feather="heart"></i> <a class="like-b" href="#">{LikeButton}<span class="b">like</span></a>
- </div>
- {block:ifshowtags}
- {block:hastags}<div class="tags"><i data-feather="tag"></i>{block:Tags}<a href="{TagUrl}">{Tag}</a>{/block:Tags}</div>{/block:hasTags}
- {/block:ifshowtags}
- {/block:Date}
- </article>
- {block:PostNotes}
- <article class="posts pagenotes">
- <div class="title">{NoteCountWithLabel}</div>
- {block:RebloggedFrom}
- <span style="margin-top:5px">via: <a href="{ReblogParentURL}">{ReblogParentName}</a>
- {block:ContentSource} — source: <a href="{ReblogRootURL}">{ReblogRootName}</a>{/block:ContentSource}
- </span>
- {/block:RebloggedFrom}
- {PostNotes}
- </article>
- {/block:PostNotes}
- {/block:Posts}
- {block:Pagination}
- <footer>
- <a href="#" class="scrollup" title="top"><i data-feather="chevron-up"></i></a>
- {block:PreviousPage}<a href="{PreviousPage}" title="previous"><i data-feather="chevron-left"></i></a>{/block:PreviousPage}
- {block:JumpPagination length="3"}
- {block:CurrentPage}<a class="current_page">{PageNumber}</span>{/block:CurrentPage}
- {block:JumpPage}<a class="jump_page" href="{URL}">{PageNumber}</a>{/block:JumpPage}
- {/block:JumpPagination}
- {block:NextPage}<a href="{NextPage}" title="next"><i data-feather="chevron-right"></i></a>{block:NextPage}
- </footer>
- {/block:Pagination}
- </section>
- </main>
- <div id="credit"><a href="https://mercurythms.tumblr.com" title="mercurythms">m.</a></div>
- <script>
- // feather icons
- feather.replace();
- // photoset fix
- initPhotosets();
- //notecount shortener
- var $container = $('.post-info');
- $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 N');
- }
- });
- // tooltips
- tippy('[title]', {
- theme: 'custom',
- arrow: false,
- followCursor: true,
- delay: 100,
- placement: 'bottom-start',
- zIndex: 9999999999,
- maxWidth: 400,
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title');
- return title;
- },
- });
- // animated scrolling
- {block:ifanimatedscrolling}
- AOS.init({offset: 100,duration: 1000});
- {/block:ifanimatedscrolling}
- // responsive video
- $(document).ready(function() {
- flexibleFrames($(".video")); // $(".video") is the class selector passed in the argument
- });
- // remove redirects
- $(document).ready(function(){
- //remove tumblr redirects script by magnusthemes@tumblr
- $('a[href*="t.umblr.com/redirect"]').each(function(){
- var originalURL = $(this).attr("href").split("?z=")[1].split("&t=")[0];
- var replaceURL = decodeURIComponent(originalURL);
- $(this).attr("href", replaceURL);
- });
- });
- // fade effect
- $(function() {
- $('body').removeClass('fade-out');
- });
- // minimal soundcloud player Β© shythemes.tumblr
- $(document).ready(function(){
- var color = '{color:accent}'; // 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: 116, width: '100%' });
- });
- });
- </script>
- {block:ContentSource}
- <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
- width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
- {/block:SourceLogo}
- {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
- {/block:ContentSource}
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement