Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!----
- tomorrow · by saestrah · april 2021
- · base code by sorrism
- · scroll to top by paul underwood
- · smoothscroll by balazs galambosi
- · flexible frames by nouvae
- · npf images readjustment by glenthemes
- · audio player and notecount script by shythemes
- · photosets by annasthms and eggdesign
- · nightmode by eggdesign
- · icons by line-awesome
- · accordion menu script by fainder
- · tooltips by malihu
- || terms of use
- · don't remove credit
- · don't repost or redistribute
- · don't take parts of the code and use as your own
- || notes
- · for customisation hints, search for "a note from saestrah"
- ---->
- <!DOCTYPE html>
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>{block:PostSummary}{PostSummary} : {/block:PostSummary}{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <!---- defaults ---->
- <meta name="image:Sidebar" content=""/>
- <meta name="image:Tab One" content=""/>
- <meta name="image:Tab Four" content=""/>
- <meta name="color:Background" content="#c3cebc"/>
- <meta name="color:Night Background" content="#292f36"/>
- <meta name="color:Base" content="#a0b096"/>
- <meta name="color:Night Base" content="#21262c"/>
- <meta name="color:Text" content="#565656"/>
- <meta name="color:Night Text" content="#cccccc"/>
- <meta name="color:Link" content="#000000"/>
- <meta name="color:Night Link" content="#ffffff"/>
- <meta name="color:Accent" content="#ffffff"/>
- <meta name="color:Night Accent" content="#b3f02e"/>
- <meta name="color:Title"content="#000000"/>
- <meta name="color:Night Title" content="#ffffff"/>
- <meta name="color:Borders" content="#7ca2a2"/>
- <meta name="color:Night Borders" content="#455e7b"/>
- <meta name="color:Tooltip Text" content="#000000"/>
- <meta name="color:Night Tooltip Text" content="#000000"/>
- <meta name="select:Title Font" content="Big Shoulders Inline Display"/>
- <meta name="select:Title Font" content="Bungee"/>
- <meta name="select:Title Font" content="Bungee Shade"/>
- <meta name="select:Title Font" content="Codystar"/>
- <meta name="select:Title Font" content="EB Garamond"/>
- <meta name="select:Title Font" content="Ewert"/>
- <meta name="select:Title Font" content="Fredericka the Great"/>
- <meta name="select:Title Font" content="Grenze Gotisch"/>
- <meta name="select:Title Font" content="Inria Sans"/>
- <meta name="select:Title Font" content="Inria Serif"/>
- <meta name="select:Title Font" content="Karla"/>
- <meta name="select:Title Font" content="Kumar One Outline"/>
- <meta name="select:Title Font" content="La Belle Aurore"/>
- <meta name="select:Title Font" content="Lato"/>
- <meta name="select:Title Font" content="Lora"/>
- <meta name="select:Title Font" content="Modak"/>
- <meta name="select:Title Font" content="Monoton"/>
- <meta name="select:Title Font" content="Montserrat Subrayada"/>
- <meta name="select:Title Font" content="Nerko One"/>
- <meta name="select:Title Font" content="Playfair Display"/>
- <meta name="select:Title Font" content="Roboto Condensed"/>
- <meta name="select:Title Font" content="Roboto Slab"/>
- <meta name="select:Title Font" content="Sarina"/>
- <meta name="select:Title Font" content="Staatliches"/>
- <meta name="select:Title Font" content="UnifrakturCook"/>
- <meta name="select:Body Font" content="Big Shoulders Inline Display"/>
- <meta name="select:Body Font" content="Bungee"/>
- <meta name="select:Body Font" content="Bungee Shade"/>
- <meta name="select:Body Font" content="Codystar"/>
- <meta name="select:Body Font" content="EB Garamond"/>
- <meta name="select:Body Font" content="Ewert"/>
- <meta name="select:Body Font" content="Fredericka the Great"/>
- <meta name="select:Body Font" content="Grenze Gotisch"/>
- <meta name="select:Body Font" content="Inria Sans"/>
- <meta name="select:Body Font" content="Inria Serif"/>
- <meta name="select:Body Font" content="Karla"/>
- <meta name="select:Body Font" content="Kumar One Outline"/>
- <meta name="select:Body Font" content="La Belle Aurore"/>
- <meta name="select:Body Font" content="Lato"/>
- <meta name="select:Body Font" content="Lora"/>
- <meta name="select:Body Font" content="Modak"/>
- <meta name="select:Body Font" content="Monoton"/>
- <meta name="select:Body Font" content="Montserrat Subrayada"/>
- <meta name="select:Body Font" content="Nerko One"/>
- <meta name="select:Body Font" content="Playfair Display"/>
- <meta name="select:Body Font" content="Roboto Condensed"/>
- <meta name="select:Body Font" content="Roboto Slab"/>
- <meta name="select:Body Font" content="Sarina"/>
- <meta name="select:Body Font" content="Staatliches"/>
- <meta name="select:Body Font" content="UnifrakturCook"/>
- <meta name="select:Post Size" content="400px"/>
- <meta name="select:Post Size" content="500px"/>
- <meta name="select:Post Size" content="600px"/>
- <meta name="if:Sidebar Image" content="1"/>
- <meta name="if:Small Cursor" content="1"/>
- <meta name="if:Search" content="1"/>
- <meta name="if:Tags On Hover" content="1"/>
- <meta name="if:Pinned Post Icon" content="1"/>
- <meta name="if:Uppercase Accents" content="1"/>
- <meta name="if:Invert Tumblr Controls" content="1"/>
- <meta name="if:Grayscale Image in Nightmode" content="1"/>
- <meta name="if:Invert Image in Nightmode" content="1"/>
- <meta name="text:Body Font Size" content="14px"/>
- <meta name="text:Body Font Weight" content="400"/>
- <meta name="text:Title Font Size" content="32px"/>
- <meta name="text:Title Font Weight" content="400"/>
- <meta name="text:Title Tooltip" content="refresh"/>
- <meta name="text:Sidebar Image Tooltip" content=""/>
- <meta name="text:Home Tooltip" content="home"/>
- <meta name="text:Ask Tooltip" content="ask"/>
- <meta name="text:Archive Tooltip" content="archive"/>
- <meta name="text:Random Tooltip" content="shuffle"/>
- <meta name="text:Tab One Title" content=""/>
- <meta name="text:Tab One Content" content=""/>
- <meta name="text:BYF Title" content=""/>
- <meta name="text:BYF Content" content=""/>
- <meta name="text:Update One" content=""/>
- <meta name="text:Update One Content" content=""/>
- <meta name="text:Update Two" content=""/>
- <meta name="text:Update Two Content" content=""/>
- <meta name="text:Update Three" content=""/>
- <meta name="text:Update Three Content" content=""/>
- <meta name="text:Update Four" content=""/>
- <meta name="text:Update Four Content" content=""/>
- <meta name="text:Tab Two Title" content=""/>
- <meta name="text:Tab Two Content" content=""/>
- <meta name="text:Navigation Title One" content=""/>
- <meta name="text:Navigation Link One" content=""/>
- <meta name="text:Navigation Link One URL" content=""/>
- <meta name="text:Navigation Link Two" content=""/>
- <meta name="text:Navigation Link Two URL" content=""/>
- <meta name="text:Navigation Link Three" content=""/>
- <meta name="text:Navigation Link Three URL" content=""/>
- <meta name="text:Navigation Title Two" content=""/>
- <meta name="text:Navigation Tag One" content=""/>
- <meta name="text:Navigation Tag Two" content=""/>
- <meta name="text:Navigation Tag Three" content=""/>
- <meta name="text:Navigation Tag Four" content=""/>
- <meta name="text:Navigation Tag Five" content=""/>
- <meta name="text:Navigation Tag Six" content=""/>
- <meta name="text:Search Placeholder" content="search..."/>
- <meta name="text:Tab Three Title" content=""/>
- <meta name="text:Tab Three Content" content=""/>
- <meta name="text:Project One Title" content=""/>
- <meta name="text:Project One Content" content=""/>
- <meta name="text:Project One URL" content=""/>
- <meta name="text:Project One Tooltip" content=""/>
- <meta name="text:Project Two Title" content=""/>
- <meta name="text:Project Two Content" content=""/>
- <meta name="text:Project Two URL" content=""/>
- <meta name="text:Project Two Tooltip" content=""/>
- <meta name="text:Project Three Title" content=""/>
- <meta name="text:Project Three Content" content=""/>
- <meta name="text:Project Three URL" content=""/>
- <meta name="text:Project Three Tooltip" content=""/>
- <meta name="text:Tab Four Title" content=""/>
- <meta name="text:Tab Four Content" content=""/>
- <meta name="text:Tab Image Tooltip" content=""/>
- <meta name="text:Tab Four Image URL" content=""/>
- <!---- scripts ---->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
- <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
- <script src="//code.jquery.com/jquery-1.7.2.min.js"></script>
- <script src="//rawgit.com/robinpx/tumblr/master/scripts/flexibleFrames/flexibleFrames.min.js"></script>
- <script src="//cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.1/SmoothScroll.min.js"></script>
- <script src="//static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script src="//static.tumblr.com/0podkko/qWqq8va08/photosets.js"></script>
- <link href="//static.tumblr.com/0podkko/oDSpg7y88/photosets.css" rel="stylesheet">
- <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
- <link href="//maxst.icons8.com/vue-static/landings/line-awe
- some/line-awesome/1.3.0/css/line-awesome.min.css" rel="stylesheet">
- <script src="//saestrah.github.io/portfolio/tomorrow/tomorrow.js" type="text/javascript"></script>
- <link rel="stylesheet" type="text/css" href="//saestrah.github.io/portfolio/tomorrow/tomorrow.css"/>
- <!---- fonts ---->
- <link rel="preconnect" href="https://fonts.gstatic.com">
- <link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Inline+Display:wght@100;300;400;700;900&family=Bungee&family=Bungee+Shade&family=Codystar:wght@300;400&family=EB+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Ewert&family=Fredericka+the+Great&family=Grenze+Gotisch:wght@100;300;400;700&family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Karla:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Kumar+One+Outline&family=La+Belle+Aurore&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Modak&family=Monoton&family=Montserrat+Subrayada:wght@400;700&family=Nerko+One&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600;1,700;1,800&family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&family=Sarina&family=Staatliches&family=UnifrakturCook:wght@700&display=swap" rel="stylesheet">
- <style type="text/css">
- /* root variables */
- :root {
- --background:{color:Background};
- --nightbackground:{color:Night Background};
- --rgbbackground:{RGBcolor:Background};
- --rgbnightbackground:{RGBcolor:Night Background};
- --base:{color:Base};
- --nightbase:{color:Night Base};
- --text:{color:Text};
- --nighttext:{color:Night Text};
- --link:{color:Link};
- --nightlink:{color:Night Link};
- --accent:{color:Accent};
- --nightaccent:{color:Night Accent};
- --title:{color:Title};
- --nighttitle:{color:Night Title};
- --borders:{color:Borders};
- --nightborders:{color:Night Borders};
- --tooltiptext:{color:Tooltip Text};
- --nighttooltiptext:{color:Night Tooltip Text};
- --bodyfont:{select:Body Font};
- --bodyfontsize:{text:Body Font Size};
- --bodyfontweight:{text:Body Font Weight};
- --titlefont:{select:Title Font};
- --titlefontsize:{text:Title Font Size};
- --titlefontweight:{text:Title Font Weight};
- --postsize:{select:Post Size};
- }
- /* css */
- {block:ifUppercaseAccents}
- #s-m-t-tooltip, h1, h2, h3, h4, .title, a.read_more, .label, .tags, a.more_notes_link, ul.accordion .navtitle { text-transform:uppercase; }
- {/block:ifUppercaseAccents}
- {block:ifInvertTumblrControls}
- iframe.tmblr-iframe { white-space:nowrap; -webkit-filter: invert(100%); -moz-filter:invert(100%); -o-filter:invert(100%); -ms-filter:invert(100%); filter:invert(100%); }
- {/block:ifInvertTumblrControls}
- {block:ifInvertImageinNightmode}
- body.night sidebar img { filter:invert(100%); }
- {/block:ifInvertImageinNightmode}
- {block:ifGrayscaleImageinNightmode}
- body.night sidebar img { filter:grayscale(100%); }
- {/block:ifGrayscaleImageinNightmode}
- {block:ifTagsOnHover}
- .tags { opacity:0; }
- @media only screen and (max-width:800px) { .tags { opacity:1; } }
- .posts:hover .tags {
- opacity:1;
- transition: all 0.5s ease-in-out;
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- {/block:ifTagsOnHover}
- {block:ifPinnedPostIcon}
- .pinned span { display:block; }
- {/block:ifPinnedPostIcon}
- {block:ifSmallCursor}
- * { cursor:url(https://i.imgur.com/dHusUiR.png),auto }
- body { cursor:url(https://i.imgur.com/dHusUiR.png),auto }
- iframe.tmblr-iframe:hover, a, a:hover, sidebar img, .ph img, ul.accordion .navtitle { cursor:url(https://i.imgur.com/ZM41vky.png),progress!important; }
- [photoset-layout] div:hover { cursor:url(https://i.imgur.com/ZM41vky.png),progress!important; }
- {/block:ifSmallCursor}
- {block:PermalinkPage}
- .top { opacity:0; }
- section { padding-bottom:50px; }
- .posts { margin-bottom:50px; }
- .tags { opacity:1; }
- {/block:PermalinkPage}
- /* a note from saestrah:
- the sidebar image is coded so tall and thin images will have the title and description at the side of the image, and short and wide images will have the title and description below the image. some images will look off with this, depending how wide your image is and how long your title is, so to override this and keep the title and description below the image regardless of your image size, add the following to the css:
- sidebar img { display:block; float:none; }
- to move the sidebar content up, add the following to the css and change the pixel value to your liking. the section padding-top is to keep the alignment for the top of the sidebar and the first post:
- sidebar { top:100px; }
- section { padding-top:100px; }
- you can adjust the size of your sidebar image by adding the following to the css and adjusting the maximum height and width of the image:
- sidebar img { max-width:500px; max-height:500px; }
- you can center the sidebar image by adding:
- sidebar img { text-align:center; margin:0 auto 25px; }
- if you would like to have your sidebar image both invert and convert to grayscale in nightmode add:
- body.night sidebar img { filter:grayscale(100%) invert(100%); }
- on smaller mobile devices, the font size of your header title will adjust for visibility. to change it, add the following and change the pixel value to your liking:
- @media only screen and (max-width:500px) {
- .headertitle { font-size:20px; }
- }
- to add or reduce the size of the gap between images or gifs in photosets, add the following and change the pixel value to your liking:
- [photoset-layout] { grid-gap:3px; }
- */
- </style>
- </head>
- <body>
- <!-------------------------------- html ---->
- <!---- header ---->
- <header>
- <a href="/" class="headertitle" {block:ifTitleTooltip}title="{text:Title Tooltip}"{/block:ifTitleTooltip}>{Title}</a></p>
- <div class="headerdescription">{Description}</div>
- </header>
- <iconlinks>
- <!---- a note from saestrah:
- to change the icons, visit https://icons8.com/line-awesome and change "las-la-[something]" to the code for the image you like. not all icons use the same format (e.g. the spotify icon is "lab-la-spotify")
- if you would rather the icons were links rather than sidebar tabs, remove the tab title blocks add the following to the html below, and a meta variable at the top of the code. change the classes of these link icons to start with "icon1" so that there isn't a gap between the other icons. remember to change "X" to the icon number
- HTML:
- href="{text:Custom Icon X URL}"
- href="{text:Custom Icon X Tooltip}"
- for example:
- <a class="icon1" id="iconlinks" title="{text:Custom Icon 1 Tooltip}" href="{text:Custom Icon 1 URL}"><span class="las la-seedling"></span></a>
- META (remove *s):
- <m*eta name="text:Custom Icon 1 URL" content=""/>
- <m*eta name="text:Custom Icon 1 Tooltip" content=""/>
- ---->
- <a class="home active" id="iconlinks" href="/" title="{text:Home Tooltip}"><span class="las la-home"></span></a>
- <a class="ask" id="iconlinks" href="/ask" title="{text:Ask Tooltip}"><span class="las la-comment-alt"></span></a>
- <a class="archive" id="iconlinks" href="/archive" title="{text:Archive Tooltip}"><span class="las la-archive"></span></a>
- <a class="random" id="iconlinks" href="/random" title="{text:Random Tooltip}"><span class="las la-map-marker-alt"></span></a>
- {block:ifTabOneTitle}<a class="icon1" id="iconlinks" title="{text:Tab One Title}"><span class="las la-globe"></span></a>{/block:ifTabOneTitle}
- {block:ifTabTwoTitle}<a class="icon2" id="iconlinks" title="{text:Tab Two Title}"><span class="las la-wind"></span></a>{/block:ifTabTwoTitle}
- {block:ifTabThreeTitle}<a class="icon3" id="iconlinks" title="{text:Tab Three Title}"><span class="las la-meteor"></span></a>{/block:ifTabThreeTitle}
- {block:ifTabFourTitle}<a class="icon4" id="iconlinks" title="{text:Tab Four Title}"><span class="las la-seedling"></span></a>{/block:ifTabFourTitle}
- </iconlinks>
- <!-------------------------------- sidebar ---->
- <div class="wrap">
- <div class="leftwrap">
- <sidebar>
- <!---- sidebar home ---->
- <div class="stcontainer" id="sidetab0C">
- {block:ifSidebarImage}
- <div class="sideimg"><a href="/" {block:ifSidebarImageTooltip}title="{text:Sidebar Image Tooltip}"{/block:ifSidebarImageTooltip}><img src="{image:Sidebar}"/></div>
- {/block:ifSidebarImage}
- <a href="/" class="maintitle" {block:ifTitleTooltip}title="{text:Title Tooltip}"{/block:ifTitleTooltip}>{Title}</a>
- <div class="description">{Description}</div>
- </div>
- <!---- sidebar tab one ---->
- <div class="stcontainer" id="sidetab1C">
- {block:ifTabOneTitle}
- <div class="sidetabtitle">{text:Tab One Title}</div>
- {/block:ifTabOneTitle}
- <div class="tabone">
- {block:ifTabOneImage}
- <img src="{image:Tab One}">
- {/block:ifTabOneImage}
- {block:ifTabOneContent}
- {text:Tab One Content}
- {/block:ifTabOneContent}
- </div>
- <div class="byf">
- {block:ifBYFTitle}<span class="sidetabsub">{text:BYF Title}</span>{/block:ifBYFTitle}{block:ifBYFContent}{text:BYF Content}</p>{/block:ifBYFContent}
- </div>
- {block:ifUpdateOneContent}<span class="sidetabsub">{text:Update One}</span> {text:Update One Content}</p>{/block:ifUpdateOneContent}
- {block:ifUpdateTwoContent}<span class="sidetabsub">{text:Update Two}</span> {text:Update Two Content}</p>{/block:ifUpdateTwoContent}
- {block:ifUpdateThreeContent}<span class="sidetabsub">{text:Update Three}</span> {text:Update Three Content}</p>{/block:ifUpdateThreeContent}
- {block:ifUpdateFourContent}<span class="sidetabsub">{text:Update Four}</span> {text:Update Four Content}</p>{/block:ifUpdateFourContent}
- </div>
- <!---- sidebar tab two ---->
- <div class="stcontainer" id="sidetab2C">
- {block:ifTabTwoTitle}
- <div class="sidetabtitle">{text:Tab Two Title}</div>
- {/block:ifTabTwoTitle}
- {block:ifTabTwoContent}
- <div class="sidetabblock">{text:Tab Two Content}</div>
- {/block:ifTabTwoContent}
- <ul id="accordion" class="accordion">
- {block:ifNavigationTitleOne}
- <li>
- <div class="navtitle">{text:Navigation Title One}</div>
- <ul class="navtags">
- <li><a href="{text:Navigation Link One URL}">{text:Navigation Link One}</a></li>
- <li><a href="{text:Navigation Link Two URL}">{text:Navigation Link Two}</a></li>
- <li><a href="{text:Navigation Link Three URL}">{text:Navigation Link Three}</a></li>
- </ul>
- </li>
- {/block:ifNavigationTitleOne}
- {block:ifNavigationTitleTwo}
- <li>
- <div class="navtitle">{text:Navigation Title Two}</div>
- <ul class="navtags">
- <li><a href="/tagged/{text:Navigation Tag One}">{text:Navigation Tag One}</a></li>
- <li><a href="/tagged/{text:Navigation Tag Two}">{text:Navigation Tag Two}</a></li>
- <li><a href="/tagged/{text:Navigation Tag Three}">{text:Navigation Tag Three}</a></li>
- <li><a href="/tagged/{text:Navigation Tag Four}">{text:Navigation Tag Four}</a></li>
- <li><a href="/tagged/{text:Navigation Tag Five}">{text:Navigation Tag Five}</a></li>
- <li><a href="/tagged/{text:Navigation Tag Six}">{text:Navigation Tag Six}</a></li>
- </ul>
- </li>
- {/block:ifNavigationTitleTwo}
- </ul>
- <!----
- a note from saestrah:
- to add more tags under a navigation heading, use the template below and paste before the </ul>
- <li><a href="/tagged/{text:Navigation Tag X}">{text:Navigation Tag X}</a></li>
- then add the following template to the meta (remove the *)
- <m*eta name="text:Navigation Tag X" content=""/>
- remember to change X into a number
- if you want the label for your tag to be differnet to the tags you use (for example, your tag looks like "theme: tomorrow" but you want the label in the navigation menu to simply read "tomorrow", change the href to "/tagged/THE TAG YOU USE" and keep the label as what you want to appear in the menu
- for example:
- <li><a href="/tagged/theme:+tomorrow">tomorrow</a></li>
- remember to change any spaces to a +
- ---->
- {block:ifSearch}
- <div id="searchbar"><form class="search" action="/search" method="get"><input type="text" class="query" name="q" value="{SearchQuery}" placeholder="{text:Search Placeholder}"/></form></div>
- {/block:ifSearch}
- </div>
- <!---- sidebar tab three ---->
- <div class="stcontainer" id="sidetab3C">
- {block:ifTabThreeTitle}
- <div class="sidetabtitle">{text:Tab Three Title}</div>
- {/block:ifTabThreeTitle}
- {block:ifTabTwoContent}
- <div class="sidetabblock">{text:Tab Three Content}</div>
- {/block:ifTabTwoContent}
- {block:ifProjectOneContent}<span class="sidetabsub"><a {block:ifProjectOneURL}href="{text:Project One URL}"{/block:ifProjectOneURL} {block:ifProjectOneTooltip}title="{text:Project One Tooltip}"{/block:ifProjectOneTooltip}>{text:Project One Title}</a></span></br>
- {text:Project One Content}</p>{/block:ifProjectOneContent}
- {block:ifProjectTwoContent}<span class="sidetabsub"><a {block:ifProjectTwoURL}href="{text:Project Two URL}"{/block:ifProjectTwoURL} {block:ifProjectTwoTooltip}title="{text:Project Two Tooltip}"{/block:ifProjectTwoTooltip}>{text:Project Two Title}</a></span></br>
- {text:Project Two Content}</p>{/block:ifProjectTwoContent}
- {block:ifProjectThreeContent}<span class="sidetabsub"><a {block:ifProjectThreeURL}href="{text:Project Three URL}"{/block:ifProjectThreeURL} {block:ifProjectThreeTooltip}title="{text:Project Three Tooltip}"{/block:ifProjectThreeTooltip}>{text:Project Three Title}</a></span></br>
- {text:Project Three Content}</p>{/block:ifProjectThreeContent}
- <!----
- a note from saestrah: to add more projects, use the following template and remember to change "X" to a number:
- {block:ifProjectXContent}<span class="sidetabsub"><a {block:ifProjectXURL}href="{text:Project X URL}"{/block:ifProjectXURL} {block:ifProjectXTooltip}title="{text:Project X Tooltip}"{/block:ifProjectXTooltip}>{text:Project X Title}</a></span></br>
- {text:Project X Content}</p>{/block:ifProjectXContent}
- and add this to the meta at the top of the code (remove the *)
- <m*eta name="text:Project X Title" content=""/>
- <m*eta name="text:Project X Content" content=""/>
- <m*eta name="text:Project X URL" content=""/>
- <m*eta name="text:Project X Tooltip" content=""/>
- ---->
- </div>
- <!---- sidebar tab four ---->
- <div class="stcontainer" id="sidetab4C">
- {block:ifTabFourImage}
- <div class="sideimg" {block:ifTabFourImageURL}href="{text:Tab Four Image URL}"{/block:ifTabFourImageURL} {block:ifTabFourImageTooltip}title="{text:Tab Four Image Tooltip}"{/block:ifTabFourImageTooltip}><img src="{image:Tab Four}"/></div>
- {/block:ifTabFourImage}
- {block:ifTabFourTitle}<span class="sidetabsub">{text:Tab Four Title}</span>{/block:ifTabFourTitle} {block:ifTabFourContent}<span class="sidetabblock">{text:Tab Four Content}</span>{/block:ifTabFourContent}
- </div>
- <!---- end of sidebar tabs ---->
- </sidebar>
- </div>
- <!-------------------------------- posts ---->
- <div class="rightwrap">
- <section id="entries">{block:Posts}
- <article class="posts {block:Caption}captioned{/block:Caption}" post-type="{PostType}">
- <!---- pinned post ---->
- <!---- a note from saestrah: you can change the icon for the pinned post using the same process as changing the icon for the icon links! ---->
- {block:Homepage}
- {block:PinnedPostLabel}<span class="pinned"><span class="las la-thumbtack"></span></span>{/block:PinnedPostLabel}
- {/block:Homepage}
- <!---- textposts ---->
- {block:Text}
- <div class="post text" id="{PostID}">
- {block:Title}<div class="title">{Title}</div>{/block:Title}
- {block:RebloggedFrom}
- {block:Reblogs}
- {block:IsActive}
- <li class="comment">
- <a {block:HasPermalink}href="{Permalink}"{/block:HasPermalink} class="user" target="_blank">{Username}</a>
- <div class="tex">{Body}</div>
- </li>
- {/block:IsActive}
- {block:IsDeactivated}
- <li class="comment">
- <a {block:HasPermalink}href="{Permalink}"{/block:HasPermalink} class="user deactivated" target="_blank">{Username}</a>
- <div class="tex">{Body}</div>
- </li>
- {/block:IsDeactivated}
- {/block:Reblogs}
- {/block:RebloggedFrom}
- {block:NotReblog}
- <li class="comment">
- <div class="tex">{Body}</div>
- </li>
- {/block:NotReblog}
- </div>
- {/block:Text}
- <!---- quotes ---->
- {block:Quote}
- <div class="post" id="{PostID}">
- <div class="quote">{Quote}</div>
- {block:Source}<div class="source">{Source}</div>{/block:Source}
- </div>
- {/block:Quote}
- <!---- links ---->
- {block:Link}
- <div class="post" id="{PostID}">
- <div class="title"><a href="{URL}">{Name}</a></div>
- {block:Description}
- {block:NotReblog}
- <li class="comment">
- <div class="tex">{Description}</div>
- </li>
- {/block:NotReblog}
- {/block:Description}
- {block:RebloggedFrom}
- {block:Reblogs}
- {block:IsActive}
- <li class="comment">
- <a {block:HasPermalink}href="{Permalink}"{/block:HasPermalink} class="user" target="_blank">{Username}</a>
- <div class="tex">{Body}</div>
- </li>
- {/block:IsActive}
- {block:IsDeactivated}
- <li class="comment">
- <a {block:HasPermalink}href="{Permalink}"{/block:HasPermalink} class="user deactivated" target="_blank">{Username}</a>
- <div class="tex">{Body}</div>
- </li>
- {/block:IsDeactivated}
- {/block:Reblogs}
- {/block:RebloggedFrom}
- </div>
- {/block:Link}
- <!---- asks ---->
- {block:Answer}
- <div class="post" id="{PostID}">
- <div class="question"><span class="asker">{Asker} sent: </span><p>{Question}</div>
- {block:NotReblog}
- <div class="answer">{Answer}</div>
- {/block:NotReblog}
- {block:RebloggedFrom}
- {block:Answerer}
- <div class="answer">
- <span class="answerer">{Answerer} replied:</span><span class="tex">{Answer}</span>
- </div>
- {/block:Answerer}
- {block:Reblogs}
- {block:IsActive}
- <li class="comment">
- <a {block:HasPermalink}href="{Permalink}"{/block:HasPermalink} class="user" target="_blank">{Username}</a>
- <div class="tex">{Body}</div>
- </li>
- {/block:IsActive}
- {block:IsDeactivated}
- <li class="comment">
- <a {block:HasPermalink}href="{Permalink}"{/block:HasPermalink} class="user deactivated" target="_blank">{Username}</a>
- <div class="tex">{Body}</div>
- </li>
- {/block:IsDeactivated}
- {/block:Reblogs}
- {/block:RebloggedFrom}
- </div>
- {/block:Answer}
- <!---- chat ---->
- {block:Chat}
- <div class="post" id="{PostID}">
- {block:Title}<div id="title">{Title}</div>{/block:Title}
- <ol class="chat">
- {block:Lines}
- <li class="l {Alt}">
- {block:Label}<span class="label">{Label}</span>{/block:Label} {Line}
- </li>
- {/block:Lines}
- </ol>
- </div>
- {/block:Chat}
- <!---- photos and photosets ---->
- <div class="post" id="{PostID}"><div class="ph">
- {block:Photo}{LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/>{LinkCloseTag}{/block:Photo}
- {block:Photoset}
- <div class="photoset-grid" photoset-layout="{PhotosetLayout}">{block:Photos}<div data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}" data-lowres="{PhotoURL-500}" data-highres="{PhotoURL-HighRes}" onclick="lightbox(this)"><img class="ph" src="{PhotoURL-HighRes}" /></div>{/block:Photos}</div></div>
- {/block:Photoset}
- <!---- video ---->
- {block:Video}<div class="post video" id="{PostID}">{VideoEmbed-500}</div>{/block:Video}
- <!---- audio ---->
- {block:Audio}
- <div class="post" id="{PostID}">
- {block:AudioPlayer}
- <div class="hold">
- <div class="player"><div class="play">{AudioPlayerBlack}</div></div>
- <div class="audio_info">
- {block:TrackName}<span class="track">{TrackName}</span>{/block:TrackName}
- {block:Artist}<span class="artist">{Artist}</span>{/block:Artist}
- </div>
- </div>
- {/block:AudioPlayer}
- </div>
- {/block:Audio}
- <!---- captions and reblogs ---->
- {block:Caption}
- {block:Reblogs}
- {block:IsActive}
- <li class="comment">
- <a {block:HasPermalink}href="{Permalink}"{/block:HasPermalink} class="user" target="_blank">{Username}</a>
- <div class="tex">{Body}</div>
- </li>
- {/block:IsActive}
- {block:IsDeactivated}
- <li class="comment">
- <a {block:HasPermalink}href="{Permalink}"{/block:HasPermalink} class="user deactivated" target="_blank">{Username}</a>
- <div class="tex">{Body}</div>
- </li>
- {/block:IsDeactivated}
- {/block:Reblogs}
- {block:NotReblog}
- <li class="comment">
- <a {block:HasPermalink}href="{Permalink}"{/block:HasPermalink} class="user" target="_blank">{Name}</a>
- <div class="tex">{Caption}</div>
- </li>
- {/block:NotReblog}
- {/block:Caption}
- </div>
- <!---- post info ---->
- {block:Date}
- <hr>
- <div class="when">
- <span><a href="{Permalink}">{ShortMonth} {DayOfMonthWithZero} {Year}</a>{block:Notecount} <span class="notecount">{NoteCountWithLabel}</span></span>{/block:Notecount}</span>
- <div style="float:right">
- <span><a href="{ReblogURL}" target="_blank" class="reblog">reblog</a><span><a class="like-b" href="#">{LikeButton}<span class="b">like</span></a></span></div>
- </div>
- {block:HasTags}<div class="tags">{block:Tags}<a class="tag" href="{TagURL}">{Tag}</a>{/block:Tags}</div>{/block:HasTags}
- {/block:Date}
- </article>
- {block:PostNotes}
- {block:RebloggedFrom}
- <div class="via">via: <a href="{ReblogParentURL}">{ReblogParentName}</a>{block:ContentSource}  —  source: <a href="{ReblogRootURL}">{ReblogRootName}</a>{/block:ContentSource}</div>
- {/block:RebloggedFrom}
- {PostNotes}
- </article>
- {/block:PostNotes}
- {/block:Posts}
- <!---- pagination ---->
- <footer>
- {block:PreviousPage}
- <span><a class="prev" href="{PreviousPage}" title="previous page"><span class="las la-arrow-left"></span></a></span>
- {/block:PreviousPage}
- {block:NextPage}
- <span><a class="next" href="{NextPage}" title="next page"><span class="las la-arrow-right"></span></a></span>
- {/block:NextPage}
- </footer>
- </section>
- </div>
- <!---- buttons ---->
- <a class="cc"><span class="las la-bars"></span></a>
- <a class="mobilenav" title="mobile navigation"><span class="las la-bars"></span></a>
- <a class="stclose" title="close sidebar" hidden="hidden"><span class="las la-times"></span></a>
- <a class="bfontbtn" title="change font size">Aa</a>
- <a class="sfontbtn" title="change font size" hidden="hidden">Aa</a>
- <a class="nightbtn" title="night mode"><span class="las la-moon"></span></a>
- <a class="daybtn" title="day mode" hidden="hidden"><span class="las la-sun"></span></a>
- <a class="followbtn" href="https://tumblr.com/follow/{Name}" title="follow {Name}"><span class="las la-plus"></span></a>
- <a class="top" href="/" title="back to top"><span class="las la-arrow-up"></span></a>
- <a class="credit" href="https://saestrah.tumblr.com" title="saestrah themes" target="_blank"><span class="las la-hat-cowboy"></span></a>
- </div>
- <!-------------------------------- scripts ---->
- <!---- scroll to top by paul underwood ---->
- <script>
- $(document).ready(function(){
- $(".rightwrap").scroll(function(){
- if ($(this).scrollTop() > 100) {
- $(".top").fadeIn();
- } else {
- $(".top").fadeOut();
- }
- });
- $(".top").click(function(){
- $(".rightwrap").animate({scrollTop : 0},800);
- return false;
- });
- });
- </script>
- <!---- audio player by @shythemes ---->
- <script>
- $(document).ready(function(){
- $("iframe.tumblr_audio_player").load( function() {
- $("iframe.tumblr_audio_player").contents().find("head").append($("<style type="text/css"> .audio-player{background:transparent;!important}</style>"));
- });
- });
- </script>
- <!---- photosets by @annasthms and @eggdesign ---->
- <script>
- function gatherData(images, arr) {
- for (let i = 0; i < images.length; i++) {
- let currentData = {
- "width": images[i].getAttribute("data-width"),
- "height": images[i].getAttribute("data-height"),
- "low_res": images[i].getAttribute("data-lowres"),
- "high_res": images[i].getAttribute("data-highres")
- };
- arr.push(currentData);
- }
- }
- function getIndex(elem) {
- let i = 0;
- while( (elem = elem.previousElementSibling) != null ) i++;
- return i;
- }
- function lightbox(elem) {
- let currentPhotoset = elem.parentNode;
- let photosetPhotos = currentPhotoset.getElementsByTagName("div");
- let data = [];
- gatherData(photosetPhotos, data);
- Tumblr.Lightbox.init(data, getIndex(elem) + 1);
- }
- $(document).ready(function(){
- undoPhotoset({
- "posts":".text",
- "text class":"",
- "photoset class":"ph"
- },false);
- });
- </script>
- <!---- npf images readjustment by @glenthemes ---->
- <link href="//dl.dropbox.com/s/bnoj86mka0bkplb/npf-override.css" rel="stylesheet">
- <script src="//dl.dropbox.com/s/vwrm94pcg4c9e71/npf-evenize.js"></script>
- <script src="//dl.dropbox.com/s/aqo7pinjzfub4tn/npf-legacy.js"></script>
- <style type="text/css">
- :root {
- --NPF-Image-Spacing:4px;
- --NPF-Bottom-Gap-From-Captions:0;
- }
- </style>
- <!---- flexible frames by @nouvae ---->
- <script>
- $(document).ready(function(){
- function flexFrame() {
- $("entries").each(function() {
- $(this).find("iframe").wrap("<div class="iframe-flex"></div>");
- flexibleFrames($(".iframe-flex"));
- });
- flexibleFrames($(".video"));}
- $(document).ready(flexFrame);
- });
- </script>
- <!---- notecount shortener by @shythemes ---->
- <script>
- var $container = $(".when");
- $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");
- }
- });
- </script>
- <!---- tooltips by malihu ---->
- <script type="text/javascript">
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:200,
- tip_fade_speed:300
- });
- });
- })(jQuery);
- </script>
- <!-------------------------------- end of scripts ---->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment