Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- THEME THREE - SAADGI
- saadgi means simple 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 or use as a base code. also do not remove this piece of text at all!
- 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!
- IMPORTANT INSTRUCTIONS FOR THE CODE:
- So there is the option to choose the post width and the header quote width. You NEED to choose the correct header quote width for whatever post width you choose, otherwise the theme will look bad and out of line. So:
- if you choose 400px posts, choose the 335px header quote width!
- if you choose 450px posts, choose the 385px header quote width!
- if you choose 500px posts, choose the 435px header quote width!
- if you choose 540px posts, choose the 475px header quote width!
- ALSO: you can not choose to get rid of the quote in the header and it looks best width TWO lines (two is also the maximum of lines) so make it that long if you can!
- -->
- <!DOCTYPE html>
- <head>
- <!-- palette sympatico : https://www.pantone.com/color-intelligence/color-of-the-year/color-of-the-year-2019-palette-exploration -->
- <title>{Title}{block:PostTitle}/ {PostTitle}{/block:PostTitle}</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}
- <!-- customisation stuff -->
- <meta name="color:background color" content="#ffffff" />
- <meta name="color:post background color" content="#ffffff" />
- <meta name="color:footer background color" content="#eee" />
- <meta name="color:text" content="#000000" />
- <meta name="color:header links" content="#C2877B" />
- <meta name="color:header links hover" content="#7E392F" />
- <meta name="color:links" content="#C2877B" />
- <meta name="color:links hover" content="#7E392F" />
- <meta name="color:scrollbar background color" content="#7e392f" />
- <meta name="color:scrollbar thumb color" content="#ffffff" />
- <meta name="color:audio player background color" content="#000000" />
- <meta name="color:audio player info color" content="ffffff" />
- <meta name="if:scroll to top button" content="1" />
- <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="select:post width" content="400px" />
- <meta name="select:post width" content="450px" />
- <meta name="select:post width" content="500px" />
- <meta name="select:post width" content="540px" />
- <meta name="select:header quote width" content="335px" />
- <meta name="select:header quote width" content="385px" />
- <meta name="select:header quote width" content="435px" />
- <meta name="select:header quote width" content="475px" />
- <meta name="select:text size" content="12px" />
- <meta name="select:text size" content="13px" />
- <meta name="select:text size" content="14px" />
- <meta name="select:text size" content="15px" />
- <meta name="text:quote" content="" />
- <meta name="text:link one" content="" />
- <meta name="text:link one url" content="" />
- <meta name="text:link two" content="" />
- <meta name="text:link two url" content="" />
- <meta name="text:link three" content="" />
- <meta name="text:link three url" content="" />
- <!-- 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 USED IN THIS THEME -->
- <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Dancing+Script" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
- <!-- JQUERY SCRIPT DO NOT TOUCH THIS-->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <!-- css hover effect https://github.com/IanLunn/Hover -->
- <link href="css/hover.css" rel="stylesheet" media="all">
- <!-- shythemes pxu photosets -->
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <!-- shythemes video resizing -->
- <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
- <!-- animate on scroll -->
- <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>
- <!-- 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 background color} !important} .audio-info{color:{color:audio player info color} !important} .track-artist {color:{color:audio player info color} !important} .play-pause {color:{color:audio player info 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:#eee; /* color background */
- border:1px solid; /* color, shape and thickness of the border */
- border-color:#000000;
- 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: 1px; /* 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:{color:scrollbar background color};
- }
- /* Handle */
- ::-webkit-scrollbar-thumb {
- background:{color:scrollbar thumb color};
- transition:.5s ease;
- width:3px;
- }
- ::-webkit-scrollbar-corner {
- background-color:white;
- }
- /* body stuff */
- body {
- font-family: 'Roboto', sans-serif;
- margin:0;
- background-color:{color:background color};
- color:{color:text};
- font-size:{select:text size};
- }
- img {
- max-width:100%;
- }
- blockquote {
- padding-left:10px;
- border-left:1px solid;
- border-left-color:#eee;
- margin:5px;
- }
- ul {
- list-style-type:circle;
- }
- h1 {
- font-size:20px;
- }
- h2 {
- font-size:20px;
- }
- h3 {
- font-size:18px;
- }
- a {
- transition:.5s ease;
- text-decoration:none;
- color:{color:links};
- }
- a:hover {
- color:{color:links hover};
- }
- /* header */
- .header {
- margin:0 auto;
- width:{select:post width};
- height:auto;
- text-align:center;
- margin-top:100px;
- padding:5px;
- background-color:{color:post background color};
- }
- .headerimage img {
- border-radius:4px;
- height:50px;
- width:50px;
- float:left;
- display:inline-block;
- vertical-align:middle;
- transition:.5s ease;
- }
- .headerimage img:hover {
- border-radius:10px;
- }
- .headerquote {
- line-height:20px;
- text-align:center;
- vertical-align:middle;
- height:40px;
- border-radius:4px;
- display:inline-block;
- font-size:11px;
- width:{select:header quote width};
- /* 540px post width = 475px headerquote width
- 500px post width = 435px headerquote width
- 450px post width = 385px headerquote width
- 400px post width = 335px headerquote width
- */
- background-color:#eee;
- font-style:italic;
- padding:5px;
- }
- .description {
- font-size:{select:text size};
- max-width:{select:post width};
- margin-top:10px;
- border-radius:4px;
- padding:1px;
- }
- .headerlinks {
- margin-top:10px;
- }
- .headerlinks a {
- padding:5px;
- font-size:14px;
- font-weight:bold;
- color:{color:header links};
- }
- .headerlinks a:hover {
- color:{color:header links hover};
- }
- /* Bounce In Effects on Links */
- .hvr-bounce-in {
- 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);
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- .hvr-bounce-in:hover, .hvr-bounce-in:focus, .hvr-bounce-in:active {
- -webkit-transform: scale(1.2);
- transform: scale(1.2);
- -webkit-transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
- transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
- }
- /* this stuff makes the theme responsive! */
- @media only screen and (max-width:2000px) and (min-width:1500px) {
- body {
- font-size:18px !important;
- }
- }
- @media only screen and (max-width: 539px) {
- .scrolltop {
- visibility:hidden;
- }
- .header {
- width:300px;
- margin-top:50px;
- padding:5px;
- }
- .headerquote {
- max-height:40px;
- line-height:10px;
- font-size:10px;
- width:235px;
- }
- .description {
- max-width:300px;
- }
- .headerlinks {
- margin-top:10px;
- }
- .headerlinks a {
- padding:5px;
- font-size:14px;
- font-weight:bold;
- }
- #content, .posts {
- width:300px !important;
- }
- .footer {
- width:290px !important;
- }
- }
- /* end of responsive design stuff */
- /* posts styling*/
- #content {
- margin:0 auto;
- width:{select:post width};
- }
- .posts {
- width:{select:post width};
- margin-top:100px;
- margin-left:-5px;
- padding:5px;
- background-color:{color:post background color};
- }
- /* stuff inside the posts */
- .title {
- font-weight:bold;
- color:{color:text};
- font-size:20px;
- margin-bottom:10px;
- }
- .text {
- font-size:{select:text size};
- color:{color:text};
- }
- /* reblogs (dashboard style captions)*/
- .reblogs {
- display:inline-block;
- margin-bottom:-5px;
- }
- .reblogs img {
- vertical-align:middle;
- display:inline-block;
- width:20px;
- height:20px;
- border-radius:3px;
- }
- .reblogusernames {
- display:inline-block;
- margin-left:10px;
- font-weight:bold;
- font-size:13px;
- }
- /* photo(set) posts */
- .photo-slideshow {
- margin-bottom:10px;
- }
- /* lightbox for photos */
- .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;
- }
- /* audio and video posts */
- .audio iframe {
- width:100%;
- }
- .audio {
- margin-bottom:10px;
- }
- .spotify_audio_player {
- height: 80px !important;
- width:100%;
- }
- .video {
- margin-bottom:10px;
- }
- /* answer posts */
- .asker img, .answerer img {
- width:25px;
- height:25px;
- border-radius:3px;
- vertical-align:middle;
- margin-right:10px;
- }
- .asker, .answerer {
- font-size:13px;
- text-transform:lowercase;
- }
- .asker a, .answerer a {
- text-decoration:none;
- font-size:13px;
- font-weight:bold;
- }
- .question {
- font-size:{select:text size};
- color:{color:text};
- width: calc({select:post width} - 20px);
- background-color:#eee;
- padding:10px;
- }
- .answer {
- margin-top:-5px;
- margin-bottom:5px;
- font-size:{select:text size};
- }
- /* link posts */
- .linkpost {
- margin-bottom:10px;
- text-transform:uppercase;
- }
- .linkpost a {
- font-size: calc({select:text size} + 2px);
- }
- /* chat posts */
- .chat {
- font-size:{select:text size};
- margin-bottom:5px;
- padding:5px;
- font-family: 'Merriweather', serif;
- }
- /* quote posts */
- .quotepost {
- font-family: 'Dancing Script', cursive;
- font-size:24px;
- text-align:left;
- font-weight:bold;
- }
- .source {
- margin-top:10px;
- font-size:{select:text size};
- }
- /* post footer */
- .footer {
- margin-top:25px;
- margin-bottom:10px;
- font-size:12px;
- background-color:#eee;
- padding:5px;
- width: calc({select:post width} - 10px);
- }
- .date, .notecount, .via {
- display:inline-block;
- }
- .reblogbutton {
- float:right;
- }
- .tags {
- margin-top:10px;
- font-size:11px;
- display:inline-block;
- }
- .tags a {
- display:inline-block;
- margin-right:10px;
- }
- /* post notes */
- .postnotes {
- margin-top:50px;
- margin-bottom:100px;
- max-height:300px;
- overflow:auto;
- font-size: calc({select:text size} - 2px);
- }
- ol.notes li.note {
- padding:5px;
- }
- .postnotes ol {
- list-style-type:none;
- }
- .postnotes img {
- margin-left:-40px;
- width:15px;
- height:15px;
- border-radius:50px;
- margin-right:10px;
- vertical-align:middle;
- }
- /* pagination */
- .pagination {
- text-align:center;
- margin-top:50px;
- margin-bottom:100px;
- }
- /* scroll to top button */
- .scrolltop {
- transition:ease;
- position:fixed;
- bottom:10px;
- left:10px;
- display:none;
- font-size:{select:text size};
- }
- .scrolltop a {
- text-decoration:none;
- color:{color:links};
- padding:5px;
- transition:.5s ease;
- border-radius:4px;
- }
- .scrolltop a:hover {
- color:{color:links hover};
- }
- /* 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 {
- font-size:16px;
- }
- .credit:hover {
- color:black;
- }
- /* end post all styling content */
- </style>
- <body>
- <!-- header -->
- <div class="header">
- <div class="headerimage">
- <a title="{title}" href="/"><img src="{portraiturl-128}"></a>
- <div class="headerquote">{text:quote}</div></div>
- <p>
- <div class="description">{description}</div>
- <p>
- <div class="headerlinks">
- <a href="/" class="hvr-bounce-in">home</a>
- <a href="/ask" class="hvr-bounce-in">inbox</a>
- {block:iflinkone}<a href="{text:link one url}" class="hvr-bounce-in">{text:link one}</a>{/block:iflinkone}
- {block:iflinktwo}<a href="{text:link two url}" class="hvr-bounce-in">{text:link two}</a>{/block:iflinktwo}
- {block:iflinkthree}<a href="{text:link three url}" class="hvr-bounce-in">{text:link three}</a>{/block:iflinkthree}
- </div>
- </div>
- <div id="content">
- {block:posts}
- <div data-aos="zoom-in">
- <div class="posts">
- <!-- photo posts -->
- {block:Photo}
- {LinkOpenTag}<a href="#" onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false">
- <img src="{PhotoURL-HighRes}">
- </a>{LinkCloseTag}
- {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}
- <!-- photoset posts -->
- {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: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}
- <!-- 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}
- <!-- 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}
- <!-- quote posts -->
- {block:Quote}
- <div class="quotepost">"{Quote}"</div>
- {block:Source}<div class="source">- {Source}</div>{/block:Source}
- {/block:Quote}
- <!-- 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}
- <!-- footer at the bottom of each post -->
- <div class="footer">
- {block:Date}
- <div class="date"><a title="{Month} {DayOfMonth}{DayOfMonthSuffix}"href="{permalink}">{TimeAgo}</a></div>
- {/block:Date}
- {block:NoteCount}
-
- <div class="notecount"><a class="notecount" href="{permalink}">{NoteCount} notes</div></a>
- {/block:NoteCount}
- {block:PermalinkPage}
- {block:RebloggedFrom}
-
- <div class="via">
- <a title="via: {reblogparentname}" href="{reblogParentURL}">via</a> / <a title="source: {reblogrootname}" href="{reblogrootURL}">src</a>
- </div>
- {/block:RebloggedFrom}
- {/block:PermalinkPage}
- <!-- reblog button -->
- <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> <!-- end of footer -->
- </div> <!-- end of posts -->
- </div> <!-- end of fade up on hover -->
- {/block:posts}
- <!-- post notes -->
- {block:PostNotes}
- <div class="postnotes">{PostNotes}</div>
- {/block:PostNotes}
- <!-- pagination -->
- {block:pagination}
- <div class="pagination">
- {block:PreviousPage}
- <a href="{previouspage}"><</a>
- {/block:PreviousPage}
- {block:nextpage}
- <a href="{nextpage}">></a>
- {/block:nextpage}
- </div>
- {/block:pagination}
- </div> <!-- end of content -->
- <!-- 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>
- <!-- scroll to top button -->
- {block:ifscrolltotopbutton}
- <div class="scrolltop"><a href="#">scroll to top</a></div>
- {/block:ifscrolltotopbutton}
- <!-- end of all content -->
- <!-- now for the scripts -->
- <!-- scroll to top button -->
- <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>
- <!-- shythemes note count script-->
- <script>
- $(document).ready(function(){
- var $container = $('#content');
- $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>
- <!-- 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>
- </body>
- </html>
- <!-- theme by @amaanat on tumblr.com -->
Advertisement
Add Comment
Please, Sign In to add comment