Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!---THEME #1 BY VOICELESSTHEMES
- DO NOT CLAIM AS YOUR OWN OR STEAL PARTS OF MY CODE
- LEAVE CREDIT INTACT--->
- <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}
- <!--CUSTOMIZATION OPTIONS-->
- <!--BOOLEANS-->
- <meta name="if:GradientBG" content="0" />
- <meta name="if:FullPageBGImage" content="0" />
- <meta name="if:EverythingLowercase" content="0" />
- <meta name="if:RainbowHoverLinks" content="0" />
- <meta name="if:IconInHeader" content="1" />
- <meta name="if:RoundIcon" content="0" />
- <meta name="if:Subtitle" content="0" />
- <meta name="if:PopupAskBox" content="0" />
- <meta name="if:ExtraLinks" content="0" />
- <meta name="if:CustomCursor" content="0" />
- <meta name="if:RainbowMouseSparkles" content="0" />
- <!--COLORS-->
- <meta name="color:Gradient 1" content="#ffb5c0" />
- <meta name="color:Gradient 2" content="#cab5ff" />
- <meta name="color:Page BG" content="#ffb5c0" />
- <meta name="color:Text" content="#818181" />
- <meta name="color:Bold Text" content="#818181" />
- <meta name="color:Italic Text" content="#818181" />
- <meta name="color:Bold Italic Text" content="#818181" />
- <meta name="color:Links" content="#000" />
- <meta name="color:Links Hover" content="#ffb5c0" />
- <meta name="color:Scrollbar" content="#000" />
- <meta name="color:Blockquote" content="#818181" />
- <meta name="color:Blog Title" content="#000" />
- <meta name="color:Subtitle" content="#000" />
- <meta name="color:Header Link" content="#000" />
- <meta name="color:Borders" content="#000" />
- <meta name="color:Sidebar" content="#fff" />
- <meta name="color:Pagination Links" content="#000" />
- <meta name="color:Pagination Current" content="#cab5ff" />
- <meta name="color:Post BG" content="#fff" />
- <meta name="color:Post Info" content="#eee" />
- <meta name="color:Post Title" content="#000" />
- <meta name="color:Quote" content="#000" />
- <meta name="color:Odd Chat" content="#818181" />
- <meta name="color:Even Chat" content="#000" />
- <meta name="color:Question" content="#000" />
- <meta name="color:Question Text" content="#fff" />
- <!--LINKS-->
- <meta name="if:Link1" content="0" />
- <meta name="if:Link2" content="0" />
- <meta name="if:Link3" content="0" />
- <meta name="if:Link4" content="0" />
- <meta name="if:Link5" content="0" />
- <meta name="text:Link 1 URL" content="" />
- <meta name="text:Link 1 Label" content="" />
- <meta name="text:Link 2 URL" content="" />
- <meta name="text:Link 2 Label" content="" />
- <meta name="text:Link 3 URL" content="" />
- <meta name="text:Link 3 Label" content="" />
- <meta name="text:Link 4 URL" content="" />
- <meta name="text:Link 4 Label" content="" />
- <meta name="text:Link 5 URL" content="" />
- <meta name="text:Link 5 Label" content="" />
- <!--IMAGES-->
- <meta name="image:Page BG" content="" />
- <meta name="image:Header Image" content="" />
- <meta name="image:Sidebar 1" content="" />
- <meta name="image:Sidebar 2" content="" />
- <!--TEXT-->
- <meta name="text:Subtitle" content="" />
- <!--END CUSTOMIZATION OPTIONS-->
- <!--EXTERNAL SCRIPTS-->
- <!--JQUERY-->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <!--PIXEL UNION PHOTOSETS-->
- <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <!--THEMEKID'S POPUPS-->
- <script type="text/javascript" src="http://static.tumblr.com/8pnyeus/10hors8sn/themekid-popup.min.js"></script>
- <!--EXTERNAL STYLESHEETS-->
- <!--GOOGLE FONTS-->
- <link href="https://fonts.googleapis.com/css?family=Jura" rel="stylesheet">
- <!--SATURNTHEMES ICONS-->
- <link href="//dl.dropbox.com/s/50g6fbds3rh4m0j/saturnicons.css" rel="stylesheet">
- <!--PIXEL UNION PHOTOSETS-->
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <style>
- body {
- {block:IfGradientBG}
- background: linear-gradient({color:Gradient 1}, {color:Gradient 2});
- background-size: cover;
- background-attachment: fixed;
- {/block:IfGradientBG}
- {block:IfNotGradientBG}
- background-color: {color:Page BG};
- background-image: url({image:Page BG});
- background-attachment: fixed;
- background-position: center;
- {block:IfFullPageBGImage}
- background-size: cover;
- {/block:IfFullPageBGImage}
- {/block:IfNotGradientBG}
- color: {color:Text};
- font-family: 'Jura', sans-serif;
- {block:IfEverythingLowercase}
- text-transform: lowercase;
- {/block:IfEverythingLowercase}
- overflow-x: hidden;
- }
- b, strong {
- color: {color:Bold Text};
- }
- i, em {
- color: {color:Italic Text};
- }
- b i, i b, strong i, i strong, em b, b em, em strong, strong em {
- color: {color:Bold Italic Text};
- }
- a {
- color: {color:Links};
- text-decoration: none;
- transition: all 0.6s ease-in-out;
- }
- a:hover {
- {block:IfNotRainbowHoverLinks}
- color: {color:Links Hover};
- {/block:IfNotRainbowHoverLinks}
- text-decoration: line-through;
- font-weight: 800;
- transition: all 0.6s ease-in-out;
- }
- ::-webkit-scrollbar {
- width:3px;
- height:3px;
- background: transparent;
- }
- ::-webkit-scrollbar-track {
- width: 3px;
- height: 3px;
- background: transparent;
- }
- ::-webkit-scrollbar-thumb {
- background-color: {color:Scrollbar};
- }
- blockquote {
- padding: 0px 0px 0px 5px;
- margin: 0px 0px 0px 3px;
- border-left: solid 1px {color:Blockquote};
- }
- #header {
- width: 100%;
- margin: 0px 0px 15px 0px;
- height: auto;
- }
- #header img {
- width: 130px;
- height: auto;
- display: block;
- margin: 10px;
- {block:IfIconInHeader}
- {block:IfRoundIcon}
- border-radius: 50%;
- border: solid 2px {color:Borders};
- {/block:IfRoundIcon}
- {/block:IfIconInHeader}
- }
- #header h1 {
- font-size: 50px;
- font-weight: 800;
- margin: 0px;
- padding: 5px;
- line-height: 60px;
- color: {color:Blog Title};
- }
- {block:IfSubtitle}
- #header h3 {
- font-size: 24px;
- font-weight: 600;
- max-width: 800px;
- color: {color:Subtitle};
- }
- {/block:IfSubtitle}
- #header .top-nav {
- display: block;
- }
- #header .top-nav a {
- color: {color:Header Link};
- border: solid 2px {color:Header Link};
- border-radius: 50%;
- padding: 10px;
- font-size: 20px;
- margin: 5px 15px;
- transition: all 0.6s ease-in-out;
- }
- #header .top-nav a:hover {
- background: white;
- transition: all 0.6s ease-in-out;
- }
- #cont {
- {block:IfExtraLinks}
- width: 1062px;
- left: calc(50% - 531px);
- {/block:IfExtraLinks}
- {block:IfNotExtraLinks}
- width: 787px;
- left: calc(50% - 393px);
- {/block:IfNotExtraLinks}
- margin-top: 10px;
- padding-top: 15px;
- position: absolute;
- margin-bottom: 30px;
- }
- #sidebar {
- width: 250px;
- float: left;
- height: auto;
- margin-right: 25px;
- }
- #sidebar img {
- width: 240px;
- border: solid 1px {color:Borders};
- height: auto;
- margin: 5px;
- }
- #sidebar .desc {
- width: 200px;
- padding: 5px;
- border: solid 1px {color:Borders};
- background-color: {color:Sidebar};
- max-height: 140px;
- overflow-y: scroll;
- font-size: 12px;
- margin: 10px 20px;
- text-align: justify;
- }
- #sidebar .desc p {
- margin: 3px;
- padding: 2px;
- }
- #sidebar .pagi {
- width: 100%;
- margin: 15px 0px;
- }
- #sidebar .pagi a, #sidebar .pagi .jump {
- padding: 4px;
- margin: 2px;
- width: 16px;
- height: 16px;
- display: inline-block;
- font-size: 14px;
- border-radius: 50%;
- }
- #sidebar .pagi a {
- color: {color:Pagination Links};
- border: solid 1px {color:Pagination Links};
- }
- #sidebar .pagi {
- color: {color:Pagination Links};
- }
- #sidebar .pagi a:hover {
- background: white;
- text-decoration: none;
- }
- #sidebar .pagi .jump {
- color: {color:Pagination Current};
- border: solid 1px {color:Pagination Current};
- background: white;
- }
- #content {
- width: 462px;
- max-height: 480px;
- overflow-y: scroll;
- float: left;
- overflow-x: hidden;
- margin: 0px 25px;
- }
- #content .post {
- width: 400px;
- padding: 10px;
- background-color: {color:Post BG};
- border: solid 1px {color:Borders};
- margin: 20px;
- }
- #content .post .post-info {
- font-size: 13px;
- background-color: {color:Post Info};
- padding: 10px 15px;
- text-align: right;
- border-bottom: solid 1px {color:Borders};
- margin: -10px -10px 10px;
- }
- #content .post .post-info a {
- color: black;
- }
- #content .post .post-info a:hover {
- color: {color:Links Hover};
- }
- #content .post img {
- width: 100%;
- height: auto;
- }
- #content .post .title {
- font-size: 22px;
- color: {color:Post Title};
- }
- #content .post .text {
- font-size: 12px;
- text-align: justify;
- }
- #content .post .quo-txt {
- font-size: 18px;
- color: {color:Quote};
- text-align: justify;
- }
- #content .post .quo-src {
- font-size: 13px;
- text-align: right;
- margin-top: 5px;
- }
- #content .post .cht-line {
- font-size: 12px;
- line-height: 18px;
- }
- #content .post .cht-line:nth-child(odd) {
- color: {color:Odd Chat};
- }
- #content .post .cht-line:nth-child(even) {
- color: {color:Even Chat};
- }
- .tumblr_audio_player {
- width: 400px;
- }
- .spotify_audio_player {
- height: 80px!important;
- width: 400px;
- }
- #content .post .question {
- background: {color:Question};
- color: {color:Question Text};
- width: calc(100% - 50px);
- margin: 10px 15px;
- padding: 10px;
- }
- #content .post .question a {
- color: {color:Question Text};
- }
- #content .post .answer {
- color: {color:Question};
- border: solid 1px {color:Question};
- padding: 10px;
- font-size: 12px;
- margin: 10px 5px;
- }
- #content .post .tags {
- background-color: {color:Post Info};
- padding: 5px;
- margin: 10px -10px -10px -10px;
- border-top: solid 1px {color:Borders};
- font-size: 12px;
- }
- {block:IfExtraLinks}
- #linkbar {
- width: 250px;
- float: left;
- margin-left: 25px;
- }
- #linkbar img {
- width: 240px;
- border: solid 1px {color:Borders};
- margin: 5px;
- }
- #linkbar a {
- display: block;
- padding: 5px;
- font-size: 13px;
- background-color: {color:Links};
- color: {color:Borders};
- border-radius: 20px;
- margin: 5px 50px;
- text-align: center;
- border: 1px solid {color:Borders};
- }
- #linkbar a:hover {
- background-color: {color:Links Hover};
- text-decoration: none;
- }
- {/block:IfExtraLinks}
- #postnotes {
- font-size: 14px;
- line-height: 24px;
- max-height: 350px;
- text-align: center;
- overflow-y: scroll;
- }
- #postnotes ol.notes {
- padding: 0px;
- margin: 25px 0px;
- list-style-type: none;
- border-bottom: solid 1px {color:Text};
- }
- #postnotes ol.notes li.note {
- border-top: solid 1px {color:Text};
- padding: 5px 0px 0px;
- }
- #postnotes ol.notes li.note img.avatar {
- display: none;
- }
- #postnotes ol.notes li.note span.action {
- font-weight: bold;
- }
- #postnotes ol.notes li.note .answer_content {
- font-weight: normal;
- }
- #th-cred {
- position: fixed;
- bottom: 10px;
- right: 15px;
- color: black;
- font-weight: 600;
- font-size: 36px;
- z-index: 99999999999999;
- display: block;
- }
- #th-cred:hover {
- text-decoration: none;
- color: white;
- }
- .popup_block {
- padding: 30px;
- font-size: 12px;
- background:#fff;
- border: 1px solid #eaeaea;
- /*don’t change anything below here*/
- display: none;
- position: fixed;
- top: 50%; left: 50%;
- z-index: 99999999;
- max-height:70vh;
- overflow:auto;
- -webkit-animation: zoom 0.5s;
- -moz-animation: zoom 0.5s;
- -ms-animation: zoom 0.5s;
- -o-animation: zoom 0.5s;
- animation: zoom 0.5s;
- }
- *html .popup_block {
- position: absolute;
- }
- @-webkit-keyframes zoom {0% {transform: scale(0);-webkit-transform: scale(0);}100% {transform: scale(1.0);-webkit-transform: scale(1.0);}}@-moz-keyframes zoom {0% {transform: scale(0);-moz-transform: scale(0);}100% {transform: scale(1.0);-moz-transform: scale(1.0);}}@keyframes zoom {0% {transform: scale(0);}100% {transform: scale(1.0);}}
- #fade {
- background: {color:Page BG}; /*change the colour of the fade layer*/
- background-image: url(''); /*change the background if you want*/
- opacity: .80; /*set the opacity*/
- /*dont change below here*/
- display: none;
- position: fixed; left: 0; top: 0;
- width: 100%; height: 100%;
- z-index: 9999;
- }
- *html #fade {
- position: absolute;
- }
- {CustomCSS}
- {block:IfCustomCursor}
- html, body, a:hover{cursor: url("http://free-themes.info/cursor/mustache/mustache.png"), auto;}
- {/block:IfCustomCursor}
- </style>
- </head>
- <body>
- <div id="header" align="center">
- {block:IfIconInHeader}<img src="{PortraitURL-128}" />{/block:IfIconInHeader}
- {block:IfNotIconInHeader}<img src="{image:Header Image}" />{/block:IfNotIconInHeader}
- <h1>{Title}</h1>
- {block:IfSubtitle}<h3>{text:Subtitle}</h3>{/block:IfSubtitle}
- <div class="top-nav">
- <a href="/" title="refresh"><span class="sf sf-home-o"></span></a>
- {block:IfNotPopupAskBox}<a href="/ask" title="message"><span class="sf sf-envelope-3-o"></span></a>{/block:IfNotPopupAskBox}
- {block:IfPopupAskBox}<a href="#?w=500" rel="ask" class="poplight"><span class="sf sf-envelope-3-o"></span></a>{/block:IfPopupAskBox}
- <a href="/archive" title="past"><span class="sf sf-calendar-o"></span></a>
- </div>
- </div>
- <div id="cont">
- <div id="sidebar">
- <img src="{image:Sidebar 1}" />
- <div class="desc">{Description}</div>
- {block:Pagination}<div class="pagi" align="center">{block:PreviousPage}
- <a href="{PreviousPage}"><span class="sf sf-chevron-left"></span></a>
- {/block:PreviousPage}{block:JumpPagination length="3"}{block:CurrentPage}
- <span class="current_page" class="jump">{PageNumber}</span>
- {/block:CurrentPage}{block:JumpPage}
- <a class="jump_page" href="{URL}">{PageNumber}</a>
- {/block:JumpPage}{/block:JumpPagination}{block:NextPage}
- <a href="{NextPage}"><span class="sf sf-chevron-right"></span></a>
- {/block:NextPage}</div>{/block:Pagination}
- </div>
- <div id="content">
- {block:Posts}
- <div class="post">
- {block:Text}
- <div class="post-info">
- <a href="{Permalink}"><span class="sf sf-pencil-o"></span>{PostID}</a> <a href="{Permalink}#postnotes">+{NoteCount}</a> <a href="{ReblogURL}" title="reblog"><span class="sf sf-reblog-o"></span></a>
- </div>
- {block:Title}<h4 class="title">{Title}</h4>{/block:Title}
- <article class="text">{Body}</article>
- {block:More}<a href="{Permalink}" align="center">read more</a>{/block:More}
- {/block:Text}
- {block:Photo}
- <div class="post-info">
- <a href="{Permalink}"><span class="sf sf-picture-o"></span>{PostID}</a> <a href="{Permalink}#postnotes">+{NoteCount}</a> <a href="{ReblogURL}" title="reblog"><span class="sf sf-reblog-o"></span></a>
- </div>
- <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" />
- {block:Caption}<article class="text">{Caption}</article>{/block:Caption}
- {/block:Photo}
- {block:Photoset}
- <div class="post-info">
- <a href="{Permalink}"><span class="sf sf-picture-o"></span>{PostID}</a> <a href="{Permalink}#postnotes">+{NoteCount}</a> <a href="{ReblogURL}" title="reblog"><span class="sf sf-reblog-o"></span></a>
- </div>
- <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}<article class="text">{Caption}</article>{/block:Caption}
- {/block:Photoset}
- {block:Quote}
- <div class="post-info">
- <a href="{Permalink}"><span class="sf sf-chat-o"></span>{PostID}</a> <a href="{Permalink}#postnotes">+{NoteCount}</a> <a href="{ReblogURL}" title="reblog"><span class="sf sf-reblog-o"></span></a>
- </div>
- <div class="quo-txt"><span style="font-size:60px; height: 18px; margin-top: -15px; margin-right: -5px display: block; float: left;">“</span> {Quote}</div>
- <div class="quo-src">{Source}</div>
- {/block:Quote}
- {block:Link}
- <div class="post-info">
- <a href="{Permalink}"><span class="sf sf-link-1-o"></span>{PostID}</a> <a href="{Permalink}#postnotes">+{NoteCount}</a> <a href="{ReblogURL}" title="reblog"><span class="sf sf-reblog-o"></span></a>
- </div>
- <h4 class="title"><a href="{URL}">{Name}</a></h4>
- {block:Description}<article class="text">{Description}</article>{/block:Description}
- {/block:Link}
- {block:Chat}
- <div class="post-info">
- <a href="{Permalink}"><span class="sf sf-chat-bubbles-o"></span>{PostID}</a> <a href="{Permalink}#postnotes">+{NoteCount}</a> <a href="{ReblogURL}" title="reblog"><span class="sf sf-reblog-o"></span></a>
- </div>
- {block:Title}<h4 class="title">{Title}</h4>{/block:Title}
- {block:Lines}<article class="cht-line">{block:Label}<strong>{Label} </strong>{/block:Label}{Line}</article>{/block:Lines}
- {/block:Chat}
- {block:Audio}
- <div class="post-info">
- <a href="{Permalink}"><span class="sf sf-music-note-o"></span>{PostID}</a> <a href="{Permalink}#postnotes">+{NoteCount}</a> <a href="{ReblogURL}" title="reblog"><span class="sf sf-reblog-o"></span></a>
- </div>
- {block:AudioEmbed}{AudioEmbed}{/block:AudioEmbed}
- {block:Caption}<article class="text">{Caption}</article>{/block:Caption}
- {/block:Audio}
- {block:Video}
- <div class="post-info">
- <a href="{Permalink}"><span class="sf sf-film-o"></span>{PostID}</a> <a href="{Permalink}#postnotes">+{NoteCount}</a> <a href="{ReblogURL}" title="reblog" title="reblog"><span class="sf sf-reblog-o"></span></a>
- </div>
- {Video-400}
- {block:Caption}<article class="text">{Caption}</article>{/block:Caption}
- {/block:Video}
- {block:Answer}
- <div class="post-info">
- <a href="{Permalink}"><span class="sf sf-envelope-2-o"></span>{PostID}</a> <a href="{Permalink}#postnotes">+{NoteCount}</a> <a href="{ReblogURL}" title="reblog" title="reblog"><span class="sf sf-reblog-o"></span></a>
- </div>
- <div class="question" align="right"><p>{Question}</p><p>~{Asker}</p></div>
- {block:Answerer}
- <div class="answer"><p><strong>{Answerer} replied:</strong></p><p>{Answer}</p></div>
- {/block:Answerer}
- {block:NotReblog}<div class="answer">{Answer}</div>{/block:NotReblog}
- {block:RebloggedFrom}<div class="text">{Replies}</div>{/block:RebloggedFrom}
- {/block:Answer}
- {block:HasTags}<div class="tags">
- {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
- </div>{/block:HasTags}
- </div>
- {block:PermalinkPage}
- {block:PostNotes}
- <div class="post" id="postnotes">
- {PostNotes}
- </div>
- {/block:PostNotes}
- {/block:PermalinkPage}
- {/block:Posts}
- </div>
- {block:IfExtraLinks}
- <div id="linkbar">
- <img src="{image:Sidebar 2}" />
- <div class="links">
- {block:HasPages}{block:Pages}<a href="{URL}">{Label}</a>{/block:Pages}{/block:HasPages}
- {block:IfLink1}<a href="{text:Link 1 URL}">{text:Link 1 Label}</a>{/block:IfLink1}
- {block:IfLink2}<a href="{text:Link 2 URL}">{text:Link 2 Label}</a>{/block:IfLink2}
- {block:IfLink3}<a href="{text:Link 3 URL}">{text:Link 3 Label}</a>{/block:IfLink3}
- {block:IfLink4}<a href="{text:Link 4 URL}">{text:Link 4 Label}</a>{/block:IfLink4}
- {block:IfLink5}<a href="{text:Link 5 URL}">{text:Link 5 Label}</a>{/block:IfLink5}
- </div>
- </div>
- {/block:IfExtraLinks}
- <a href="http://voicelessthemes.tumblr.com" id="th-cred">©</a>
- </div>
- <script>
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '10px',
- borderRadius: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- });
- </script>
- {block:IfRainbowMouseSparkles}
- <script>
- var colour="random"; // in addition to "random" can be set to any valid colour eg "#f0f" or "red"
- var sparkles=50;
- /****************************
- * Tinkerbell Magic Sparkle *
- *(c)2005-11 mf2fm web-design*
- * http://www.mf2fm.com/rv *
- * DON'T EDIT BELOW THIS BOX *
- ****************************/
- var x=ox=400;
- var y=oy=300;
- var swide=800;
- var shigh=600;
- var sleft=sdown=0;
- var tiny=new Array();
- var star=new Array();
- var starv=new Array();
- var starx=new Array();
- var stary=new Array();
- var tinyx=new Array();
- var tinyy=new Array();
- var tinyv=new Array();
- window.onload=function() { if (document.getElementById) {
- var i, rats, rlef, rdow;
- for (var i=0; i<sparkles; i++) {
- var rats=createDiv(3, 3);
- rats.style.visibility="hidden";
- document.body.appendChild(tiny[i]=rats);
- starv[i]=0;
- tinyv[i]=0;
- var rats=createDiv(5, 5);
- rats.style.backgroundColor="transparent";
- rats.style.visibility="hidden";
- var rlef=createDiv(1, 5);
- var rdow=createDiv(5, 1);
- rats.appendChild(rlef);
- rats.appendChild(rdow);
- rlef.style.top="2px";
- rlef.style.left="0px";
- rdow.style.top="0px";
- rdow.style.left="2px";
- document.body.appendChild(star[i]=rats);
- }
- set_width();
- sparkle();
- }}
- function sparkle() {
- var c;
- if (x!=ox || y!=oy) {
- ox=x;
- oy=y;
- for (c=0; c<sparkles; c++) if (!starv[c]) {
- star[c].style.left=(starx[c]=x)+"px";
- star[c].style.top=(stary[c]=y)+"px";
- star[c].style.clip="rect(0px, 5px, 5px, 0px)";
- star[c].childNodes[0].style.backgroundColor=star[c].childNodes[1].style.backgroundColor=(colour=="random")?newColour():colour;
- star[c].style.visibility="visible";
- starv[c]=50;
- break;
- }
- }
- for (c=0; c<sparkles; c++) {
- if (starv[c]) update_star(c);
- if (tinyv[c]) update_tiny(c);
- }
- setTimeout("sparkle()", 40);
- }
- function update_star(i) {
- if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
- if (starv[i]) {
- stary[i]+=1+Math.random()*3;
- if (stary[i]<shigh+sdown && starx[i]>0) {
- star[i].style.top=stary[i]+"px";
- starx[i]+=(i%5-2)/5;
- star[i].style.left=starx[i]+"px";
- }
- else {
- star[i].style.visibility="hidden";
- starv[i]=0;
- return;
- }
- }
- else {
- tinyv[i]=50;
- tiny[i].style.top=(tinyy[i]=stary[i])+"px";
- tiny[i].style.left=(tinyx[i]=starx[i])+"px";
- tiny[i].style.width="2px";
- tiny[i].style.height="2px";
- tiny[i].style.backgroundColor=star[i].childNodes[0].style.backgroundColor;
- star[i].style.visibility="hidden";
- tiny[i].style.visibility="visible"
- }
- }
- function update_tiny(i) {
- if (--tinyv[i]==25) {
- tiny[i].style.width="1px";
- tiny[i].style.height="1px";
- }
- if (tinyv[i]) {
- tinyy[i]+=1+Math.random()*3;
- if (tinyy[i]<shigh+sdown && tinyx[i]>0) {
- tiny[i].style.top=tinyy[i]+"px";
- tinyx[i]+=(i%5-2)/5;
- tiny[i].style.left=tinyx[i]+"px";
- }
- else {
- tiny[i].style.visibility="hidden";
- tinyv[i]=0;
- return;
- }
- }
- else tiny[i].style.visibility="hidden";
- }
- document.onmousemove=mouse;
- function mouse(e) {
- set_scroll();
- y=(e)?e.pageY:event.y+sdown;
- x=(e)?e.pageX:event.x+sleft;
- }
- function set_scroll() {
- if (typeof(self.pageYOffset)=="number") {
- sdown=self.pageYOffset;
- sleft=self.pageXOffset;
- }
- else if (document.body.scrollTop || document.body.scrollLeft) {
- sdown=document.body.scrollTop;
- sleft=document.body.scrollLeft;
- }
- else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
- sleft=document.documentElement.scrollLeft;
- sdown=document.documentElement.scrollTop;
- }
- else {
- sdown=0;
- sleft=0;
- }
- }
- window.onresize=set_width;
- function set_width() {
- if (typeof(self.innerWidth)=="number") {
- swide=self.innerWidth;
- shigh=self.innerHeight;
- }
- else if (document.documentElement && document.documentElement.clientWidth) {
- swide=document.documentElement.clientWidth;
- shigh=document.documentElement.clientHeight;
- }
- else if (document.body.clientWidth) {
- swide=document.body.clientWidth;
- shigh=document.body.clientHeight;
- }
- }
- function createDiv(height, width) {
- var div=document.createElement("div");
- div.style.position="absolute";
- div.style.height=height+"px";
- div.style.width=width+"px";
- div.style.overflow="hidden";
- return (div);
- }
- function newColour() {
- var c=new Array();
- c[0]=255;
- c[1]=Math.floor(Math.random()*256);
- c[2]=Math.floor(Math.random()*(256-c[1]/2));
- c.sort(function(){return (0.5 - Math.random());});
- return ("rgb("+c[0]+", "+c[1]+", "+c[2]+")");
- }
- // ]]>
- </script>
- {/block:IfRainbowMouseSparkles}
- {block:IfRainbowHoverLinks}
- <script type='text/javascript'>
- //<![CDATA[
- var rate = 50;
- if (document.getElementById)
- window.onerror=new Function("return true")
- var objActive; // The object which event occured in
- var act = 0; // Flag during the action
- var elmH = 0; // Hue
- var elmS = 128; // Saturation
- var elmV = 255; // Value
- var clrOrg; // A color before the change
- var TimerID; // Timer ID
- if (document.all) {
- document.onmouseover = doRainbowAnchor;
- document.onmouseout = stopRainbowAnchor;
- }
- else if (document.getElementById) {
- document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
- document.onmouseover = Mozilla_doRainbowAnchor;
- document.onmouseout = Mozilla_stopRainbowAnchor;
- }
- function doRainbow(obj)
- {
- if (act == 0) {
- act = 1;
- if (obj)
- objActive = obj;
- else
- objActive = event.srcElement;
- clrOrg = objActive.style.color;
- TimerID = setInterval("ChangeColor()",100);
- }
- }
- function stopRainbow()
- {
- if (act) {
- objActive.style.color = clrOrg;
- clearInterval(TimerID);
- act = 0;
- }
- }
- function doRainbowAnchor()
- {
- if (act == 0) {
- var obj = event.srcElement;
- while (obj.tagName != 'A' && obj.tagName != 'BODY') {
- obj = obj.parentElement;
- if (obj.tagName == 'A' || obj.tagName == 'BODY')
- break;
- }
- if (obj.tagName == 'A' && obj.href != '') {
- objActive = obj;
- act = 1;
- clrOrg = objActive.style.color;
- TimerID = setInterval("ChangeColor()",100);
- }
- }
- }
- function stopRainbowAnchor()
- {
- if (act) {
- if (objActive.tagName == 'A') {
- objActive.style.color = clrOrg;
- clearInterval(TimerID);
- act = 0;
- }
- }
- }
- function Mozilla_doRainbowAnchor(e)
- {
- if (act == 0) {
- obj = e.target;
- while (obj.nodeName != 'A' && obj.nodeName != 'BODY') {
- obj = obj.parentNode;
- if (obj.nodeName == 'A' || obj.nodeName == 'BODY')
- break;
- }
- if (obj.nodeName == 'A' && obj.href != '') {
- objActive = obj;
- act = 1;
- clrOrg = obj.style.color;
- TimerID = setInterval("ChangeColor()",100);
- }
- }
- }
- function Mozilla_stopRainbowAnchor(e)
- {
- if (act) {
- if (objActive.nodeName == 'A') {
- objActive.style.color = clrOrg;
- clearInterval(TimerID);
- act = 0;
- }
- }
- }
- function ChangeColor()
- {
- objActive.style.color = makeColor();
- }
- function makeColor()
- {
- // Don't you think Color Gamut to look like Rainbow?
- // HSVtoRGB
- if (elmS == 0) {
- elmR = elmV; elmG = elmV; elmB = elmV;
- }
- else {
- t1 = elmV;
- t2 = (255 - elmS) * elmV / 255;
- t3 = elmH % 60;
- t3 = (t1 - t2) * t3 / 60;
- if (elmH < 60) {
- elmR = t1; elmB = t2; elmG = t2 + t3;
- }
- else if (elmH < 120) {
- elmG = t1; elmB = t2; elmR = t1 - t3;
- }
- else if (elmH < 180) {
- elmG = t1; elmR = t2; elmB = t2 + t3;
- }
- else if (elmH < 240) {
- elmB = t1; elmR = t2; elmG = t1 - t3;
- }
- else if (elmH < 300) {
- elmB = t1; elmG = t2; elmR = t2 + t3;
- }
- else if (elmH < 360) {
- elmR = t1; elmG = t2; elmB = t1 - t3;
- }
- else {
- elmR = 0; elmG = 0; elmB = 0;
- }
- }
- elmR = Math.floor(elmR).toString(16);
- elmG = Math.floor(elmG).toString(16);
- elmB = Math.floor(elmB).toString(16);
- if (elmR.length == 1) elmR = "0" + elmR;
- if (elmG.length == 1) elmG = "0" + elmG;
- if (elmB.length == 1) elmB = "0" + elmB
- elmH = elmH + rate;
- if (elmH >= 360)
- elmH = 0;
- return '#' + elmR + elmG + elmB;
- }
- //]]>
- </script>
- {/block:IfRainbowHoverLinks}
- <script type="text/javascript">
- $(document).ready(function(){
- popUp(true);
- });
- </script>
- <script>
- // minimal soundcloud player © shythemes.tumblr
- $(document).ready(function(){
- var color = '#000'; // color of play button (hex)
- $('.soundcloud_audio_player').each(function(){
- $(this).attr({ src: $(this).attr('src').split('&')[0] + '&liking=false&sharing=false&auto_play=false&show_comments=false&continuous_play=false&buying=false&show_playcount=false&show_artwork=true&origin=tumblr&color=' + color.split('#')[1], height: 116, width: '100%' });
- });
- });
- </script>
- <div id="popup_example" class="popup_block">
- <iframe frameborder="0" width="500px" height="200px" id="ask_form" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" seamless></iframe>
- </div>
- {block:ContentSource}
- <!– {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
- width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
- {/block:SourceLogo}
- {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} –>
- {/block:ContentSource}
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement