Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!--
- THEME #53 by Anomaly ☾ tumblr user twinkleribbon ☽ : APOLLO 9 !!
- - i made the base code
- - please abide by all the rules
- 【 All themes and pages can be found here : http://twinkleribbon.tumblr.com/thm 】
- Thank you for using! Or just looking at the code. Whatever you're here for. Either way, it's appreciated!
- Feel free to message me if you need any help, my ask box is always open!
- -->
- <script src="http://assets.tumblr.com/assets/scripts/tumblelog_post_message_queue.js?_v=ae06d1ab69efc6f29297bf2b7a4160af"></script>
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
- <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
- <script src="http://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:90,
- tip_fade_speed:600,
- attribute:"title"
- });
- });
- })(jQuery);
- </script>
- <script> function changeNavigation(id)
- {document.getElementById('content')
- .innerHTML=document.getElementById(id).innerHTML}
- </script>
- {block:ifbacktotopbutton}
- <script type='text/javascript' language='Javascript'>
- var scrolltotop={
- //startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
- //scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (1=top).
- setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
- controlHTML: '<img src="{image:to top}"/>', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
- controlattrs: {offsetx:5, offsety:5}, //offset of control relative to right/ center of window corner
- anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links
- state: {isvisible:false, shouldvisible:false},
- scrollup:function(){
- if (!this.cssfixedsupport) //if control is positioned using JavaScript
- this.$control.css({opacity:0}) //hide control immediately after clicking it
- var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
- if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
- dest=jQuery('#'+dest).offset().top
- else
- dest=0
- this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
- },
- keepfixed:function(){
- var $window=jQuery(window)
- var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
- var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
- this.$control.css({left:controlx+'px', top:controly+'px'})
- },
- togglecontrol:function(){
- var scrolltop=jQuery(window).scrollTop()
- if (!this.cssfixedsupport)
- this.keepfixed()
- this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
- if (this.state.shouldvisible && !this.state.isvisible){
- this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
- this.state.isvisible=true
- }
- else if (this.state.shouldvisible==false && this.state.isvisible){
- this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
- this.state.isvisible=false
- }
- },
- init:function(){
- jQuery(document).ready(function($){
- var mainobj=scrolltotop
- var iebrws=document.all
- mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode
- mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
- mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
- .css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
- .attr({title:"{text:to top title}"})
- .click(function(){mainobj.scrollup(); return false})
- .appendTo('body')
- if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text
- mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text
- mainobj.togglecontrol()
- $('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
- mainobj.scrollup()
- return false
- })
- $(window).bind('scroll resize', function(e){
- mainobj.togglecontrol()
- })
- })
- }
- }
- scrolltotop.init()
- </script>
- {/block:ifbacktotopbutton}
- <title>{Title}</title>
- <link rel="shortcut icon" href="{image:favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <!--default variables-->
- <meta name="color:background" content="">
- <meta name="color:posts" content="">
- <meta name="color:border" content="">
- <meta name="color:blockquote" content="">
- <meta name="color:ask" content="">
- <meta name="color:text" content="">
- <meta name="color:link" content="">
- <meta name="color:hover" content="">
- <meta name="color:button" content="">
- <meta name="color:button hover" content="">
- <meta name="color:button border" content="">
- <meta name="color:title 1" content="">
- <meta name="color:title 2" content="">
- <meta name="color:permalink" content="">
- <meta name="color:selection" content="">
- <meta name="color:selection text" content="">
- <meta name="color:tooltip" content="">
- <meta name="color:tooltip text" content="">
- <meta name="color:scrollbar" content="">
- <meta name="image:favicon" content="">
- <meta name="image:background" content="">
- <meta name="image:cursor" content="">
- <meta name="image:sidebar" content="">
- <meta name="image:lace" content="">
- <meta name="image:render" content="">
- <meta name="image:to top" content="">
- <meta name="text:title" content="">
- <meta name="text:about url" content="">
- <meta name="text:links url" content="">
- <meta name="text:ask text" content="asked">
- <meta name="text:permalink symbol" content="">
- <meta name="text:back title" content="">
- <meta name="text:next title" content="">
- <meta name="text:to top title" content="">
- <meta name="text:title font" content="">
- <meta name="text:font" content="">
- <meta name="text:font size" content="">
- <meta name="text:secondary font" content="">
- <meta name="text:secondary font size" content="">
- <meta name="if:bg cover" content="">
- <meta name="if:cursor" content="">
- <meta name="if:render" content="">
- <meta name="if:tabs" content="">
- <meta name="if:round corners" content="">
- <meta name="if:box shadow" content="">
- <meta name="if:bubbling title" content="">
- <meta name="if:back to top button" content="">
- <meta name="text:render left" content="">
- <meta name="text:render bottom" content="">
- <meta name="text:render width" content="">
- <meta name="text:lace height" content="">
- <style type="text/css">
- ::-webkit-scrollbar {
- width: 9px;
- height: 4px;
- background:{color:scrollbar};
- border:4px solid {color:background};
- }
- ::-webkit-scrollbar-thumb {
- background-color:{color:scrollbar};
- border-radius:5px;
- }
- #s-m-t-tooltip {
- max-width:300px;
- margin:10px 0px 0px 10px;
- background-color:{color:tooltip};
- font-family:{text:secondary font};
- font-size:{text:secondary font size}px;
- padding:3px;
- color:{color:tooltip text};
- z-index:999999999999999999999999999999999999;
- }
- #s-m-t-tooltip:after {
- position: absolute;
- display: block; content: "";
- border-color: transparent {color:tooltip} transparent transparent ;
- border-style: solid;
- border-width: 5px;
- height:0;
- width:0;
- position:absolute;
- top:3px;
- left:-10px;
- }
- ::selection {
- background: {color:selection};
- color: {color:selection text};
- }
- ::-moz-selection {
- background: {color:selection};
- color: {color:selection text};
- }
- ::-webkit-selection {
- background: {color:selection};
- color: {color:selection text};
- }
- {block:ifcursor}body, a, a:hover {cursor: url('{image:cursor}'), progress;}{/block:ifcursor}
- body {
- margin:0px;
- background:{color:background};
- background-image:url('{image:background}');
- background-attachment:fixed;
- {block:ifbgcover}
- background-repeat:no-repeat;
- background-size:cover;
- {/block:ifbgcover}
- color:{color:text};
- font-family:{text:font};
- font-size:{text:font size}px;
- }
- a {
- color:{color:link};
- text-decoration:none;
- }
- a:hover {
- color:{color:hover};
- -webkit-transition: all 0.7s ease;
- -moz-transition: all 0.7s ease;
- -o-transition: all 0.7s ease;
- transition: all 0.7s ease;
- }
- blockquote {
- border-left:1px solid {color:blockquote};
- padding-left:10px;
- }
- blockquote img {
- max-width:100%;
- height:auto;
- }
- iframe, img, embed, object, video {
- }
- img {
- max-width:auto;
- height:auto;
- }
- #lace {
- background-image: url('{image:lace}');
- top:0px;
- left:0px;
- width:100%;
- height:{text:lace height}px;
- position:fixed;
- z-index:1;
- }
- a.navi {
- display:inline-block;
- width:105px;
- padding:2px;
- color:{color:link};
- font-family:{text:secondary font};
- font-size:{text:secondary font size}px;
- background:{color:button};
- border-left:10px solid {color:button border};
- box-shadow:inset 5px 0 0px 0 {color:button hover};
- margin-bottom:4px;
- margin-left:5px;
- text-indent:10px;
- }
- a.navi:hover {
- color:{color:hover};
- box-shadow:inset 850px 0 0px 0 {color:button hover};
- }
- #tit {
- text-align:center;
- font-family:{text:title font};
- font-size:50px;
- margin-bottom:20px;
- margin-top:calc({text:lace height}px + 20px);
- color:{color:title 1};
- }
- .sidebar {
- background:{color:posts};
- border:1px solid {color:border};
- width:250px;
- padding:10px;
- {block:ifroundcorners}
- border-radius:10px;
- {/block:ifroundcorners}
- {block:ifboxshadow}
- box-shadow:5px 5px rgba(0,0,0,0.1);
- {/block:ifboxshadow}
- }
- .tabcon {
- float:left;
- position:relative;
- padding:10px;
- width:500px;
- background:{color:posts};
- border:1px solid {color:border};
- {block:ifroundcorners}
- border-radius:10px;
- {/block:ifroundcorners}
- margin-bottom:25px;
- {block:ifboxshadow}
- box-shadow:5px 5px rgba(0,0,0,0.1);
- {/block:ifboxshadow}
- }
- .h1 {
- font-weight:normal;
- font-size:calc({text:font size}px + 5px);
- margin:0 0 10px 0;
- text-align:center;
- }
- article {
- float:left;
- position:relative;
- padding:10px;
- width:500px;
- background:{color:posts};
- border:1px solid {color:border};
- {block:ifroundcorners}
- border-radius:10px;
- {/block:ifroundcorners}
- margin-bottom:25px;
- {block:ifboxshadow}
- box-shadow:5px 5px rgba(0,0,0,0.1);
- {/block:ifboxshadow}
- }
- .title {
- font-weight:normal;
- font-size:calc({text:font size}px + 5px);
- margin:0 0 10px 0;
- text-align:center;
- }
- .quote {
- font-weight:normal;
- font-size:calc({text:font size}px + 5px);
- font-style:italic;
- margin:0 0 10px 0;
- text-align:center;
- }
- .quotesource {
- margin:0 0 10px 0;
- text-align:right;
- }
- .bubble {
- align:right;
- background: {color:ask};
- margin:7px 0px 5px 66px;
- padding:10px;
- position: relative;
- -moz-border-radius:5px;
- -webkit-border-radius:5px;
- border-radius:5px;
- }
- .bubble p {
- margin:1px 0px;
- }
- .bubble span {
- position:absolute;
- width:1px;
- height:1px;
- font-size: 0;
- line-height: 1px;
- left:-10px;
- top:10px;
- border-top:7px solid transparent;
- border-bottom:7px solid transparent;
- border-right:10px solid {color:ask};
- }
- .perma {
- margin-top:10px;
- text-align:right;
- padding:2px;
- background:{color:permalink};
- font-family:{text:secondary font};
- font-size:{text:secondary font size}px;
- {block:ifroundcorners}
- border-radius:5px;
- {/block:ifroundcorners}
- }
- #pagi {
- width:500px;
- padding:10px;
- }
- .pagi {
- background:{color:posts};
- border:1px solid {color:border};
- padding:5px;
- {block:ifroundcorners}
- border-radius:5px;
- {/block:ifroundcorners}
- {block:ifboxshadow}
- box-shadow:5px 5px rgba(0,0,0,0.1);
- {/block:ifboxshadow}
- }
- .credit {
- position:fixed;
- bottom:4px;
- left:8px;
- font: 9px consolas;
- text-transform:uppercase;
- letter-spacing: 0px;
- padding: 2px;
- }
- </style>
- </head>
- {block:ifbubblingtitle}
- <script type="text/javascript">
- // <![CDATA[
- var bgcolour="{color:title 1}"; // background colour
- var fgcolour="{color:title 2}"; // foreground colour
- var speed=80; // speed of bubbling, lower is faster
- var shades=12; // number of shades of bubble
- /****************************
- * Bubbling Text Effect *
- *(c)2003-13 mf2fm web-design*
- * http://www.mf2fm.com/rv *
- * DON'T EDIT BELOW THIS BOX *
- ****************************/
- var bubbcol=new Array();
- var bubbshd;
- var bubbler, bubbtxt;
- var bubbchr=new Array();
- function addLoadEvent(funky) {
- var oldonload=window.onload;
- if (typeof(oldonload)!='function') window.onload=funky;
- else window.onload=function() {
- if (oldonload) oldonload();
- funky();
- }
- }
- addLoadEvent(bubbagump);
- function bubbagump() { if (document.getElementById) {
- var i, fg, bg, col;
- for (bubbler=0; bubbler<=shades; bubbler++) {
- col="#";
- for (i=1; i<6; i+=2) {
- bg=parseInt(bgcolour.substring(i,i+2),16);
- fg=parseInt(fgcolour.substring(i,i+2),16);
- col+=dechex(bg+(fg-bg)*(bubbler/shades));
- }
- bubbcol[bubbler+1]=col;
- if (bubbler==Math.floor(shades/2)) bubbshd=col;
- }
- bubbler=document.getElementById("bubble");
- bubbtxt=bubbler.firstChild.nodeValue;
- while (bubbler.childNodes.length) bubbler.removeChild(bubbler.childNodes[0]);
- for (i=0; i<bubbtxt.length; i++) {
- fg=document.createElement("span");
- fg.setAttribute("id", "bubb"+i);
- fg.style.textShadow=bubbshd+" 0px 0px 2px";
- fg.appendChild(document.createTextNode(bubbtxt.charAt(i)));
- bubbler.appendChild(fg);
- }
- bubbler=setInterval("bubbling()", speed);
- }}
- function dechex(dec) {
- dec=Math.floor(dec);
- return ((dec<16)?'0':'')+dec.toString(16);
- }
- function bubbling() {
- var i, bubby;
- for (i=0; i<bubbtxt.length; i++) {
- bubby=document.getElementById("bubb"+i);
- if (bubbchr[i]) {
- bubby.style.color=bubbcol[bubbchr[i]];
- bubbchr[i]=(bubbchr[i]+1)%bubbcol.length;
- }
- else if (Math.random()<7.5/(shades*bubbtxt.length)) bubbchr[i]=1;
- }
- }
- // ]]>
- </script>
- {/block:ifbubblingtitle}
- <body>
- <div id="lace"></div>
- <div id="tit"><span id="bubble">{text:title}</span></div>
- <table style="font-size:{text:font size}px;" width="500" align="center" border="0" cellspacing="5">
- <tbody><tr>
- <td valign="top" style="width:240px; padding:2px; border-radius:20px; background: transparent;">
- <div class="sidebar">
- <img style="width:120px; height:auto; float:left;" src="{image:sidebar}">
- {block:ifnottabs}
- <a class="navi" href="/">home</a>
- <a class="navi" href="/ask">ask</a>
- <a class="navi" href="/submit">submit</a>
- <a class="navi" href="{text:about url}">about</a>
- <a class="navi" href="{text:links url}">links</a>
- {/block:ifnottabs}
- {block:iftabs}
- <a class="navi" href="/">home</a>
- <a class="navi" onClick="changeNavigation('ask')">ask</a>
- <a class="navi" onClick="changeNavigation('about')">about</a>
- <a class="navi" onClick="changeNavigation('link')">links</a>
- <a class="navi" onClick="changeNavigation('tag')">tags</a>
- {/block:iftabs}
- {Description}
- </div>
- <td valign="top" style="width:500px;">
- <div id="content">
- {block:Posts}
- <article>
- {block:Text}
- {block:Title}<div class="title">{Title}</div>{/block:Title}
- {Body}
- {/block:Text}
- {block:Photo}
- <center>{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</center>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photo}
- {block:Photoset}
- {Photoset-500}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photoset}
- {block:Quote}
- <div class="quote">"{Quote}"</div>
- {block:Source}<div class="quotesource">{Source}</div>{/block:Source}
- {/block:Quote}
- {block:Link}
- <div class="title"><a href="{URL}">{Name}</a></div>
- {block:Description}<div class="description">{Description}</div>{/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Title}<div class="title">{Title}</div>{/block:Title}
- {block:Lines}<div class="{Alt} user_{UserNumber}">{block:Label}<b>{Label}</b>{/block:Label} {Line}</div>{/block:Lines}
- {/block:Chat}
- {block:Video}
- {Video-500}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Video}
- {block:Audio}
- {AudioPlayerWhite}
- {block:TrackName}{TrackName}<br>{/block:TrackName}
- {block:Artist}{Artist}<br>{/block:Artist}
- {block:Album}{Album}{/block:Album}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Audio}
- {block:Answer}
- <img src="{AskerPortraitURL-48}" align="left" style="border-radius:48px;">
- <div class="bubble"><span></span>{Asker} {text:ask text}: {Question} </div>
- <div class="answer">{Answer}</div>
- {/block:Answer}
- {block:IndexPage}
- <div class="perma">
- <a href="{Permalink}">{NoteCountWithLabel}</a> {text:permalink symbol} {TimeAgo} {text:permalink symbol} <a href="{ReblogURL}">reblog?</a>
- {block:HasTags}<br>{block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}{/block:HasTags}
- </div>
- {block:IndexPage}
- {block:PermalinkPage}
- <center>
- {block:Date}Posted on {DayOfWeek}, {Month} {DayOfMonth}{DayOfMonthSuffix} at {12HourWithZero}:{Minutes}{CapitalAmPm}{/block:Date} {block:NoteCount}with {NoteCountWithLabel}{/block:NoteCount}
- {block:RebloggedFrom}<br><a title="{ReblogParentName}" href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}
- {block:RebloggedFrom}• <a title="{ReblogRootName}" href="{ReblogRootURL}">source</a>{/block:RebloggedFrom}
- {block:HasTags}<br> tagged as: {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags} {/block:HasTags}
- </center>
- {block:PostNotes}{PostNotes}{/block:PostNotes}
- {/block:PermalinkPage}
- </article>
- {/block:Posts}
- <div id="pagi">
- {block:IndexPage}
- {block:Pagination}
- {block:PreviousPage}<div class="pagi" style="float:left;"><a href="{PreviousPage}">{text:back title}</a></div>{/block:PreviousPage}
- {block:NextPage}<div class="pagi" style="float:right;"><a href="{NextPage}"><a href="{NextPage}">{text:next title}</a></div>{/block:NextPage}
- {/block:Pagination}
- {/block:IndexPage}
- </div>
- </div>
- <div id="ask" style="display:none;">
- <div class="tabcon">
- <div class="h1">Ask & Submit</div>
- <iframe frameborder="0" scrolling="no" width="100%" height="190" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form"></iframe><!--[if IE]><script type="text/javascript">document.getElementById('ask_form').allowTransparency=true;</script><![endif]-->
- <br><br>
- <iframe frameborder="0" scrolling="no" width="100%" height="300" src="http://www.tumblr.com/submit_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="submit_form"></iframe><!--[if IE]><script type="text/javascript">document.getElementById('ask_form').allowTransparency=true;</script><![endif]-->
- </div>
- </div>
- <div id="about" style="display:none;">
- <div class="tabcon">
- <div class="h1">About</div>
- about here
- </div>
- </div>
- <div id="link" style="display:none;">
- <div class="tabcon">
- <div class="h1">Links</div>
- links here
- </div>
- </div>
- <div id="tag" style="display:none;">
- <div class="tabcon">
- <div class="h1">Tags</div><br>
- tags here
- </div>
- </div>
- </td></table></style>
- <br>
- {block:ifrender}<div style="position:fixed; left:{text:render left}px; bottom:{text:render bottom}px; z-index:1;"><img src="{image:render}" width="{text:render width}"></div>{/block:ifrender}
- <div class="credit"><a href="http://twinkleribbon.tumblr.com/" title="theme"><img src="http://orig04.deviantart.net/151c/f/2015/334/6/e/tumblr_inline_mij52fv1gc1qz4rgp_by_kittystuff-d9il7w5.gif" /></a></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement