Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- SERPENS CAUDA THEME BY MEPHISTIA
- mephistia-themes // mephistia-arts
- 2021 ⓒ Some Rights Reserved
- -- TERMS OF USE:
- - Don't remove/edit the credits
- - Don't use as base code
- - Don't steal parts of the code
- - Edit only for personal use
- - Don't claim as yours (you can state you made modifications)
- - Don't redistribute (original or edited)
- - Don't hesitate to send an ask if you have any questions!
- -- CREDITS:
- - Unnest Tumblr Captions script by @neothm
- - Highlight the Current Page in Navbar tutorials by @shudesigns
- - Resizing videos tutorial by @shythemes
- - JavaScript code prettifier (github.com/googlearchive/code-prettify)
- - SVG Icons by Remix Icon (remixicon.com)
- - Masonry & Infinite Scroll by David DeSandro (desandro.com/)
- -->
- <!DOCTYPE html>
- <!--[if IE 8]><html class="lt-ie10 lt-ie9"> <![endif]-->
- <!--[if IE 9]><html class="lt-ie10"> <![endif]-->
- <!--[if gt IE 9]><!--> <html> <!--<![endif]-->
- <head>
- {MobileAppHeaders}
- <meta charset="utf-8">
- <title>{Title}{block:TagPage} ({lang:Posts tagged Tag}){/block:TagPage}{block:SearchPage} ({lang:Search results for SearchQuery 2}){/block:SearchPage}{block:PermalinkPage}{block:PostSummary} — {PostSummary}{/block:PostSummary}{/block:PermalinkPage}</title>
- <meta name="description" content="{MetaDescription}">
- {block:Hidden}
- <meta name="color:Text" content="#404040"/>
- <meta name="color:Background" content="#f2f2f2"/>
- <meta name="color:Post BG" content="#fff"/>
- <meta name="color:Accent" content="#30537E"/>
- <meta name="if:Show Archive Link" content="1">
- <meta name="if:Show Avatar" content="1">
- <meta name="if:Show Photos Only" content="1">
- <meta name="if:Horizontal Menu" content="1">
- <meta name="if:Infinite Scroll" content="1">
- <meta name="select:Grid Max Columns" content="1" title="1">
- <meta name="select:Grid Max Columns" content="2" title="2">
- <meta name="select:Grid Max Columns" content="3" title="3">
- <meta name="select:Grid Max Columns" content="4" title="4">
- <meta name="select:Font Size" content=".65rem" title="Tiny">
- <meta name="select:Font Size" content=".8rem" title="Small">
- <meta name="select:Font Size" content="1rem" title="Normal">
- <meta name="select:Font Size" content="1.2rem" title="Big">
- <meta name="select:Font Size" content="1.4rem" title="Huge">
- <meta name="select:Header Alignment" content="center" title="center">
- <meta name="select:Header Alignment" content="left" title="left">
- <meta name="select:Header Alignment" content="right" title="right">
- <meta name="text:Google Font 1" content="Cabin">
- <meta name="text:Google Font 2" content="Vidaloka">
- <meta name="text:Post Gutter" content="15">
- <meta name="text:Rounded Corners Radius" content="5">
- {/block:Hidden}
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="apple-touch-icon-precomposed" href="{PortraitURL-128}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <!--Google Fonts-->
- <link rel="preconnect" href="https://fonts.gstatic.com">
- <link href="https://fonts.googleapis.com/css2?family={text:Google Font 1}:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family={text:Google Font 2}&display=swap" rel="stylesheet">
- <!-- prettify code -->
- <link rel="stylesheet" type="text/css" href="https://static.tumblr.com/xiit3w8/cXjqmkzo3/prettify.css">
- <link rel="stylesheet" type="text/css" href="https://static.tumblr.com/xiit3w8/mFIqmkzo8/desert.css">
- {PostTypographyStyles}
- <style>
- /*General Styling*/
- *{
- box-sizing: border-box;
- }
- :focus-visible{
- outline: 3px solid {color:Accent};
- opacity: 1!important;
- }
- body {
- background: {color:Background};
- color: {color:Text};
- font-family: {text:Google Font 1};
- font-size: {select:Font Size};
- line-height: 1.5rem;
- margin: 0;
- overflow-y:scroll;
- }
- h1, h2, h4, h5, h6{
- font-family: {text:Google Font 2};
- line-height: 1.8rem;
- }
- h1 {
- font-size: 4rem;
- font-weight: normal;
- }
- h3{
- font-family: {text:Google Font 1};
- }
- a {
- color: {color:Accent};
- text-decoration: none;
- transition: opacity .3s ease-in-out;
- }
- a:hover{
- opacity: .6;
- }
- /*Containers*/
- .blog-header{
- max-width: 45rem;
- text-align: {select:Header Alignment};
- padding: 9rem 7rem;
- }
- .blog-header.center{
- margin: 0 auto;
- }
- .page-name{
- color: {color:Accent};
- text-transform: capitalize;
- line-height: 4.5rem;
- }
- #blog-desc{
- text-align: left;
- }
- .blog-header.right #blog-desc{
- text-align:right;
- }
- .blog-header.right{
- margin-left: auto;
- }
- main{
- position: relative;
- margin: 0 7rem;
- flex-wrap: wrap;
- }
- aside{
- width: 25%;
- position: -webkit-sticky;
- position: sticky;
- top: 2rem;
- height: 100%;
- }
- nav ul.blog-menu{
- list-style-type: none;
- padding: 0;
- }
- .active-link li{
- border-bottom: 3px solid {color:Accent};
- display: inline-block;
- padding-bottom: .5rem;
- }
- nav a{
- color: {color:Text};
- transition: opacity .3s ease;
- }
- .blog-menu a:not(.active-link) li::after, .blog-menu .border::after{
- content: '';
- display: block;
- border-bottom: 3px solid {color:Accent};
- width: 0;
- position: absolute;
- left: 0;
- transition: width .3s ease;
- padding-bottom: .5rem;
- }
- .blog-menu a:not(.active-link):hover li::after{
- width: 100%;
- }
- .blog-menu input:focus-within + .border::after{
- width: 100%;
- }
- nav li{
- margin-bottom: 4rem;
- position: relative;
- display: inline-block;
- margin-right: 50%;
- }
- #posts{
- width: 100%;
- text-align:center;
- margin: 0 auto;
- }
- .msnry-wrapper{
- margin-top: -26rem;
- margin-left: 25%;
- width: 100%;
- }
- article, .grid-sizer{
- width: calc(calc(100% / {select:Grid Max Columns}) - {text:Post Gutter}px);
- }
- article {
- text-align: center;
- border-radius: {text:Rounded Corners Radius}px;
- overflow: hidden;
- }
- article img{
- display: block;
- max-width: 100%;
- margin: 0 auto;
- }
- /*Index page*/
- #posts article:not(.photopost):not(.photosetpost):not(.panoramapost):not(.videopost) .post-wrap{
- padding: 1rem;
- padding-top: 4rem;
- transform: scale(.95);
- transition: transform .3s ease;
- }
- #posts .post-wrap{
- min-height: 17rem;
- position: relative;
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- }
- #posts .post-wrap > div:first-child {
- width: 100%;
- align-self: normal;
- }
- {block:IfShowPhotosOnly}
- #posts .textpost .post-info, #posts .quotepost .post-info, #posts .linkpost .post-info, #posts .chatpost .post-info, #posts .audiopost .post-info, #posts .videopost .post-info, #posts .answerpost .post-info,
- #posts .textpost .tags, #posts .quotepost .tags, #posts .linkpost .tags, #posts .chatpost .tags, #posts .audiopost .tags, #posts .videopost .tags, #posts .answerpost .tags,
- #posts .textpost, #posts .quotepost, #posts .linkpost, #posts .chatpost, #posts .audiopost, #posts .videopost, #posts .answerpost{
- display: none;
- }
- {/block:IfShowPhotosOnly}
- #posts .caption a {
- color: {color:Text};
- }
- #posts .post-title{
- color: {color:Text};
- font-weight: bold;
- font-family: {text:Google Font 1};
- }
- #posts .post-text, #posts .link-info h3, #posts .link-info .text, .page-name, #posts .chat {
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- #posts .post-text figure{
- display: none;
- }
- #posts .textpost .post-text figure:first-of-type{
- display: block;
- }
- #posts article.photopost .tags, #posts article.photopost .post-info,
- #posts article.photosetpost .tags, #posts article.photosetpost .post-info,
- #posts article.videopost .tags, #posts article.videopost .post-info
- {
- position: absolute;
- opacity: 0;
- transition: opacity .3s ease;
- width: 90%;
- }
- #posts .post-info{
- position: absolute;
- top: 0;
- z-index: 1;
- font-size: .8rem;
- color: rgba({RGBcolor:Text},.6);
- left: 0;
- right: 0;
- }
- #posts .post-icon{
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100%;
- }
- .post-icon svg{
- fill: {color:Text};
- }
- .tags{
- font-style: italic;
- }
- #posts .tags{
- bottom: 0;
- white-space: nowrap;
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .post-info, .tags{
- text-align: left;
- padding: 1rem;
- }
- #posts .post-icon svg {
- width: 1rem;
- margin: 0 auto;
- display: block;
- }
- #posts .post-text, #posts .link-info h3, #posts .link-info .text, .page-name, #posts .chat{
- display: -webkit-box;
- }
- .post-text > * {
- margin: .3rem;
- }
- .post-text > *:not(:first-child):not(:empty) {
- display: none;
- }
- #posts .post-wrap .caption:not(:first-of-type){
- display: none;
- }
- .media-wrapper{
- display: block;
- position: relative;
- transition: opacity .3s, transform .3s;
- }
- #posts .hover-info{
- z-index: 9;
- }
- #posts .hover-info, #posts .caption{
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- display: flex;
- width: 100%;
- height: 100%;
- justify-content: center;
- align-content: center;
- flex-wrap: wrap;
- opacity: 0;
- transition: opacity .3s ease;
- padding: 1rem;
- }
- #posts .caption > * {
- width: 100%;
- }
- #posts article{
- background-color: rgba({RGBcolor:Post BG}, .5);
- opacity: 1;
- transition: opacity .3s ease;
- margin-bottom: {text:Post Gutter}px!important;
- }
- #posts article:hover:not(.photopost):not(.photosetpost):not(.panoramapost):not(.videopost) .post-wrap{
- transform: scale(1);
- }
- #posts article:hover .caption, #posts article:hover .tags, #posts article:hover .post-info, #posts article:focus-within .caption, #posts article:focus-within .tags, #posts article:focus-within .post-info{
- opacity: 1;
- }
- #posts article img{
- object-fit: cover;
- height: 100%;
- }
- #posts article:hover .media-wrapper {
- transform: scale(1.1);
- }
- #posts article:hover .media-wrapper{
- opacity: .15;
- }
- #posts article a:not(.hover-info){
- pointer-events: none;
- }
- .find{
- display: table;
- position: relative;
- }
- .find input{
- border: none;
- padding-bottom: .5rem;
- background: transparent;
- font-size: {select:Font size};
- font-family: {text:Google Font 1};
- width: 7rem;
- }
- .find input:focus-visible{
- outline: none;
- }
- .find input::placeholder{
- color: {color:Text};
- opacity: 1;
- }
- .find input:focus-within::placeholder{
- opacity: .6;
- }
- /*Permapages*/
- .permapage .post-icon{
- display:none;
- }
- .permapage .post-info{
- font-size: calc({select:Font Size} - .1rem);
- }
- .permapage img{
- width: auto;
- margin: 0;
- }
- article.permapage{
- width: 100%;
- text-align: left;
- padding-bottom: 5rem;
- }
- .permapage .tags, .permapage .post-info{
- padding-left: 0;
- }
- .hide, .page-name:empty{
- display:none;
- }
- .page-name:not(:empty) ~ .post-type-title{
- display:none;
- }
- .permapage .link-wrapper{
- border: 1px solid #777;
- padding:0 1rem;
- }
- /*Post Types*/
- .circle img{
- border-radius: 50%;
- }
- .square img{
- border-radius: {text:Rounded Corners Radius}px;
- }
- .user-info {
- margin-top: 1rem;
- }
- .notes, main{display:flex;}
- figure.tmblr-embed.tmblr-full iframe {
- max-width: 100%;
- }
- .quote-wrapper .source > p {
- display: none;
- }
- .npf_row_parent{margin-top: 1rem;}
- .npf_row {
- margin: 0 !important;
- }
- .npf_row div:not(:last-child){
- margin-right: .5rem;
- }
- ul.chat {
- list-style-type: none;
- padding-left: 0;
- }
- #posts .chat li {
- display: inline;
- }
- #posts .chat{
- -webkit-line-clamp: 6;
- }
- .chat .label {
- width: 100%;
- display: block;
- font-weight: bold;
- }
- .chat li:not(:last-child) {
- margin-bottom: 1rem;
- }
- .link-wrapper a{
- color: {color:Text};
- }
- li.caption, li.inner-text{
- list-style-type: none;
- }
- .answerpost .inner-text p:first-child::before {
- content: "– ";
- }
- .answerpost .inner-text {
- margin: auto;
- }
- #posts .audio-wrapper .caption{
- display: none;
- }
- .play-count{
- font-size: calc({select:Font Size} - .2rem);
- }
- .audio-iframe{
- position: relative;
- overflow: hidden;
- width: 100%;
- padding-top: 26.40625%
- }
- .tumblr_audio_player{
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- width: 100%;
- height: 100%;
- }
- .videopost .media-wrapper{
- align-self: center;
- }
- blockquote.tumblr_blog{
- margin: 0;
- }
- .content-source svg{
- width: 1rem;
- margin-left: .3rem;
- fill: {color:Background};
- }
- .content-source, .more_notes_link{
- color: {color:Background};
- display: inline-flex;
- background: {color:Accent};
- padding: .3rem .6rem;
- border-radius: {text:Rounded Corners Radius}px;
- }
- /*Notes, Tags, Pagination etc*/
- .pagination span{
- padding: .5rem;
- }
- .page a{color:{color:Accent};}
- .notes{
- align-content: center;
- padding:.2rem 0;
- flex-wrap: wrap;
- }
- .note{
- display: inline-flex;
- margin-bottom: 2rem;
- }
- .note:not(:last-child){
- margin-right: 2rem;
- }
- .note span, .note blockquote {
- display: none;
- }
- .note.like .avatar_frame::after, .note.reblog .avatar_frame::after{
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -120%);
- transition: transform .3s;
- color: white;
- height: 75%;
- padding: 100%;
- }
- .note.like .avatar_frame::after{
- content: '❤';
- background: #ff7966;
- }
- .note.reblog .avatar_frame::after{
- content: '⟲';
- font-weight: bolder;
- font-size: 1.2rem;
- background: #6ac480;
- }
- .note .avatar_frame:hover::after{
- transform: translate(-50%, -50%);
- opacity: 1;
- }
- .avatar_frame {
- max-width: 35px;
- border-radius: {text:Rounded Corners Radius}px;
- position: relative;
- overflow: hidden;
- }
- .avatar_frame:hover{
- opacity: 1;
- }
- .tags a{
- margin-right: .5rem;
- color: {color:Accent};
- }
- footer{
- position: fixed;
- right: 2rem;
- bottom: .5rem;
- font-size: .9rem;
- font-weight: bold;
- }
- pre.prettyprint{
- border: none;
- padding: .5rem;
- }
- .pagination{
- margin: 2rem auto;
- width: 100%;
- }
- .load-wrapper{
- width: 100%;
- margin: 3rem 0;
- text-align: left;
- }
- .load-more-btn{
- padding:.5rem 0;
- font-size: {select:Font Size};
- font-family: {text:Google Font 1};
- background: none;
- border: none;
- opacity: 1;
- color:{color:Text};
- transition: opacity .3s ease;
- border-bottom: 3px solid {color:Accent};
- }
- .load-more-btn:hover{
- opacity: .6;
- cursor: pointer;
- }
- .no-results{
- text-align: left;
- }
- footer svg{
- width: 1rem;
- fill: rgba({RGBcolor:Text}, .6);
- }
- .tooltip-link-top {
- position: relative;
- }
- a.tooltip-link-top:hover{
- opacity: 1;
- }
- a.tooltip-link-top:hover [role="tooltip"], a.tooltip-link-top:focus [role="tooltip"] {
- opacity: 1;
- pointer-events: auto;
- }
- .tooltip-link-top [role="tooltip"] {
- font-size: calc({select:Font Size} - .15rem);
- margin-top: .8rem;
- opacity: 0;
- padding: .5rem 1rem;
- transition: opacity 0.3s ease;
- pointer-events: none;
- position: absolute;
- background: {color:Text};
- color: {color:Background};
- font-weight: bold;
- bottom: 0;
- left: -10.5rem;
- border-radius: {text:Rounded Corners Radius}px;
- }
- .tooltip-link-top [role="tooltip"]::after {
- border-width: 9px 0 9px 9px;
- border-color: transparent transparent transparent {color:Text};
- top: 10px;
- right: -4px;
- content: "";
- width: 0;
- height: 0;
- border-style: solid;
- position: absolute;
- transform: translateX(50%);
- }
- .search_query:before { content:'“'; }
- .search_query:after { content:'”'; }
- #to-top{
- display: inline-block;
- position: fixed;
- bottom: 3rem;
- right: 1.8rem;
- transition: opacity .5s ease, visibility .5s ease;
- opacity: 0;
- visibility: hidden;
- z-index: 99;
- }
- #to-top svg{
- width: 1.6rem;
- fill: rgba({RGBcolor:Text}, .6);
- }
- #to-top:hover{
- cursor: pointer;
- }
- #to-top.show {
- opacity: 1;
- visibility: visible;
- }
- #to-top-tooltip {
- left: -7.4rem;
- }
- /* Horizontal Menu */
- {block:IfHorizontalMenu}
- .msnry-wrapper{
- margin: 0;
- }
- .blog-header{
- padding: 5rem;
- }
- aside{
- position: static;
- width: 100%;
- }
- aside ul{
- display: flex;
- flex-wrap: wrap;
- justify-content: space-evenly;
- gap: 1rem;
- }
- nav li{
- margin-bottom: 1rem;
- margin-right: 0;
- }
- main{
- margin: 0 15%;
- }
- .load-wrapper{
- text-align: center;
- }
- {/block:IfHorizontalMenu}
- @media screen and (max-width: 900px){
- article, .grid-sizer{
- width: calc(50% - {text:Post Gutter}px);
- }
- main{
- margin: 0 1.5rem;
- }
- footer{
- right: 1.3rem;
- }
- #to-top{
- right: 1rem;
- }
- {block:IfNotHorizontalMenu}
- .msnry-wrapper{
- margin: 0;
- }
- .blog-header{
- padding: 2rem 5rem;
- }
- aside{
- position: static;
- width: 100%;
- }
- aside ul{
- display: flex;
- flex-wrap: wrap;
- justify-content: space-around;
- gap: 1rem;
- }
- nav li{
- margin-bottom: 1rem;
- margin-right: 0;
- }
- {block:IfNotHorizontalMenu}
- }
- @media screen and (max-width: 630px){
- article, .grid-sizer{
- width: 100%;
- }
- }
- /* Custom CSS */
- {CustomCSS}
- </style>
- </head>
- <body>
- <header>
- <div class="blog-header {select:Header Alignment}">
- {block:HomePage}
- {block:ifShowAvatar}
- <div class="{AvatarShape}">
- <img src="{PortraitURL-96}" alt="{Title} avatar">
- </div>
- {/block:ifShowAvatar}
- {block:ShowTitle}
- <a class="page-name" href="{BlogURL}">
- <h1>{Title}</h1>
- </a>
- {/block:ShowTitle}
- {block:ShowDescription}
- {block:Description}
- <div id="blog-desc">{Description}</div>
- {/block:Description}
- {/block:ShowDescription}
- {/block:HomePage}
- {block:TagPage}
- <h1 class="page-name">{Tag}</h1>
- {/block:TagPage}
- {block:SearchPage}
- <h1 class="page-name">{lang:Search results for SearchQuery 2}</h1>
- {/block:SearchPage}
- {block:PermalinkPage}
- {block:PostTitle}
- <h1 class="page-name">{PostTitle}</h1>
- {/block:PostTitle}
- {block:Posts}
- <h1 class="page-name post-type-title">{PostType}</h1>
- {block:Posts}
- {/block:PermalinkPage}
- </div>
- </header>
- <main>
- <!-- sidebar -->
- <aside>
- <nav>
- <ul class="blog-menu">
- <a href="/" {block:IndexPage}class="active-link" {/block:IndexPage}><li>{lang:Home}</li></a>
- {block:HasPages}
- {block:Pages}
- <a href="{URL}"><li>{Label}</li></a>
- {/block:Pages}
- {/block:HasPages}
- {block:AskEnabled}
- <a href="/ask"><li>{AskLabel}</li></a>
- {/block:AskEnabled}
- {block:SubmissionsEnabled}
- <a href="/submit"><li>{SubmitLabel}</li></a>
- {/block:SubmissionsEnabled}
- {block:IfShowArchiveLink}
- <a href="/archive"><li>{lang:Archive}</li></a>
- {/block:IfShowArchiveLink}
- <form class="find" action="/search" method="get">
- <input type="text" name="q" value="{SearchQuery}" placeholder="{lang:Search}..." autocomplete="off"/><div class="border"></div>
- </form>
- </ul>
- </nav>
- </div>
- </aside>
- <div class="msnry-wrapper">
- <section {block:IndexPage}id="posts"{/block:IndexPage}>
- <div class="grid-sizer"></div>
- <!-- begin posts -->
- {block:Posts}
- <article class="{posttype}post {block:PermalinkPage}permapage{/block:PermalinkPage}" id="{PostID}" >
- <div class="post-wrap">
- {block:Photo}
- <div class="media-wrapper">
- <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" />
- </div>
- {/block:Photo}
- {block:Photoset}
- {block:IndexPage}
- <div class="media-wrapper">
- {block:Photos}
- <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" />
- <!--
- {/block:Photos}
- -->
- </div>
- {/block:IndexPage}
- {block:PermalinkPage}
- <div class="media-wrapper">
- {block:Photos}
- <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" />
- {/block:Photos}
- </div>
- {/block:PermalinkPage}
- {/block:Photoset}
- {block:Panorama}
- <div class="media-wrapper">
- <img src="{PhotoURL-Panorama}" alt="{PhotoAlt}" />
- </div>
- {/block:Panorama}
- {block:IfNotShowPhotosOnly}
- {block:Video}
- <div class="media-wrapper">
- {block:IndexPage}
- {block:VideoThumbnail}
- <img src="{VideoThumbnailURL}" alt="video" />
- {/block:VideoThumbnail}
- {/block:IndexPage}
- {block:PermalinkPage}
- <div class="video">{Video-700}</div>
- {/block:PermalinkPage}
- </div>
- {/block:Video}
- {block:Text}
- <div class="text-wrapper">
- <div class="post-icon">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M21 8v12.993A1 1 0 0 1 20.007 22H3.993A.993.993 0 0 1 3 21.008V2.992C3 2.455 3.449 2 4.002 2h10.995L21 8zm-2 1h-5V4H5v16h14V9zM8 7h3v2H8V7zm0 4h8v2H8v-2zm0 4h8v2H8v-2z"/></svg>
- </div>
- {block:Notreblog}
- <li class="inner-text">
- {block:Title}
- <a class="hide" href="{Permalink}"><h3 class="post-title">{Title}</h3></a>
- {/block:Title}
- <div class="post-text">{Body}</div>
- </li>
- {/block:Notreblog}
- {block:RebloggedFrom}
- {block:Reblogs}
- <li class="inner-text">
- <div class="user-info">
- {block:IsActive}
- <a {block:HasPermalink}href="{Permalink}"{/block:HasPermalink}target="_blank">
- {Username}
- </a>
- {/block:IsActive}
- {block:IsDeactivated}
- <div class="username deactivated first-showing">
- {Username}
- </div>
- {/block:IsDeactivated}
- </div>
- {block:Title}
- <a href="{Permalink}"><h3 class="post-title">{Title}</h3></a>
- {/block:Title}
- <div class="post-text">{Body}</div>
- </li>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- </div>
- {/block:Text}
- {block:Link}
- <div class="link-wrapper">
- {block:IndexPage}
- <div class="post-icon">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v8h-2V6.413l-7.793 7.794-1.414-1.414L17.585 5H13V3h8z"/></svg>
- </div>
- <div class="link-info">
- <h3>{Name}</h3>
- {block:Excerpt}<p class="text">{Excerpt}</p>{/block:Excerpt}
- {block:Host}<p class="src">{Host}</p>{/block:Host}
- </div>
- {block:Description}<div class="link-desc">{Description}</div>{/block:Description}
- {/block:IndexPage}
- {block:PermalinkPage}
- <a href="{URL}" {Target}>
- {block:Thumbnail}
- <img src="{Thumbnail-HighRes}"/>
- {/block:Thumbnail}
- <div class="link-info">
- <h3>{Name}</h3>
- {block:Excerpt}<p class="text">{Excerpt}</p>{/block:Excerpt}
- {block:Host}<p class="src">{Host}</p>{/block:Host}
- </div>
- </a>
- </div>
- {block:Description}<div class="link-desc">{Description}</div>{/block:Description}
- {/block:PermalinkPage}
- {/block:Link}
- {block:Answer}
- <div class="question-wrapper">
- <div class="post-icon">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm2-1.645V14h-2v-1.5a1 1 0 0 1 1-1 1.5 1.5 0 1 0-1.471-1.794l-1.962-.393A3.501 3.501 0 1 1 13 13.355z"/></svg>
- </div>
- <div class="asker"><strong>{Asker}</strong>:</div>
- <div class="question">{Question}</div>
- </div>
- <li class="inner-text">
- {block:Answerer}
- <div class="user-info">
- {block:IsActive}
- <a class="username" {block:HasPermalink}href="{Permalink}"{/block:HasPermalink}target="_blank">
- {Answerer}
- </a>
- {/block:IsActive}
- {block:IsDeactivated}
- <div class="username deactivated">
- {Answerer}
- </div>
- {/block:IsDeactivated}
- </div>
- <div class="post-text">{Answer}</div>
- {/block:Answerer}
- {Replies}
- </li>
- {/block:Answer}
- {block:Quote}
- <div class ="quote-wrapper">
- <div class="post-icon">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M4.583 17.321C3.553 16.227 3 15 3 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179zm10 0C13.553 16.227 13 15 13 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179z"/></svg>
- </div>
- <h3 class="title">{Quote}</h3>
- {block:Source}
- <div class="source">{Source}</div>
- {/block:Source}
- </div>
- {/block:Quote}
- {block:Chat}
- <div class="chat-wrapper">
- <div class="post-icon">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M5.455 15L1 18.5V3a1 1 0 0 1 1-1h15a1 1 0 0 1 1 1v12H5.455zm-.692-2H16V4H3v10.385L4.763 13zM8 17h10.237L20 18.385V8h1a1 1 0 0 1 1 1v13.5L17.545 19H9a1 1 0 0 1-1-1v-1z"/></svg>
- </div>
- {block:Title}<h3 class="title">{Title}</h3>{/block:Title}
- <ul class="chat">
- {block:Lines}
- <li class="line-{Alt}">
- {block:Label}<span class="label">{label}</span>{/block:Label}
- {Line}
- </li>
- {/block:Lines}
- </ul>
- </div>
- {/block:Chat}
- {block:Audio}
- <div class="audio-wrapper">
- <div class="post-icon">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 4a8 8 0 0 0-8 8h3a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-7C2 6.477 6.477 2 12 2s10 4.477 10 10v7a2 2 0 0 1-2 2h-3a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h3a8 8 0 0 0-8-8zM4 14v5h3v-5H4zm13 0v5h3v-5h-3z"/></svg>
- </div>
- {block:PermalinkPage}
- <div class="audio-iframe">
- {block:AudioEmbed}
- {AudioEmbed-640}
- {/block:AudioEmbed}
- </div>
- {/block:PermalinkPage}
- {block:IndexPage}
- <div class="audio-info">
- {block:TrackName}
- <span class="audio-track">{TrackName}</span>
- {/block:TrackName}
- {block:Artist}
- <span class="audio-artist"> - {Artist}</span>
- {/block:Artist}
- </div>
- <div class="play-count">({lang:Played PlayCount times})</div>
- {/block:IndexPage}
- {/block:Audio}
- {/block:IfNotShowPhotosOnly}
- {block:Date}
- <div class="post-info">
- <div>{TimeAgo} ⨯ {NoteCountWithLabel}{block:PermalinkPage} ⨯ {block:RebloggedFrom}{lang:Reblogged from ReblogRootName 2}{/block:RebloggedFrom}{block:NotReblog}{lang:Posted by PostAuthorName 2}{/block:NotReblog}{/block:PermalinkPage}</div>
- </div>
- {/block:Date}
- {block:Caption}
- {block:Notreblog}
- <li class="caption">
- <div class="post-icon">
- {block:Photo}
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M5 11.1l2-2 5.5 5.5 3.5-3.5 3 3V5H5v6.1zm0 2.829V19h3.1l2.986-2.985L7 11.929l-2 2zM10.929 19H19v-2.071l-3-3L10.929 19zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm11.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/></svg>
- {/block:Photo}
- {block:Photoset}
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M5 11.1l2-2 5.5 5.5 3.5-3.5 3 3V5H5v6.1zm0 2.829V19h3.1l2.986-2.985L7 11.929l-2 2zM10.929 19H19v-2.071l-3-3L10.929 19zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm11.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/></svg>
- {/block:Photoset}
- {block:Panorama}
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M5 11.1l2-2 5.5 5.5 3.5-3.5 3 3V5H5v6.1zm0 2.829V19h3.1l2.986-2.985L7 11.929l-2 2zM10.929 19H19v-2.071l-3-3L10.929 19zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm11.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/></svg>
- {/block:Panorama}
- {block:Video}
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M2 3.993A1 1 0 0 1 2.992 3h18.016c.548 0 .992.445.992.993v16.014a1 1 0 0 1-.992.993H2.992A.993.993 0 0 1 2 20.007V3.993zM8 5v14h8V5H8zM4 5v2h2V5H4zm14 0v2h2V5h-2zM4 9v2h2V9H4zm14 0v2h2V9h-2zM4 13v2h2v-2H4zm14 0v2h2v-2h-2zM4 17v2h2v-2H4zm14 0v2h2v-2h-2z"/></svg>
- {/block:Video}
- </div>
- <div class="post-text">{Caption}</div>
- </li>
- {/block:Notreblog}
- {block:RebloggedFrom}
- {block:Reblogs}
- <li class="caption">
- <div class="post-icon">
- {block:Photo}
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M5 11.1l2-2 5.5 5.5 3.5-3.5 3 3V5H5v6.1zm0 2.829V19h3.1l2.986-2.985L7 11.929l-2 2zM10.929 19H19v-2.071l-3-3L10.929 19zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm11.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/></svg>
- {/block:Photo}
- {block:Photoset}
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M5 11.1l2-2 5.5 5.5 3.5-3.5 3 3V5H5v6.1zm0 2.829V19h3.1l2.986-2.985L7 11.929l-2 2zM10.929 19H19v-2.071l-3-3L10.929 19zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm11.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/></svg>
- {/block:Photoset}
- {block:Panorama}
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M5 11.1l2-2 5.5 5.5 3.5-3.5 3 3V5H5v6.1zm0 2.829V19h3.1l2.986-2.985L7 11.929l-2 2zM10.929 19H19v-2.071l-3-3L10.929 19zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm11.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/></svg>
- {/block:Panorama}
- {block:Video}
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M2 3.993A1 1 0 0 1 2.992 3h18.016c.548 0 .992.445.992.993v16.014a1 1 0 0 1-.992.993H2.992A.993.993 0 0 1 2 20.007V3.993zM8 5v14h8V5H8zM4 5v2h2V5H4zm14 0v2h2V5h-2zM4 9v2h2V9H4zm14 0v2h2V9h-2zM4 13v2h2v-2H4zm14 0v2h2v-2h-2zM4 17v2h2v-2H4zm14 0v2h2v-2h-2z"/></svg>
- {/block:Video}
- </div>
- <div class="user-info">
- {block:IsActive}
- <a class="username" {block:HasPermalink}href="{Permalink}"{/block:HasPermalink}target="_blank">
- {Username}
- </a>
- {/block:IsActive}
- {block:IsDeactivated}
- <div class="username deactivated">
- {Username}
- </div>
- {/block:IsDeactivated}
- </div>
- <div class="post-text">{Body}</div>
- </li>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- {/block:Caption}
- {block:PermalinkPage}
- {block:ContentSource}
- <a href="{SourceURL}" class="content-source">Source <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v8h-2V6.413l-7.793 7.794-1.414-1.414L17.585 5H13V3h8z"/></svg></a>
- {/block:ContentSource}
- {/block:PermalinkPage}
- {block:HasTags}
- <div class="tags">
- {block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}
- </div>
- {/block:HasTags}
- <a href="{RelativePermalink}" class="hover-info"></a>
- </div>
- {block:Date}
- <div class="notes-wrap">
- {block:PermalinkPage}
- <h2>{lang:Notes}</h2>
- {/block:PermalinkPage}
- {PostNotes-64}
- </div>
- {/block:Date}
- </article>
- {/block:Posts}
- <!-- end posts -->
- {block:SearchPage}
- {block:NoSearchResults}
- <div class="no-results">{lang:No posts containing SearchQuery 2}</div>
- {/block:NoSearchResults}
- {/block:SearchPage}
- </section>
- {block:Pagination}
- <div class="pagination">
- {block:PreviousPage}
- <span class="page">
- <a href="{PreviousPage}"></a>
- </span>
- {/block:PreviousPage}
- {block:NextPage}
- <span class="page">
- <a class="next-page" href="{NextPage}"></a>
- </span>
- {/block:NextPage}
- </div>
- <div class="load-wrapper">
- <button class="load-more-btn">{lang:Load more posts}</button>
- </div>
- {/block:Pagination}
- </div>
- </main>
- <footer>
- <a id="to-top" class="tooltip-link-top">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M13 7.828V20h-2V7.828l-5.364 5.364-1.414-1.414L12 4l7.778 7.778-1.414 1.414L13 7.828z"/>
- </svg>
- <span id="to-top-tooltip" role="tooltip">Scroll to Top</span>
- </a>
- <a href="https://mephistia-themes.tumblr.com" class="tooltip-link-top">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M24 12l-5.657 5.657-1.414-1.414L21.172 12l-4.243-4.243 1.414-1.414L24 12zM2.828 12l4.243 4.243-1.414 1.414L0 12l5.657-5.657L7.07 7.757 2.828 12zm6.96 9H7.66l6.552-18h2.128L9.788 21z"/>
- </svg>
- <span id="code-tooltip" role="tooltip">Theme by Mephistia</span>
- </a>
- </footer>
- <!--jQuery-->
- <script src="//code.jquery.com/jquery-2.2.4.min.js"></script>
- <!-- masonry -->
- <script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script>
- <!-- images loaded -->
- <script src="https://unpkg.com/imagesloaded@4/imagesloaded.pkgd.min.js"></script>
- <!-- infinite scroll -->
- <script src="https://unpkg.com/infinite-scroll@4/dist/infinite-scroll.pkgd.min.js"></script>
- <!-- Unnest captions -->
- <script src="https://static.tumblr.com/wgg6svp/OoTofxa0c/unnest.min.js"></script>
- <!-- prettify code -->
- <script src="https://static.tumblr.com/xiit3w8/zxtqmkzo0/prettify.js"></script>
- <!-- Resizing videos -->
- <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- $('pre').addClass('prettyprint');
- $('code').addClass('prettyprint');
- $(function(){
- $('article').unnest({
- yourCaption: ".post-text",
- wrapName: ".tumblr_blog",
- newCaptionUsername: true,
- originalPostCaptionUsername: false,
- tumblrAvatars: false,
- usernameColon: false
- });
- });
- });
- $(window).load(function(){
- prettyPrint();
- var $grid = $('#posts').masonry({
- percentPosition: true,
- itemSelector: 'article',
- //fitWidth: true,
- isAnimated: true,
- columnWidth: '.grid-sizer',
- gutter: {text:Post Gutter}
- });
- $grid.imagesLoaded().progress( function() {
- $grid.masonry('layout');
- });
- let msnry = $grid.data('masonry') ;
- $grid.infiniteScroll({
- path: '.next-page',
- append: 'article',
- history: false,
- outlayer: msnry,
- hideNav: '.pagination',
- button: '.load-more-btn',
- {block:ifNotInfiniteScroll}
- scrollThreshold: false,
- {/block:ifNotInfiniteScroll}
- }, function(){
- resizeVideos();
- var $newElems = $( newElements ).css({ opacity: 0 });
- $newElems.unnest();
- });
- var $menu = $('.blog-menu'),
- pathname = location.pathname.split('/'),
- pathname1 = (pathname[1]),
- pathname2 = (pathname[2]);
- if ( pathname1 != '' && pathname2 === undefined ) {
- // for when your link contains one part. e.g. /ask
- $menu.find('a[href$="/' + pathname1 + '"]').addClass('active-link');
- }
- else if ( pathname1 != '' && pathname2 != undefined ) {
- // for when your link contains two parts. e.g. /tagged/ask
- $menu.find('a[href$="/' + pathname1 + '/' + pathname2 + '"]').addClass('active-link');
- }
- });
- var toTop = $('#to-top');
- toTop.on('click', function(e) {
- e.preventDefault();
- $('html, body').animate({scrollTop:0}, '300');
- });
- $(window).scroll(function() {
- if ($(window).scrollTop() > 300) {
- toTop.addClass('show');
- } else {
- toTop.removeClass('show');
- }
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment