Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- io :: @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:sidebar" content=""/>
- <meta name="color:background" content="#ffffff"/>
- <meta name="color:sidebar background" content="#f8f8f9"/>
- <meta name="color:text" content="#444444"/>
- <meta name="color:link" content="#666666"/>
- <meta name="color:link hover" content="#babcca"/>
- <meta name="color:accent" content="#b1b3c3"/>
- <meta name="color:pagination" content="#dcdde4"/>
- <meta name="color:borders" content="#dddde6"/>
- <meta name="select:post width" content="400px" title="400px"/>
- <meta name="select:post width" content="500px" title="500px"/>
- <meta name="select:post width" content="540px" title="540px"/>
- <meta name="select:sidebar width" content="50%" title="50%"/>
- <meta name="select:sidebar width" content="40%" title="40%"/>
- <meta name="select:sidebar width" content="33%" title="33%"/>
- <meta name="if:show date" content="1"/>
- <meta name="if:hide tags" content="1"/>
- <meta name="if:search bar" content="1"/>
- <meta name="text:font" content="Work Sans"/>
- <meta name="text:title font" content="Playfair Display"/>
- <meta name="text:font size" content="13"/>
- <meta name="text:post margin" content="150"/>
- <meta name="text:icon size" content="80"/>
- <meta name="text:home title" content="home"/>
- <meta name="text:home icon" content="home"/>
- <meta name="text:ask title" content="ask"/>
- <meta name="text:ask icon" content="mail"/>
- <meta name="text:archive title" content="past"/>
- <meta name="text:archive icon" content="clock"/>
- <meta name="text:link 1 url" content="/"/>
- <meta name="text:link 1 title" content="link 1"/>
- <meta name="text:link 1 icon" content="sun"/>
- <meta name="text:link 2 url" content="/"/>
- <meta name="text:link 2 title" content="link 2"/>
- <meta name="text:link 2 icon" content="moon"/>
- <meta name="text:link 3 url" content="/"/>
- <meta name="text:link 3 title" content="link 3"/>
- <meta name="text:link 3 icon" content="lightning"/>
- <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>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.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;600;800&display=swap" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css2?family={text:title font}:wght@400;600;800&display=swap" rel="stylesheet">
- <!--icons-->
- <script src="//glenthemes.github.io/system-uicons/init-icons.js"></script>
- <link href="//glenthemes.github.io/system-uicons/style.css" rel="stylesheet">
- <!--music player 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-->
- <!--
- NPF images fix v3.0 by @glenthemes [2021]
- 💌 git.io/JRBt7
- --->
- <script src="//npf-images-v3.github.io/script.js"></script>
- <link rel="stylesheet" href="//npf-images-v3.github.io/recon.css">
- <style tmblr-npf>
- :root {
- --NPF-Caption-Spacing:1em;
- --NPF-Image-Spacing:1px;
- }
- </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>
- <link
- rel="stylesheet"
- href="https://unpkg.com/tippy.js@5/animations/scale.css"
- />
- <!--custom audio player-->
- <script src="https://cdn.jsdelivr.net/gh/annasthms/customaudio@latest/customaudio.min.js"></script>
- <!--smooth scroll-->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.10/SmoothScroll.min.js" integrity="sha512-HaoDYc3PGduguBWOSToNc0AWGHBi2Y432Ssp3wNIdlOzrunCtB2qq6FrhtPbo+PlbvRbyi86dr5VQx61eg/daQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
- <!--css-->
- <style type="text/css">
- /*tumblr controls*/
- .tmblr-iframe-compact .tmblr-iframe--unified-controls {
- z-index: 999999!important;
- margin-right: 3em;
- margin-top: 10px;
- opacity: 0;
- visibility: hidden;
- 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;
- -webkit-transition: all 0.5s;
- -moz-transition: all 0.5s;
- -ms-transition: all 0.5s;
- -o-transition: all 0.5s;
- transition: all 0.5s;
- }
- body.controls-click .tmblr-iframe {
- position: fixed;
- opacity: 0.6;
- visibility: visible;
- -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--app-cta-button {
- display: none!important;
- }
- #controls {
- position: fixed;
- top: 15px;
- right: 15px;
- padding: 0 5px;
- border-radius: 5px;
- z-index: 999999;
- }
- /*scrollbar*/
- ::-webkit-scrollbar{
- height:11px;
- width:11px;
- background:inherit;
- }
- ::-webkit-scrollbar-thumb {background:{color:accent};}
- ::-webkit-scrollbar-track {background:{color:borders};}
- ::-webkit-scrollbar-thumb, ::-webkit-scrollbar-track {border:5px solid {color:background};}
- /*tooltips*/
- .tippy-tooltip.custom-theme {
- margin: -5px 0;
- text-align: center;
- letter-spacing: 1px;
- text-transform:lowercase;
- color: white;
- border: 0;
- border-radius: 5px;
- }
- /*basic styling*/
- body {
- font-family: {text:font};
- font-size: {text:font size}px;
- line-height: 180%;
- word-wrap: break-word;
- letter-spacing: 0.5px;
- color: {color:text};
- background: {color:background};
- margin: 0;
- padding: 0;
- transition: 1s opacity;
- }
- body.fade-out {
- opacity: 0;
- transition: none;
- }
- a {
- color: {color:link};
- text-decoration: none;
- transition: 300ms !important;
- }
- a:hover {
- color: {color:link hover}!important;
- transition: 300ms !important;
- }
- 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 a {
- color: {color:accent};
- font-family: {text:title font};
- font-size: 1.1em;
- letter-spacing: 1.5px;
- font-weight: bold;
- text-transform: uppercase;
- }
- small {font-size: 1em;}
- big {font-size: 1em;}
- b {font-weight: 600;}
- 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;
- }
- .system-uicons {
- --System-UIcons-Color:{color:link};
- --System-UIcons-Size:1.4em;
- transition: 300ms!important;
- cursor:pointer;
- }
- .system-uicons:hover {
- --System-UIcons-Color:{color:link hover};
- transition: 300ms!important;
- }
- /*layout*/
- main {
- display: flex;
- margin: auto;
- }
- .container {flex: auto; min-height: 100vh;}
- .container:first-of-type {
- background: {color:sidebar background};
- width: {select:sidebar width};
- }
- .container:last-of-type {width: calc(100% - {select:sidebar width});}
- /*sidebar*/
- #sidebar {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- position: fixed;
- width: {select:sidebar width};
- height: 100%;
- text-align: center;
- border-right: 1px solid {color:borders}
- }
- {block:ifSidebarImage}
- #side-img {
- width: {text:icon size}px;
- height: {text:icon size}px;
- margin: 0 auto 1.5em auto;
- border-radius: 100%;
- }
- {/block:ifSidebarImage}
- #sidebar .title, #description, nav {width: 215px;}
- #description, nav {margin: 1em auto 0 auto;}
- nav {
- display: flex;
- justify-content: space-around;
- align-items: center;
- }
- .sfm {
- display:flex;
- justify-content: space-between;
- align-items:center;
- width: 160px;
- margin: 2em auto 0 auto;
- padding: 0.2em 0;
- border-bottom: 1px solid {color:borders};
- }
- .sfm input {
- width:140px;
- background: {color:sidebar background};
- border:0;
- outline:0;
- font-family: {text:font};
- letter-spacing: 1px;
- text-transform: lowercase;
- }
- /*posts*/
- article {
- position: relative;
- margin: {text:post margin}px auto;
- width: {select:post width};
- }
- .posts li, .posts blockquote, figure, video, iframe, .video, .video iframe, figure.tmblr-embed.tmblr-full, figure.tmblr-embed.tmblr-full iframe, .caption iframe {max-width: 100%;}
- /*captions*/
- .caption {margin-top: 2em; list-style-type: none;}
- .caption p {margin:0.5em 0;}
- .text-caption:first-of-type {margin-top: 0;}
- .caption img {min-width:100%;}
- .username, .ask-wrap .asking {
- display: inline-block;
- vertical-align: middle;
- font-weight: 600;
- text-transform: lowercase;
- }
- .username a, .ask-wrap .asking a {
- color: {color:text};
- }
- .username:after {
- content: "";
- display: block;
- margin-top:-10px;
- height: 5px;
- background-color: {color:borders};
- }
- p.tmblr-attribution {display: none;}
- /*----- TEXT -----*/
- h1.post-title {margin-top: 0;}
- /*links*/
- a.link-wrap {
- color: {color:accent};
- font-family: {text:title font};
- font-size: 1.1em;
- letter-spacing: 1.5px;
- font-weight: bold;
- text-transform: uppercase;
- }
- .npf-link-block {
- margin-top: 1.5em;
- background-color: inherit;
- border: 1px solid inherit;
- color: inherit;
- }
- /*photos*/
- img {
- display: block;
- margin: 0;
- height: auto;
- max-width: 100%;
- }
- .photo img {width: 100%;}
- .vignette, #vignette {opacity: 0;}
- .tmblr-lightbox, #tumblr_lightbox {background-color: rgba(130, 130, 130, 0.75) !important;}
- .lightbox-image, #tumblr_lightbox img {
- box-shadow: none !important;
- border-radius: 0 !important;
- max-width: none;
- }
- #tumblr_lightbox_caption, .lightbox-caption {
- margin-top: 1em !important;
- color: #fff !important;
- font-family: inherit;
- }
- /*photoset*/
- [photoset-layout] {grid-gap: 1px;}
- [photoset-layout] div {cursor: pointer;}
- /*quote*/
- .quote {
- color: {color:accent};
- font-family: {text:title font};
- font-size: 1.1em;
- letter-spacing: 1.5px;
- font-weight: bold;
- text-transform: uppercase;
- }
- .quote p:first-of-type {margin-top: 0;}
- .quote p:last-of-type {margin-bottom: 0;}
- .source {margin-top: 1em;}
- /*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: 600;
- }
- p.npf_chat, p.npf_chat b {font-family: inherit;}
- /*asks*/
- .ask-wrap {border: 1px solid {color:borders}; padding: 1.5em; background: {color:sidebar background};}
- .question {margin-top: 0.5em;}
- .question p:first-of-type {margin-top: 0;}
- .question p:last-of-type {margin-bottom: 0;}
- /*audio*/
- .audio-post {
- display: flex;
- align-items: center;
- width: 100%;
- height: 100px;
- background: {color:sidebar background};
- border: 1px solid {color:borders};
- }
- .album-art {
- vertical-align: middle;
- width: 100px;
- height: 100px;
- }
- .custom_audio_wrapper {
- display: flex;
- flex-direction: column;
- flex-grow: 1;
- margin: 0 2em;
- }
- .play {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .custom_audio_buttons {
- height: 2em;
- }
- .custom_audio_buttons svg {
- width: 2em;
- height: 2em;
- stroke-width:1.5;
- color: {color:text};
- cursor: pointer;
- }
- .custom_audio_error_icon svg {
- stroke: #dc143c;
- }
- .custom_audio_seekbar {height: 0;}
- .audio_info {
- text-align: right;
- line-height: 160%;
- }
- .audio_info p {margin: 0;}
- .track {
- font-family: {text:title font};
- font-size: 1.1em;
- font-weight: 600;
- letter-spacing: 1.5px;
- text-transform: uppercase;
- }
- .spotify_audio_player {max-height: 80px;}
- .soundcloud_audio_player {max-height: 116px; margin-top: 1em;}
- /*post info*/
- .info {
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- margin-top: 2em;
- }
- .info hr {
- flex-grow: 1;
- height: 1px;
- margin: 0 1em;
- background: {color:borders};
- }
- .info-left a {
- display: inline-block;
- font-size: 1.1em;
- letter-spacing: 1px;
- font-weight:600;
- text-transform:lowercase;
- }
- .info-right {
- display: flex;
- align-items: center;
- }
- .info-right a {margin-left: 1em;}
- .info-right a:first-of-type {margin-left: 0.5em;}
- .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 + .system-uicons path {--System-UIcons-Color:#dc143c!important;}
- .tags {
- margin: 0.5em 1em 0 1em;
- {block:ifhidetags}display: none;{/block:ifhidetags}
- }
- .tags a {margin-right: 1em;}
- a.pinned-post {margin-right: 1em;}
- .pinned-post .system-uicons {
- padding:2px;
- background: {color:pagination};
- --System-UIcons-Color: white;
- border-radius:50%;
- }
- /*post notes*/
- 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 {display:none;}
- /*pagination*/
- #page-navigation {
- position:fixed;
- display:flex;
- flex-direction:column;
- top:50%;
- z-index:3;
- left:calc({select:sidebar width} - 15px)!important;
- transform: translateY(-50%);
- }
- #page-navigation a {margin:1em 0;}
- #page-navigation .system-uicons {
- padding:2px;
- background: {color:pagination};
- --System-UIcons-Color: white;
- --System-UIcons-Size:2em;
- border-radius:50%;
- }
- #mobile-pagination {
- display:none;
- }
- /*credit*/
- #credit {
- position: fixed;
- bottom: 15px;
- right: 15px;
- font-size: 1.2em;
- padding: 0 5px;
- border-radius: 5px;
- color: {color:accent};
- z-index:999999;
- }
- /*responsiveness*/
- @media only screen and (max-width: 1100px) {
- main {flex-direction: column;}
- .container:first-of-type {width:100%; border-bottom: 1px solid {color:borders};}
- .container:last-of-type {width:100%;}
- article {margin: {text:post margin}px auto;}
- #sidebar {
- position: static;
- width: {select:post width};
- min-height: 100vh;
- top: auto;
- margin: auto;
- padding: 0;
- transform: translate(0, 0);
- text-align: center;
- border-right: 0;
- }
- #page-navigation {display: none;}
- #mobile-pagination {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- #mobile-pagination a {
- margin: 0 3em;
- vertical-align: middle;
- }
- #mobile-pagination .system-uicons {
- padding:2px;
- background: {color:pagination};
- --System-UIcons-Color: white;
- --System-UIcons-Size:2em;
- border-radius:50%;
- }
- }
- @media only screen and (max-width: 720px) {
- #sidebar, article {width: 75vw;}
- #controls {display: none;}
- }
- {CustomCSS}
- </style>
- </head>
- <!--html-->
- <body>
- <script>document.body.className += ' fade-out';</script>
- <div id="controls"><i class="system-uicons" icon-name="menu vertical" title="click for controls"></i></div>
- <!-- main = main container -->
- <main>
- <!--sidebar-->
- <div class="container">
- <aside id="sidebar">
- {block:ifSidebarImage}<img src="{image:Sidebar}" id="side-img" alt="sidebar image"/></a>{/block:ifSidebarImage}
- <div class="title"><a href="/">{Title}</a></div>
- {block:Description}<div id="description">{Description}</div>{/block:Description}
- <nav>
- {block:ifHomeTitle}<a href="/" title="{text:home title}"><i class="system-uicons" icon-name="{text:home icon}"></i></a>{/block:ifHomeLink}
- {block:ifAskTitle}<a href="/ask" title="{text:ask title}"><i class="system-uicons" icon-name="{text:ask icon}"></i></a>{/block:ifAskTitle}
- {block:ifArchiveTitle}<a href="/archive" title="{text:archive title}"><i class="system-uicons" icon-name="{text:archive icon}"></i>
- </a>{/block:ifArchiveLink}
- {block:ifLink1Title}<a href="{text:link 1 url}" title="{text:link 1 title}"><i class="system-uicons" icon-name="{text:link 1 icon}"></i>
- </a>{/block:ifLink1Title}
- {block:ifLink2Title}<a href="{text:link 2 url}" title="{text:link 2 title}"><i class="system-uicons" icon-name="{text:link 2 icon}"></i></a>{/block:ifLink2Title}
- {block:ifLink3Title}<a href="{text:link 3 url}" title="{text:link 3 title}"><i class="system-uicons" icon-name="{text:link 3 icon}"></i></a>{/block:ifLink3Title}
- </nav>
- {block:ifsearchbar}
- <form action="/search" method="get" class="sfm">
- <input type="text" name="q" placeholder="search..." value="{SearchQuery}" value autocomplete="off"/>
- <i class="system-uicons" icon-name="search"></i>
- </form>
- {/block:ifsearchbar}
- </aside>
- </div>
- <!-- post container -->
- <div class="container">
- {block:TagPage}
- <article>
- <h1>Viewing posts filed under #{Tag}</h1>
- </article>
- {/block:TagPage}
- {block:DayPage}
- <article>
- <h1>Viewing posts made on {Month} {DayOfMonth}, {Year}</h1>
- </article>
- {/block:DayPage}
- <!--posts-->
- {block:Posts}
- <article class="posts" id="{PostID}">
- {block:Text}
- {block:Title}<h1 class="post-title"><a href="{Permalink}">{Title}</a></h1>{/block:Title}
- {block:NotReblog}
- <li class="caption text-caption">
- {Body}
- </li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- {block:Reblogs}
- <li class="caption text-caption source-head">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- {Body}
- </li>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- {/block:Text}
- {block:Link}
- <a href="{URL}" class="link-wrap">
- <div class="title">{Name}</div>
- </a>
- {block:Description}
- {block:NotReblog}
- <li class="caption">
- {Description}
- </li>
- {/block:NotReblog}
- {/block:Description}
- {block:RebloggedFrom}
- {block:Reblogs}
- <li class="caption">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- {Body}
- </li>
- {/block:Reblogs}
- {/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">
- {Caption}
- </li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- {block:Reblogs}
- <li class="caption">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- {Body}
- </li>
- {/block:Reblogs}
- {/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">
- {Caption}
- </li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- {block:Reblogs}
- <li class="caption">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- {Body}
- </li>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- {/block:Caption}
- {/block:Photoset}
- {block:Video}
- <div class="video">{Video-500}</div>
- {block:Caption}
- {block:NotReblog}
- <li class="caption">
- {Caption}
- </li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- {block:Reblogs}
- <li class="caption">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- {Body}
- </li>
- {/block:Reblogs}
- {/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}
- {Line}
- </li>
- {/block:Lines}</ul>
- {/block:Chat}
- {block:Answer}
- <div class="ask-wrap">
- <div class="asking">{Asker} asked</div>
- <div class="question">{Question}</div>
- </div>
- {block:Answerer}
- <li class="caption">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Answerer}</a></div>
- {Answer}
- </li>
- {/block:Answerer}
- {block:NotReblog}
- <li class="caption">
- {Replies}
- </li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- {block:Reblogs}
- <li class="caption">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- {Body}
- </li>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- {/block:Answer}
- {block:Audio}
- {block:AudioPlayer}
- {AudioPlayer}
- <div class="audio-post">
- <div class="custom_audio_wrapper">
- <div class="play">
- <div class="custom_audio_buttons"></div>
- <div class="audio_info">
- {block:TrackName}<p><div class="track">{TrackName}</div></p>{/block:TrackName}
- {block:ifnotTrackName}<p>Listen</p>{/block:ifnotTrackName}
- {block:Artist}<p>{Artist}</p>{/block:Artist}
- </div>
- </div>
- <div class="custom_audio_seekbar"></div>
- </div>
- {block:AlbumArt}
- <img src="{AlbumArtURL}" class="album-art">
- {/block:AlbumArt}
- </div>
- {/block:AudioPlayer}
- {block:Caption}
- {block:NotReblog}
- <li class="caption">
- {Caption}
- </li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- {block:Reblogs}
- <li class="caption">
- <div class="username {block:IsDeactivated}deactive{/block:IsDeactivated}"><a href="{Permalink}">{Username}</a></div>
- {Body}
- </li>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- {/block:Caption}
- {/block:Audio}
- <!--bottom info-->
- {block:Date}
- <div class="info">
- <div class="info-left">
- {block:PinnedPostLabel}<a href="{Permalink}" class="pinned-post"><i class="system-uicons" icon-name="bookmark"></i></a>{/block:PinnedPostLabel}
- {block:ifshowdate}<a href="{Permalink}" title="{NoteCountWithLabel}">{ShortMonth} {DayOfMonth}</a>{/block:ifshowdate}
- {block:ifnotshowdate}<a href="{Permalink}" title="posted on {ShortMonth} {DayOfMonth}"><div class="notecount">{NoteCountWithLabel}</div></a>{/block:ifnotshowdate}
- </div><hr>
- <!-- reblog and tag buttons -->
- <div class="info-right">
- <a href="{ReblogURL}" target="_blank" title="reblog"><i class="system-uicons" icon-name="swap"></i></a>
- <a class="like" title="like">{LikeButton}<i class="system-uicons" icon-name="heart"></i></a>
- {block:ifhidetags}<a class="tag-icon" title="show tags"><i class="system-uicons" icon-name="hash"></i></a>{/block:ifhidetags}
- </div>
- </div>
- {/block:Date}
- <!--tags-->
- {block:HasTags}
- <div class="tags">
- {block:Tags}<a href="{TagURL}"># {Tag}</a>{/block:Tags}
- </div>
- {/block:HasTags}
- <!--post divider-->
- </article>
- <hr>
- <!--post notes-->
- {block:PermalinkPage}{block:Date}
- {block:NoteCount}{block:PostNotes}
- <article class="notes">
- {PostNotes-64}
- </article>
- <hr>
- {/block:PostNotes}{/block:NoteCount}
- {/block:Date}{/block:PermalinkPage}
- {/block:Posts}
- <!-- end of posts container -->
- <!--pagination-->
- {block:Pagination}
- <div id="page-navigation">
- <a href="{block:NextPage}{NextPage}{/block:NextPage}" title="next"><i class="system-uicons" icon-name="chevron right"></i></a>
- <a href="{block:PreviousPage}{PreviousPage}{/block:PreviousPage}" title="back"><i class="system-uicons" icon-name="chevron left"></i></a>
- <a href="#" title="back to top"><i class="system-uicons" icon-name="chevron up"></i></a></div>
- <article id="mobile-pagination">
- <a href="{block:PreviousPage}{PreviousPage}{/block:PreviousPage}" title="back"><i class="system-uicons" icon-name="chevron left"></i></a>
- <a href="{block:NextPage}{NextPage}{/block:NextPage}" title="next"><i class="system-uicons" icon-name="chevron right"></i></a>
- <a href="#" title="back to top"><i class="system-uicons" icon-name="chevron up"></i></a>
- </article>
- {/block:Pagination}
- <a href="https://mercurythms.tumblr.com" title="mercurythms" id="credit">m.</a>
- <!-- end of main container -->
- </main>
- <script>
- //show controls
- $(document).ready(function(){
- $('#controls').click(function(){
- $('body').toggleClass('controls-click');
- });
- });
- //show tags
- {block:ifhidetags}
- $(document).ready(function(){
- $(".tag-icon").click(function(){
- $(this).parents("article").find(".tags").slideToggle(300);
- });
- });
- {/block:ifhidetags}
- // tooltips
- tippy('[title]', {
- theme: 'custom',
- arrow: false,
- followCursor: false,
- delay: 100,
- placement: 'top',
- zIndex: 9999999999,
- maxWidth: 150,
- animation: 'scale',
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title');
- return title;
- },
- });
- // photoset fix
- initPhotosets();
- // fade effect
- $(function() {
- $('body').removeClass('fade-out');
- });
- // 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');
- }
- });
- //audio player
- customAudio({
- post: "article",
- wrappers: {
- audio: ".custom_audio_wrapper",
- buttons: ".custom_audio_buttons",
- duration: ".custom_audio_duration",
- timeCurrent: ".custom_audio_current_time",
- timeLeft: ".custom_audio_time_left",
- seekbar: ".custom_audio_seekbar"
- },
- default: false,
- pauseAll: true,
- playButton: "<i data-feather='play-circle'></i>",
- pauseButton: "<i data-feather='pause-circle'></i>",
- errorIcon: "<i data-feather='x'></i>",
- hideInfoIfError: true,
- callAfterLoad: () => {
- feather.replace();
- }
- }).create();
- // 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=false&origin=tumblr&color=' + color.split('#')[1], height: 116, width: '100%' });
- });
- });
- //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();
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement