Advertisement
robkneppers

02 SUBURBAN PUNKS

Jul 28th, 2014
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.15 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3. <!--
  4.  
  5. THEME #02 "SUBURBAN PUNKS" BY ROBKNEPPERS (robkneppers.tumblr.com).
  6. +DO NOT remove/alter credit.
  7. +DO NOT redistribute, including as an 'edited' theme.
  8. +DO NOT use as a base code.
  9.  
  10. If you have any questions about using this theme, please contact me! Thank you for using! xox
  11.  
  12. -->
  13.  
  14.  
  15. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  16. <head>
  17.  
  18. <title>{Title}</title>
  19. <link rel="shortcut icon" href="{Favicon}">
  20. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  21. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  22.  
  23.  
  24. <meta name="color:background" content="#bbbbbb"/>
  25. <meta name="color:posts" content="#bbbbbb"/>
  26. <meta name="color:text" content="#bbbbbb"/>
  27. <meta name="color:desc text" content="#bbbbbb"/>
  28. <meta name="color:link" content="#aaaaaa"/>
  29. <meta name="color:tags" content="#cccccc"/>
  30. <meta name="color:hover" content="#f1f1f1"/>
  31. <meta name="color:accents" content="#f2f2f2"/>
  32. <meta name="color:linkbg" content="#bbbbbb"/>
  33. <meta name="color:linkbghover" content="#f2f2f2"/>
  34. <meta name="color:scrollbarbg" content="ffffff"/>
  35. <meta name="color:scrollbar" content="ffffff"/>
  36.  
  37. <meta name="image:sidebar" content=""/>
  38. <meta name="image:background" content=""/>
  39. <meta name="if:whitelogo" content="0" />
  40. <meta name="if:blacklogo" content="0" />
  41. <meta name="if:floral" content="0" />
  42. <meta name="if:vampireweekend" content="0" />
  43. <meta name="if:contra" content="0" />
  44. <meta name="if:mvotc" content="0" />
  45. <meta name="if:bandpng" content="0" />
  46. <meta name="text:title" content=""/>
  47. <meta name="text:title2" content=""/>
  48. <meta name="text:Link 1 URL" content="http://"/>
  49. <meta name="text:Link 1" content="Link 1"/>
  50. <meta name="text:Link 2 URL" content="http://"/>
  51. <meta name="text:Link 2" content="Link 2"/>
  52. <meta name="text:Link 3 URL" content="http://"/>
  53. <meta name="text:Link 3" content="Link 3"/>
  54. <meta name="text:Link 4 URL" content="http://"/>
  55. <meta name="text:Link 4" content="Link 4"/>
  56.  
  57. <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  58. <script>
  59. (function($){
  60. $(document).ready(function(){
  61. $("[title]").style_my_tooltips({
  62. tip_follows_cursor:true,
  63. tip_delay_time:200,
  64. tip_fade_speed:300
  65. }
  66. );
  67. });
  68. })(jQuery);
  69. </script>
  70.  
  71. <style type="text/css">
  72.  
  73. #s-m-t-tooltip{
  74. max-width:300px;
  75. margin:15px;
  76. padding:2px 8px;
  77. border:1px solid #DDD;
  78. border-radius:4px;
  79. background:#FFF;
  80. color:#AAA;
  81. z-index:999999;
  82. font-size:8px;
  83. font-style:italic;
  84. text-transform:lowercase;
  85. box-shadow:1px 1px 3px rgba(0,0,0,.1);}
  86.  
  87.  
  88. ::-webkit-scrollbar {
  89. width: 5px;height: 5px;}
  90. ::-webkit-scrollbar-button:start:decrement,
  91. ::-webkit-scrollbar-button:end:increment {
  92. height: 6px;display: block;background-color: {color:white};}
  93. ::-webkit-scrollbar-track-piece {
  94. background-color: {color:scrollbarbg};}
  95. ::-webkit-scrollbar-thumb:vertical {
  96. height: 9px;background-color: {color:scrollbar};border-top:1px solid {color:scrollbar};border-bottom:1px solid {color:scrollbar};}
  97.  
  98.  
  99. body {
  100. background:{color:background} url('{image:background}') top left fixed repeat;
  101. margin:0px;
  102. color:{color:text};
  103. font-family:Arial, Helvetica;
  104. font-size:9px;
  105. line-height:100%;
  106. }
  107.  
  108. a {
  109. text-decoration:none;
  110. -moz-outline-style:none;
  111. color:{color:link};
  112. }
  113.  
  114. img {
  115. border:none;
  116. }
  117.  
  118.  
  119. h1 {
  120. font-size:12px;
  121. text-transform:uppercase;
  122. }
  123.  
  124. blockquote {
  125. padding-left:5px;
  126. border-left:2px solid;
  127. }
  128.  
  129. blockquote blockquote {
  130. padding-left:5px;
  131. border-left:2px solid;
  132. }
  133.  
  134.  
  135. a:hover {
  136. opacity:1;
  137. color:{color:hover};
  138. -webkit-transition: all 0.5s ease;
  139. -moz-transition: all 0.5s ease;
  140. -o-transition: all 0.5s ease
  141. }
  142.  
  143. #floral {
  144. position:fixed;
  145. overflow:hidden;
  146. height: 310px;
  147. width: 310px;
  148. z-index:-1;
  149. top: 140px;
  150. margin-left: 100px;
  151. border: 10px solid {color:accents};
  152. opacity:1;
  153. }
  154.  
  155. #vampireweekend {
  156. position:fixed;
  157. overflow:hidden;
  158. height: 310px;
  159. width: 310px;
  160. z-index:-1;
  161. top: 140px;
  162. margin-left: 100px;
  163. border: 10px solid {color:accents};
  164. opacity:1;
  165. }
  166.  
  167. #contra {
  168. position:fixed;
  169. overflow:hidden;
  170. height: 310px;
  171. width: 310px;
  172. z-index:-1;
  173. top: 140px;
  174. margin-left: 100px;
  175. border: 10px solid {color:accents};
  176. opacity:1;
  177. }
  178.  
  179. #mvotc {
  180. position:fixed;
  181. overflow:hidden;
  182. height: 310px;
  183. width: 310px;
  184. z-index:-1;
  185. top: 140px;
  186. margin-left: 100px;
  187. border: 10px solid {color:accents};
  188. opacity:1;
  189. }
  190.  
  191. #bandpng {
  192. position:fixed;
  193. z-index:-2;
  194. top: -18px;
  195. margin-left: 25px;
  196. opacity:1;
  197. }
  198.  
  199. #sidebarimage {
  200. position:fixed;
  201. overflow:hidden;
  202. height: 275px;
  203. width: 275px;
  204. z-index:1;
  205. top: 165px;
  206. margin-left: 126px;
  207. border: 2px solid {color:accents};
  208. opacity:1;
  209. }
  210.  
  211. #whitelogo {
  212. position:fixed;
  213. z-index:1;
  214. top: 322px;
  215. margin-left: 118px;
  216. opacity:1;
  217. }
  218.  
  219. #blacklogo {
  220. position:fixed;
  221. z-index:1;
  222. top: 322px;
  223. margin-left: 118px;
  224. opacity:1;
  225. }
  226.  
  227. #column {
  228. position:fixed;
  229. overflow:hidden;
  230. height: 15px;
  231. width: 15px;
  232. z-index:-2;
  233. top: 128px;
  234. margin-left: 87px;
  235. border: 170px solid {color:posts};
  236. opacity:1;
  237. }
  238.  
  239. #title {
  240. position:fixed;
  241. font-family:arial black;
  242. margin-top:48px;
  243. margin-left:78px;
  244. line-height:110%;
  245. font-size:30px;
  246. font-weight:bold;
  247. width:360px;
  248. padding:9px;
  249. z-index:999;
  250. text-align:center;
  251. letter-spacing:3px;
  252. text-transform:uppercase;
  253. color:{color:posts};
  254. }
  255.  
  256. #title2 {
  257. position:fixed;
  258. font-family:arial black;
  259. margin-top:478px;
  260. margin-left:87px;
  261. line-height:110%;
  262. font-size:16px;
  263. font-weight:bold;
  264. width:350px;
  265. padding:2px;
  266. z-index:999;
  267. text-align:center;
  268. text-transform:uppercase;
  269. background-color:{color:posts};
  270. color:{color:accents};
  271. }
  272.  
  273. #sidebar {
  274. position: fixed;
  275. width:375px;
  276. margin-left:55px;
  277. margin-top:180px;
  278. z-index:1;
  279. opacity:1;
  280. }
  281.  
  282.  
  283. .desc {
  284. position:fixed;
  285. margin-top:352px;
  286. margin-left:32px;
  287. font-family:cambria;
  288. line-height:110%;
  289. font-size:12px;
  290. width:337px;
  291. padding:9px;
  292. z-index:999;
  293. text-align:left;
  294. background-color:{color:posts};
  295. color:{color:desc text};
  296. }
  297.  
  298. .desc a
  299. {color:{color:text};
  300. -moz-transition-duration:0.6s;
  301. -webkit-transition-duration:0.6s;
  302. -o-transition-duration:0.6s;
  303. }
  304.  
  305.  
  306. .forwardpage {
  307. font-family:georgia;
  308. font-size:30px;
  309. text-align: center;
  310. padding-bottom: 10px;
  311. padding-top:5px;
  312. position:fixed;
  313. background-color:{color:posts};
  314. z-index:1;
  315. margin-top: 105px;
  316. margin-left: 392px;
  317. }
  318.  
  319.  
  320. .backpage {
  321. font-family:georgia;
  322. font-size:30px;
  323. text-align: center;
  324. padding-bottom: 10px;
  325. padding-top:5px;
  326. position:fixed;
  327. background-color:{color:posts};
  328. z-index:1;
  329. margin-top: 135px;
  330. margin-left: 392px;
  331. }
  332.  
  333.  
  334. #links {
  335. background-color:{color:linkbg};
  336. text-align:center;
  337. margin-top:332px;
  338. width:354px;
  339. font-size:11px;
  340. margin-left:32px;
  341. z-index:999;
  342. }
  343.  
  344. #links a {
  345. transition:all 0.5s ease-in-out;
  346. padding:2px 2px 2px 2px;
  347. color:#000;
  348. letter-spacing:1px;
  349. text-transform:uppercase;
  350. font-size:11px;
  351. display:inline-block;
  352. width:50px;
  353. margin-top:3px;
  354. }
  355.  
  356. #links a:hover {
  357. text-shadow:none;
  358. }
  359.  
  360.  
  361. #all {
  362. padding:12px;
  363. width:540px;
  364. margin-left:470px;
  365. margin-top:-40px;
  366. font-size:10px;
  367. background-color:{color:posts};
  368. }
  369.  
  370.  
  371.  
  372. #posts {
  373. width:500px;
  374. padding-bottom:20px;
  375. padding:10px;
  376. margin-top:30px;
  377. background-color:{color:posts};
  378. border: 10px solid {color:accents};
  379. }
  380.  
  381.  
  382. #details {
  383. text-align:center;
  384. margin-top:10px;
  385. text-transform:uppercase;
  386. font-size:8px;
  387. font-weight:bold;
  388. letter-spacing:2px;
  389. font-style:none;
  390. border-top:10px solid {color:accents};
  391. }
  392.  
  393.  
  394. #tags {
  395. letter-spacing:2px;
  396. text-transform:uppercase;
  397. font-size:8px;
  398. font-weight:bold;
  399. margin-top:2px;
  400. text-align:center;
  401. }
  402.  
  403. #tags a {
  404. display:inline-block;
  405. padding:-3px;
  406. text-align:right;
  407. color:{color:Tags};
  408. -webkit-transition: all 0.6s ease-in-out;
  409. -moz-transition: all 0.6s ease-in-out;
  410. -o-transition: all 0.6s ease-in-out;
  411. -ms-transition: all 0.6s ease-in-out;
  412. -transition: all 0.6s ease-in-out;
  413. }
  414.  
  415.  
  416. #question {
  417. padding:8px;
  418. font-size:10px;
  419. font-family:calibri;
  420. letter-spacing:1px;
  421. text-align:left;
  422. font-style:none;
  423. text-transform:uppercase;
  424. border:0px {color:border} solid;
  425. color:{color:text};
  426. background-color:{color:accents}
  427. }
  428.  
  429.  
  430.  
  431. {CustomCSS}</style></head><body>
  432.  
  433. <div id="sidebar">
  434. <div class="backpage">{block:PreviousPage}<a href="{PreviousPage}">«</a>{/block:PreviousPage}</div>
  435. <div class="forwardpage">{block:NextPage}<a href="{NextPage}">»</a>{/block:NextPage}</div>
  436. <div class="desc">
  437. {Description}
  438. </div>
  439.  
  440. <div id="links">
  441. <a href="/">home</a>
  442. <a href="/ask">ask</a>
  443. <a href="{text:link 1 url}">{text:link 1}</a>
  444. <a href="{text:link 2 url}">{text:link 2}</a>
  445. <a href="{text:link 3 url}">{text:link 3}</a>
  446. <a href="{text:link 4 url}">{text:link 4}</a>
  447. </div>
  448.  
  449. </div>
  450. <div id="sidebarimage"><img src="{image:sidebar}"></div>
  451. <div id="floral">{block:iffloral}<img src="https://31.media.tumblr.com/dde0247a40b7c4cb5cc5c56acfdd56c9/tumblr_inline_n9eq1uNn401rsy03y.png">{/block:iffloral}</div>
  452. <div id="vampireweekend">{block:ifvampireweekend}<img src="https://31.media.tumblr.com/3c8aa771ffc2e05924e1ba2c54f4f986/tumblr_inline_n9eqm4v49Y1rsy03y.jpg">{/block:ifvampireweekend}</div>
  453. <div id="contra">{block:ifcontra}<img src="https://31.media.tumblr.com/97e02b5b401b4ab9ecfa0b1c2951849f/tumblr_inline_n9eqq7YX1f1rsy03y.png">{/block:ifcontra}</div>
  454. <div id="mvotc">{block:ifmvotc}<img src="https://31.media.tumblr.com/c529a12f154a0cfb84911b40a3b71ce2/tumblr_inline_n9equrBH7o1rsy03y.png">{/block:ifmvotc}</div>
  455. <div id="blacklogo">{block:ifblacklogo}<img src="https://31.media.tumblr.com/b1157183dfa5cbb680624347e2b2ec86/tumblr_inline_n9eov2wRxK1rsy03y.png">{/block:ifblacklogo}</div>
  456. <div id="whitelogo">{block:ifwhitelogo}<img src="https://31.media.tumblr.com/678c5a6671c98238c921dbb0592996ff/tumblr_inline_n9er3wH1UZ1rsy03y.png">{/block:ifwhitelogo}</div>
  457. <div id="bandpng">{block:ifbandpng}<img src="https://31.media.tumblr.com/6a5c7a601a3da47c6ff5eb9f6b76c7c2/tumblr_inline_n9erbrwAV11rsy03y.png">{/block:ifbandpng}</div>
  458. <div id="column"><img src="{image:column}"></div>
  459. <div id="roundimage"><img src="{image:roundimage}"></div>
  460. <div id="title">{text:title}</div>
  461. <div id="title2">{text:title2}</div>
  462. <div id="all">{block:Posts}<div id="posts">
  463.  
  464. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  465.  
  466. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  467.  
  468. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  469.  
  470. {block:Photoset}{Photoset-500}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  471.  
  472. {block:Quote}{Quote}{/block:Quote}
  473.  
  474. {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>
  475. <br>{block:TrackName}<b>Title:</b> {TrackName}<br />{/block:TrackName}
  476. <br>{block:Artist}<b>Artist:</b> {Artist}<br />{/block:Artist}
  477. {/block:ExternalAudio}<br><b>Played:</b> {PlayCount} times
  478. {/block:Audio}
  479.  
  480. {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  481.  
  482. {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>{/block:Lines}{/block:Chat}
  483.  
  484.  
  485. {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}
  486.  
  487. <div id="details">
  488. <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>
  489. {block:HasTags}<div id="tags">tagged as:{block:Tags} #<a href="{TagURL}">{Tag}</a> {/block:Tags}</div>{/block:HasTags}</div></div>
  490. {/block:Posts}
  491. {block:PostNotes}<div id="notes">{PostNotes}</div>{/block:PostNotes}
  492. {/block:Posts}</div></div></div>
  493.  
  494.  
  495. <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>
  496.  
  497. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
  498. <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.
  499. //** Graphic originally from tumbler dashboard, for details on how to change graphic colour, contact me at kylemonk.tumblr.com
  500. //** v1.1 (April 7th, 10'):
  501. //** 1) Adds ability to scroll to an absolute position (from top of page) or specific element on the page instead.
  502. //** 2) Fixes scroll animation not working in Opera.
  503.  
  504.  
  505. var scrolltotop={
  506. //startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
  507. //scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
  508. setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
  509. 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"
  510. controlattrs: {offsetx:35, offsety:60}, //offset of control relative to right/ bottom of window corner
  511. anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links
  512.  
  513. state: {isvisible:false, shouldvisible:false},
  514.  
  515. scrollup:function(){
  516. if (!this.cssfixedsupport) //if control is positioned using JavaScript
  517. this.$control.css({opacity:0}) //hide control immediately after clicking it
  518. var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
  519. if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
  520. dest=jQuery('#'+dest).offset().top
  521. else
  522. dest=0
  523. this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
  524. },
  525.  
  526. keepfixed:function(){
  527. var $window=jQuery(window)
  528. var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
  529. var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
  530. this.$control.css({left:controlx+'px', top:controly+'px'})
  531. },
  532.  
  533. togglecontrol:function(){
  534. var scrolltop=jQuery(window).scrollTop()
  535. if (!this.cssfixedsupport)
  536. this.keepfixed()
  537. this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
  538. if (this.state.shouldvisible && !this.state.isvisible){
  539. this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
  540. this.state.isvisible=true
  541. }
  542. else if (this.state.shouldvisible==false && this.state.isvisible){
  543. this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
  544. this.state.isvisible=false
  545. }
  546. },
  547.  
  548. init:function(){
  549. jQuery(document).ready(function($){
  550. var mainobj=scrolltotop
  551. var iebrws=document.all
  552. mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode
  553. mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
  554. mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
  555. .css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
  556. .attr({title:'back to top'})
  557. .click(function(){mainobj.scrollup(); return false})
  558. .appendTo('body')
  559. if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text
  560. mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text
  561. mainobj.togglecontrol()
  562. $('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
  563. mainobj.scrollup()
  564. return false
  565. })
  566. $(window).bind('scroll resize', function(e){
  567. mainobj.togglecontrol()
  568. })
  569. })
  570. }
  571. }
  572.  
  573. scrolltotop.init()</script>
  574.  
  575.  
  576. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement