Advertisement
thesharwhal

Theme 11

Jan 24th, 2013
2,398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.19 KB | None | 0 0
  1. <html>
  2. <head>
  3. <script type="text/javascript"
  4. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  5.  
  6. <!--theme 11 by sharon
  7. __ ____ ____ ___ ____ ___ ______ ______ ___ _____
  8. / ]| | / | / _]| \ / _] || | / _]/ ___/
  9. / / | | | __| / [_ | D ) / [_| || | / [_( \_
  10. / / | | | | || _]| / | _]_| |_||_| |_|| _]\__ |
  11. / \_ | | | |_ || [_ | \ | [_ | | | | | [_ / \ |
  12. \ | | | | || || . \| | | | | | | |\ |
  13. \____||____||___,_||_____||__|\_||_____| |__| |__| |_____| \___|
  14.  
  15. leave a minimum of one credit on the blog or i will report you
  16. cred to bruken for sidebar!
  17. -->
  18.  
  19. <meta name="color:Background" content="#ffffff"/>
  20. <meta name="color:Text" content="#000000"/>
  21. <meta name="color:Link" content="#000000"/>
  22. <meta name="color:Blockquote" content="#eeeeee"/>
  23. <meta name="color:Like Colour" content="#76e49f"/>
  24.  
  25. <meta name="if:Show Sidebar Image" content="0">
  26.  
  27. <meta name="font:Font" content="Helvetica Neue" />
  28.  
  29. <meta name="image:Background" content="0"/>
  30. <meta name="image:Sidebar" content=""/>
  31.  
  32. <meta name="text:Tab Title" content="title here" />
  33. <meta name="text:Link One Title" content="link1" />
  34. <meta name="text:Link One" content="" />
  35. <meta name="text:Link Two Title" content="link2" />
  36. <meta name="text:Link Two" content="" />
  37. <meta name="text:Link Three Title" content="link3" />
  38. <meta name="text:Link Three" content="" />
  39. <meta name="text:Link Four Title" content="link4" />
  40. <meta name="text:Link Four" content="" />
  41.  
  42. <style type="text/css">
  43.  
  44. #tumblr_controls{
  45. position:fixed !important;
  46. top:55px;
  47. }
  48.  
  49. body {
  50. padding:0px;
  51. margin: 0px;
  52. color:{color:text};
  53. font-family: {font:font};
  54. font-size: 11px;
  55. line-height:15px;
  56. background-color: {color:Background};
  57. background-image:url({image:Background});
  58. background-size: cover;
  59. background-attachment: fixed;
  60. background-repeat: no-repeat;
  61. }
  62.  
  63. a:link, a:active, a:visited{
  64. color:{color:link};
  65. text-decoration:none;
  66. }
  67.  
  68. a:hover{
  69. text-decoration:underline;
  70. }
  71.  
  72. blockquote { border-left: 3px solid; padding-left: 15px; margin-left: 10px; font-style: italic; }
  73. blockquote img{ width:250px; height:auto;}
  74. #sidebar{
  75. z-index:999999999999999;
  76. position:absolute !important;
  77. position:fixed !important;
  78. width:220px;
  79. height:auto;
  80. background-color:white;
  81. border:1px solid rgba(0,0,0,0.1);
  82. color:{color:text};
  83. margin-left:165px;
  84. margin-top:100px;
  85. padding:7px;
  86. z-index:10;
  87. opacity:1.0;
  88. overflow:hidden;
  89. text-align:left;
  90. }
  91.  
  92. #sidebar img{
  93. width:220px;
  94. }
  95.  
  96. .navbox {
  97. display: block;
  98. border:1px solid rgba(0,0,0,0.1);
  99. background: {color:navigation box background};
  100. }
  101.  
  102. .sidebartitle{
  103. text-transform: uppercase;
  104. font-size: 11px;
  105. line-height: 11px;
  106. letter-spacing: 3px;
  107. border-bottom: 1px solid #4c4c4c;
  108. padding-bottom: 5px;
  109. color: {color:text};
  110. }
  111.  
  112. .entry {
  113. float:left;
  114. margin-bottom:10px;
  115. background-color: transparent;
  116. padding-top:10px;
  117. padding-left:10px;
  118. padding-right:10px;
  119. padding-bottom:9px;
  120. width:280px;
  121. overflow:hidden;
  122. {block:PermalinkPage}width:320px; margin-left:45px;text-align:left;{/block:PermalinkPage}
  123. }
  124.  
  125. #posts {
  126. width: 700px;
  127. float:center;
  128. margin-left:430px;
  129. padding:10px;
  130. padding-top:50px;
  131. background-image:url({image:postsbackground});
  132. background-attachment: fixed;
  133. background-repeat: repeat;
  134. {block:permalinkpage}
  135. width:300px;
  136. margin-left:435px;
  137. {/block:permalinkpage}
  138. }
  139.  
  140. .my-liketext {
  141. color:{color:link};
  142. display: inline;
  143. font-size: 9px;
  144. line-height:9px;
  145. text-align: right;
  146. padding: 0px;
  147. margin: 2px;
  148. }
  149. .my-likedtext, .my-liketext:hover {
  150. color: {color:like colour};
  151. display: inline;
  152. font-size: 9px;
  153. line-height:9px;
  154. text-decoration:underline;
  155. text-align: right;
  156. padding: 0px;
  157. margin: 2px;
  158. }
  159.  
  160. .question {
  161. text-align:left;
  162. padding-left:5px;padding-top:7px;
  163. padding-right:5px;padding-bottom:7px;
  164. border-left: 2px solid {color:Link};
  165. border-right: 2px solid {color:Link};
  166. background-color:{color:blockquote};
  167. }
  168.  
  169. .answer {
  170. text-align:left;
  171. padding-left:5px;padding-top:7px;
  172. padding-right:5px;padding-bottom:7px;
  173. }
  174.  
  175. .textpermalink{
  176. display: block;
  177. font-size: 9px;
  178. line-height:9px;
  179. text-transform: uppercase;
  180. text-align: right;
  181. padding: 0px;
  182. margin: 2px;
  183. }
  184.  
  185. .title {
  186. color:{color:links};
  187. text-transform:uppercase;
  188. text-decoration:underline;
  189. }
  190.  
  191.  
  192.  
  193. </style>
  194. {block:IndexPage}
  195.  
  196.  
  197. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  198. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  199.  
  200. <script type="text/javascript">
  201. $(window).load(function () {
  202. var $content = $('#posts');
  203. $content.masonry({itemSelector: '.entry'}),
  204. $content.infinitescroll({
  205. navSelector : '#pagination',
  206. nextSelector : '#pagination a#nextPage',
  207. itemSelector : '.entry',
  208. loading: {
  209. finishedMsg: '',
  210. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  211. },
  212. bufferPx : 600,
  213. debug : false,
  214. },
  215. // call masonry as a callback.
  216. function( newElements ) {
  217. var $newElems = $( newElements );
  218. $newElems.hide();
  219. // ensure that images load before adding to masonry layout
  220. $newElems.imagesLoaded(function(){
  221. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );
  222.  
  223.  
  224. });
  225. });
  226. });
  227. </script>
  228.  
  229. <script>
  230. window.onload = function () {
  231. document.body.insertAdjacentHTML( 'beforeEnd', '<iframe id="my-like-frame" style="display:none;"></iframe>' );
  232. document.addEventListener( 'click', function ( event ) {
  233. var myLike = event.target;
  234. if( myLike.className.indexOf( 'my-like' ) > -1 ) {
  235. var frame = document.getElementById( 'my-like-frame' ),
  236. liked = ( myLike.className == 'my-liked' ),
  237. command = liked ? 'unlike' : 'like',
  238. reblog = myLike.getAttribute( 'data-reblog' ),
  239. id = myLike.getAttribute( 'data-id' ),
  240. oauth = reblog.slice( -8 );
  241. frame.src = 'http://www.tumblr.com/' + command + '/' + oauth + '?id=' + id;
  242. liked ? myLike.className = 'my-like' : myLike.className = 'my-liked';
  243. };
  244. }, false );
  245. };
  246. </script>
  247.  
  248.  
  249. <script>
  250. window.onload = function () {
  251. document.body.insertAdjacentHTML( 'beforeEnd', '<iframe id="my-liketext-frame" style="display:none;"></iframe>' );
  252. document.addEventListener( 'click', function ( event ) {
  253. var myLike = event.target;
  254. if( myLike.className.indexOf( 'my-liketext' ) > -1 ) {
  255. var frame = document.getElementById( 'my-liketext-frame' ),
  256. liked = ( myLike.className == 'my-likedtext' ),
  257. command = liked ? 'unlike' : 'like',
  258. reblog = myLike.getAttribute( 'data-reblog' ),
  259. id = myLike.getAttribute( 'data-id' ),
  260. oauth = reblog.slice( -8 );
  261. frame.src = 'http://www.tumblr.com/' + command + '/' + oauth + '?id=' + id;
  262. liked ? myLike.className = 'my-liketext' : myLike.className = 'my-likedtext';
  263. };
  264. }, false );
  265. };
  266. </script>{customcss}
  267. {/block:IndexPage}
  268. <title>{text:Tab Title}</title>
  269.  
  270. <link rel="shortcut icon" href="{Favicon}">
  271. <meta name="viewport" content="width=820" />
  272. </head>
  273. <body>
  274.  
  275. <div id="sidebar">{block:ifshowsidebarimage}
  276. <a href="/"><img src="{image:sidebar}" width=220px;></a>{/block:ifshowsidebarimage}
  277. <p>
  278. {description}
  279. <p><div class="navbox">
  280. <p>
  281. <div class="sidebartitle">&nbsp;&nbsp;{title} +</div></p>
  282. <div class="links"><div style=" margin-top:-5px; background-color:{color:navigation};">&nbsp;&nbsp;&nbsp;<a href="/">home</a>&nbsp;&nbsp;&nbsp;
  283. <a href="{text:Link one}">{text:Link one Title}</a>&nbsp;&nbsp;&nbsp;
  284. <a href="{text:Link two}">{text:Link two Title}</a>&nbsp;&nbsp;&nbsp;
  285. <a href="{text:Link three}">{text:Link three Title}</a>&nbsp;&nbsp;&nbsp;
  286. <a href="{text:Link four}">{text:Link four Title}</a>&nbsp;&nbsp;&nbsp;
  287. <a href="http://cigerettes.tumblr.com">theme</a></div>
  288. <p></p>
  289. </div>
  290. </div>
  291. </div></p>
  292. </div>
  293.  
  294. <div id="posts">
  295.  
  296. {block:Posts}
  297. <div class="entry">
  298.  
  299. {block:Text}{block:IndexPage}
  300. <div class="textpermalink"><a href="{Permalink}">{NoteCount}</a> • <a href="{ReblogURL}" target="_blank">reblog</a> / <div class="my-liketext" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like">like</div></div>
  301. {/block:IndexPage}
  302. {block:Title}<span class="title"><a href="{permalink}">{Title}</a></span>{/block:Title}
  303. <span class="wordpost">{Body}</span></a>
  304.  
  305. {/block:Text}
  306.  
  307. {block:Link}{block:IndexPage}
  308. <div class="textpermalink"><a href="{Permalink}">{NoteCount}</a> • <a href="{ReblogURL}" target="_blank">reblog</a> / <div class="my-liketext" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like">like</div></div>
  309. {/block:IndexPage}
  310. <a href="{URL}" class="title">→ {Name}</a>
  311. {block:Description}{Description}{/block:Description}
  312.  
  313. {block:Link}
  314.  
  315. {block:Photo}
  316. {block:IndexPage}
  317. <div class="textpermalink"><a href="{Permalink}">{NoteCount}</a> • <a href="{ReblogURL}" target="_blank">reblog</a> / <div class="my-liketext" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like">like</div></div>
  318. {/block:IndexPage}
  319. {block:IndexPage}
  320. {LinkOpenTag}
  321. <div class="photo"><a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="100%"/></a></div>{LinkCloseTag}{/block:IndexPage}
  322. {block:PermalinkPage}{LinkOpenTag}<center><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="310"/></center>{LinkCloseTag}{/block:PermalinkPage}
  323. {/block:Photo}
  324.  
  325. {block:Photoset}{block:IndexPage}
  326. <div class="textpermalink"><a href="{Permalink}">{NoteCount}</a> • <a href="{ReblogURL}" target="_blank">reblog</a> / <div class="my-liketext" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like">like</div></div>
  327. {/block:IndexPage}<center>{Photoset-250}</center></span>{/block:Photoset}
  328.  
  329. {block:Quote}{block:IndexPage}
  330. <div class="textpermalink"><a href="{Permalink}">{NoteCount}</a> • <a href="{ReblogURL}" target="_blank">reblog</a> / <div class="my-liketext" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like">like</div></div>
  331. {/block:IndexPage}
  332. <span class="quotes">"{Quote}"</span><br />
  333. <div style="text-align:right;">{block:Source}-{Source}{/block:Source}</div>
  334.  
  335. {/block:Quote}
  336.  
  337. {block:Chat}{block:IndexPage}
  338. <div class="textpermalink"><a href="{Permalink}">{NoteCount}</a> • <a href="{ReblogURL}" target="_blank">reblog</a> / <div class="my-liketext" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like">like</div></div>
  339. {/block:IndexPage}
  340. {block:Title}<span class="title">{Title}</span>{/block:Title}
  341. <ul class="chat"> <div style="text-align:left;">
  342. {block:Lines}
  343. <li class="user_{UserNumber}">
  344. {block:Label}
  345. <span class="label"><b>{Label}</b></span>
  346. {/block:Label}
  347. <div style="font-family:tahoma;display:inline;">
  348. {Line}</div>
  349. </li>
  350. {/block:Lines}</div>
  351. </ul>
  352.  
  353. {/block:Chat}
  354.  
  355. {block:Audio}{block:IndexPage}
  356. <div class="textpermalink"><a href="{Permalink}">{NoteCount}</a> • <a href="{ReblogURL}" target="_blank">reblog</a> / <div class="my-liketext" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like">like</div></div>
  357. {/block:IndexPage}<br>
  358. <center><div style="width:250px; height:20px;"><div style="float:left">{AudioPlayerBlack}</div><div style="margin-top:8px; float:right;"><small>
  359. <br>{FormattedPlayCount} plays</small></div></div></center><br>
  360. {block:Caption}{Caption}{/block:Caption}
  361.  
  362. {/block:Audio}
  363.  
  364. {block:Video}
  365. {block:IndexPage}
  366. <div class="textpermalink"><a href="{Permalink}">{NoteCount}</a> • <a href="{ReblogURL}" target="_blank">reblog</a> / <div class="my-liketext" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like">like</div></div>
  367. {/block:IndexPage}
  368. {block:PermalinkPage}{LinkOpenTag}<center><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="310"/></center>{LinkCloseTag}{/block:PermalinkPage}
  369. {block:Video}
  370.  
  371. {block:Answer} {block:IndexPage}
  372. <div class="textpermalink"><a href="{Permalink}">{NoteCount}</a> • <div class="my-liketext" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like">like</div></div>
  373. {/block:IndexPage}
  374. <div class="text">
  375. <div class="question">
  376. <span style="text-transform:uppercase; color:{color:Link}">{Asker}:</span> {Question}</div><div class="answer">{Answer}</div>
  377.  
  378. </div>{/block:Answer}
  379.  
  380.  
  381.  
  382. {/block:IndexPage}
  383. {/block:Answer}
  384.  
  385. {block:PermalinkPage}
  386. <center>
  387. {block:Caption}{Caption}{/block:Caption}{block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:HasTags} &middot; {block:Tags}<a href="TagURL"> #{Tag}</a> {/block:Tags}{/block:hasTags}</center>
  388.  
  389. {/block:PermalinkPage}
  390.  
  391. {block:PostNotes}
  392. <div id="click">Notes &darr;</div>
  393. <div class="post_notes">{PostNotes}
  394. </div>
  395. {/block:PostNotes}
  396.  
  397. </div>
  398.  
  399. {/block:Posts}
  400.  
  401. </div>
  402.  
  403. </div>
  404.  
  405. </div>
  406. {block:IndexPage}
  407. {block:Pagination}
  408. <div id="pagination">
  409. {block:NextPage}
  410. <a id="nextPage" href="{NextPage}"> </a>
  411. {/block:NextPage}
  412. {block:PreviousPage}
  413. <a href="{PreviousPage}"> </a>
  414. {/block:PreviousPage}
  415. </div>
  416. {/block:Pagination}
  417. {/block:IndexPage}
  418. </div>
  419. </body>
  420. <div style="display:block;bottom:5px;right:4px;font-size:19px;font-family:cambria;position:fixed;padding:3px;border-radius:10px;z-index:5;opacity:1;"><a href="http://cigerettes.tumblr.com/">□</a></div>
  421.  
  422. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement