Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- andrômeda (updated) by kosmique.tumblr.com
- ✧・゚: *✧・゚:*゚✧*:・゚✧
- * base code by eggdesign
- * npf images fix by glenthemes
- * flexible frames by nouvae (modified by seyche)
- * pxu photoset and lightboxes by shythemes
- * customaudio.js by annasthms
- full credits list at kosmique.tumblr.com/credits
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <title>
- {block:PostSummary}{PostSummary} : {/block:PostSummary}
- {block:TagPage}#{Tag} : {/block:TagPage}
- {block:SearchPage}{SearchQuery} : {/block:SearchPage}
- {block:DayPage}{MonthNumberWithZero}/{DayOfMonthWithZero}/{Year} : {/block:DayPage}
- {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 charset="utf-8"/>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- {NewPostStyles}
- {block:Options}
- <!--============================== variables ==============================-->
- <!----- images ----->
- <meta name="image:Sidebar image" content=""/>
- <!----- booleans ----->
- <!----- selections ----->
- <meta name="select:Post width" content="450px"/>
- <meta name="select:Post width" content="500px"/>
- <meta name="select:Post width" content="540px"/>
- <meta name="select:Sidebar position" content="left" title="Left"/>
- <meta name="select:Sidebar position" content="right" title="Right"/>
- <!----- colors ----->
- <meta name="color:Background" content="#141518"/>
- <meta name="color:Text" content="#c0c0c0"/>
- <meta name="color:Link" content="#ffffff"/>
- <meta name="color:Title" content="#ffffff"/>
- <meta name="color:Sub text" content="#ffffff"/>
- <meta name="color:Borders" content="#292c33"/>
- <meta name="color:Main boxes" content="#1d1f24"/>
- <meta name="color:Inner boxes" content="#141518"/>
- <meta name="color:Shadows" content="#0f1012"/>
- <meta name="color:Accent" content="#ff99b8"/>
- <meta name="color:Details" content="#72b8e0"/>
- <meta name="color:Sidebar gradient one" content="#ff99b8"/>
- <meta name="color:Sidebar gradient two" content="#72b8e0"/>
- <!----- texts ----->
- <meta name="text:Font" content="Libre Franklin"/>
- <meta name="text:Description" content="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse eros metus, posuere sit amet feugiat eget, vestibulum viverra erat."/>
- <meta name="text:Your name" content="your name"/>
- <meta name="text:Your birthday" content="your birthday"/>
- <meta name="text:Your zodiac" content="your zodiac"/>
- <meta name="text:Your location" content="your location"/>
- <meta name="text:Your pronouns" content="your pronouns"/>
- <meta name="text:Your song" content="your favorite song"/>
- <meta name="text:Link one title" content="link title"/>
- <meta name="text:Link one url" content="/"/>
- <meta name="text:Link two title" content="link title"/>
- <meta name="text:Link two url" content="/"/>
- <meta name="text:Link three title" content="link title"/>
- <meta name="text:Link three url" content="/"/>
- <meta name="text:Link four title" content="link title"/>
- <meta name="text:Link four url" content="/"/>
- <meta name="text:Link five title" content="link title"/>
- <meta name="text:Link five url" content="/"/>
- <meta name="text:Link six title" content="link title"/>
- <meta name="text:Link six url" content="/"/>
- {/block:Options}
- <!--============================== links ==============================-->
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family={text:Font}:wght@400;700&display=swap" rel="stylesheet">
- <link rel="stylesheet" href="//npf-images-v3.github.io/recon.css">
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons@latest/iconfont/tabler-icons.min.css">
- <link href="//static.tumblr.com/gtjt4bo/mXBrpdj0n/unblue-polls.css" rel="stylesheet">
- <link href="//tmblr-npf-audio.gitlab.io/s/base.css" rel="stylesheet">
- <!--============================== scripts ==============================-->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
- <script src="//npf-images-v3.github.io/script.js"></script>
- <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script src="https://static.tumblr.com/dj2anrv/ZVmq8svlk/jquery.style-my-tooltips.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.10/SmoothScroll.js"></script>
- <script src="https://seyche.github.io/external-files-hosting/plugins/flexframes-modified.js"></script>
- <script src="https://static.tumblr.com/0podkko/aZZqe4033/customaudio.min.js"></script>
- <script src="//tmblr-npf-audio.gitlab.io/s/init.js"></script>
- <!--============================== css ==============================-->
- <style>
- *{box-sizing:border-box;}
- *:not(a),
- ::before,
- ::after{transition:background .3s, border .3s}
- :root {
- /*colors*/
- --background-color:{RGBcolor:background};
- --text:{RGBcolor:text};
- --link:{RGBcolor:link};
- --title:{RGBcolor:title};
- --sub-text:{RGBcolor:sub text};
- --accent:{RGBcolor:accent};
- --details:{RGBcolor:details};
- --borders:{RGBcolor:borders};
- --shadows:{RGBcolor:shadows};
- --scrollbar:var(--gradient);
- --main-boxes:{RGBcolor:main boxes};
- --inner-boxes:{RGBcolor:inner boxes};
- --side1:{RGBcolor:sidebar gradient one};
- --side2:{RGBcolor:sidebar gradient two};
- --sidebar:linear-gradient(147deg, rgb(var(--side1)), rgb(var(--side2)));
- --gradient:linear-gradient(147deg, rgb(var(--accent)), rgb(var(--details)));
- /*images*/
- /*fonts*/
- --main-font:'{text:Font}';
- --sub-font:'{text:sub font}';
- --font-size:16px;
- /*npf set*/
- --NPF-Caption-Spacing:1em;
- --NPF-Image-Spacing:1px;
- /*content adjustments*/
- --gap:50px;
- --posts-width:{select:post width};
- --sidebar-width:320px;
- --main-width:calc(var(--sidebar-width) + var(--gap) + var(--posts-width));
- --border-radius:5px;
- --icon-radius:100%;
- --border:1px solid rgb(var(--borders));
- --shadow:3px 3px 7px -3px rgba(var(--shadows));
- }
- /*basic css*/
- body{
- margin:0;
- padding:0;
- height:100%;
- overflow-x:hidden;
- word-break:break-word;
- color:rgb(var(--text));
- background-color:rgb(var(--background-color));
- font:400 var(--font-size)/1.6 var(--main-font), sans-serif;
- }
- :focus{
- border:0;
- outline:0;
- }
- a{
- text-decoration:none;
- color:rgb(var(--link));
- }
- a:not([class]),
- a:hover{
- cursor:pointer;
- transition:ease .3s;
- text-decoration:none;
- -moz-transition:ease .3s;
- -webkit-transition:ease .3s;
- }
- .tags nav a,
- .blog-description a,
- ol.notes span.action a,
- .original a:not([class]),
- .reblog-content a:not([class]){
- border-image-slice:1;
- border-bottom:1px solid;
- border-image-source:var(--gradient);
- }
- .tags nav a:hover,
- .blog-description a:hover,
- ol.notes span.action a:hover,
- .original a:not([class]):hover,
- .reblog-content a:not([class]):hover{color:rgb(var(--link),.75)}
- b,
- strong{font-weight:700;}
- b,
- i,
- u,
- s,
- strike{color:rgb(var(--accent));}
- small,
- sub,
- sup{font-size:.7em;}
- big{font-size:1.1em;}
- p {margin-block:.5em;}
- h1,
- h2,
- h3,
- h4 {
- margin:1rem 0;
- font-weight:700;
- }
- h1{font-size:1.25em;}
- h2{font-size:1.15em;}
- h3{font-size:1.05em;}
- h4,
- h5,
- h6{font-size:1em;}
- h1:first-of-type,
- h2:first-of-type,
- h3:first-of-type,
- h4:first-of-type {margin-top:0;}
- blockquote{
- padding:15px;
- margin:.5em 0;
- border:var(--border);
- border-radius:var(--border-radius);
- }
- pre{
- display:block;
- user-select:all;
- margin-block:.5em;
- -ms-user-select:all;
- white-space:pre-wrap;
- -webkit-user-select:all;
- }
- code{
- margin:0;
- display:inline;
- }
- ul,
- ol{
- margin-block:.5em;
- padding-left:20px;
- }
- ol{list-style:lower-alpha;}
- ul li::marker,
- ol li::marker{color:rgb(var(--accent));}
- p:first-child,
- ul:first-child,
- ol:first-child,
- pre:first-child,
- blockquote:first-child{margin-top:0;}
- p:last-child,
- ul:last-child,
- ol:last-child,
- pre:last-child,
- blockquote:last-child{margin-bottom:0;}
- hr {
- width:100%;
- height:1px;
- border:none;
- box-shadow:0;
- margin-block:20px;
- background:rgb(var(--borders));
- }
- /*buttons*/
- a.fixed{
- z-index:9;
- width:35px;
- right:20px;
- height:35px;
- display:grid;
- position:fixed;
- place-items:center;
- border-radius:100%;
- border:var(--border);
- background:rgb(var(--main-boxes));
- }
- a.fixed svg{
- width:18px;
- height:18px;
- }
- body > a.credits{bottom:20px}
- a.credits svg{
- transition:all .3s;
- -moz-transition:all .3s;
- -webkit-transition:all .3s;
- }
- a.credits:hover svg{
- fill:rgb(255, 249, 64);
- color:rgb(255, 249, 64);
- filter:drop-shadow(0 0 4px rgb(255, 249, 64));
- }
- a.back{bottom:75px;}
- /*selection*/
- ::selection {
- color:rgb(var(--accent));
- background-color:rgb(var(--background-color));
- }
- ::-moz-selection {
- color:rgb(var(--accent));
- background-color:rgb(var(--background-color));
- }
- /*tumblr controls*/
- .tmblr-iframe{
- opacity:0;
- visibility:hidden;
- top:25px!important;
- transition:ease .3s;
- right:25px!important;
- z-index:12!important;
- -moz-transition:ease .3s;
- transform-origin:right top;
- -webkit-transition:ease .3s;
- transform:scale(0.7)!important;
- -moz-transform:scale(0.7)!important;
- -webkit-transform:scale(0.7)!important;
- }
- .tmblr-iframe.active{
- opacity:1;
- visibility:visible;
- }
- .tmblr-iframe--follow-teaser,
- .tmblr-iframe--app-cta-button{display:none !important;}
- /*tooltip*/
- #s-m-t-tooltip{
- font-size:11px;
- z-index:9999999;
- max-width:300px;
- font-weight:700;
- position:relative;
- border-radius:5px;
- letter-spacing:1px;
- padding:.5em 1.25em;
- margin:0 14px 7px 30px;
- -moz-border-radius:5px;
- color:rgb(255,255,255);
- text-transform:uppercase;
- -webkit-border-radius:5px;
- background:rgba(0,0,0,.85);
- }
- /*scrollbar*/
- ::-webkit-scrollbar{
- width:15px;
- height:15px;
- padding:5px;
- outline-offset:-6px;
- outline:1px solid rgb(var(--borders));
- background-color:rgb(var(--background-color));
- }
- ::-webkit-scrollbar-thumb {
- border-radius:10px;
- background-clip:padding-box;
- border:5px solid transparent;
- background-image:var(--scrollbar);
- }
- /*lightboxes*/
- img{
- height:auto;
- display:block;
- max-width:100%;
- }
- iframe{display:block;}
- .vignette,
- #vignette {opacity:0;}
- .lightbox-image,
- #tumblr_lightbox img {
- box-shadow:none !important;
- border-radius:0 !important;
- max-width:none;
- }
- .tmblr-lightbox,
- #tumblr_lightbox {background:rgba(var(--background-color),.9) !important;}
- .lightbox-caption,
- #tumblr_lightbox_caption {visibility:hidden;}
- .npf_row figure{cursor:pointer;}
- .npf_row figure:focus{outline:0;}
- /*-============================== main ==============================-*/
- main{
- display:grid;
- gap:var(--gap);
- align-items:start;
- margin:var(--gap) auto;
- width:var(--main-width);
- }
- main[layout="left"]{grid-template-columns:var(--sidebar-width) var(--posts-width);}
- main[layout="right"]{grid-template-columns:var(--posts-width) var(--sidebar-width);}
- /*-============================== header ==============================-*/
- header{
- top:0;
- z-index:10;
- margin:auto;
- height:85px;
- padding:20px;
- display:flex;
- line-height:0;
- position:sticky;
- align-items:center;
- border:var(--border);
- border-top:0!important;
- width:var(--main-width);
- box-shadow:var(--shadow);
- justify-content:space-between;
- background-color:rgb(var(--main-boxes));
- border-radius:0 0 var(--border-radius) var(--border-radius);
- }
- header a.credits{display:none;}
- /*search*/
- .search{
- gap:10px;
- display:flex;
- padding:10px;
- align-items:center;
- border-radius:30px;
- border:var(--border);
- background:rgba(var(--inner-boxes));
- }
- .search svg{
- width:18px;
- height:18px;
- }
- .search input{
- flex:1;
- border:0;
- font:inherit;
- display:block;
- color:inherit;
- background:none;
- }
- .search input::placeholder{
- transition:color .3s;
- color:rgb(var(--text));
- -moz-transition:color .3s;
- -webkit-transition:color .3s;
- }
- .search input:focus::-webkit-input-placeholder { color:transparent; }
- .search input:focus:-moz-placeholder { color:transparent; }
- .search input:focus::-moz-placeholder { color:transparent; }
- .search input:focus:-ms-input-placeholder { color:transparent; }
- /*menu*/
- .open-controls.active{transform:rotate(45deg);}
- header nav{
- gap:15px;
- display:flex;
- align-items:center;
- }
- header nav svg{
- width:20px;
- height:20px;
- }
- /*-============================== sidebar ==============================-*/
- main[layout="right"] aside{
- grid-row-start:1;
- grid-column-start:2;
- }
- aside{
- top:135px;
- padding:5px;
- position:sticky;
- border:var(--border);
- box-shadow:var(--shadow);
- background:rgb(var(--main-boxes));
- border-radius:var(--border-radius);
- }
- .sidebar-image{
- overflow:hidden;
- min-height:170px;
- background-image:var(--sidebar);
- border-radius:var(--border-radius) var(--border-radius) 0 0;
- }
- .sidebar-image img{
- width:100%;
- min-height:170px;
- object-fit:cover;
- }
- .blog-icon{
- z-index:2;
- width:70px;
- height:70px;
- padding:5px;
- margin-top:-35px;
- margin-left:15px;
- position:relative;
- border-radius:var(--icon-radius);
- background:rgb(var(--main-boxes));
- }
- .blog-info{padding:15px;}
- .blog-title{
- display:block;
- font-weight:700;
- font-size:1.15em;
- color:rgb(var(--title));
- }
- .blog-user{
- gap:5px;
- align-items:center;
- display:inline-flex;
- color:rgb(var(--text));
- }
- .blog-user svg{
- width:1em;
- height:1em;
- color:rgb(var(--accent));
- }
- .blog-description {
- padding:15px;
- margin-top:15px;
- border:var(--border);
- border-radius:var(--border-radius);
- }
- /*============================== posts ==============================*/
- .result,
- .post{
- border:var(--border);
- box-shadow:var(--shadow);
- margin-bottom:var(--gap);
- background:rgb(var(--main-boxes));
- border-radius:var(--border-radius);
- }
- .post{position:relative;}
- .post.pinned::after{
- top:-1.5px;
- content:'';
- z-index:-1;
- left:-1.5px;
- position:absolute;
- border-radius:inherit;
- width:calc(100% + 3px);
- height:calc(100% + 3px);
- background:var(--gradient);
- }
- .post:last-of-type{margin:0;}
- .result{
- gap:15px;
- display:flex;
- padding:20px;
- align-items:center;
- }
- .tags svg,
- .result svg{
- width:35px;
- height:35px;
- padding:8px;
- display:grid;
- line-height:0;
- overflow:hidden;
- position:relative;
- place-items:center;
- border-radius:100%;
- color:rgb(var(--sub-text));
- background-image:var(--gradient);
- }
- .result span{
- font-weight:700;
- margin-left:5px;
- color:rgb(var(--accent));
- }
- /*captions*/
- .audio + .caption,
- .npf-photos + .reblogs,
- .npf-photos + .original{border-top:1px solid rgb(var(--borders));}
- .post-title{
- margin:0;
- padding:25px;
- font-weight:700;
- color:rgb(var(--title));
- border-bottom:var(--border);
- }
- .reblogs,
- .original{padding:25px}
- .reblogs{
- position:relative;
- padding-left:90px;
- }
- .reblogs + .reblogs{border-top:1px solid rgb(var(--borders));}
- .reblog-icon{
- width:40px;
- position:absolute;
- margin-left:-65px;
- height:calc(100% - 50px);
- }
- .reblog-icon img{
- top:110px;
- width:40px;
- height:40px;
- position:sticky;
- border-radius:var(--icon-radius);
- }
- .user,
- a.read_more{
- padding:5px 20px;
- border-radius:30px;
- display:inline-block;
- border:var(--border);
- background:rgb(var(--inner-boxes));
- }
- .user{margin-bottom:15px;}
- a.read_more{
- margin-top:15px;
- text-transform:lowercase;
- }
- /*photo*/
- .photo {
- overflow:hidden;
- position:relative;
- }
- .photo img{width:100%;}
- .npf_inst{
- overflow:hidden;
- border-radius:var(--border-radius);
- }
- .npf-photos .npf_inst{border-radius:0;}
- /*quote*/
- .npf_quote,
- .quote{
- padding:40px;
- font-weight:700;
- font-size:1.15em;
- position:relative;
- border:var(--border);
- color:rgb(var(--title));
- background:rgb(var(--inner-boxes));
- border-radius:var(--border-radius);
- }
- .source {
- margin-top:20px;
- font-size:initial;
- letter-spacing:1px;
- font-weight:initial;
- text-transform:uppercase;
- }
- /*----- ask -----*/
- .ask-content{padding:25px;}
- /*question*/
- .question{
- padding:25px;
- border:var(--border);
- background:rgb(var(--inner-boxes));
- border-radius:var(--border-radius);
- }
- .question .ask-header{
- gap:20px;
- display:flex;
- align-items:center;
- margin-bottom:25px;
- flex-direction:column;
- }
- .question .ask-icon{
- width:80px;
- height:80px;
- padding:5px;
- position:relative;
- background:var(--gradient);
- border-radius:var(--icon-radius);
- }
- .question .ask-icon::before{
- left:25px;
- bottom:-10px;
- z-index:1;
- width:30px;
- height:30px;
- display:grid;
- content:'\eae5';
- position:absolute;
- border-radius:100%;
- place-items:center;
- box-shadow:var(--shadow);
- color:rgb(var(--sub-text));
- font-family:'tabler-icons';
- background:var(--gradient);
- }
- .question .ask-icon img{
- width:100%;
- height:100%;
- padding:2px;
- border-radius:var(--icon-radius);
- background-color:rgb(var(--inner-boxes));
- }
- .question .ask-user{
- font-weight:700;
- font-size:1.15em;
- }
- .question .ask-body{text-align:center;}
- /*answer*/
- .answer{margin-top:25px;}
- .padding + .caption{border-top:var(--border);}
- .answer .ask-header{
- gap:20px;
- display:flex;
- align-items:center;
- margin-bottom:25px;
- }
- .answer .ask-icon{
- width:40px;
- height:40px;
- padding:3px;
- background:var(--gradient);
- border-radius:var(--icon-radius);
- }
- .answer .ask-icon img{
- width:100%;
- height:100%;
- padding:2px;
- border-radius:var(--icon-radius);
- background-color:rgb(var(--inner-boxes));
- }
- .answer .ask-user{font-weight:700;}
- /*link*/
- .link-post:not(.npf-post) div.npf-link-block{
- margin:0!important;
- border:0!important;
- border-radius:0!important;
- }
- .link-post:not(.npf-post) div.npf-link-block > a{
- padding:25px;
- font-weight:700;
- font-size:1.15em;
- color:rgb(var(--link));
- border-bottom:var(--border);
- background:rgb(var(--inner-boxes));
- }
- .link-post:not(.npf-post) div.npf-link-block > a:hover{
- color:rgb(var(--sub-text));
- background:rgb(var(--accent));
- border-bottom-color:rgb(var(--accent));
- }
- /*audio*/
- .npf-audio-wrapper {
- --NPF-Audio-Buttons-Size:14px;
- --NPF-Audio-Buttons-Color:rgb(var(--details)); /* color of play & pause buttons */
- --NPF-Audio-Buttons-Spacing: 15px; /* space between buttons and song info */
- --NPF-Audio-Image-Size:140px;
- --NPF-Audio-Image-Spacing:0; /* gap between player info and cover image */
- }
- .npf-audio-wrapper{
- flex-direction:row-reverse;
- border:1px solid rgb(var(--borders));
- }
- .npf-audio-background {
- padding:15px;
- background:rgb(var(--inner-boxes));
- }
- .npf-audio-title{font-weight:700;}
- .npf-audio-title,
- .npf-audio-artist,
- .npf-audio-album {color:rgb(var(--text));}
- .npf-audio-buttons{
- width:35px;
- height:35px;
- padding:10px;
- display:flex;
- flex-shrink:0;
- overflow:hidden;
- align-items:center;
- transition:all .5s;
- border-radius:100%;
- justify-content:center;
- border:1px solid rgb(var(--borders));
- }
- .npf-audio-pause svg path {fill:rgb(var(--accent))!important;}
- .npf-audio-image{
- padding:15px;
- border-right:1px solid rgb(var(--borders));
- }
- .npf-audio-wrapper + *{margin-top:20px;}
- .audio {
- padding:40px;
- }
- .audio-controls{
- padding:20px;
- position:relative;
- border:var(--border);
- box-shadow:var(--shadow);
- border-radius:var(--border-radius);
- background:rgba(var(--inner-boxes));
- }
- .error_icon svg {stroke:red;}
- .player{
- gap:10px;
- display:flex;
- margin-top:20px;
- align-items:center;
- }
- .player svg{
- width:20px;
- height:20px;
- }
- .audio_player {
- gap:5px;
- display:flex;
- line-height:1;
- align-items:center;
- color:rgba(var(--text),.65);
- }
- .audio_buttons{line-height:0;}
- .audio_duration {display:inline;}
- .seekbar {
- bottom:0;
- width:100%;
- height:5px;
- overflow:hidden;
- border-radius:10px;
- background:rgb(var(--borders));
- }
- .seekbar_progress {
- width:0;
- height:100%;
- background:var(--gradient);
- }
- .audio_info{
- text-align:center;
- margin-bottom:40px;
- }
- .album-art{
- width:120px;
- height:120px;
- margin:0 auto 40px;
- border-radius:10px;
- }
- .audio_info span {display:block;}
- .track{
- font-weight:700;
- color:rgb(var(--title));
- }
- /*pool*/
- .poll-post {
- --Poll-Option-Spacing:10px;
- --Poll-Option-Padding:10px;
- --Poll-Option-Border-Size:1px;
- --Poll-Option-HOVER-Speed:0.4s;
- --Poll-Option-Font-Size:var(--font-size);
- --Poll-Question-Font-Size:var(--font-size);
- --Poll-Option-Corner-Rounding:var(--border-radius);
- --Poll-Option-Text-Color:rgb(var(--text));
- --Poll-Option-Border-Color:rgb(var(--borders));
- --Poll-Option-Background-Color:rgb(var(--inner-boxes));
- --Poll-Option-HOVER-Text-Color:rgb(var(--sub-text));
- --Poll-Option-HOVER-Border-Color:rgb(var(--accent));
- --Poll-Option-HOVER-Background-Color:rgb(var(--accent));
- }
- .poll-post{font:inherit;}
- .poll-post .poll-question{margin-bottom:.5em!important;}
- /*post info*/
- .post-footer,
- .post-header{
- padding:15px;
- display:flex;
- }
- .post-header{
- border-bottom:var(--border);
- justify-content:space-between;
- }
- .post-footer{
- gap:20px;
- border-top:var(--border);
- }
- .date,
- .note-count{
- padding:5px 10px;
- border-radius:5px;
- border:var(--border);
- background:rgba(var(--inner-boxes));
- }
- .info-buttons{display:flex;}
- .info-buttons a{
- width:35px;
- height:35px;
- padding:5px;
- display:grid;
- line-height:0;
- overflow:hidden;
- position:relative;
- place-items:center;
- border-radius:100%;
- border:var(--border);
- background:rgb(var(--inner-boxes));
- }
- .pin svg,
- .info-buttons svg{
- width:18px;
- height:18px;
- }
- .like-button{overflow:hidden;}
- .like-button .like_button,
- .like-button{position:relative;}
- .like-button .like_button iframe {
- right:0;
- bottom:0;
- top:-20px;
- z-index:2;
- opacity:0;
- left:-20px;
- position:absolute;
- }
- .liked ~ svg,
- a.reblog-button:visited{color:rgb(var(--accent))}
- .pin{
- width:35px;
- height:35px;
- padding:5px;
- display:grid;
- line-height:0;
- overflow:hidden;
- position:relative;
- place-items:center;
- border-radius:100%;
- color:rgb(var(--sub-text));
- background-image:var(--gradient);
- }
- .tags{
- gap:15px;
- display:flex;
- padding:15px;
- align-items:center;
- border-top:var(--border);
- }
- .tags nav{
- gap:10px;
- display:flex;
- line-height:1;
- flex-wrap:wrap;
- }
- /*notes*/
- ol.notes {
- margin:0px;
- padding:15px;
- text-transform:lowercase;
- }
- ol.notes li.note {
- gap:10px;
- display:flex;
- margin:15px 0;
- flex-wrap:wrap;
- align-items:start;
- }
- span.action{flex:1}
- ol.notes li.note:first-of-type {margin-top:0;}
- ol.notes li.note:last-of-type {margin-bottom:0;}
- ol.notes blockquote{
- width:100%;
- margin:1em 2em!important;
- }
- .avatar_frame .avatar{display:none}
- li.note::before{
- width:30px;
- height:30px;
- display:grid;
- place-items:center;
- border-radius:100%;
- border:var(--border);
- font-family:'tabler-icons';
- -webkit-background-clip:text;
- background-image:var(--gradient);
- -webkit-text-fill-color:transparent;
- background-color:rgb(var(--inner-boxes));
- }
- li.note.reblog::before{content:'\eb72';}
- li.note.like::before{content:'\eabe';}
- li.note.reply::before{content:'\eaec';}
- li.note.reblog.original_post::before{content: "\eb4d";}
- li.note.more_notes_link_container::before{content:'\ebb5';}
- /*-============================== footer ==============================-*/
- /*pagination*/
- #pagination {
- gap:15px;
- display:flex;
- flex-wrap:wrap;
- align-items:center;
- margin-block:100px;
- justify-content:center;
- }
- #pagination span,
- #pagination a{
- width:40px;
- height:40px;
- display:grid;
- font-weight:700;
- place-items:center;
- border-radius:100%;
- }
- #pagination svg{
- width:22px;
- height:22px;
- }
- #pagination a{
- border:var(--border);
- background:rgb(var(--main-boxes));
- }
- #pagination a:not(.jump-page):not(.active){
- cursor:text;
- color:rgb(var(--text));
- }
- span.current-page{
- color:rgb(var(--sub-text));
- background:var(--gradient);
- }
- /*-============================== menu ==============================-*/
- .overlay{
- top:0;
- left:0;
- right:0;
- bottom:0;
- z-index:20;
- position:fixed;
- background:rgba(var(--background-color),.85);
- }
- #menu{
- top:0;
- left:0;
- width:40vw;
- z-index:21;
- height:100vh;
- padding:50px;
- overflow:auto;
- position:fixed;
- transition:transform .5s;
- box-shadow:var(--shadow);
- border-right:var(--border);
- transform:translatex(-100%);
- background:rgb(var(--main-boxes));
- }
- #menu::-webkit-scrollbar{background-color:rgb(var(--main-boxes));}
- #menu.active{transform:translatex(0);}
- #menu .open-menu{
- gap:15px;
- align-items:center;
- display:inline-flex;
- }
- #menu .open-menu svg{
- width:35px;
- height:35px;
- padding:7px;
- display:grid;
- place-items:center;
- border-radius:100%;
- border:var(--border);
- background:rgb(var(--inner-boxes));
- }
- #menu .search{
- display:none;
- margin-top:40px;
- }
- #menu > section{
- margin-top:40px;
- }
- #menu > section + section{
- padding-top:40px;
- border-top:1px solid rgb(var(--borders));
- }
- #menu .blog{margin:20px 0 0;}
- #menu .blog-icon{
- padding:5px;
- margin-left:0;
- margin-top:20px;
- border:var(--border);
- border-radius:var(--icon-radius);
- background:rgb(var(--main-boxes));
- }
- #menu .menu,
- .personal-info{
- gap:15px;
- display:grid;
- grid-template-columns:repeat(2,1fr)
- }
- .personal-info{padding:0;}
- #menu .menu a:hover{
- padding-left:10px;
- border-left:3px solid rgb(var(--accent));
- }
- .personal-info li{
- gap:10px;
- display:flex;
- align-items:center;
- }
- .personal-info li::before{
- font-family:'tabler-icons';
- color:rgb(var(--details));
- }
- .personal-info li.name::before{content:'\eb4d'}
- .personal-info li.birthday::before{content:'\ef3a'}
- .personal-info li.zodiac::before{content:'\ec08'}
- .personal-info li.location::before{content:'\eae8'}
- .personal-info li.pronouns::before{content:'\eabe'}
- .personal-info li.song::before{content:'\eafc'}
- /*-============================== queries ==============================-*/
- @media (max-width:1020px){
- header,
- footer{
- width:100vw;
- border-radius:0;
- }
- header{
- left:0;
- justify-content:center;
- }
- main{
- width:90vw;
- display:block;
- }
- aside,
- #posts{width:90vw}
- aside{
- top:0;
- position:relative;
- margin-bottom:var(--gap);
- }
- a.back{bottom:20px;}
- .copyright{display:inline-block!important;}
- body > a.credits,
- header .search,
- .open-controls,
- .tmblr-controls{display:none!important;}
- header a.credits,
- footer:not(.has-pagination),
- #menu .search{display:block!important;}
- #menu{width:90vw;}
- #menu .personal-info,
- #menu .menu{grid-template-columns:none;}
- }
- {CustomCSS}
- </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">
- <!--============================== header ==============================-->
- <header>
- <form action="/search" method="get" class="search">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-search" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0" /><path d="M21 21l-6 -6" /></svg>
- <input type="text" name="q" id="search" value="{SearchQuery}" placeholder="search blog"/>
- </form>
- <nav>
- <a href="{blogurl}" title="refresh">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-home-2" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l-2 0l9 -9l9 9l-2 0" /><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" /><path d="M10 12h4v4h-4z" /></svg>
- </a>
- {block:AskEnabled}
- <a href="/ask" title="contact">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-message-2" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M8 9h8" /><path d="M8 13h6" /><path d="M9 18h-3a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-3l-3 3l-3 -3z" /></svg>
- </a>
- {/block:AskEnabled}
- <a href="/archive" title="archive">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-history" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 8l0 4l2 2" /><path d="M3.05 11a9 9 0 1 1 .5 4m-.5 5v-5h5" /></svg>
- </a>
- <a class="open-menu" title="navigation">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-category" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 4h6v6h-6z" /><path d="M14 4h6v6h-6z" /><path d="M4 14h6v6h-6z" /><path d="M17 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" /></svg>
- </a>
- <a class="credits" title="by kosmique">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-star" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
- </a>
- <a class="open-controls" title="tumblr controls">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-settings" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z" /><path d="M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0" /></svg>
- </a>
- </nav>
- </header>
- <!--============================== content ==============================-->
- <main layout="{select:sidebar position}">
- <!--------------------------------- sidebar --------------------------------->
- <aside>
- <div class="sidebar-image">
- <img src="{image:Sidebar image}"/>
- </div>
- <img src="{portraiturl-128}" class="blog-icon"/>
- <div class="blog-info">
- <a href="{blogurl}" class="blog">
- <span class="blog-title">{title}</span>
- <span class="blog-user">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-at" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0" /><path d="M16 12v1.5a2.5 2.5 0 0 0 5 0v-1.5a9 9 0 1 0 -5.5 8.28" /></svg>
- {name}
- </span>
- </a>
- {block:IfDescription}
- <div class="blog-description">
- {text:description}
- </div>
- {/block:IfDescription}
- </div>
- </aside>
- <!--------------------------------- posts --------------------------------->
- <section id="posts">
- {block:SearchPage}
- <article class="result">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-search" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0" /><path d="M21 21l-6 -6" /></svg>
- <!----- no search result callback ----->
- {block:NoSearchResults}
- {lang:No search results for SearchQuery 2}
- {/block:NoSearchResults}
- <!----- search result ----->
- {lang:SearchResultCount results for SearchQuery 2}
- </article>
- {/block:SearchPage}
- <!----- no posts callback ----->
- {block:NoPosts}
- <article class="result">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-columns-off" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 6h2" /><path d="M4 10h5.5" /><path d="M4 14h5.5" /><path d="M4 18h5.5" /><path d="M14.5 6h5.5" /><path d="M14.5 10h5.5" /><path d="M18 14h2" /><path d="M14.5 18h3.5" /><path d="M3 3l18 18" /></svg>
- {lang:This minimalist Tumblr has no posts}
- </article>
- {/block:NoPosts}
- <!----- tag counter result ----->
- {block:TagPage}
- <article class="result">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-hash" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 9l14 0" /><path d="M5 15l14 0" /><path d="M11 4l-4 16" /><path d="M17 4l-4 16" /></svg>
- {lang:TagResultCount posts tagged Tag 2}
- </article>
- {/block:TagPage}
- <!----- day page result ----->
- {block:DayPage}
- <article class="result">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-calendar-event" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 5m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" /><path d="M16 3l0 4" /><path d="M8 3l0 4" /><path d="M4 11l16 0" /><path d="M8 15h2v2h-2z" /></svg>
- {lang:Posted on DayOfWeek DayOfMonth Month Year 2}
- </article>
- {/block:DayPage}
- {block:Posts inlineMediaWidth="1280" inlineNestedMediaWidth="1280"}
- <article post-type="{posttype}" id="post-{PostID}" class="{posttype}-post post{block:PinnedPostLabel} pinned{/block:PinnedPostLabel} ">
- <!----- post info ----->
- {block:Date}
- <div class="post-header">
- <a href="{permalink}" class="note-count">{NoteCountWithLabel}</a>
- <div class="info-buttons">
- <a href="#" title="like" class="like-button">
- {LikeButton size="100"}
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-heart" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
- <path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572"></path>
- </svg>
- </a>
- <a href="{ReblogURL}" title="reblog" target="_blank" class="reblog-button">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-repeat" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
- <path d="M4 12v-3a3 3 0 0 1 3 -3h13m-3 -3l3 3l-3 3"></path>
- <path d="M20 12v3a3 3 0 0 1 -3 3h-13m3 3l-3 -3l3 -3"></path>
- </svg>
- </a>
- {block:ContentSource}
- <a href="{SourceURL}" title="source" target="_blank" class="source-button">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-external-link" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
- <path d="M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6"></path>
- <path d="M11 13l9 -9"></path>
- <path d="M15 4h5v5"></path>
- </svg>
- </a>
- {/block:ContentSource}
- </div>
- </div>
- {/block:Date}
- <!----- media posts ----->
- {block:Photo}
- <div class="photo legacy-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:Photo}
- {block:Photoset}
- <div class="photo legacy-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}" alt="{PhotoAlt}">
- </div>
- <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a>
- </div>
- {/block:Photos}
- </div>
- </div>
- {/block:Photoset}
- {block:Panorama}
- <div class="photo legacy-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-Panorama}" alt="{PhotoAlt}" />
- </a>
- {LinkCloseTag}
- </div>
- {/block:Panorama}
- {block:Video}
- <div class="photo video"></div>{Video-500}
- {/block:Video}
- {block:Audio}
- <div class="audio">
- {block:AudioPlayer}
- <div class="audio_info">
- {block:AlbumArt}
- <img src="{AlbumArtURL}" class="album-art">
- {/block:AlbumArt}
- {block:TrackName}
- <span class="track">
- {TrackName}
- </span>
- {/block:TrackName}
- {block:Artist}
- <span class="artist">
- {Artist}
- </span>
- {/block:Artist}
- </div>
- <div class="audio-controls">
- {audio:Seekbar}
- <div class="player">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-player-skip-back" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M20 5v14l-12 -7z" /><path d="M4 5l0 14" /></svg>
- <div class="audio-play">
- {AudioPlayer}
- {audio:AudioButtons}
- </div>
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-player-skip-forward" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 5v14l12 -7z" /><path d="M20 5l0 14" /></svg>
- <div class="audio_player">
- {audio:CurrentPlayTime}
- /
- {audio:PlayTimeLeft}
- </div>
- </div>
- </div>
- {/block:AudioPlayer}
- </div>
- {/block:Audio}
- <!----- quote posts ----->
- {block:Quote}
- <div class="quote-content">
- <div class="quote-body">{quote}</div>
- {block:Source}
- <div class="source">{source}</div>
- {/block:Source}
- </div>
- {/block:Quote}
- <!----- chat posts ----->
- {block:Chat}
- <ul class="chat">
- {block:Lines}
- <li>
- {block:Label}{Label}{/block:Label}
- {Line}
- </li>
- {/block:Lines}
- </ul>
- {/block:Chat}
- <!----- link posts ----->
- {block:link}
- <div class="npf-link-block">
- <a href="{URL}">
- {Name}
- </a>
- </div>
- {/block:link}
- <!----- answer posts ----->
- {block:Answer}
- <div class="ask-content">
- <div class="question">
- <div class="ask-header">
- <div class="ask-icon">
- <img src="{askerportraiturl-128}">
- </div>
- <div class="ask-user">{Asker}</div>
- </div>
- <div class="ask-body">{Question}</div>
- </div>
- {block:Answerer}
- <div class="answer">
- <div class="ask-header">
- <div class="ask-icon">
- <img src="{answererportraiturl-128}">
- </div>
- <div class="ask-user">{Answerer}</div>
- </div>
- <div class="ask-body">{Answer}</div>
- </div>
- {/block:Answerer}
- {block:NotReblog}
- <div class="answer">
- {Replies}
- </div>
- {/block:NotReblog}
- </div>
- {/block:Answer}
- <!----- captions ----->
- <div class="caption">
- {block:Text}
- {block:Title}<h2 class="post-title">{Title}</h2>{/block:Title}
- {/block:Text}
- {block:notreblog}
- <div class="original">
- {block:caption}{Caption}{/block:caption}
- {block:Text}{body}{/block:Text}
- </div>
- {/block:notreblog}
- {block:Rebloggedfrom}
- {block:Reblogs}
- <div class="reblogs">
- <div class="reblog-icon">
- <img src="{portraiturl-64}"/>
- </div>
- <div class="reblog-header">
- {block:IsActive}
- <a {block:haspermalink}href="{permalink}"{/block:haspermalink} class="user" target="_blank">
- {username}
- </a>
- {/block:IsActive}
- {block:IsDeactivated}
- <span class="user deactivated">
- {username}
- </span>
- {/block:IsDeactivated}
- </div>
- <div class="reblog-content">
- {Body}
- </div>
- </div>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- </div>
- <!----- post info ----->
- {block:Date}
- {block:Hastags}
- <div class="tags">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-hash" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 9l14 0" /><path d="M5 15l14 0" /><path d="M11 4l-4 16" /><path d="M17 4l-4 16" /></svg>
- <nav>
- {block:Tags}
- <a href="{TagURL}">#{Tag}</a>
- {/block:Tags}
- </nav>
- </div>
- {/block:Hastags}
- <div class="post-footer">
- {block:indexpage}
- {block:PinnedPostLabel}
- <span class="pin" title="{PinnedPostLabel}">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-pin" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M15 4.5l-4 4l-4 1.5l-1.5 1.5l7 7l1.5 -1.5l1.5 -4l4 -4" /><path d="M9 15l-4.5 4.5" /><path d="M14.5 4l5.5 5.5" /></svg>
- </span>
- {/block:PinnedPostLabel}
- {/block:indexpage}
- <a href="{permalink}" class="date">
- <span>{timeago}</span>
- </a>
- </div>
- {block:RebloggedFrom}
- {/block:RebloggedFrom}
- {/block:Date}
- </article>
- <!----- post notes ----->
- {block:PostNotes}
- <article class="post pagenotes">
- {PostNotes-64}
- </article>
- {/block:PostNotes}
- {/block:Posts}
- </section>
- </main>
- <!--============================== pagination ==============================-->
- {block:Pagination}
- <nav id="pagination">
- <a {block:PreviousPage}class="active" href="{PreviousPage}"{/block:PreviousPage}}>
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-arrow-left" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l14 0" /><path d="M5 12l6 6" /><path d="M5 12l6 -6" /></svg>
- </a>
- {block:JumpPagination length="3"}
- {block:CurrentPage}
- <span class="current-page">{PageNumber}</span>
- {/block:CurrentPage}
- {block:JumpPage}
- <a class="jump-page" href="{URL}">{PageNumber}</a>
- {/block:JumpPage}
- {/block:JumpPagination}
- <a {block:NextPage}class="active" href="{NextPage}"{/block:NextPage}>
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-arrow-right" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l14 0" /><path d="M13 18l6 -6" /><path d="M13 6l6 6" /></svg>
- </a>
- </nav>
- {/block:Pagination}
- {block:DayPagination}
- <nav id="pagination" class="day-pagination">
- <a {block:NextDayPage}href="{NextDayPage}" class="active"{/block:NextDayPage}>
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-arrow-left" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l14 0" /><path d="M5 12l6 6" /><path d="M5 12l6 -6" /></svg>
- </a>
- <a {block:PreviousDayPage}href="{PreviousDayPage}" class="active"{/block:PreviousDayPage}>
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-arrow-right" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l14 0" /><path d="M13 18l6 -6" /><path d="M13 6l6 6" /></svg>
- </a>
- </nav>
- {/block:DayPagination}
- <!--============================== back to top ==============================-->
- <a href="#" class="fixed back" style="display:none;" title="{lang:Back to top}">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-arrow-up" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 5l0 14" /><path d="M18 11l-6 -6" /><path d="M6 11l6 -6" /></svg>
- </a>
- <!--============================== credits / don't touch ==============================-->
- <a href="//kosmique.tumblr.com" target="_blank" class="fixed credits" title="by kosmique">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-star" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
- </a>
- <!--============================== menu ==============================-->
- <div class="overlay" style="display:none;"></div>
- <nav id="menu">
- <a class="open-menu">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-x" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 6l-12 12" /><path d="M6 6l12 12" /></svg>
- close
- </a>
- <!----- search bar ----->
- <div class="search">
- <form action="/search" method="get">
- <input type="text" name="q" id="search" value="{SearchQuery}" placeholder="search blog"/>
- </form>
- </div>
- <!----- blog info ----->
- <section>
- <img src="{portraiturl-128}" class="blog-icon"/>
- <div class="blog">
- <span class="blog-title">{title}</span>
- <span class="blog-user">
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-at" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0" /><path d="M16 12v1.5a2.5 2.5 0 0 0 5 0v-1.5a9 9 0 1 0 -5.5 8.28" /></svg>
- {name}
- </span>
- </div>
- </section>
- <!----- personal info ----->
- <section>
- <ul class="personal-info">
- {block:IfYourName}
- <li class="name">
- {text:your name}
- </li>
- {/block:IfYourName}
- {block:IfYourBirthday}
- <li class="birthday">
- {text:your birthday}
- </li>
- {/block:IfYourBirthday}
- {block:IfYourZodiac}
- <li class="zodiac">
- {text:your zodiac}
- </li>
- {/block:IfYourZodiac}
- {block:ifYourLocation}
- <li class="location">
- {text:your location}
- </li>
- {/block:ifYourLocation}
- {block:IfYourPronouns}
- <li class="pronouns">
- {text:your pronouns}
- </li>
- {/block:IfYourPronouns}
- {block:IfYourSong}
- <li class="song">
- {text:your song}
- </li>
- {/block:IfYourSong}
- </ul>
- </section>
- <!----- menu ----->
- <section>
- <nav class="menu">
- {block:ifLinkOneTitle}
- <a href="{text:link one url}">
- {text:link one title}
- </a>
- {/block:ifLinkOneTitle}
- {block:ifLinkTwoTitle}
- <a href="{text:link two url}">
- {text:link two title}
- </a>
- {/block:ifLinkTwoTitle}
- {block:ifLinkThreeTitle}
- <a href="{text:link three url}">
- {text:link three title}
- </a>
- {/block:ifLinkThreeTitle}
- {block:ifLinkFourTitle}
- <a href="{text:link four url}">
- {text:link four title}
- </a>
- {/block:ifLinkFourTitle}
- {block:ifLinkFiveTitle}
- <a href="{text:link five url}">
- {text:link five title}
- </a>
- {/block:ifLinkFiveTitle}
- {block:ifLinkSixTitle}
- <a href="{text:link six url}">
- {text:link six title}
- </a>
- {/block:ifLinkSixTitle}
- {block:HasPages}
- {block:Pages}
- <a href="{URL}">{Label}</a>
- {/block:Pages}
- {/block:HasPages}
- </nav>
- </section>
- </nav>
- <!--============================== scripts ==============================-->
- <script>
- $(document).ready(function(){
- // photoset
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '1px',
- borderRadius: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- // tooltips
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:100,
- tip_fade_speed:100
- });
- // flexible frames
- function flexFrame() {
- $(".caption").each(function() {
- $(this).find("iframe").wrap("<div class='capframe'></div>"); // wrap iframe
- flexibleFrames($(".capframe"));
- });
- flexibleFrames($(".video"));
- }
- $(document).ready(flexFrame);
- $('.open-controls').click(function(){
- $(this).add('.tmblr-iframe').toggleClass('active');
- return false
- }),
- $(".back").click(function() {
- $("html, body").animate({scrollTop: 0}, 1000);
- return false;
- }),
- $('.open-menu').click(function(){
- $('header .open-menu').toggleClass('active');
- if($(this).hasClass("active")){
- $('.overlay').fadeIn();
- window.setTimeout(function() {
- $('#menu').addClass('active');
- }, 500);
- } else{500
- $('.open-menu').removeClass('active');
- $('#menu').removeClass('active')
- $('.overlay').delay(500).fadeOut();
- }
- return false;
- }),
- $(window).click(function() {
- $('.open-menu, #menu').removeClass('active')
- $('.overlay').delay(500).fadeOut();
- }),
- $('#menu').click(function(event){event.stopPropagation();});
- });
- tumblr_npf_audio({
- emptyTitleText: "Untitled track",
- emptyArtistText: "Untitled artist",
- emptyAlbumText: "",
- titleLabel: "Track:",
- artistLabel: "Artist:",
- albumLabel: ""
- });
- // custom audio
- customAudio({
- post: ".post",
- default: false,
- pauseAll: true,
- playButton: "<svg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-player-play' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'><path stroke='none' d='M0 0h24v24H0z' fill='none'></path><path d='M7 4v16l13 -8z'></path></svg>",
- pauseButton: "<svg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-player-pause' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'><path stroke='none' d='M0 0h24v24H0z' fill='none'></path><rect x='6' y='5' width='4' height='14' rx='1'></rect><rect x='14' y='5' width='4' height='14' rx='1'></rect></svg>",
- errorIcon: "<svg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-ban' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'><path stroke='none' d='M0 0h24v24H0z' fill='none'></path><circle cx='12' cy='12' r='9'></circle><line x1='5.7' y1='5.7' x2='18.3' y2='18.3'></line></svg>",
- hideInfoIfError: true,
- });
- $(document).scroll(function() {
- var y = $(this).scrollTop();
- if (y > 200) {
- $('.back').fadeIn();
- } else {
- $('.back').fadeOut();
- }
- });
- // remove empty p tags
- for (const p of document.querySelectorAll('p')) {
- if (p.innerHTML.trim() === '') {
- p.remove()
- }
- }
- //remove empty .caption
- for (const cap of document.querySelectorAll('.original')) {
- if (cap.innerHTML.trim() === '') {
- cap.remove()
- }
- }
- for (const cap of document.querySelectorAll('.reblogs')) {
- if (cap.innerHTML.trim() === '') {
- cap.remove()
- }
- }
- // create posts array
- let posts = []
- {block:Posts}
- posts.push({ npf: JSON.parse({JSNPF}), id: {JSPostId}})
- {/block:Posts}
- //function for updating post types
- function updateTypes(type, article) {
- article.classList.remove('text-post')
- article.classList.add(`${ type }-post`, 'npf-post')
- }
- // loop through array to get each post
- for (const post of posts) {
- let npf = post.npf
- let article = document.getElementById(`post-${post.id}`)
- // select captions that have something in them
- let caption = article.querySelector('.caption:is(:not(:empty))')
- if (caption != null && article.classList.contains('text-post')) {
- // if content exists
- if (npf.trail.length || npf.content.length) {
- // assign various post types based on NPF data
- switch (npf.trail[0]?.content[0]?.type ?? npf.content[0].type) {
- case 'image':
- updateTypes('photos', article)
- if (article.querySelector('.npf_row') == null) {
- caption.prepend(article.querySelector('figure'))
- }
- break
- case 'video':
- updateTypes('video', article)
- let video = article.querySelector('figure')
- caption.prepend(video)
- break
- case 'link':
- updateTypes('link', article)
- case 'audio':
- updateTypes('audio', article)
- break
- case 'quote':
- updateTypes('quote', article)
- }
- // if there are photos
- if (article.classList.contains('photos-post')) {
- let photoset = document.createElement('div')
- photoset.classList.add('npf-photos')
- caption.prepend(photoset)
- // find where a photoset would be split up by another content block
- let photoBreak = article.querySelector('.reblog-content p, .reblog-content h1, .reblog-content h2')
- let elements = []
- if (photoBreak) {
- let prevElement = photoBreak.parentNode.firstElementChild
- while (prevElement !== photoBreak) {
- elements.push(prevElement)
- prevElement = prevElement.nextElementSibling
- }
- }
- // if there is nothing that breaks up the photoset, select all rows
- else {
- elements = article.querySelectorAll('.npf_row')
- }
- // move each row to the top
- for (const el of elements) {
- photoset.append(el)
- }
- if (article.querySelectorAll('.npf_row').length > 1) {
- updateTypes('photoset', article)
- }
- else {
- updateTypes('photo', article)
- }
- }
- // clean up any potential stray reblog headers
- let reblogHeader = article.querySelector('.reblog-header')
- let reblogContent = article.querySelector('.reblog-content')
- if (reblogHeader?.nextElementSibling === reblogContent && reblogContent?.childElementCount === 0) {
- reblogHeader.remove()
- reblogContent.remove()
- }
- }
- }
- }
- </script>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement