Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en" data-theme="light">
- <head>
- <link rel="shortcut icon" href="{Favicon}" />
- <link rel="alternate" type="application/rss+xml" href="{RSS}" />
- <title>{Title}</title>
- {block:Description}
- <meta name="description" content="{MetaDescription}" />
- {/block:Description}
- {NewPostStyles}
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!----
- _________
- / \
- | __ __ |
- | |__| |__| | CUSTOM THEME 07 BY SAGE / PHANTOMCODES
- | | https://phantomcodes.tumblr.com
- | _ _ _ |
- |_| |_| |_| |_|
- CREDITS:
- - tabler icons / https://tabler-icons.io/
- - tippy.js tooltips / https://atomiks.github.io/tippyjs/
- - bunny fonts / https://fonts.bunny.net/
- - pxu photosets by pixel union with modifications by bychloethemes / https://bychloethemes.tumblr.com/post/155956945114/modified-pxu-photoset-script-modified-by
- - responsive videos by nouvae / https://nouvae.tumblr.com/post/176815415055/tutorial-responsive-tumblr-videos-and-external
- - time ago plugin by chloethemes / https://bychloethemes.tumblr.com/plugins/timeago
- - notes shortener by shythemes / https://shythemes.tumblr.com/post/156021137818/hello-i-was-wondering-if-you-knew-how-to-shorten
- - day/night mode tutorial by eggdesign / https://egg.design/post/186889223257/day-night-mode-tutorial-after-featuring-a
- - dark mode guide by 22mm / https://22mm.tumblr.com/post/673476677544837120/a-dark-mode-guide-with-css-variables-and-js-this
- - npf images fix by glenthemes / https://github.com/npf-images-v3/npf-images-v3.github.io/blob/main/WELCOME.md
- - npf audio player by glenthemes / https://glenthemes.tumblr.com/post/722160746171072512/npf-audio-player
- - unblue polls by glenthemes / https://glenthemes.tumblr.com/post/708014819571302400/unblue-polls
- - copy link to post tutorial by glenthemes / https://glenthemes.tumblr.com/post/173993578944/copy-link-to-post-button-tutorial
- - hide tutorial by lmthemes / https://lmthemes.tumblr.com/post/30046967698/tutorial-05-hide-stuff-tutorial-in-this
- ---->
- <!-- STYLESHEETS -->
- <!---- PHOTOSET ---->
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="https://static.tumblr.com/yxfeliq/hHwojmt8m/bctphotoset.min.js"></script>
- <!----- BUNNY FONTS ---->
- <link href="https://fonts.bunny.net/css?family={text:body font}:300,400,500,600,700,800,300i,400i,500i,600i,700i,800i" rel="stylesheet" /><link href="https://fonts.bunny.net/css?family={text:title font}:300,400,500,600,700,800,300i,400i,500i,600i,700i,800i" rel="stylesheet" />
- <!---- ICONS ---->
- <script src="https://unpkg.com/phosphor-icons"></script>
- <script src="https://unpkg.com/[email protected]"></script>
- <script src="//pull.cappuccicons.com/cpf.js"></script>
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/tabler-icons.min.css">
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/[email protected]/tabler-icons.min.css">
- <!---- TOOLTIPS ---->
- <script src="https://unpkg.com/popper.js@1"></script>
- <script src="https://unpkg.com/tippy.js@5/dist/tippy-bundle.iife.js"></script>
- <!--- FLICKITY --->
- <link rel="stylesheet" href="https://unpkg.com/flickity@2/dist/flickity.min.css">
- <!---- VIDEOS ---->
- <script src="https://rawgit.com/robinpx/tumblr/master/scripts/flexibleFrames/flexibleFrames.min.js"></script>
- <!---- COPY LINK ---->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js"></script>
- <script>
- $(document).ready(function(){
- var clipboard = new ClipboardJS("#copybutton");
- });
- </script>
- <!---- TIME AGO ----->
- <script type="text/javascript" src="https://static.tumblr.com/i5s2zks/9Acok8oo2/bct-timeago.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- $(".time-ago").timeAgo({
- time: "short",
- spaces: true,
- words: false,
- prefix: "",
- suffix: "ago",
- });
- });
- </script>
- <script src="https://code.jquery.com/ui/1.13.0/jquery-ui.js"></script>
- <link rel="stylesheet" media="screen" href="//assets.tumblr.com/client/prod/standalone/blog-network-npf/index.build.css">
- <!--
- 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:4px;
- }
- </style>
- <!---- VARIABLES ---->
- <meta name="image:Sidebar" content="" />
- <meta name="color:Background" content="#eee" />
- <meta name="color:Posts" content="#f2f2f2" />
- <meta name="color:Borders" content="#e8e8e8" />
- <meta name="color:Title" content="#404040" />
- <meta name="color:Text" content="#606060" />
- <meta name="color:Accent One" content="#cd709d"/>
- <meta name="color:Accent Two" content="#de8c9b"/>
- <meta name="color:Accent Three" content="#e69189"/>
- <meta name="color:Night Background" content="#383838" />
- <meta name="color:Night Posts" content="#3a3a3a" />
- <meta name="color:Night Borders" content="#484848" />
- <meta name="color:Night Title" content="#fafafa" />
- <meta name="color:Night Text" content="#dadada" />
- <meta name="color:Night Accent One" content="#ffbad7"/>
- <meta name="color:Night Accent Two" content="#ffa5b6"/>
- <meta name="color:Night Accent Three" content="#ffb7b7"/>
- <meta name="select:Corners" content="0px" title="sharp"/>
- <meta name="select:Corners" content="5px" title="slightly round"/>
- <meta name="select:Post Width" content="400px" title="400px"/>
- <meta name="select:Post Width" content="350px" title="350px"/>
- <meta name="text:Body Font" content="Lora"/>
- <meta name="text:Title Font" content="Merriweather"/>
- <meta name="text:Font Size" content="12"/>
- <meta name="text:Blog Name" content="your url here"/>
- <meta name="text:Custom Description" content="custom description"/>
- <meta name="text:Sidebar Link 1" content="/"/>
- <meta name="text:Sidebar Link 1 Name" content="link one"/>
- <meta name="text:Sidebar Link 2" content="/"/>
- <meta name="text:Sidebar Link 2 Name" content="link two"/>
- <meta name="text:Popup Link 1" content="/"/>
- <meta name="text:Popup Link 1 Name" content="popup link"/>
- <meta name="text:Popup Link 2" content="/"/>
- <meta name="text:Popup Link 2 Name" content="popup link"/>
- <meta name="text:Popup Link 3" content="/"/>
- <meta name="text:Popup Link 3 Name" content=""/>
- <meta name="text:Popup Link 4" content=""/>
- <meta name="text:Popup Link 4 Name" content=""/>
- <meta name="text:Popup Link 5" content=""/>
- <meta name="text:Popup Link 5 Name" content=""/>
- <meta name="text:Popup Link 6" content=""/>
- <meta name="text:Popup Link 6 Name" content=""/>
- <!--- day/night --->
- <script>
- const storedTheme = localStorage.getItem("theme") || (window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light");
- if (storedTheme) document.documentElement.setAttribute("data-theme", storedTheme);
- </script>
- <!------- CSS -------->
- <style>
- /* theme options - common */
- :root {
- --Spacing: 1rem;
- --Corners:{select:Corners};
- --PostWidth:{select:Post Width};
- }
- /* theme options - day/night */
- :root, html[data-theme='light'] {
- --LightOn: flex;
- --LightOff: none;
- --ColorBackground: {color:background};
- --ColorPosts: {color:posts};
- --ColorBorders: {color:borders};
- --ColorTitle: {color:title};
- --ColorText: {color:text};
- --ColorAccentOne: {color:accent one};
- --ColorAccentTwo: {color:accent two};
- --ColorAccentThree: {color:accent three};
- --ColorOpacity: rgba(255,255,255,.25);
- --ColorReverseOpacity: rgba(0,0,0,.15);
- }
- html[data-theme='dark'] {
- --LightOn: none;
- --LightOff: flex;
- --ColorBackground: {color:night background};
- --ColorPosts: {color:night posts};
- --ColorBorders: {color:night borders};
- --ColorTitle: {color:night title};
- --ColorText: {color:night text};
- --ColorAccentOne: {color:night accent one};
- --ColorAccentTwo: {color:night accent two};
- --ColorAccentThree: {color:night accent three};
- --ColorOpacity: rgba(0,0,0,.15);
- --ColorReverseOpacity: rgba(255,255,255,.15);
- }
- html.theme-transition,
- html.theme-transition *,
- html.theme-transition *:before,
- html.theme-transition *:after {
- transition: 0s !important;
- transition-delay: 0 !important;
- }
- .light-on{
- display: var(--LightOn);
- }
- .light-off{
- display: var(--LightOff);
- }
- /*--- TOOLTIPS ---*/
- .tippy-tooltip.custom-theme {
- font-size:.95em;
- font-weight:500;
- color:var(--ColorPosts);
- text-transform:lowercase;
- text-align:center;
- background:linear-gradient(to top right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- border-radius:5px;
- }
- /*--- SCROLLBAR ---*/
- ::-webkit-scrollbar {
- width:4px;
- height:4px;
- background:var(--ColorBackground);
- }
- ::-webkit-scrollbar-track {
- margin-bottom:.5rem;
- background:var(--ColorBackground);
- border-radius: 5px;
- }
- ::-webkit-scrollbar-thumb {
- background:linear-gradient(to top, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- border-radius: 5px;
- }
- /*--- TEXT SELECTION ---*/
- ::-moz-selection { /* Code for Firefox */
- color:var(--ColorPosts);
- background:var(--ColorAccentOne);
- }
- ::selection {
- color:var(--ColorPosts);
- background:var(--ColorAccentOne);
- }
- * {box-sizing:border-box;}
- body {
- font-family:'{text:body font}', sans-serif;
- font-size:{text:font size}px;
- color:var(--ColorText);
- line-height:150%;
- word-wrap:break-word;
- letter-spacing:.04em;
- margin:0;
- background-color:var(--ColorBackground);
- }
- body {
- opacity:1;
- transition:.75s opacity;
- }
- body.fade-out {
- opacity:0;
- transition:none;
- }
- html {background-color:var(--ColorBackground); scrollbar-gutter:stable;}
- a {
- color:var(--ColorAccentOne);
- text-decoration:none;
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- a:hover {
- color:var(--ColorAccentThree);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- blockquote {
- border-left:1.5px solid var(--ColorBorders);
- padding-left:.75em;
- margin-left:1em;
- }
- blockquote p {padding:0!important;}
- ul {list-style-type:circle; margin:0 0 1rem 0; padding-right:.5rem;}
- ol {list-style-type:decimal-leading-zero; margin:0;}
- li::marker {color:var(--ColorAccentOne)}
- small {font-size:.95em;}
- big {font-size:1.1em;}
- h1 {font-size:1.35em; margin:0; color:var(--ColorTitle); display:inline-block;}
- h1 a {color:var(--ColorTitle);}
- h1 a:hover {color:var(--ColorAccentThree);}
- h2 {font-size:1.25em; color:var(--ColorTitle);}
- h3 {font-size:1.15em; color:var(--ColorTitle);}
- h4 {font-size:1.1em; color:var(--ColorTitle);}
- h5 {font-size:1.05em; color:var(--ColorTitle);}
- h1, h1 a, h2, h3, h4, h5 {font-family:'{text:title font}', sans-serif;}
- button {font-size:1em;}
- hr {
- height:1px;
- border:none;
- box-shadow:none;
- background:var(--ColorBorders);
- }
- pre {
- word-wrap:break-word!important;
- white-space:pre-wrap;
- }
- b, strong {
- color:var(--ColorTitle);
- font-weight:800;
- }
- b a:hover {
- color:var(--ColorAccentThree);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- /* common link effects */
- .sb-desc a, .aanswer a {
- display:inline-block;
- position:relative;
- border-bottom:1.5px solid var(--ColorBorders);
- }
- .sb-desc a:after, .aanswer a:after {
- content: '';
- position:absolute;
- bottom:-1.5px;
- left:0;
- width:100%;
- height:1.5px;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- transform:scaleX(0);
- transform-origin:center;
- transition:transform 0.4s ease-out;
- }
- .sb-desc a:hover:after, .aanswer a:hover:after {
- transform:scaleX(1);
- transform-origin:center;
- }
- .sr-text {
- border: 0;
- clip: rect(1px, 1px, 1px, 1px);
- clip-path: inset(50%);
- height: 1px;
- margin: -1px;
- overflow: hidden;
- padding: 0;
- position: absolute;
- width: 1px;
- word-wrap: normal !important;
- }
- /*--- FIXED BUTTONS ---*/
- .fixedbuttons {
- position:fixed;
- top:.5rem;
- right:.5rem;
- display:flex;
- justify-content:flex-end;
- align-items:center;
- gap:.5rem;
- z-index:99999;
- }
- /* SCROLL TO TOP */
- a#totop {
- display:none;
- justify-content:center;
- align-items:center;
- background:var(--ColorBackground);
- cursor:help;
- }
- a#totop i {
- font-size:1.5em;
- color:var(--ColorTitle);
- }
- a#totop:hover i {
- color:var(--ColorAccentOne);
- -webkit-animation-duration: 2.5s;
- animation-duration: 2.5s;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- animation-iteration-count:1;
- -webkit-animation-iteration-count:1;
- animation-name:totop;
- -moz-animation-name:totop;
- }
- @keyframes totop {
- 0% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 10% {
- -webkit-transform: translateY(-3px);
- -ms-transform: translateY(-3px);
- transform: translateY(-3px)
- }
- 20% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 30% {
- -webkit-transform: translateY(-3px);
- -ms-transform: translateY(-3px);
- transform: translateY(-3px)
- }
- 40% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 50% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 60% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 70% {
- -webkit-transform: translateY(-3px);
- -ms-transform: translateY(-3px);
- transform: translateY(-3px)
- }
- 80% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 90% {
- -webkit-transform: translateY(-3px);
- -ms-transform: translateY(-3px);
- transform: translateY(-3px)
- }
- 100% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- }
- /* DAY/NIGHT */
- button#theme-toggle {
- position:relative;
- outline:none;
- border:none;
- background:none;
- padding:0;
- display:flex;
- justify-content:center;
- align-items:center;
- background:var(--ColorBackground);
- cursor:help;
- }
- button#theme-toggle span {
- justify-content:center;
- align-items:center;
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- button#theme-toggle i {
- font-size:1.4em;
- color:var(--ColorTitle);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- button#theme-toggle:hover i {
- color:var(--ColorAccentOne);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- -webkit-animation-duration: .75s;
- animation-duration: .75s;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- animation-iteration-count:1;
- -webkit-animation-iteration-count:1;
- animation-name:daynight;
- -moz-animation-name:daynight;
- }
- @keyframes daynight {
- 50% {
- -webkit-transform: scaleX(-1);
- -ms-transform: scaleX(-1);
- transform: scaleX(-1);
- }
- }
- /* TUMBLR CONTROLS */
- a#controlsbutton {
- display:flex;
- justify-content:center;
- align-items:center;
- background:var(--ColorBackground);
- cursor:help;
- }
- a#controlsbutton i {
- font-size:1.45em;
- color:var(--ColorTitle);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- a#controlsbutton:hover i {
- color:var(--ColorAccentOne);
- -webkit-animation-duration: 1.5s;
- animation-duration: 1.5s;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- animation-iteration-count:1;
- -webkit-animation-iteration-count:1;
- animation-name:tumblrcontrols;
- -moz-animation-name:tumblrcontrols;
- }
- body.controls-click a#controlsbutton i {color:var(--ColorAccentOne);}
- @keyframes tumblrcontrols {
- 45% {
- -webkit-transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- transform: rotate(180deg);
- }
- 55% {
- -webkit-transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- transform: rotate(180deg);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- -ms-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- .tmblr-iframe-compact .tmblr-iframe--unified-controls {
- transform:scale(.65);
- margin-top:.75rem;
- opacity:0;
- visibility:hidden;
- z-index:999999999!important;
- }
- body.controls-click iframe.tmblr-iframe {
- opacity:1.0;
- 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;
- }
- /*--- FIXED CREDIT: DO NOT TOUCH ---*/
- a.credit {
- position:fixed;
- right:.5rem;
- bottom:.5rem;
- padding:.25rem;
- display:flex;
- justify-content:center;
- align-items:center;
- background:var(--ColorBackground);
- border-radius:var(--Corners);
- z-index:99999;
- }
- a.credit i {
- font-size:1.6em;
- color:var(--ColorTitle);
- background:linear-gradient(to top right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- background-clip:text;
- -webkit-background-clip:text;
- transition:ease-in-out .5s;
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- a.credit:hover i {
- color:transparent;
- -webkit-animation-duration: 2s;
- animation-duration: 2s;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- animation-iteration-count:infinite;
- -webkit-animation-iteration-count:infinite;
- animation-name: bounce;
- -moz-animation-name: bounce;
- }
- @keyframes bounce {
- 0% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 25% {
- -webkit-transform: translateY(-3px);
- -ms-transform: translateY(-3px);
- transform: translateY(-3px)
- }
- 50% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 75% {
- -webkit-transform: translateY(-3px);
- -ms-transform: translateY(-3px);
- transform: translateY(-3px)
- }
- 100% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- }
- /*--- SIDEBAR ---*/
- #leftsidebar {
- position:fixed;
- top:0;
- left:1rem;
- width:275px;
- height:100%;
- padding:4rem 1rem 1rem 1rem;
- display:flex;
- flex-direction:column;
- justify-content:flex-start;
- align-items:flex-start;
- gap:.5rem;
- background:var(--ColorBackground);
- transition:ease-in-out .55s;
- z-index:99;
- }
- .sb-img {
- width:100%;
- height:auto;
- display:flex;
- justify-content:center;
- align-items:center;
- border-radius:var(--Corners);
- }
- .sb-img img {width:100%; height:auto; object-fit:cover; border-radius:var(--Corners);}
- a.sb-title {
- width:100%;
- font-family:'{text:title font}', sans-serif;
- font-size:1.2em;
- color:var(--ColorTitle);
- font-weight:600;
- }
- .sb-desc p:last-of-type {margin-bottom:0;}
- /* sidebar nav */
- nav {
- position:relative;
- width:100%;
- margin-top:.5rem;
- display:flex;
- flex-direction:column;
- gap:.5rem;
- }
- nav a.mainlink {
- width:fit-content;
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.5rem;
- }
- nav a.mainlink:hover {gap:.35rem;}
- nav a.mainlink span {color:var(--ColorTitle);}
- nav a.mainlink i {
- font-size:1.3em;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- -webkit-background-clip:text;
- -webkit-text-fill-color:transparent;
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- nav a#navbutton {cursor:help;}
- nav a#navbutton:hover i {transform:rotate(90deg);}
- body.nav-click a#navbutton i {transform:rotate(90deg);}
- /* nav popup */
- .sb-nav {
- position:absolute;
- top:calc(100% + .5rem);
- max-width:100%;
- padding:.5rem;
- display:none;
- justify-content:flex-start;
- align-items:center;
- flex-wrap:wrap;
- gap:.5rem;
- background:var(--ColorPosts);
- border:1px solid var(--ColorBorders);
- border-radius:var(--Corners);
- }
- body.nav-click .sb-nav {display:flex;}
- .sb-navtitle {
- width:100%;
- }
- .sb-navtitle b {
- position:relative;
- display:inline-block;
- font-family:'{text:title font}', sans-serif;
- text-shadow:0 .5px var(--ColorPosts);
- line-height:120%;
- z-index:1;
- }
- .sb-navtitle b:after {
- content: '';
- position:absolute;
- bottom:0;
- left:0;
- width:100%;
- height:50%;
- opacity:.5;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- z-index:-1;
- }
- .sb-nav a {
- width:calc(50% - .25rem);
- }
- .sb-nav a span {
- position:relative;
- display:inline-block;
- color:var(--ColorText);
- line-height:120%;
- z-index:1;
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- .sb-nav a:hover span {color:var(--ColorTitle); text-shadow:0 .5px var(--ColorPosts);}
- .sb-nav a span:after {
- content: '';
- position:absolute;
- bottom:0;
- left:0;
- width:100%;
- height:50%;
- opacity:.5;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- transform:scaleY(0);
- transform-origin:bottom;
- transition:transform 0.4s ease-out;
- z-index:-1;
- }
- .sb-nav a span:hover:after {
- transform:scaleY(1);
- transform-origin:bottom;
- }
- /*-- ask box --*/
- #ask_form {margin-bottom:-.5em; border-radius: 0 0 var(--Corners) var(--Corners);}
- #submit_form {margin-bottom:-.5em; border-radius: 0 0 var(--Corners) var(--Corners);}
- /*-- read more --*/
- a.read_more {font-size:.95em; text-transform:uppercase;}
- /*--- MAIN STYLING ---*/
- main {
- position:relative;
- width:100%;
- height:100%;
- display:flex;
- flex-direction:column;
- align-items:center;
- }
- section {
- position:relative;
- width:100%;
- height:100%;
- margin:auto;
- display:flex;
- justify-content:center;
- transition:ease-in-out .55s;
- }
- .section-wrap {
- position:relative;
- width:100%;
- }
- article {
- position:relative;
- width:100%;
- max-width:calc(var(--PostWidth) + 4rem + 2px);
- margin:2rem auto 2rem auto;
- padding:1rem 2rem 1rem 2rem;
- transition:ease-in-out .55s;
- }
- article:first-of-type {padding-top:2rem;}
- article:last-of-type {border-bottom:none;}
- .article-wrap {width:100%;}
- .post-wrap {
- position:relative;
- width:100%;
- padding:1rem;
- background:linear-gradient(to top right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- border-radius:var(--Corners);
- z-index:1;
- }
- .post-wrap:after {
- content:'';
- position:absolute;
- top:1px;
- left:1px;
- width:calc(100% - 2px);
- height:calc(100% - 2px);
- background:var(--ColorPosts);
- border-radius:calc(var(--Corners) - 1px);
- z-index:-1;
- }
- /*-- TOP POST INFO --*/
- .topinfo {
- position:relative;
- margin-bottom:.5rem;
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.5rem;
- }
- .topinfoleft {
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.5rem;
- }
- .til-name {
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.25rem;
- }
- .til-icon {
- display:flex;
- justify-content:center;
- align-items:center;
- }
- .til-icon i {
- font-size:1.3em;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- -webkit-background-clip:text;
- -webkit-text-fill-color:transparent;
- }
- .til-icon#pinned i {transform:rotate(-45deg);}
- .til-name a b {
- font-size:1.05em;
- font-weight:bold;
- color:var(--ColorTitle);
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- background-clip:text;
- -webkit-background-clip:text;
- transition:ease-in-out .5s;
- }
- .til-name a:hover b {color:transparent;}
- /* more info */
- .moreinfo {
- position:absolute;
- top:calc(100% + .5rem);
- left:calc(100% + .5rem);
- max-width:125px;
- overflow:hidden;
- z-index:9;
- }
- .moreinfowrap {
- display:flex;
- flex-direction:column;
- gap:.25rem;
- }
- .moreinfo a {
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.35rem;
- }
- .moreinfo-icon {
- display:flex;
- justify-content:center;
- align-items:center;
- margin-left:-1px;
- padding-bottom:1px;
- background:var(--ColorBackground);
- z-index:1;
- }
- .moreinfo-icon i {
- font-size:1.3em;
- color:var(--ColorTitle);
- background:linear-gradient(to top right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- background-clip:text;
- -webkit-background-clip:text;
- transition:ease-in-out .5s;
- }
- .moreinfo a:hover .moreinfo-icon i {color:transparent;}
- .moreinfo a li {
- margin-left:-100%;
- list-style-type:none;
- -webkit-transition: all 01s;
- -moz-transition: all 01s;
- -ms-transition: all 01s;
- -o-transition: all 01s;
- transition: all 01s;
- }
- .moreinfo a:nth-of-type(2) li {transition-delay:.25s; transition-property:margin-left;}
- .moreinfo a:nth-of-type(3) li {transition-delay:.5s; transition-property:margin-left;}
- article:hover .moreinfo a li {margin-left:0;}
- .moreinfo a span {
- font-size:.95em;
- color:var(--ColorText);
- opacity:0;
- text-transform:lowercase;
- white-space:nowrap;
- overflow:hidden;
- text-overflow:ellipsis;
- border-bottom:1px solid var(--ColorBorders);
- -webkit-transition: all 01s;
- -moz-transition: all 01s;
- -ms-transition: all 01s;
- -o-transition: all 01s;
- transition: all 01s;
- }
- .moreinfo a:hover span {color:var(--ColorTitle);}
- article:hover .moreinfo a span {opacity:1;}
- .moreinfo a:nth-of-type(1):hover span {border-bottom:1px solid var(--ColorAccentOne);}
- .moreinfo a:nth-of-type(2):hover span {border-bottom:1px solid var(--ColorAccentTwo);}
- .moreinfo a:nth-of-type(3):hover span {border-bottom:1px solid var(--ColorAccentThree);}
- /*--- POST STUFF ---*/
- article .caption p {
- margin:0!important;
- padding:.5rem 0 .5rem 0;
- }
- .caption p {margin-top:0!important; margin-bottom:0;}
- .caption p:first-of-type {padding-top:.25rem;}
- .caption p:last-of-type {padding-bottom:0;}
- /*-- text posts --*/
- .userlink {
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.5rem;
- padding:0;
- margin:.5rem 0 .5rem 0;
- }
- .userlink.first {display:none;}
- .userlink img {
- width:1.5em;
- height:1.5em;
- border-radius:100%;
- }
- .userlink a {color:var(--ColorTitle); font-weight:600;}
- .userlink a:hover {color:var(--ColorAccentTwo);}
- .userlink a.deactive:after {
- content:'(deactivated)';
- margin-left:.5em;
- font-size:.9em;
- font-weight:normal;
- color:var(--ColorText);
- }
- p:empty {
- display:none;
- }
- article .quote,
- article .source {
- padding:1rem;
- }
- article h1 {
- margin:0;
- padding:1rem 0 1rem 0;
- font-family:'{text:title font}', sans-serif;
- font-size:1.3rem;
- color:var(--ColorTitle);
- }
- article h2 {
- margin:0;
- padding:.5rem 0 .5rem 0;
- }
- article img {display:block;}
- article iframe,
- article img {max-width:100%;}
- .vignette, #vignette {opacity:0;}
- .tmblr-lightbox, #tumblr_lightbox {
- backdrop-filter:blur(10px);
- background-color:rgba(0,0,0,.25)!important;
- z-index:9999999;
- }
- .lightbox-image, #tumblr_lightbox img {
- box-shadow:none!important;
- }
- #tumblr_lightbox_caption, .lightbox-caption {
- color:#fff!important;
- font-family:inherit;
- margin-top:1em!important;
- z-index:9999999;
- }
- /*-- photo posts --*/
- .npf_inst > *:last-child {
- border-radius:0 0 var(--Corners) var(--Corners);
- }
- .npf_inst > *:first-child {
- border-radius:var(--Corners) var(--Corners) 0 0;
- }
- .npf_inst > *:only-child {
- border-radius:var(--Corners);
- }
- /*-- poll posts --*/
- .poll-post {padding:0;}
- .poll-post p {padding-top:.5rem!important; padding-bottom:.5rem!important;}
- .poll-post .poll-question {
- font-size:1.2rem!important;
- color:var(--ColorTitle);
- padding:0!important;
- margin:0!important;
- }
- .poll-post a.poll-row {}
- .poll-post a.poll-row:hover {}
- .poll-post .poll-see-results {
- font-weight:bold;
- text-transform:uppercase;
- color:var(--ColorTitle)!important;
- }
- /*-- quote posts --*/
- .quotepost {width:100%;}
- .quote {
- font-family:'{text:title font}', sans-serif;
- font-size:1.1em;
- color:var(--ColorTitle);
- }
- .source {
- color:var(--ColorTitle);
- }
- /*-- link posts --*/
- .npf-link-block, .linkpost {
- position:relative;
- width:100%;
- margin:0!important;
- color:var(--ColorPosts)!important;
- text-shadow:0 1px rgba(0,0,0,.1);
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- border:none!important;
- border-radius:var(--Corners)!important;
- z-index:1;
- }
- .linkpost {padding:.75rem;}
- .npf-link-block .poster {border-bottom:none!important; border-radius:0!important;}
- .npf-link-block .description, .linkpost a {
- color:var(--ColorPosts)!important;
- text-shadow:0 1px rgba(0,0,0,.1);
- transition:ease-in-out .5s;
- }
- .npf-link-block a:hover .description, .linkpost a:hover {text-shadow:none;}
- .npf-link-block .title {text-shadow:0 1px rgba(0,0,0,.1);}
- .npf-link-block .bottom .site-name {
- color:var(--ColorTitle);
- -webkit-transition: all 0.5s;
- -moz-transition: all 0.5s;
- -ms-transition: all 0.5s;
- -o-transition: all 0.5s;
- transition: all 0.5s;
- }
- .npf-link-block a:hover .bottom .site-name {opacity:1;}
- /*-- answer posts --*/
- .answer-post .caption:last-of-type {padding-top:0!important; padding-bottom:0!important;}
- article .question {
- width:100%;
- margin-bottom:1rem;
- display:flex;
- gap:1rem;
- }
- .qicon {
- width:1.5rem;
- height:1.5rem;
- margin-top:.35rem;
- padding:1.5px;
- display:flex;
- justify-content:center;
- align-items:center;
- background:linear-gradient(to top right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- border-radius:100%;
- }
- .qicon img {
- width:100%;
- height:100%;
- border-radius:100%;
- }
- .qbulk {
- position:relative;
- width:calc(100% - 2rem);
- padding:.75rem;
- background:var(--ColorBackground);
- border:1px solid var(--ColorBorders);
- border-radius:var(--Corners);
- }
- .qbulk:after {
- content:'';
- position:absolute;
- top:calc(.5rem + 1px);
- right:calc(-.5rem - 1px);
- width:1rem;
- height:1rem;
- transform:rotate(45deg);
- background:var(--ColorBackground);
- border-top:1px solid var(--ColorBorders);
- border-right:1px solid var(--ColorBorders);
- border-top-right-radius:var(--Corners);
- }
- .qbulk li {
- width:fit-content;
- display:flex;
- justify-content:center;
- align-items:center;
- gap:.25rem;
- }
- .qbulk a {color:var(--ColorTitle);}
- .qbulk a:hover {color:var(--ColorAccentTwo);}
- .qcont {
- position:relative;
- width:100%;
- text-align:left;
- }
- .qcont p:last-of-type {margin-bottom:0;}
- /* answer */
- article .replies, article .answer {
- padding:0;
- }
- .answerheader {
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.5rem;
- }
- .answerheader li {list-style-type:none;}
- .answerheader li a {color:var(--ColorTitle);}
- .answerheader li a:hover {color:var(--ColorAccentTwo);}
- .answerheader .aicon {
- width:1.5rem;
- height:1.5rem;
- display:flex;
- justify-content:center;
- align-items:center;
- padding:1.5px;
- background:linear-gradient(to top right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- border-radius:100%;
- }
- .answerheader .aicon img {
- width:100%;
- height:100%;
- border-radius:100%;
- }
- .answerheader a {color:var(--ColorTitle);}
- .answerheader a:hover {color:var(--ColorAccentTwo);}
- .answercont {}
- .answercont p:last-of-type {margin-bottom:0;}
- /*--- AUDIO POSTS ---*/
- .audiopost {
- width:100%;
- display:flex;
- justify-content:space-between;
- align-items:center;
- background:linear-gradient(to top right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- border-radius:var(--Corners);
- }
- .audiopost iframe {width:100%;}
- .albumart {
- display:flex;
- justify-content:center;
- align-items:center;
- }
- .albumart img {
- width:5.5rem;
- height:5.5rem;
- object-fit:cover;
- border-radius:0 var(--Corners) var(--Corners) 0;
- }
- .audiotitle {
- padding:.5rem 1rem .5rem 1rem;
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:1rem;
- }
- .audioplay {
- width:30px;
- height:30px;
- overflow:hidden;
- position:relative;
- z-index:1;
- }
- .audioplaybg {
- transform:scale(.85);
- display:flex;
- justify-content:center;
- align-items:center;
- padding:8px 8px 5px 5px;
- background:#f2f2f2;
- border-radius:100%;
- }
- .audiotitle li {
- display:flex;
- flex-direction:column;
- align-items:flex-start;
- gap:.15em;
- }
- .audiotitle b {font-size:1.05em; color:var(--ColorPosts); text-shadow:0 1px rgba(0,0,0,.1);}
- .audiotitle span {color:var(--ColorPosts); text-shadow:0 1px rgba(0,0,0,.1);}
- .spotify_audio_player,
- article iframe[src*='soundcloud'] {
- max-height:calc(170px + 1rem);
- border:0;
- padding:1rem;
- padding-bottom:0;
- }
- /*--- CHAT POSTS ---*/
- .chatpost li {
- font-family:'Courier', sans-serif;
- width:100%;
- list-style-type:none;
- }
- .chatpost li b {text-transform:uppercase;}
- .npf_chat {margin:0!important; padding:0!important;}
- .npf_chat:first-of-type {margin:0!important; padding:0!important;}
- /*-- BOTTOM POST INFO --*/
- .bottompostinfo {
- width:3rem;
- float:right;
- margin-top:.5rem;
- margin-left:.5rem;
- display:flex;
- justify-content:flex-end;
- align-items:center;
- gap:.5rem;
- }
- a.reblog-btn {
- display:flex;
- justify-content:center;
- align-items:center;
- }
- a.reblog-btn i {
- font-size:1.5em;
- color:var(--ColorTitle);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- a.reblog-btn:hover i {color:var(--ColorAccentOne);}
- a.like-button {
- display:flex;
- justify-content:center;
- align-items:center;
- }
- a.like-button i {
- font-size:1.35em;
- color:transparent;
- -webkit-text-stroke-width:1.5px;
- -webkit-text-stroke-color:var(--ColorTitle);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- a.like-button:hover i {-webkit-text-stroke-color:var(--ColorAccentOne);}
- .bottompostinfo span {
- display:flex;
- justify-content:center;
- align-items:center;
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- .like-button {
- position:relative;
- display:inline-block;
- }
- .like-button .like_button iframe {
- position:absolute;
- top:0;
- left:0;
- bottom:0;
- right:0;
- z-index:2;
- opacity:0;
- }
- .like_button iframe {width:100%!important; height:100%!important;}
- .like-button .liked + .actual-button i {
- -webkit-text-stroke-color:transparent;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- -webkit-background-clip:text;
- -webkit-text-fill-color:transparent;
- }
- /*--- TAGS ---*/
- .tags {
- width:calc(100% - 3.5rem);
- height:50px;
- margin-top:.5rem;
- opacity:0;
- line-height:140%;
- display:flex;
- justify-content:flex-start;
- align-items:flex-start;
- flex-wrap:wrap;
- gap:0rem .5rem;
- -webkit-transition: all 01s;
- -moz-transition: all 01s;
- -ms-transition: all 01s;
- -o-transition: all 01s;
- transition: all 01s;
- }
- article:hover .tags {opacity:1;}
- .tags span {
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- -webkit-background-clip:text;
- -webkit-text-fill-color:transparent;
- }
- .tags a {font-size:.975em; color:var(--ColorText);}
- .tags a:nth-of-type(odd):hover {color:var(--ColorAccentOne);}
- .tags a:nth-of-type(even):hover {color:var(--ColorAccentTwo);}
- /*--- TAG / DAY PAGES ---*/
- article.tdpage {
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.5rem;
- }
- article.tdpage b {}
- article.tdpage i {
- font-size:1.3em;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- -webkit-background-clip:text;
- -webkit-text-fill-color:transparent;
- }
- /*--- PERMALINK PAGE ---*/
- .permalinkpage {
- width:100%;
- max-width:var(--PostWidth);
- background:var(--ColorPosts);
- border-radius:var(--Corners);
- border:1px solid var(--ColorBorders);
- }
- .permalink-info {
- width:100%;
- padding:.75rem;
- display:flex;
- flex-direction:column;
- justify-content:flex-start;
- align-items:flex-start;
- gap:1rem;
- }
- .permalink-info li {
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.5rem;
- }
- .permalink-info span {text-transform:lowercase;}
- .permalink-info li i {
- font-size:1.2em;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- -webkit-background-clip:text;
- -webkit-text-fill-color:transparent;
- }
- .permalink-info a {font-weight:600; color:var(--ColorTitle);}
- .permalink-info a:hover {color:var(--ColorAccentOne);}
- .permalink-info b {font-weight:500;}
- /* post notes */
- .postnotes {width:100%; padding:.75rem; border-top:1px solid var(--ColorBorders);}
- ol.notes {
- max-width:100%;
- margin:0;
- padding:0;
- font-size:.95em;
- }
- .more_notes_link {
- width:100%!important;
- }
- a.more_notes_link {
- font-size:.925em;
- font-weight:normal;
- color:var(--ColorTitle);
- letter-spacing:.075em;
- text-transform:uppercase!important;
- }
- a.more_notes_link:hover {color:var(--ColorAccentOne);}
- ol.notes li.note blockquote {
- display:none;
- }
- ol.notes li.note {
- padding:.5rem .75rem .5rem 0;
- list-style-type:none;
- display:flex;
- align-items:center;
- gap:.25rem;
- font-size:.975em;
- }
- ol.notes li.note:first-of-type {border-top:none;}
- ol.notes li.note a {color:var(--ColorTitle); font-weight:500; text-transform:lowercase;}
- ol.notes li.note img.avatar {
- display:none;
- }
- ol.notes li.note.reblog::after {
- content:'\ec37';
- color:var(--ColorAccentOne);
- }
- ol.notes li.note.like::after {
- content:'\eb04';
- color:var(--ColorAccentTwo);
- }
- ol.notes li.note.reply::after {
- content:'\e9d7';
- color:var(--ColorAccentTwo);
- }
- ol.notes li.note.reply span {
- width:calc(100% - 3rem);
- color:var(--ColorText);
- white-space:nowrap;
- overflow:hidden;
- text-overflow:ellipsis;
- }
- ol.notes li.note.reply span.action {
- color:var(--ColorText);
- }
- ol.notes li.note.original_post::after {
- content:'\eb68';
- color:var(--ColorTitle);
- }
- ol.notes li.note.original_post {
- font-weight:bold;
- color:var(--ColorTitle);
- }
- ol.notes li.note.reblog, ol.notes li.note.like, ol.notes li.note.original_post, ol.notes li.note.reply, a.more_notes_link {
- position:relative;
- }
- ol.notes li.note.reblog span, ol.notes li.note.like span, ol.notes li.note.original_post span, ol.notes li.note.reply span {margin-right:.3em; margin-left:.3em;}
- ol.notes li.note.reblog::after, ol.notes li.note.like::after, ol.notes li.note.original_post::after, ol.notes li.note.reply::after, a.more_notes_link::after {
- position:absolute;
- right:0;
- font-family:'cappuccicons';
- }
- /*--- PAGINATION ---*/
- article.pagination {
- display:flex;
- justify-content:space-between;
- align-items:center;
- gap:1rem;
- }
- .paginationtitle {
- font-size:.95em;
- text-transform:lowercase;
- white-space:nowrap;
- }
- a.pg-prev, a.pg-next {
- display:flex;
- justify-content:center;
- align-items:center;
- gap:.25rem;
- }
- a.pg-prev i, a.pg-next i {
- font-size:1.5em;
- color:var(--ColorTitle);
- background:linear-gradient(to top right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- background-clip:text;
- -webkit-background-clip:text;
- transition:ease-in-out .5s;
- }
- a.pg-prev:hover i, a.pg-next:hover i {color:transparent;}
- a.pg-prev span, a.pg-next span {
- color:var(--ColorText);
- -webkit-transition: all 0.5s;
- -moz-transition: all 0.5s;
- -ms-transition: all 0.5s;
- -o-transition: all 0.5s;
- transition: all 0.5s;
- }
- a.pg-prev:hover span, a.pg-next:hover span {color:var(--ColorTitle);}
- a#nobtn {opacity:.4; cursor:not-allowed;}
- a#nobtn i {color:var(--ColorText);}
- a#nobtn:hover i, a#nobtn:hover span {color:var(--ColorText);}
- /*--- RESPONSIVENESS
- @media only screen and (max-width: 900px) {
- #leftsidebar {display:none;}
- }
- {CustomCSS}
- </style>
- <!--✻✻✻✻✻✻ UN-BLUE POLLS by @glenthemes ✻✻✻✻✻✻-->
- <link href="//static.tumblr.com/gtjt4bo/mXBrpdj0n/unblue-polls.css" rel="stylesheet">
- <style>
- .poll-post {
- --Poll-Question-Font-Size:1.2em;
- --Poll-Option-Background-Color:var(--ColorPosts);
- --Poll-Option-Corner-Rounding:var(--Corners);
- --Poll-Option-Border-Size:1px;
- --Poll-Option-Border-Color:var(--ColorBorders);
- --Poll-Option-Padding:.25rem;
- --Poll-Option-Font-Size:1em;
- --Poll-Option-Spacing:.25rem;
- --Poll-Option-Text-Color:var(--ColorText);
- --Poll-Option-HOVER-Border-Color:var(--ColorAccentOne);
- --Poll-Option-HOVER-Background-Color:var(--ColorAccentOne);
- --Poll-Option-HOVER-Text-Color:var(--ColorBackground);
- --Poll-Option-HOVER-Speed:0.4s;
- }
- </style>
- </head>
- <body class="{block:homepage}home{/block:homepage}{block:tagpage}tag{/block:tagpage}{block:searchpage}search{/block:searchpage}{block:submitpage}submit-{/block:submitpage}{block:AskPage}ask{/block:AskPage}-page">
- <!--✻✻✻✻✻✻ npf audio player by @glenthemes ✻✻✻✻✻✻-->
- <script src="//tmblr-npf-audio.gitlab.io/s/init.js"></script>
- <link href="//tmblr-npf-audio.gitlab.io/s/base.css" rel="stylesheet">
- <script>
- tumblr_npf_audio({
- emptyTitleText: "untitled track",
- emptyArtistText: "untitled artist",
- emptyAlbumText: "",
- titleLabel: "",
- artistLabel: "",
- albumLabel: ""
- });
- </script>
- <style edit-npf-audio-player>
- figcaption.audio-caption,
- figcaption.audio-caption + audio[controls]{
- display:none!important;
- }
- .npf-audio-wrapper {
- --NPF-Audio-Buttons-Size: 1.4rem;
- --NPF-Audio-Buttons-Color:var(--ColorPosts); /* color of play & pause buttons */
- --NPF-Audio-Buttons-Spacing: 1.3rem; /* space between buttons and song info */
- --NPF-Audio-Image-Size:85px;
- --NPF-Audio-Image-Spacing:0px; /* gap between player info and cover image */
- }
- .npf-audio-image {border-radius:0 var(--Corners) var(--Corners) 0;}
- .npf-audio-background {
- background:linear-gradient(to top right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree)); /* background color of player (optional) */
- padding:1.5rem;
- border-radius:var(--Corners) 0 0 var(--Corners);
- }
- .npf-audio-title-label,
- .npf-audio-artist-label,
- .npf-audio-album-label {
- font-weight:bold;
- }
- .npf-audio-title,
- .npf-audio-artist,
- .npf-audio-album {
- color:var(--ColorPosts); /* color of audio text (optional) */
- text-shadow:0 1px rgba(0,0,0,.1);
- }
- .npf-audio-title {font-weight:bold;}
- </style>
- <!-- main container -->
- <main>
- <!--- FIXED BUTTONS --->
- <div class="fixedbuttons">
- <a id="totop" title="back to top" href="#top" target="_self"><i class="ti ti-arrow-narrow-up"></i></a>
- <!-- day/night -->
- <button id="theme-toggle" aria-label="toggle dark or light mode" type="button">
- <span class="light-on" title="turn off the lights"><i class="ti ti-moon"></i></span>
- <span class="light-off" title="turn on the lights"><i class="ti ti-sun-high"></i></span>
- </button>
- <a title="toggle controls" id="controlsbutton"><i class="ti ti-settings"></i></a>
- </div>
- </div><!-- fixed buttons ends -->
- <!-- main content -->
- <section>
- <!--- LEFT SIDEBAR --->
- <div id="leftsidebar">
- {block:ifSidebarImage}<div class="sb-img"><img src="{image:Sidebar}"></div>{/block:ifSidebarImage}
- <a class="sb-title" href="/">{Title}</a>
- <div class="sb-desc">{text:Custom Description}</div>
- <nav><!-- sidebar nav -->
- <a class="mainlink" href="/"><i class="ti ti-home"></i><span>home</span></a>
- <a class="mainlink" href="/ask"><i class="ti ti-message-circle"></i><span>ask</span></a>
- <a class="mainlink" href="/archive"><i class="ti ti-archive"></i></i><span>archive</span></a>
- {block:ifSidebarLink1}<a class="mainlink" href="{text:Sidebar Link 1}"><i class="ti ti-flower"></i><span>{text:Sidebar Link 1 Name}</span></a>{/block:ifSidebarLink1}
- {block:ifSidebarLink2}<a class="mainlink" href="{text:Sidebar Link 2}"><i class="ti ti-mushroom"></i><span>{text:Sidebar Link 2 Name}</span></a>{/block:ifSidebarLink2}
- {block:ifPopupLink1}<a class="mainlink" id="navbutton"><i class="ti ti-caret-right"></i><span>navigate</span></a>
- <div class="sb-nav"><!-- nav popup -->
- <div class="sb-navtitle"><b>tags</b></div>
- <a href="{text:Popup Link 1}"><span>{text:Popup Link 1 Name}</span></a>
- {block:ifPopupLink2}<a href="{text:Popup Link 2}"><span>{text:Popup Link 2 Name}</span></a>{/block:ifPopupLink2}
- {block:ifPopupLink3}<a href="{text:Popup Link 3}"><span>{text:Popup Link 3 Name}</span></a>{/block:ifPopupLink3}
- {block:ifPopupLink4}<a href="{text:Popup Link 4}"><span>{text:Popup Link 4 Name}</span></a>{/block:ifPopupLink4}
- {block:ifPopupLink5}<a href="{text:Popup Link 5}"><span>{text:Popup Link 5 Name}</span></a>{/block:ifPopupLink5}
- {block:ifPopupLink6}<a href="{text:Popup Link 6}"><span>{text:Popup Link 6 Name}</span></a>{/block:ifPopupLink6}
- </div>{/block:ifPopupLink1}
- </nav>
- </div><!-- left sidebar ends -->
- <div class="section-wrap"><!-- posts start -->
- <!--- TAG AND DAY PAGES --->
- {block:TagPage}
- <article class="tdpage">
- <i class="ti ti-tag"></i>
- <div class="tdpage-text">showing <b>{tagresultcount}</b> posts tagged <b>#{Tag}</b></div>
- </article>
- {/block:TagPage}
- {block:DayPage}
- <article class="tdpage">
- <i class="ti ti-calendar-event"></i>
- <div class="tdpage-text">showing posts made on <b>{Month} {DayOfMonth}{DayofMonthSuffix}, {Year}</b></div>
- </article>
- {/block:DayPage}
- {block:posts inlineMediaWidth="1280" inlineNestedMediaWidth="1280"}
- <article class="posts" id="{PostID}" post-type="{PostType}">
- <div class="article-wrap"><!-- article wrap -->
- {block:Date}
- <div class="topinfo"><!-- top post info -->
- <div class="topinfoleft">
- {block:NotReblog}
- <div class="til-name">
- {block:PinnedPostLabel}<div id="pinned" class="til-icon"><i class="ti ti-pin"></i></div>{/block:PinnedPostLabel}
- <div class="til-icon" {block:PinnedPostLabel}style="display:none;"{/block:PinnedPostLabel}><i class="ti ti-map-pin"></i></div>
- <a href="{Permalink}"><b>{text:Blog Name}</b></a>
- </div>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="til-name">
- {block:PinnedPostLabel}<div id="pinned" class="til-icon"><i class="ti ti-pin"></i></div>{/block:PinnedPostLabel}
- <div class="til-icon" {block:PinnedPostLabel}style="display:none;"{/block:PinnedPostLabel}><i class="ti ti-user"></i></div>
- <a target="_blank" href="{ReblogRootURL}"><b>{ReblogRootName}</b></a>
- </div>
- {/block:RebloggedFrom}
- </div>
- <div class="moreinfo"><!-- more info -->
- <div class="moreinfowrap">
- {block:RebloggedFrom}
- <a href="{ReblogParentURL}"><div class="moreinfo-icon"><i class="ti ti-reload"></i></div><li><span>{ReblogParentName}</span></li></a>
- {/block:RebloggedFrom}
- <a href="{Permalink}"><div class="moreinfo-icon"><i class="ti ti-calendar-dot"></i></div><li><span>{ShortMonth} {DayofMonth}{DayofMonthSuffix} {Year}</span></li></a>
- {block:NoteCount}<a href="{Permalink}"><div class="moreinfo-icon"><i class="ti ti-note"></i></div><li><span class="notecount" >{NoteCountWithLabel}</span></li></a>{/block:NoteCount}
- </div>
- </div><!-- more info ends -->
- </div><!-- top post info ends -->
- {/block:Date}
- <div class="post-wrap"><!-- post wrap // posts start -->
- {block:Photo}
- <div class="photopost"><img src="{PhotoURL-HighRes}" alt="{photoalt}" class="photos"></div>
- {/block:Photo}
- {block:Photoset}
- <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>
- {/block:Photoset}
- {block:Quote}<!-- quote posts -->
- <div class="quotepost">
- <div class="quote">
- "{Quote}"
- </div>
- <div class="source">
- -{Source}
- </div>
- </div>{/block:Quote}
- {block:Chat}<!-- chat posts -->
- <div class="chatpost">
- {block:Lines}
- <li>
- {block:Label}<b>{Label}</b>{/block:Label}
- <span>{Line}</span>
- </li>
- {/block:Lines}
- </div>
- {/block:Chat}
- {block:Link}<!-- link posts -->
- <div class="linkpost">
- <a href="{URL}" target="_blank">
- {Name}
- </a>
- </div>
- {/block:Link}
- {block:Video}<!-- video posts -->
- {Video-700}
- {/block:Video}
- {block:Audio}<!-- audio posts -->
- <div class="audiopost">
- <div class="audiotitle">
- <div class="audioplaybg"><div class="audioplay">{block:AudioPlayer}{AudioPlayer}{/block:AudioPlayer}</div></div>
- <li><b>{block:trackname}{Trackname}{/block:trackname}</b>
- <span>{block:Artist}{Artist}{/block:Artist}</span></li>
- </div><!-- audiotitle -->
- <div class="albumart">{block:albumart}<img src="{AlbumArtURL}">{/block:albumart}</div>
- </div>
- {/block:Audio}
- {block:Answer}<!-- answer posts -->
- <div class="answer-post">
- <div class="question">
- <div class="qbulk">
- <li><b>{Asker}</b> sent:</li>
- <div class="qcont">{Question}</div>
- </div>
- <div class="qicon"><img src="{AskerPortraitURL-128}"></div>
- </div>
- {block:Answerer}
- <div class="answer">
- <div class="answerheader"><div class="aicon"><img src="{AnswererPortraitURL-128}"></div><li><b>{Answerer}</b> answered:</li></div>
- <div class="answercont">{Answer}</div>
- </div>
- {/block:Answerer}
- {block:NotReblog}
- <div class="answer">
- <div class="answerheader"><div class="aicon"><img src="{PortraitURL-128}"></div><li><b><a href="/">{text:Blog Name}</a></b> answered:</li></div>
- <div class="answercont">{Replies}</div>
- </div>
- {/block:NotReblog}
- </div>{/block:Answer}
- <!-- text posts -->
- <div class="caption {block:notreblog} original-post {/block:notreblog}">
- {block:Text}
- {block:Title}<h2>{Title}</h2>{/block:Title}
- {/block:Text}
- {block:NotReblog}
- {block:Caption}{Caption}{/block:Caption}
- {block:Text}{Body}{/block:Text}
- {/block:NotReblog}
- {block:Rebloggedfrom}
- {block:Reblogs}
- <div class="reblogs">
- <div class="userlink source-head">
- <a href="{Permalink}" target="_blank"><img src="{PortraitURL-64}" alt="{username}'s avatar"></a>
- <a href="{permalink}" target="_blank" {block:isdeactivated}class="deactive"{/block:isdeactivated}>{username}</a>
- </div>
- <div class="reblog-content">
- {Body}
- </div>
- </div>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- </div><!-- caption -->
- </div><!-- post wrap ends -->
- {block:Date}<!-- BOTTOM POST INFO --->
- <div class="bottompostinfo">
- <a title="like" class="like-button" href="#">{LikeButton} <span class="actual-button"><i class="ti ti-heart-filled"></i></span></a>
- <a title="reblog" class="reblog-btn" href="{ReblogURL}" target="_blank"><i class="ti ti-refresh"></i></a>
- </div>{/block:Date} <!-- bottom post info ends -->
- <!--- TAGS --->
- <div class="tags">
- {block:Tags}<a href="{TagURL}"><span>#</span>{Tag}</a>{/block:Tags}
- </div>
- </div><!-- article-wrap -->
- <!--- PERMALINK PAGE --->
- {block:PermalinkPage}{block:Date}
- <div class="permalinkpage">
- <div class="permalink-info">
- {block:NotReblog}
- <li><i class="ti ti-map-pin"></i><span>original post by <a href="{PostAuthorURL}">{PostAuthorName}</a></span></li>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <li><i class="ti ti-map-pin"></i><span>originally posted by <a href="{ReblogRootURL}">{ReblogRootName}</a></span></li>
- <li><i class="ti ti-refresh"></i><span>reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a></span></li>
- {/block:RebloggedFrom}
- <li><i class="ti ti-calendar-heart"></i><span class="date"><a href="/day/{Year}/{MonthNumberWithZero}/{dayofmonthwithzero}">{DayofWeek}, {Month} {DayofMonth}{DayofMonthSuffix} {Year}</a> at <b>{12Hour}:{Minutes}{AMPM}</b></span></li>
- <li><i class="ti ti-notes"></i><span><b>{NoteCountWithLabel}</b></span></li>
- </div>
- {block:NoteCount}{block:PostNotes}<!-- post notes -->
- <div class="postnotes">
- {PostNotes-64}
- </div>{/block:PostNotes}{/block:NoteCount}
- </div>
- {/block:Date}{/block:PermalinkPage}
- </article><!--- POSTS END --->
- {/block:Posts}
- {block:Pagination}
- <article class="pagination"><!-- PAGINATION -->
- {block:PreviousPage}
- <a class="pg-prev" href="{PreviousPage}"><i class="ti ti-caret-left"></i><span>back</span></a>
- {/block:PreviousPage}
- <a class="pg-prev" id="nobtn" {block:PreviousPage}style="display:none;"{/block:PreviousPage}><i class="ti ti-caret-left"></i><span>back</span></a>
- <div class="paginationtitle"><b>{CurrentPage}</b> of {TotalPages}</div>
- <a class="pg-next" id="nobtn" {block:NextPage}style="display:none;"{/block:NextPage}><i class="ti ti-caret-right"></i></a>
- {block:NextPage}
- <a class="pg-next" href="{NextPage}"><span>next</span><i class="ti ti-caret-right"></i></a>
- {/block:NextPage}
- </article><!-- pagination ends -->
- {/block:Pagination}
- </div><!-- section wrap -->
- </section>
- <!-- FIXED CREDIT: DO NOT TOUCH -->
- <a class="credit" href="//phantomcodes.tumblr.com" title="custom theme by sage"><i class="ti ti-ghost-2"></i></a>
- </main>
- </body>
- <script>
- /// photoset
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: 'corners',
- gutter: '4px',
- borderRadius: 'var(--Corners)',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- });
- // tooltips
- tippy('[title]', {
- theme: 'custom',
- arrow: false,
- followCursor: true,
- delay: 100,
- placement: 'top',
- offset: "0, 10",
- zIndex: 9999999999,
- maxWidth: 400,
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title');
- return title;
- },
- });
- // videos
- $(document).ready(function() {
- flexibleFrames($(".video")); // $(".video") is the class selector passed in the argument
- });
- // toggle tags
- $(document).ready(function(){
- $('.clicktags').hide();
- $('.clicktagsbutton').click(function() {
- $(this).closest('article').find('.clicktags').slideToggle(0);
- $(this).toggleClass('tags-click');
- return false;
- });
- });
- // notes shortener
- var $container = $('article');
- $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');
- }
- });
- // first userlink
- $(document).ready(function(){
- $('article').find('.userlink:first').addClass("first");
- });
- // tumblr controls
- $(document).ready(function(){
- $('a#controlsbutton').click(function(){
- $('body').toggleClass('controls-click');
- });
- });
- // sidebar popup
- $(document).ready(function(){
- $('a#sidebarbutton').click(function(){
- $('body').toggleClass('sidebar-click');
- $('a#sidebarbutton i').toggleClass("ti-layout-grid-remove");
- });
- });
- // nav popup
- $(document).ready(function(){
- $('a#navbutton').click(function(){
- $('body').toggleClass('nav-click');
- });
- });
- // searchbar
- $(document).ready(function(){
- $('.search').submit(function(event){
- var value = $('input:first').val();
- location.replace('http://{Name}.tumblr.com/search/' + value);
- });
- });
- // scroll to top
- $(document).ready(function(){
- $('a#totop').click(function(){
- $('html, body').animate({scrollTop : 0},800);
- return false;
- });
- });
- var mybutton = document.getElementById("totop");
- window.onscroll = function() {scrollFunction()};
- function scrollFunction() {
- if (document.body.scrollTop > 500 || document.documentElement.scrollTop > 500) {
- mybutton.style.display = "flex";
- } else {
- mybutton.style.display = "none";
- }
- }
- // day/night mode
- const toggle = document.getElementById("theme-toggle");
- toggle.onclick = function () {
- // add class to html and make transition snappy
- document.documentElement.classList.add("theme-transition");
- // alright lets retrive the info from data-theme
- let currentTheme = document.documentElement.getAttribute("data-theme");
- // if it's dark already, let's go into the light
- let targetTheme = "light";
- // but if it is light let's toggle dark mode
- if (currentTheme === "light") {
- targetTheme = "dark";
- }
- // ok now that theme has been toggled, get rid of snappy transition
- window.setTimeout(function () {
- document.documentElement.classList.remove("theme-transition");
- }, 50);
- // we're going to save our theme preference now
- document.documentElement.setAttribute("data-theme", targetTheme);
- localStorage.setItem("theme", targetTheme);
- };
- // remove empty p tags
- for (const p of document.querySelectorAll('p')) {
- if (p.innerHTML.trim() === '') {
- p.remove()
- }
- }
- </script>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment