Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <!--
- THEME #02 "SUBURBAN PUNKS" BY ROBKNEPPERS (robkneppers.tumblr.com).
- +DO NOT remove/alter credit.
- +DO NOT redistribute, including as an 'edited' theme.
- +DO NOT use as a base code.
- If you have any questions about using this theme, please contact me! Thank you for using! xox
- -->
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <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 name="color:background" content="#bbbbbb"/>
- <meta name="color:posts" content="#bbbbbb"/>
- <meta name="color:text" content="#bbbbbb"/>
- <meta name="color:desc text" content="#bbbbbb"/>
- <meta name="color:link" content="#aaaaaa"/>
- <meta name="color:tags" content="#cccccc"/>
- <meta name="color:hover" content="#f1f1f1"/>
- <meta name="color:accents" content="#f2f2f2"/>
- <meta name="color:linkbg" content="#bbbbbb"/>
- <meta name="color:linkbghover" content="#f2f2f2"/>
- <meta name="color:scrollbarbg" content="ffffff"/>
- <meta name="color:scrollbar" content="ffffff"/>
- <meta name="image:sidebar" content=""/>
- <meta name="image:background" content=""/>
- <meta name="if:whitelogo" content="0" />
- <meta name="if:blacklogo" content="0" />
- <meta name="if:floral" content="0" />
- <meta name="if:vampireweekend" content="0" />
- <meta name="if:contra" content="0" />
- <meta name="if:mvotc" content="0" />
- <meta name="if:bandpng" content="0" />
- <meta name="text:title" content=""/>
- <meta name="text:title2" content=""/>
- <meta name="text:Link 1 URL" content="http://"/>
- <meta name="text:Link 1" content="Link 1"/>
- <meta name="text:Link 2 URL" content="http://"/>
- <meta name="text:Link 2" content="Link 2"/>
- <meta name="text:Link 3 URL" content="http://"/>
- <meta name="text:Link 3" content="Link 3"/>
- <meta name="text:Link 4 URL" content="http://"/>
- <meta name="text:Link 4" content="Link 4"/>
- <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:200,
- tip_fade_speed:300
- }
- );
- });
- })(jQuery);
- </script>
- <style type="text/css">
- #s-m-t-tooltip{
- max-width:300px;
- margin:15px;
- padding:2px 8px;
- border:1px solid #DDD;
- border-radius:4px;
- background:#FFF;
- color:#AAA;
- z-index:999999;
- font-size:8px;
- font-style:italic;
- text-transform:lowercase;
- box-shadow:1px 1px 3px rgba(0,0,0,.1);}
- ::-webkit-scrollbar {
- width: 5px;height: 5px;}
- ::-webkit-scrollbar-button:start:decrement,
- ::-webkit-scrollbar-button:end:increment {
- height: 6px;display: block;background-color: {color:white};}
- ::-webkit-scrollbar-track-piece {
- background-color: {color:scrollbarbg};}
- ::-webkit-scrollbar-thumb:vertical {
- height: 9px;background-color: {color:scrollbar};border-top:1px solid {color:scrollbar};border-bottom:1px solid {color:scrollbar};}
- body {
- background:{color:background} url('{image:background}') top left fixed repeat;
- margin:0px;
- color:{color:text};
- font-family:Arial, Helvetica;
- font-size:9px;
- line-height:100%;
- }
- a {
- text-decoration:none;
- -moz-outline-style:none;
- color:{color:link};
- }
- img {
- border:none;
- }
- h1 {
- font-size:12px;
- text-transform:uppercase;
- }
- blockquote {
- padding-left:5px;
- border-left:2px solid;
- }
- blockquote blockquote {
- padding-left:5px;
- border-left:2px solid;
- }
- a:hover {
- opacity:1;
- color:{color:hover};
- -webkit-transition: all 0.5s ease;
- -moz-transition: all 0.5s ease;
- -o-transition: all 0.5s ease
- }
- #floral {
- position:fixed;
- overflow:hidden;
- height: 310px;
- width: 310px;
- z-index:-1;
- top: 140px;
- margin-left: 100px;
- border: 10px solid {color:accents};
- opacity:1;
- }
- #vampireweekend {
- position:fixed;
- overflow:hidden;
- height: 310px;
- width: 310px;
- z-index:-1;
- top: 140px;
- margin-left: 100px;
- border: 10px solid {color:accents};
- opacity:1;
- }
- #contra {
- position:fixed;
- overflow:hidden;
- height: 310px;
- width: 310px;
- z-index:-1;
- top: 140px;
- margin-left: 100px;
- border: 10px solid {color:accents};
- opacity:1;
- }
- #mvotc {
- position:fixed;
- overflow:hidden;
- height: 310px;
- width: 310px;
- z-index:-1;
- top: 140px;
- margin-left: 100px;
- border: 10px solid {color:accents};
- opacity:1;
- }
- #bandpng {
- position:fixed;
- z-index:-2;
- top: -18px;
- margin-left: 25px;
- opacity:1;
- }
- #sidebarimage {
- position:fixed;
- overflow:hidden;
- height: 275px;
- width: 275px;
- z-index:1;
- top: 165px;
- margin-left: 126px;
- border: 2px solid {color:accents};
- opacity:1;
- }
- #whitelogo {
- position:fixed;
- z-index:1;
- top: 322px;
- margin-left: 118px;
- opacity:1;
- }
- #blacklogo {
- position:fixed;
- z-index:1;
- top: 322px;
- margin-left: 118px;
- opacity:1;
- }
- #column {
- position:fixed;
- overflow:hidden;
- height: 15px;
- width: 15px;
- z-index:-2;
- top: 128px;
- margin-left: 87px;
- border: 170px solid {color:posts};
- opacity:1;
- }
- #title {
- position:fixed;
- font-family:arial black;
- margin-top:48px;
- margin-left:78px;
- line-height:110%;
- font-size:30px;
- font-weight:bold;
- width:360px;
- padding:9px;
- z-index:999;
- text-align:center;
- letter-spacing:3px;
- text-transform:uppercase;
- color:{color:posts};
- }
- #title2 {
- position:fixed;
- font-family:arial black;
- margin-top:478px;
- margin-left:87px;
- line-height:110%;
- font-size:16px;
- font-weight:bold;
- width:350px;
- padding:2px;
- z-index:999;
- text-align:center;
- text-transform:uppercase;
- background-color:{color:posts};
- color:{color:accents};
- }
- #sidebar {
- position: fixed;
- width:375px;
- margin-left:55px;
- margin-top:180px;
- z-index:1;
- opacity:1;
- }
- .desc {
- position:fixed;
- margin-top:352px;
- margin-left:32px;
- font-family:cambria;
- line-height:110%;
- font-size:12px;
- width:337px;
- padding:9px;
- z-index:999;
- text-align:left;
- background-color:{color:posts};
- color:{color:desc text};
- }
- .desc a
- {color:{color:text};
- -moz-transition-duration:0.6s;
- -webkit-transition-duration:0.6s;
- -o-transition-duration:0.6s;
- }
- .forwardpage {
- font-family:georgia;
- font-size:30px;
- text-align: center;
- padding-bottom: 10px;
- padding-top:5px;
- position:fixed;
- background-color:{color:posts};
- z-index:1;
- margin-top: 105px;
- margin-left: 392px;
- }
- .backpage {
- font-family:georgia;
- font-size:30px;
- text-align: center;
- padding-bottom: 10px;
- padding-top:5px;
- position:fixed;
- background-color:{color:posts};
- z-index:1;
- margin-top: 135px;
- margin-left: 392px;
- }
- #links {
- background-color:{color:linkbg};
- text-align:center;
- margin-top:332px;
- width:354px;
- font-size:11px;
- margin-left:32px;
- z-index:999;
- }
- #links a {
- transition:all 0.5s ease-in-out;
- padding:2px 2px 2px 2px;
- color:#000;
- letter-spacing:1px;
- text-transform:uppercase;
- font-size:11px;
- display:inline-block;
- width:50px;
- margin-top:3px;
- }
- #links a:hover {
- text-shadow:none;
- }
- #all {
- padding:12px;
- width:540px;
- margin-left:470px;
- margin-top:-40px;
- font-size:10px;
- background-color:{color:posts};
- }
- #posts {
- width:500px;
- padding-bottom:20px;
- padding:10px;
- margin-top:30px;
- background-color:{color:posts};
- border: 10px solid {color:accents};
- }
- #details {
- text-align:center;
- margin-top:10px;
- text-transform:uppercase;
- font-size:8px;
- font-weight:bold;
- letter-spacing:2px;
- font-style:none;
- border-top:10px solid {color:accents};
- }
- #tags {
- letter-spacing:2px;
- text-transform:uppercase;
- font-size:8px;
- font-weight:bold;
- margin-top:2px;
- text-align:center;
- }
- #tags a {
- display:inline-block;
- padding:-3px;
- text-align:right;
- color:{color:Tags};
- -webkit-transition: all 0.6s ease-in-out;
- -moz-transition: all 0.6s ease-in-out;
- -o-transition: all 0.6s ease-in-out;
- -ms-transition: all 0.6s ease-in-out;
- -transition: all 0.6s ease-in-out;
- }
- #question {
- padding:8px;
- font-size:10px;
- font-family:calibri;
- letter-spacing:1px;
- text-align:left;
- font-style:none;
- text-transform:uppercase;
- border:0px {color:border} solid;
- color:{color:text};
- background-color:{color:accents}
- }
- {CustomCSS}</style></head><body>
- <div id="sidebar">
- <div class="backpage">{block:PreviousPage}<a href="{PreviousPage}">«</a>{/block:PreviousPage}</div>
- <div class="forwardpage">{block:NextPage}<a href="{NextPage}">»</a>{/block:NextPage}</div>
- <div class="desc">
- {Description}
- </div>
- <div id="links">
- <a href="/">home</a>
- <a href="/ask">ask</a>
- <a href="{text:link 1 url}">{text:link 1}</a>
- <a href="{text:link 2 url}">{text:link 2}</a>
- <a href="{text:link 3 url}">{text:link 3}</a>
- <a href="{text:link 4 url}">{text:link 4}</a>
- </div>
- </div>
- <div id="sidebarimage"><img src="{image:sidebar}"></div>
- <div id="floral">{block:iffloral}<img src="https://31.media.tumblr.com/dde0247a40b7c4cb5cc5c56acfdd56c9/tumblr_inline_n9eq1uNn401rsy03y.png">{/block:iffloral}</div>
- <div id="vampireweekend">{block:ifvampireweekend}<img src="https://31.media.tumblr.com/3c8aa771ffc2e05924e1ba2c54f4f986/tumblr_inline_n9eqm4v49Y1rsy03y.jpg">{/block:ifvampireweekend}</div>
- <div id="contra">{block:ifcontra}<img src="https://31.media.tumblr.com/97e02b5b401b4ab9ecfa0b1c2951849f/tumblr_inline_n9eqq7YX1f1rsy03y.png">{/block:ifcontra}</div>
- <div id="mvotc">{block:ifmvotc}<img src="https://31.media.tumblr.com/c529a12f154a0cfb84911b40a3b71ce2/tumblr_inline_n9equrBH7o1rsy03y.png">{/block:ifmvotc}</div>
- <div id="blacklogo">{block:ifblacklogo}<img src="https://31.media.tumblr.com/b1157183dfa5cbb680624347e2b2ec86/tumblr_inline_n9eov2wRxK1rsy03y.png">{/block:ifblacklogo}</div>
- <div id="whitelogo">{block:ifwhitelogo}<img src="https://31.media.tumblr.com/678c5a6671c98238c921dbb0592996ff/tumblr_inline_n9er3wH1UZ1rsy03y.png">{/block:ifwhitelogo}</div>
- <div id="bandpng">{block:ifbandpng}<img src="https://31.media.tumblr.com/6a5c7a601a3da47c6ff5eb9f6b76c7c2/tumblr_inline_n9erbrwAV11rsy03y.png">{/block:ifbandpng}</div>
- <div id="column"><img src="{image:column}"></div>
- <div id="roundimage"><img src="{image:roundimage}"></div>
- <div id="title">{text:title}</div>
- <div id="title2">{text:title2}</div>
- <div id="all">{block:Posts}<div id="posts">
- {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
- {block:Photo}{LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
- {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
- {block:Photoset}{Photoset-500}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
- {block:Quote}{Quote}{/block:Quote}
- {block:Audio}<left>{block:AlbumArt}<img src="{AlbumArtURL}" width="80px" height="80px" align="left" style="margin-right:10px" />{/block:AlbumArt}<span class="audio">{AudioPlayerWhite}</left></span>
- <br>{block:TrackName}<b>Title:</b> {TrackName}<br />{/block:TrackName}
- <br>{block:Artist}<b>Artist:</b> {Artist}<br />{/block:Artist}
- {/block:ExternalAudio}<br><b>Played:</b> {PlayCount} times
- {/block:Audio}
- {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
- {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>{/block:Lines}{/block:Chat}
- {block:Answer}<div id="question"><span style="text-transform:uppercase;font-size:10px;font-weight:bold;">[{Asker}]: </span>{Question}</div><left> <font face="cambria">{Answer}</font>{/block:Answer}
- <div id="details">
- <br> posted <a href="{Permalink}">{ShortMonth} {DayOfMonthWithZero}, {Year} at {12Hour}:{Minutes} </a> {block:RebloggedFrom} from <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom} {block:ContentSource} <a href="{SourceURL}">© <a href="{SourceURL}">{SourceLink}</a> {/block:ContentSource}{block:RebloggedFrom} <a href="{ReblogParentURL}" target="_blank"></a>{/block:RebloggedFrom} with <a href="{Permalink}">{NoteCountWithLabel}</a>
- {block:HasTags}<div id="tags">tagged as:{block:Tags} #<a href="{TagURL}">{Tag}</a> {/block:Tags}</div>{/block:HasTags}</div></div>
- {/block:Posts}
- {block:PostNotes}<div id="notes">{PostNotes}</div>{/block:PostNotes}
- {/block:Posts}</div></div></div>
- <div style="position:fixed;bottom:2px; background-color:{color:posts}; right:3px; font-size:8px; letter-spacing:1px; font-family:calibri;border:1px solid;padding:2px;"><a href="http://robkneppers.tumblr.com/">ROBKNEPPERS</a></center></div>
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
- <script type="text/javascript">//** jQuery Scroll to Top Control script- (c) I made this script myself (Kyle Monk) and it is hosted on my personal site so would appreciate if you followed my blog at kylemonk.tumblr.com if you use it or for details on how to change the location.
- //** Graphic originally from tumbler dashboard, for details on how to change graphic colour, contact me at kylemonk.tumblr.com
- //** v1.1 (April 7th, 10'):
- //** 1) Adds ability to scroll to an absolute position (from top of page) or specific element on the page instead.
- //** 2) Fixes scroll animation not working in Opera.
- 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 (0=top).
- setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
- controlHTML: '<img src="https://31.media.tumblr.com/4959cf02ede32da6da5fd2a0e0ca5ea3/tumblr_inline_n9fntdgS1g1rsy03y.png" style="filter:alpha(opacity=70); -moz-opacity:0.7; margin-bottom:-10px;" width=""/>', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
- controlattrs: {offsetx:35, offsety:60}, //offset of control relative to right/ bottom 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:'back to top'})
- .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>
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement