Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- THEME TWO - JUSTAJOO
- justajoo means quest in urdu
- MADE FOR YOU WITH ♡ BY AMAANAT THEMES
- (@amaanat on tumblr)
- please visit https://www.amaanat.tumblr.com/terms to read the terms and conditions before using my page. If you do not agree to the terms of use, you may not use my work.
- If you have questions about this code or find things difficult, do not hesitate to contact me!
- please do not steal my code, remove or move the credit or claim this as your own.
- credits:
- - honeybee icon font by suiomi
- - custom tumblr controls by cyantists
- - google fonts
- a full list of credits used in this theme and others can be found on https://www.amaanat.tumblr.com/credits
- much thanks to codingcabin for helping me out in difficult times!
- -->
- <!DOCTYPE html>
- <head>
- <title>{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's for customisation in normal view -->
- <meta name="if:sidebarimage" content="0" />
- <meta name="image:sidebar image" content="" />
- <meta name="if:icon" content="1" />
- <meta name="if:quote" content="1" />
- <meta name="text:quote" content="" />
- <meta name="color:background color" content="#ffffff" />
- <meta name="color:post background color" content="#ffffff" />
- <meta name="color:title color" content="#000000" />
- <meta name="color:text" content="#000000" />
- <meta name="color:links" content="#a95c5c" />
- <meta name="color:links hover" content="#ff99cc" />
- <meta name="color:sidebar accent color" content="#ffe4e1" />
- <meta name="color:description text color" content="#000000" />
- <meta name="color:sidebar links color" content="#000000" />
- <meta name="color:audio player color" content="#ffe4e1" />
- <meta name="color:playcount color" content="#ffe4e1" />
- <meta name="if:turn this on if you have a light background and turn it off if you have a dark background" content="1" />
- <meta name="if:Infinite Scroll" content="0"/>
- <meta name="if:scroll to top" content="1" />
- <meta name="if:fade up posts" content="1" />
- <meta name="if:search bar" content="1" />
- <meta name="if:play count" content="0" />
- <meta name="text:ask box text" content="inbox" />
- <meta name="text:search bar placeholder" content="search this blog" />
- <meta name="text:link one url" content="" />
- <meta name="text:link one" content="" />
- <meta name="text:link two url" content="" />
- <meta name="text:link two" content="" />
- <meta name="text:link three url" content="" />
- <meta name="text:link three" content="" />
- <!-- end customise metas -->
- <!-- animate on hover -->
- <link rel="stylesheet" href="https://static.tumblr.com/uopakca/prpov76n6/aos.css" />
- <script src="https://static.tumblr.com/uopakca/L8aov76mb/aos.js"></script>
- <script>
- $(document).ready(function(){
- AOS.init();
- });
- </script>
- <!-- css hover effect https://github.com/IanLunn/Hover -->
- <link href="css/hover.css" rel="stylesheet" media="all">
- <!-- HONEYBEE ICON FONT BY SUIOMI | DO NOT TOUCH OR REMOVE THIS AT ALL-->
- <link href="//dl.dropbox.com/s/vpi3f9s7nhpe7v7/honeybee.css" rel="stylesheet">
- <!-- fonts -->
- <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Dancing+Script" rel="stylesheet">
- <!-- JQUERY SCRIPT + OTHER SCRIPTS AND LIBRARYS-->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <!-- shythemes photoset -->
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="https://static.tumblr.com/yxfeliq/hHwojmt8m/bctphotoset.min.js"></script>
- <!-- shythemes vid resizing -->
- <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
- <!-- zachary fury smooth scroll - https://cdnjs.com/libraries/smoothscroll -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.1/SmoothScroll.min.js"></script>
- <!-- style audio player by shudesigns -->
- <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:{color:audio player color} !important} </style>"));
- });
- });
- </script>
- <!-- tooltip tutorial by easy-html-tutorials -->
- <script src="https://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("a[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:100,
- tip_fade_speed:300,
- attribute:"title"
- });
- });
- })(jQuery);
- </script>
- <!-- end tooltips -->
- </head>
- <style type="text/css">
- /* tooltips. Do not touch this unless you know what to do. I have customised the tooltips in a way that they are visible on dark AND light backgrounds and would prefer to keep it that way, because of the credits link */
- #s-m-t-tooltip {
- max-width:300px; /* maximum width */
- background-color:#ffffff; /* color background */
- border:1px solid; /* color, shape and thickness of the border */
- border-color:#eee;
- font-size:12px; /* font size */
- color:#000000; /* font color */
- letter-spacing:1px; /* font spacing */
- text-transform:lowercase; /* uppercase, lowercase, none */
- padding:5px; /* padding size */
- margin:20px 0px 0px 20px; /* margin size, in order, top, right, bottom, left */
- z-index:9999999999999999999999;
- border-radius: 4px; /* border radius */
- }
- /* cyantists custom tumblr controls */
- iframe.tmblr-iframe {
- z-index:99999999999999!important;
- top:0!important;
- right:0!important;
- opacity:0.4;
- /* delete invert(1) from here */
- {block:ifturnthisonifyouhavealightbackgroundandturnitoffifyouhaveadarkbackground}
- filter:invert(1) contrast(150%);
- -webkit-filter:invert(1) contrast(150%);
- -o-filter:invert(1) contrast(150%);
- -moz-filter:invert(1) contrast(150%);
- -ms-filter:invert(1) contrast(150%);
- {block:ifturnthisonifyouhavealightbackgroundandturnitoffifyouhaveadarkbackground}
- /* to here if your blog has a dark background */
- transform:scale(0.65);
- transform-origin:100% 0;
- -webkit-transform:scale(0.65);
- -webkit-transform-origin:100% 0;
- -o-transform:scale(0.65);
- -o-transform-origin:100% 0;
- -moz-transform:scale(0.65);
- -moz-transform-origin:100% 0;
- -ms-transform:scale(0.65);
- -ms-transform-origin:100% 0;}
- iframe.tmblr-iframe:hover {
- opacity:0.6!important;}
- /* scrollbar */
- /* width */
- ::-webkit-scrollbar {
- width: 6px;
- z-index:-1;
- height:6px;
- }
- /* Track */
- ::-webkit-scrollbar-track {
- background:transparent;
- }
- /* Handle */
- ::-webkit-scrollbar-thumb {
- background:{color:sidebar accent color};
- border-radius:50px;
- transition:.5s ease;
- width:3px;
- }
- ::-webkit-scrollbar-corner {
- background-color:{color:background color};
- }
- body {
- font-family: 'Roboto', sans-serif;
- font-size:14px;
- margin:auto;
- background-color:{color:background color};
- }
- img {
- max-width:100%;
- }
- blockquote {
- padding-left:10px;
- border-left:1px solid;
- border-left-color:#eee;
- margin:5px;
- }
- ul {
- list-style-type:circle;
- color:{color:text};
- }
- h1 {
- font-size:22px;
- color:{color:title color};
- }
- h2 {
- font-size:20px;
- color:{color:title color};
- }
- h3 {
- font-size:18px;
- }
- a {
- transition:.5s ease;
- color:{color:links};
- text-decoration:none;
- }
- a:hover {
- color:{color:links hover};
- }
- /* when you place other people's gifs in posts this is the attribution */
- .tmblr-attribution {
- padding:0px;
- margin-top:0!important;
- font-size:11px;
- transition:.5s ease;
- }
- .tmblr-attribution:hover {
- padding-left:10px;
- }
- /* sidebar stuff */
- .sidebar {
- width:300px;
- position:fixed;
- background-color:transparent;
- padding:20px;
- margin-left:150px;
- margin-top:50px;
- display:inline-block;
- }
- .sidebar-image img {
- border-radius:4px;
- transition:.5s ease;
- filter: saturate(90%);
- width:280px;
- height:auto;
- max-height:400px;
- }
- .sidebar-image img:hover {
- filter: saturate(120%);
- }
- .sidebar-icon {
- margin-top:10px;
- display:inline-block;
- }
- .sidebar-icon img {
- height:40px;
- width:40px;
- border-radius:50px;
- padding:5px;
- background-color:#eee;
- border-style:solid;
- border-width:1px;
- border-color:{color:sidebar accent color};
- vertical-align:middle;
- }
- .sidebar-quote {
- color:{color:text};
- font-size:11px;
- font-style:italic;
- background-color:#eee;
- display:inline-block;
- width:195px;
- padding:10px;
- margin-left:10px;
- border-radius:4px;
- vertical-align:middle;
- text-align:center;
- }
- .sidebar-description {
- margin-top:10px;
- font-size:14px;
- width:270px;
- padding:5px;
- background:{color:sidebar accent color};
- color:{color:description text color};
- border-radius:4px;
- text-align:center;
- }
- .sidebar-description:empty {
- display:none;
- }
- .sidebar-links {
- margin-top:10px;
- }
- .sidebar-links a {
- width:277px;
- border-radius:4px;
- padding:2px;
- display:block;
- font-size:15px;
- text-transform:uppercase;
- text-decoration:none;
- color:{color:sidebar links color};
- transition:.5s ease;
- background-color:{color:sidebar accent color};
- text-align:center;
- min-height:25px;
- line-height:25px;
- }
- .sidebar-links a:hover {
- color:{color:sidebar links hover};
- }
- /* Wobble Skew */
- @-webkit-keyframes hvr-wobble-skew {
- 16.65% {
- -webkit-transform: skew(-12deg);
- transform: skew(-12deg);
- }
- 33.3% {
- -webkit-transform: skew(10deg);
- transform: skew(10deg);
- }
- 49.95% {
- -webkit-transform: skew(-6deg);
- transform: skew(-6deg);
- }
- 66.6% {
- -webkit-transform: skew(4deg);
- transform: skew(4deg);
- }
- 83.25% {
- -webkit-transform: skew(-2deg);
- transform: skew(-2deg);
- }
- 100% {
- -webkit-transform: skew(0);
- transform: skew(0);
- }
- }
- @keyframes hvr-wobble-skew {
- 16.65% {
- -webkit-transform: skew(-12deg);
- transform: skew(-12deg);
- }
- 33.3% {
- -webkit-transform: skew(10deg);
- transform: skew(10deg);
- }
- 49.95% {
- -webkit-transform: skew(-6deg);
- transform: skew(-6deg);
- }
- 66.6% {
- -webkit-transform: skew(4deg);
- transform: skew(4deg);
- }
- 83.25% {
- -webkit-transform: skew(-2deg);
- transform: skew(-2deg);
- }
- 100% {
- -webkit-transform: skew(0);
- transform: skew(0);
- }
- }
- .hvr-wobble-skew {
- display: inline-block;
- vertical-align: middle;
- -webkit-transform: perspective(1px) translateZ(0);
- transform: perspective(1px) translateZ(0);
- box-shadow: 0 0 1px rgba(0, 0, 0, 0);
- }
- .hvr-wobble-skew:hover, .hvr-wobble-skew:focus, .hvr-wobble-skew:active {
- -webkit-animation-name: hvr-wobble-skew;
- animation-name: hvr-wobble-skew;
- -webkit-animation-duration: 1s;
- animation-duration: 1s;
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- -webkit-animation-iteration-count: 1;
- animation-iteration-count: 1;
- }
- /* search bar */
- #sf {
- border:none;
- width:245px;
- height:25px;
- background-color:{color:sidebar accent color};
- }
- #sf::placeholder {
- text-align:center;
- }
- #sf:focus {
- border:none;
- }
- #sb {
- height:25px;
- vertical-align:middle;
- background-color:transparent;
- border:none;
- margin-left:5px;
- }
- .th-loupe-o {
- font-size:18px;
- color:black;
- }
- #sb:hover {
- cursor:pointer;
- }
- /* actual posts */
- .container {
- margin-left:650px;
- margin-top:100px;
- position:absolute;
- width:540px;
- margin-bottom:100px;
- }
- .posts {
- margin-bottom:50px;
- width:540px;
- background-color:{color:post background color};
- }
- /* reblogs */
- .title {
- font-weight:bold;
- font-size:20px;
- margin-bottom:10px;
- color:{color:title color};
- }
- .reblogs {
- display:inline-block;
- }
- .reblogs img {
- vertical-align:middle;
- display:inline-block;
- width:20px;
- height:20px;
- border-radius:50px;
- }
- .reblogusernames {
- display:inline-block;
- margin-left:10px;
- color:{color:links};
- font-weight:bold;
- font-size:12px;
- transition:.5s ease;
- }
- .reblogusernames:hover {
- color:{color:links hover};
- }
- .text {
- color:{color:text};
- margin-bottom:15px;
- margin-top:-5px;
- font-size:13px;
- }
- .text img {
- max-width:100%;
- height:auto;
- font-size:{select:font size};
- }
- /* photoset posts */
- .photo-slideshow {
- margin-bottom:10px;
- }
- /* photo posts */
- .photopost {
- margin-bottom:10px;
- }
- /* answer posts */
- .asker img, .answerer img {
- width:25px;
- height:25px;
- border-radius:50px;
- vertical-align:middle;
- margin-right:10px;
- }
- .asker, .answerer {
- font-size:13px;
- color:{color:text};
- }
- .asker a, .answerer a {
- text-decoration:none;
- font-size:13px;
- font-weight:bold;
- color:{color:links};
- transition:.5s ease;
- }
- .asker a:hover, .answerer a:hover {
- color:{color:links hover};
- }
- .question {
- font-size:13px;
- color:{color:text};
- top:5px;
- width:520px;
- background-color:#eee;
- padding:10px;
- position:relative;
- }
- .question::before {
- position: absolute;
- background-color:{color:post background color};
- top:-15px;
- margin-left:-5px;
- transform: rotate(270deg);
- content: '';
- display: block;
- border-top: 10px solid transparent;
- border-bottom: 10px solid transparent;
- border-left: 15px solid #eee;
- }
- .answer {
- margin-bottom:5px;
- font-size:13px;
- }
- /* video and audio posts */
- .video {
- margin-bottom:10px;
- }
- .audio iframe {
- width:100%;
- }
- .audio {
- margin-bottom:10px;
- }
- .spotify_audio_player {
- height: 80px !important;
- width:100%;
- }
- {block:ifplaycount}
- .playcount {
- margin-bottom:10px;
- padding-top:3px;
- padding-bottom:3px;
- background-color:{color:audio player color};
- color:{color:playcount color};
- text-align:center;
- width:100%;
- font-size:15px;
- font-weight:bold;
- }
- {/block:ifplaycount}
- /* link posts */
- .linkpost {
- margin-bottom:10px;
- text-align:center;
- }
- .linkpost a {
- transition:.5s ease;
- color:{color:links};
- font-size:16px;
- padding:5px;
- text-transform:uppercase;
- }
- .linkpost a:hover {
- color:{color:links hover};
- }
- /* quote post */
- .quotes {
- font-size:26px;
- text-align:Center;
- font-family: 'Dancing Script', cursive;
- margin-bottom:10px;
- color:{color:text};
- }
- .quotesource {
- font-size:13px;
- color:{color:text};
- }
- /* chat post */
- .chat {
- font-size:14px;
- color:{color:text};
- }
- /* keep reading link */
- .keepreading {
- margin-top:10px;
- }
- .keepreading a {
- transition:.5 ease;
- }
- .keepreading a:hover {
- padding-left:10px;
- }
- /* footer */
- .footer {
- {block:AskPage}display:none;{/block:AskPage}
- {block:SubmitPage}display:none; {/block:SubmitPage}
- background-color:{color:post background color};
- width:540px !important;
- border-radius:4px;
- margin-top:30px;
- margin-bottom:100px;
- color:{color:links};
- }
- .footer a{
- text-decoration:none;
- text-transform:lowercase;
- color:{color:links color};
- font-size:13px;
- transition:.5s ease;
- }
- .footer a:hover {
- color:{color:links hover};
- }
- .date, .notecount, .via, .reblogbutton {
- display:inline-block;
- }
- .reblogbutton {
- float:right;
- transition: 0.70s;
- -webkit-transition: 0.70s;
- -moz-transition: 0.70s;
- -ms-transition: 0.70s;
- -o-transition: 0.70s;
- }
- .reblogbutton:hover {
- transition: 0.70s;
- -webkit-transition: 0.70s;
- -moz-transition: 0.70s;
- -ms-transition: 0.70s;
- -o-transition: 0.70s;
- -webkit-transform: rotate(180deg);
- -moz-transform: rotate(180deg);
- -o-transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- transform: rotate(180deg);
- }
- .tags {
- margin-top:10px;
- display:inline-block;
- }
- .tags a {
- margin-right:10px;
- display:inline-block;
- font-size:11px;
- word-wrap:break-word;
- }
- /* pagination and infinite scroll. If you do not know how to work with this just don't. please. */
- .pagination {
- width:535px !important;
- color:{color:links};
- margin-top:50px;
- padding:3px;
- border-radius:4px;
- {block:ifinfinitescroll}display:none;{/block:ifinfinitescroll}
- text-align:center;
- font-size:13px;
- }
- .pagination a {
- color:{color:links};
- text-decoration:none;
- transition:.5s ease;
- }
- .pagination a:hover {
- color:{color:links hover};
- }
- /* sorrism script tysm Lucrezia */
- #infscr-loading {display:none!important;}
- /* post notes */
- .postnotes {
- margin-top:50px;
- max-height:300px;
- padding:10px;
- overflow:auto;
- font-size:10px;
- color:{color:text};
- }
- ol.notes li.note {
- padding:5px;
- }
- .postnotes ol {
- list-style-type:none;
- }
- .postnotes img {
- width:15px;
- height:15px;
- border-radius:50px;
- margin-right:10px;
- vertical-align:middle;
- }
- /* you touch this and you feel my wrath */
- .credit {
- background-color:white;
- line-height:16px;
- padding-top:5px;
- padding-bottom:5px;
- padding-left:5px;
- position: fixed;
- right:10px;
- bottom: 10px;
- display: block;
- overflow: hidden;
- color: #000;
- font-size: 13px;
- text-align: center;
- text-decoration: none;
- letter-spacing:normal;
- font-family: 'Montserrat', sans-serif;
- }
- .credit:after {
- display: inline-block;
- width: 0;
- content: 'amaanat';
- letter-spacing:normal;
- transition: width .9s ease;
- }
- .credit:hover:after {
- width: 4em;
- padding-right:5px;
- }
- /* .th-diamond-o:before{
- content:'\e9ef';
- font-family:'honeybee';
- font-size:14px;
- } */
- .th-diamond-o {
- font-size:16px;
- }
- .credit:hover {
- color:black;
- }
- /* lightbox */
- .vignette, #vignette {
- opacity:0;
- background-image: none!important;
- }
- .lightbox-image, #tumblr_lightbox img {
- box-shadow:none !important;
- border-radius:4px !important;
- max-width:none;
- }
- .tmblr-lightbox, #tumblr_lightbox {
- background-color:rgba(255,255,255,0.8) !important;
- /* the .8 means the opacity heheheheh */
- }
- /* scroll to top button */
- .scrolltop {
- transition:ease;
- position:fixed;
- bottom:10px;
- left:10px;
- display:none;
- font-size:12px;
- }
- .scrolltop a {
- text-decoration:none;
- color:black;
- padding:5px;
- transition:.5s ease;
- border-radius:4px;
- }
- .scrolltop a:hover {
- background-color:black;
- color:white;
- }
- </style>
- <body>
- <div class="sidebar">
- {block:ifsidebarimage}
- <div class="sidebar-image">
- <a title="{title}" href="/"><img src="{image:sidebar image}"></a>
- </div>
- {/block:ifsidebarimage}
- {block:ificon}<a title="{Title}" href="/" ><div class="sidebar-icon"><img src="{PortraitURL-128}"></a></div>{block:ificon}
- {block:ifquote}<div class="sidebar-quote">{text:quote}</div>{/block:ifquote}
- {block:description}<div class="sidebar-description">{description}</div>{/block:description}
- <div class="sidebar-links">
- <a class="hvr-wobble-skew" href="/ask">{text:ask box text}</a><p>
- {block:iflinkone}<a class="hvr-wobble-skew" href="{text:link one url}">{text:link one}</a><p>{/block:iflinkone}
- {block:iflinktwo}<a class="hvr-wobble-skew" href="{text:link two url}">{text:link two}</a><p>{/block:iflinktwo}
- {block:iflinkthree}<a class="hvr-wobble-skew" href="{text:link three url}">{text:link three}</a><p>{/block:iflinkthree}
- </div>
- {block:ifsearchbar}
- <form action="/search" method="get" class="sfm">
- <input type="text" placeholder="{text:search bar placeholder}" name="q" autocomplete="off" value="{SearchQuery}" id="sf"/>
- <button type="submit" value="Search" id="sb" class="hvr-wobble-skew"><span class="th th-loupe-o"></span></button>
- </form>
- {/block:ifsearchbar}
- </div>
- <!-- end of sidebar -->
- <!-- start of main content -->
- <div class="container">
- {block:Posts}
- {block:iffadeupposts}<div data-aos="fade-up">{/block:iffadeupposts}
- <div class="posts">
- <!-- photo posts -->
- {block:Photo}
- <div class="photopost">
- {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}">
- </a>{LinkCloseTag}</div>
- {block:Caption}
- {block:notreblog}
- <div class="text">{caption}</div>
- {/block:notreblog}
- {block:reblogs}
- <div class="reblogs">
- <a href="{permalink}"><img src="{portraitURL-64}"><div class="reblogusernames">{username}</div></a>
- </div>
- <div class="text">{body}</div>
- {/block:reblogs}
- {/block:Caption}
- {/block:Photo}
- <!-- photosets -->
- {block:Photoset}
- <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><div class="pxu-photo"><img src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}"></div><a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a></div>{/block:Photos}</div>
- {block:Caption}
- {block:notreblog}
- <div class="text">{caption}</div>
- {/block:notreblog}
- {block:reblogs}
- <div class="reblogs">
- <a href="{permalink}"><img src="{portraitURL-64}"><div class="reblogusernames">{username}</div></a>
- </div>
- <div class="text">{body}</div>
- {/block:reblogs}
- {/block:Caption}
- {/block:Photoset}
- <!-- video posts -->
- {block:Video}
- <div class="video">{Video-500}</div>
- {block:Caption}
- {block:notreblog}
- <div class="text">{caption}</div>
- {/block:notreblog}
- {block:reblogs}
- <div class="reblogs">
- <a href="{permalink}"><img src="{portraitURL-64}"><div class="reblogusernames">{username}</div></a>
- </div>
- <div class="text">{body}</div>
- {/block:reblogs}
- {/block:Caption}
- {/block:Video}
- <!-- audio posts -->
- {block:Audio}
- <div class="audio">
- {block:AudioEmbed}{AudioEmbed}{/block:AudioEmbed}
- </div>
- {block:ifplaycount}<div class="playcount">{playcountwithlabel}</div>{/block:ifplaycount}
- {block:Caption}
- {block:notreblog}
- <div class="text">{caption}</div>
- {/block:notreblog}
- {block:reblogs}
- <div class="reblogs">
- <a href="{permalink}"><img src="{portraitURL-64}"><div class="reblogusernames">{username}</div></a>
- </div>
- <div class="text">{body}</div>
- {/block:reblogs}
- {/block:Caption}
- {/block:Audio}
- <!-- quote posts -->
- {block:Quote}
- <div class="quotes">"{Quote}"</div>
- {block:Source}<div class="quotesource">- {source}</div>{/block:Source}
- {/block:Quote}
- <!-- text posts -->
- {block:text}
- {block:title}<div class="title">{title}</div>{/block:title}
- {block:reblogs}
- <div class="reblogs">
- <a href="{permalink}"><img src="{portraitURL-64}"><div class="reblogusernames">{username}</div></a>
- </div>
- <div class="text">{body}</div>
- {/block:reblogs}
- {block:notreblog}<div class="text">{body}</div>{/block:notreblog}
- {/block:text}
- <!-- answer posts -->
- {block:Answer}
- <div class="asker"><img src="{askerportraitURL-128}">{asker} said:
- </div><p>
- <div class="question">{question}</div><p>
- {block:Answerer}<div class="answerer"><img src="{AnswererPortraitURL-128}"> {Answerer} replied:</div>{/block:Answerer}
- <div class="answer">{answer}</div>
- {block:reblogs}
- <div class="reblogs">
- <a href="{permalink}"><img src="{portraitURL-64}"><div class="reblogusernames">{username}</div></a>
- </div>
- <div class="text">{body}</div>
- {/block:reblogs}
- {/block:Answer}
- <!-- chat posts -->
- {block:Chat}
- {block:Title}<div class="title">{title}</div>{/block:Title}
- {block:Lines}
- <div class="chat">
- {block:Label}<strong>{Label}</strong>{/block:Label} {Line}<br></div>
- {/block:Lines}
- {/block:Chat}
- <!-- link posts -->
- {block:Link}
- <div class="linkpost"><a href="{URL}" >{Name}</a></div>
- {block:notreblog}
- {block:Description}
- <div class="text">{description}</div>
- {/block:Description}
- {/block:notreblog}
- {block:Reblogs}
- <div class="reblogs">
- <a href="{permalink}"><img src="{portraitURL-64}"><div class="reblogusernames">{username}</div></a>
- </div>
- <div class="text">{body}</div>
- {/block:Reblogs}
- {/block:Link}
- {block:More}
- <div class="keepreading">
- <a href="{Permalink}">continue reading this post</a>
- </div>
- {/block:More}
- <!-- end of post styling -->
- <!-- footer -->
- <div class="footer">
- {block:Date}<div class="date"><a title="{Month} {DayOfMonth}{DayOfMonthSuffix}"href="{permalink}">{DayOfWeek}</a></div>{/block:Date}
- {block:NoteCount}
- <!-- gap between date and notes -->
- <a class="notecount" href="{permalink}">{notecount} notes</a>{/block:NoteCount}
- {block:RebloggedFrom}
- <!-- gap between notes and via/source-->
- <div class="via"><a title="via: {reblogparentname}" href="{reblogParentURL}">via</a> / <a title="source: {reblogrootname}" href="{reblogrootURL}">src</a></div>
- {/block:RebloggedFrom}
- <div class="reblogbutton"><a title="reblog this post" href="{ReblogURL}" target="_blank" class="reblog"><span class="th th-reblog"></span>
- </a></div>
- <br>
- {block:HasTags}
- {block:Tags}<div class="tags"><a href="{TagUrl}">#{Tag}</a></div>{/block:Tags}
- {/block:HasTags}
- </div>
- </div>
- {block:iffadeupposts}</div>{/block:iffadeupposts}
- {/block:Posts}
- <!-- post notes -->
- {block:PostNotes}<div class="postnotes">{PostNotes}</div>{/block:PostNotes}
- <!-- pagination -->
- {block:pagination}
- <div class="pagination">
- {block:PreviousPage}
- <a href="{previouspage}">previous page</a>
- {/block:PreviousPage}
-
- {currentpage} - {totalpages}
-
- {block:nextpage}<a href="{nextpage}">next page</a>{/block:nextpage}
- </div>
- {/block:pagination}
- </div>
- <!-- from https://stackoverflow.com/questions/24643215/how-to-remove-the-source-from-this-tumblr-theme -->
- {block:ContentSource}
- <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
- width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
- {/block:SourceLogo}
- {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
- {/block:ContentSource}
- <!-- this is the credit do not touch it or i will end you -->
- <a title="made by amaanat themes" href="https://www.amaanat.tumblr.com" class="credit"><span class="th th-diamond-o"></span>
- </a>
- <!-- end of content -->
- <!-- SCRIPTS -->
- <!-- SCROLL TO TOP STUFF -->
- {block:ifscrolltotop}<div class="scrolltop"><a href="#">scroll to top</a></div>{/block:ifscrolltotop}
- <!-- https://html-online.com/articles/dynamic-scroll-back-top-page-button-javascript/ -->
- {block:ifscrolltotop}
- <script>$(window).scroll(function() {
- var height = $(window).scrollTop();
- if (height > 50) {
- $('.scrolltop').fadeIn();
- } else {
- $('.scrolltop').fadeOut();
- }
- });
- $(document).ready(function() {
- $(".scrolltop").click(function(event) {
- event.preventDefault();
- $("html, body").animate({ scrollTop: 0 }, 1200);
- return false;
- });
- });</script>{/block:ifscrolltotop}
- <!-- shythemes notes shortening -->
- <script>
- $(document).ready(function(){
- var $container = $('.container');
- $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>
- <!-- INFINITE SCROLL STUFF -->
- {block:indexpage}{block:ifinfinitescroll}<script src="//static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>{/block:ifinfinitescroll}{/block:indexpage}
- <script>
- $(document).ready(function(){
- {block:indexpage}
- {block:ifinfinitescroll}
- /* thank u Jayce aka @codematurgy for the help with this ur the best */
- function audioPosts () {
- $('iframe.tumblr_audio_player').load( function() {
- $('iframe.tumblr_audio_player').contents().find("head")
- .append($("<style type='text/css'> .audio-player{background:{color:audio player color} !important} </style>"));
- });
- }
- function shythemesnotecount () {
- var $container = $('.container');
- $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');
- }
- });
- }
- var $container = $('.container');
- $container.infinitescroll({
- itemSelector: '.posts',
- navSelector: '.pagination',
- nextSelector: '.pagination a',
- loadingImg: '',
- loadingText: '<em></em>',
- bufferPx: 200,
- },
- /* http://shythemes.tumblr.com/post/113728114758/tutorial-pixel-union-photosets with infinite scroll I DID IT OMG */
- function( newElements ) {
- $( newElements ).find('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- borderRadius: '10px',
- gutter: '4px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- resizeVideos();
- audioPosts ();
- shythemesnotecount ();
- });
- {/block:ifinfinitescroll}
- {/block:indexpage}
- });
- </script>
- <!-- shythemes photoset -->
- <script>
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '4px',
- borderRadius: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- });
- </script>
- <script type="text/javascript">
- <!--
- function toggle_visibility(id) {
- var e = document.getElementById(id);
- if(e.style.display == 'block')
- e.style.display = 'none';
- else
- e.style.display = 'block';
- }
- //-->
- </script>
- <!-- octomoosey tutorial on AOS -->
- <link rel=“stylesheet” href=“https://static.tumblr.com/uopakca/prpov76n6/aos.css” />
- <script src=“https://static.tumblr.com/uopakca/L8aov76mb/aos.js”></script>
- <script>
- AOS.init();
- </script>
- </body>
- </html>
- <!-- theme by @amaanat on tumblr.com -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement