Advertisement
themesbyjames

Osprey

Feb 16th, 2012
481,824
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.01 KB | None | 0 0
  1. <!-------------------------------------------------------------------------
  2.  
  3. .d88888b. .d8888b. 8888888b. 8888888b. 8888888888 Y88b d88P
  4. d88P" "Y88b d88P Y88b 888 Y88b 888 Y88b 888 Y88b d88P
  5. 888 888 Y88b. 888 888 888 888 888 Y88o88P
  6. 888 888 "Y888b. 888 d88P 888 d88P 8888888 Y888P
  7. 888 888 "Y88b. 8888888P" 8888888P" 888 888
  8. 888 888 "888 888 888 T88b 888 888
  9. Y88b. .d88P Y88b d88P 888 888 T88b 888 888
  10. "Y88888P" "Y8888P" 888 888 T88b 8888888888 888
  11.  
  12. THEME BY JAMES, UPDATED JUNE 2013 - HTTP://THEMESBYJAMES.TUMBLR.COM
  13. CREDIT TO: MODERNISE FOR POST PERMALINKS
  14.  
  15. -------------------------------------------------------------------------->
  16.  
  17. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  18. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><html><head>
  19.  
  20. <title>{title}</title>
  21. <meta name="description" content="{MetaDescription}" />
  22. <link rel="shortcut icon" href="{Favicon}">
  23. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  24. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  25. <meta name="viewport" content="width=1220" />
  26.  
  27. <!-- DEFAULT VARIABLES -->
  28. <meta name="color:Background" content="#FFFFFF" />
  29. <meta name="color:Center" content="#FFFFFF" />
  30. <meta name="color:Text" content="#000000" />
  31. <meta name="color:Link" content="#5c5c5c"/>
  32. <meta name="color:Link Hover" content="#999" />
  33. <meta name="color:Blog Title" content="#5c5c5c" />
  34. <meta name="color:Scrollbar" content="#7e817e"/>
  35. <meta name="image:Background" content="" />
  36. <meta name="image:Sidebar" content="" />
  37. <meta name="if:2 Columns" content="0"/>
  38. <meta name="if:3 Columns" content="1"/>
  39. <meta name="if:Larger 7th photo" content="1" />
  40. <meta name="if:Larger 14th photo" content="0" />
  41. <meta name="if:Rounded Photos" content="0"/>
  42. <meta name="if:Show Blog Title" content="1"/>
  43. <meta name="if:Blog Title A" content="1"/>
  44. <meta name="if:Blog Title B" content="0"/>
  45. <meta name="if:Blog Title C" content="0"/>
  46. <meta name="if:Photo Permalinks 1" content="0"/>
  47. <meta name="if:Photo Permalinks 2" content="1"/>
  48. <meta name="if:Post Shadow" content="0"/>
  49. <meta name="text:Ask Title" content="Message" />
  50. <meta name="text:Link One" content="" />
  51. <meta name="text:Link One Title" content="" />
  52. <meta name="text:Link Two" content="" />
  53. <meta name="text:Link Two Title" content="" />
  54. <meta name="text:Link Three" content="" />
  55. <meta name="text:Link Three Title" content="" />
  56. <meta name="text:Link Four" content="" />
  57. <meta name="text:link Four Title" content="" />
  58. <meta name="text:link Five" content="" />
  59. <meta name="text:link Five Title" content="" />
  60. <!--- STYLESHEETS & STATIC UPLOADS --->
  61. <link href="http://static.tumblr.com/ek9ly4s/emomovvhc/animate-custom.css" rel="stylesheet">
  62. <script type="text/javascript"
  63. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  64. <link href='http://fonts.googleapis.com/css?family=Ubuntu|Open+Sans|Lekton|Pacifico|Gloria+Hallelujah' rel='stylesheet' type='text/css'>
  65.  
  66. <script src="http://static.tumblr.com/6jwx45k/qnrmqhe43/ifie1.js"></script>
  67. <script src="http://static.tumblr.com/6jwx45k/QcKmqhe47/ifie2.js"></script>
  68.  
  69. <style type="text/css">
  70. html{
  71. margin-left:35px;
  72. cursor:crosshair;
  73. height:103%;}
  74.  
  75. body, p {
  76. font-family:Ubuntu;
  77. font-size:12px;
  78. font-style: normal;
  79. padding: 0px;
  80. margin: 0px;
  81. color:{color:text};}
  82.  
  83. body {
  84. cursor:crosshair;
  85. background-color:{color:background};
  86. background-image:url({image:Background});
  87. background-attachment: fixed;
  88. background-repeat: repeat;}
  89.  
  90. a {
  91. text-decoration:none;
  92. color:{color:text};
  93. -webkit-transition: all 0.4s linear;
  94. -moz-transition: all 0.4s linear;
  95. transition: all 0.4s linear;}
  96.  
  97. a:link, a:active, a:visited{
  98. color: {color:Link};
  99. text-decoration: none;
  100. -webkit-transition: all 0.6s ease-out;-moz-transition: all 0.6s ease-out;-o-transition: all 0.6s ease-out;transition: all 0.6s ease-out;}
  101.  
  102. a:hover{
  103. color:{color:link hover};}
  104.  
  105. img {{block:ifRoundedPhotos}border-radius:5px;{/block:ifroundedphotos}}
  106. img:hover{opacity:1.0;-webkit-transition: all 0.6s ease-out;-moz-transition: all 0.6s ease-out;-o-transition: all 0.6s ease-out;transition: all 0.6s ease-out;cursor:crosshair;}
  107.  
  108. #wrapper {
  109. position: relative;
  110. width: 100%;
  111. text-align: center;}
  112.  
  113. .clear {
  114. text-align:left;clear: both;}
  115.  
  116. #entry.masonry-brick {
  117. top: 0 !important;
  118. left: 0 !important;}
  119.  
  120. #infscr-loading {
  121. position: absolute!important;
  122. width: 16px!important;
  123. height: 11px!important;
  124. bottom: 0px!important;
  125. left: 48.5%!important;
  126. margin-top: 10px!important;
  127. margin-bottom: 5px!important;}
  128.  
  129. .supreme{text-align:right;margin-top:10px;}
  130.  
  131. .title{
  132. text-align:center;
  133. font-size:14px;
  134. line-height:16px;}
  135.  
  136. blockquote{
  137. padding:0px 0px 2px 1px;
  138. margin:0px 0px 2px 1px;
  139. border-left: 1px dotted #555555;}
  140.  
  141. .blogtitle{font-size:40px;line-height:40px;text-align:center;letter-spacing:1px;
  142. padding-top:3px;
  143. {block:ifBlogTitleA}font-family:Pacifico;padding-bottom:13px;{/block:ifBlogTitleA}
  144. {block:ifBlogTitleB}font-family:courier new;letter-spacing:3px;
  145. text-transform:uppercase;;{/block:ifBlogTitleB}
  146. {block:ifBlogTitleC}font-family:'Gloria Hallelujah', cursive;padding-bottom:8px;{/block:ifBlogTitleC}}
  147.  
  148.  
  149. .blogtitle a{color:{color:Blog Title};text-transfrom:uppercase;}
  150. .description{font-size:12px;margin-top:28px;text-align:left;}
  151.  
  152. #content{margin:auto;position:relative;
  153. {block:IndexPage}
  154. {block:if2Columns}width:520px;{/block:if2Columns}
  155. {block:if3Columns}width:744px;{/block:if3Columns}
  156. {/block:IndexPage}
  157. {block:PermalinkPage}width:500px;{/block:PermalinkPage}}
  158.  
  159. .sidebar{width:240px;background-color:{color:center};
  160. padding:2px;
  161. margin-left:-255px;
  162. position:fixed;
  163. z-index:100;
  164. margin-top:70px;
  165. font-size:12px;}
  166.  
  167. {block:ifphotopermalinks1}
  168. .permalinks{position:absolute;bottom:5px;left:-33px;opacity: 0;-webkit-transition: all 0.3s linear;
  169. -webkit-transition: all 0.3s linear;
  170. -moz-transition: all 0.3s linear;
  171. transition: all 0.3s linear;}
  172. .entry:hover .permalinks{opacity:.9;-webkit-transition: all 0.3s linear;
  173. -webkit-transition: all 0.3s linear;
  174. -moz-transition: all 0.3s linear;
  175. transition: all 0.3s linear;}
  176. .buttons {list-style: none;}
  177. .buttons li {float: left;border-radius: 3px;padding:7px;height:15px;width:15px;background-color:white;}
  178. .buttons li:first-child{margin-right:5px;}
  179. .noteslabel{margin-left:5px; float: left;border-radius: 3px;padding:7px;height:15px;line-height:17px;background-color:white;}.noteslabel a{color:gray;}
  180. {/block:ifphotopermalinks1}
  181.  
  182. {block:ifphotopermalinks2}
  183. .reblog_me{
  184. overflow:hidden;
  185. display:block;
  186. position:absolute;
  187. top:-10px;
  188. right:2px;
  189. list-style: none;
  190. opacity:0;
  191. -webkit-transition: all 0.3s linear;
  192. -webkit-transition: all 0.3s linear;
  193. -moz-transition: all 0.3s linear;
  194. transition: all 0.3s linear;
  195. cursor:crosshair;}
  196. .entry:hover .reblog_me{
  197. right:2px;
  198. overflow:hidden;
  199. opacity:1.0;
  200. -webkit-transition: all 0.3s linear;
  201. -webkit-transition: all 0.3s linear;
  202. -moz-transition: all 0.3s linear;
  203. transition: all 0.3s linear;
  204. }
  205.  
  206. .reblog_me li{
  207. float: left;
  208. background-color:white;
  209. padding:10px;
  210. height:20px;
  211. width:20px;
  212. cursor:crosshair;
  213. -webkit-transition: all 0.3s linear;
  214. -webkit-transition: all 0.3s linear;
  215. -moz-transition: all 0.3s linear;
  216. transition: all 0.3s linear;}{/block:ifphotopermalinks2}
  217.  
  218. .entry{
  219. margin:5px;
  220. padding:2px 2px 0px 2px;
  221. background-color:color:center;
  222. {block:IndexPage}
  223. {block:IfPostShadow}
  224. -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, .3);
  225. -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, .3);
  226. box-shadow: 0px 0px 4px rgba(0, 0, 0, .3);
  227. {/block:IfPostShadow}
  228. overflow:hidden;
  229. {/block:IndexPage}
  230. {block:PermalinkPage}
  231. margin-left:25px;
  232. width:450px;
  233. height:auto;
  234. {/block:PermalinkPage}}
  235.  
  236. .photo{width:230px;height:auto;background-color:{color:center};padding:2.2px 2px 0px 2px;margin-bottom:-.5px;}
  237. .photo img{width:230px; -webkit-transition: 0.3s ease-in;{block:ifRoundedPhotos}border-radius:5px;{/block:ifroundedPhotos}}
  238. .photo img:hover{-webkit-transition: 0.3s ease-in;}
  239. .photobig{width:477px;background-color:{color:center};padding:2px 2px 0px 2px;margin-bottom:-1px;}
  240. .photobig img{width:477px;height:auto}
  241. .text{width:232px;background-color:{color:center};{block:indexpage}border: 1px solid #ccc;{/block:indexpage}{block:permalinkpage}width:400px;{/block:permalinkpage}}
  242. .photoset{width:230px;overflow:hidden;padding:2px 2px 0px 2px;margin-bottom:-1px;
  243. background-color:{color:center};}
  244. text{width:232px;background-color:{color:center};{block:permalinkpage}width:400px;{/block:permalinkpage}}
  245.  
  246. /* SCROLL BAR APPEARANCE */
  247. ::-webkit-scrollbar-thumb:vertical {
  248. background-color:{color:scrollbar};
  249. height:10px;width:10px;opacity:1;
  250. -webkit-border-radius:0px;border:3px {color:background} solid;}
  251.  
  252. ::-webkit-scrollbar-thumb:horizontal {
  253. background-color:#4c4f50;opacity:1;
  254. height:10px !important;border:3px {color:background} solid;
  255. -webkit-border-radius:0px;}
  256.  
  257. ::-webkit-scrollbar {
  258. height:10px;
  259. width:10px;
  260. background-color:{color:background};
  261. -webkit-border-radius:0px;}
  262.  
  263. ::-webkit-scrollbar-corner {
  264. background-color:{color:background};}
  265.  
  266. ::-webkit-resizer {
  267. background-color:{color:background};}
  268. .clearfix:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.clearfix{display:inline-block}html[xmlns] .clearfix{display:block}* html .clearfix{height:1%}
  269. .tumblrAutoPager_page_info,
  270. .tumblrAutoPager_page_separator {display:none;}
  271.  
  272.  
  273. .nav{text-transform:lowercase;top:10px;text-align:center;display:block;}
  274. {CustomCSS}
  275. </style>
  276.  
  277. <!-- INFINTE SCROLL SCRIPT -->
  278. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
  279. <script type="text/javascript" src="http://static.tumblr.com/ek9ly4s/M6Zmozr72/infintescroll3-1.js"></script>
  280. <script type="text/javascript" src="http://static.tumblr.com/j1tjexd/WYwm8ed44/like_script.js"></script>
  281. <script type="text/javascript">
  282. $(window).load(function () {
  283. var $content = $('#content');
  284. $content.masonry({itemSelector: '.entry', columnWidth:248
  285. });
  286. $content.infinitescroll({
  287. navSelector : 'div#pagination',
  288. nextSelector : 'div#pagination a#nextPage',
  289. itemSelector : '.entry',
  290. loading: {/*Loading...*/
  291. finishedMsg: '',
  292. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  293. },
  294. bufferPx :600,
  295. debug : false,
  296. },
  297. // call masonry as a callback.
  298. function( newElements ) {
  299. window.n = window.n || 0;
  300. Tumblr.LikeButton.get_status_by_page(++window.n);
  301. var $newElems = $( newElements );
  302. $newElems.hide();
  303. // ensure that images load before adding to masonry layout
  304. $newElems.imagesLoaded(function(){
  305. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(1500);} );
  306. });
  307. });
  308. });
  309. </script>
  310.  
  311. {block:IndexPage}
  312. {block:Pagination}
  313. <div id="pagination">
  314. {block:NextPage}
  315. <a id="nextPage" href="{NextPage}"></a>
  316. {/block:NextPage}
  317. {block:PreviousPage}
  318. <a href="{PreviousPage}"></a>
  319. {/block:PreviousPage}
  320. </div>
  321. {/block:Pagination}
  322. {/block:IndexPage}
  323. </head><body>
  324.  
  325. <div id="content" class="infinite-scroll">
  326. <div class="sidebar">
  327. <center>
  328.  
  329. {block:ifshowblogtitle}<div class="blogtitle">
  330. <a href="/">{title}</a>
  331. </div>{/block:ifshowblogtitle}
  332.  
  333. {block:ifsidebarimage}<center><a href="/"><img src="{image:sidebar}" style="width:100%;" class="img"></a></center>{/block:ifsidebarimage}
  334. <p>{description}</p>
  335.  
  336. <span class="nav">
  337. <a href="/">Home</a>&nbsp;
  338. {block:AskEnabled}<a href="/ask">{text:ask title}</a>&nbsp;{/block:AskEnabled}
  339. {block:ifLinkOneTitle}
  340. <a href="{text:Link One}">{text:Link One Title}</a>&nbsp;{/block:ifLinkOneTitle}
  341. {block:ifLinkTwoTitle}
  342. <a href="{text:Link Two}">{text:Link Two Title}</a>&nbsp;{/block:ifLinkTwoTitle}
  343. {block:ifLinkThreeTitle}
  344. <a href="{text:Link Three}">{text:Link Three Title}</a>&nbsp;{/block:ifLinkThreeTitle}
  345. {block:ifLinkFourTitle}
  346. <a href="{text:Link Four}">{text:Link Four Title}</a>&nbsp;{/block:ifLinkFourTitle}
  347. {block:ifLinkFiveTitle}
  348. <a href="{text:Link Five}">{text:Link Five Title}</a>&nbsp;{/block:ifLinkFiveTitle}
  349. {block:ifLinkSixTitle}
  350. <a href="{text:Link Six}">{text:Link Six Title}</a>&nbsp;{/block:ifLinkSixTitle}
  351. {block:ifLinkSevenTitle}
  352. <a href="{text:Link Seven}">{text:Link Seven Title}</a>&nbsp;{/block:ifLinkSevenTitle}
  353. {block:ifLinkEightTitle}
  354. <a href="{text:Link Eight}">{text:Link Eight Title}&nbsp;{/block:ifLinkEightTitle}
  355. {block:HasPages}{block:Pages}<a href="{URL}">{Label}</a>&nbsp;{/block:Pages} {/block:HasPages}
  356. <a href="/archive">Archive</a>&nbsp;
  357. <!-- DO NOT REMOVE CREDITS KEEP MY THEMES FREE -->
  358. <a href="http://final-stand.tumblr.com" target="blank">Theme</a></center>
  359. </span>
  360. <div style="margin-top:3px;"></div>
  361. </div>
  362.  
  363. {block:Posts}
  364. <div class = "autopagerize_page_element" >
  365. <div class="entry">
  366.  
  367. {block:Photo}
  368. {block:IndexPage}
  369. {block:Post1}
  370. <div class="photo">{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoUrl-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  371. {/block:Post1}
  372. {block:Post2}
  373. <div class="photo">{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  374. {/block:Post2}
  375. {block:Post3}
  376. <div class="photo">{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  377. {/block:Post3}
  378. {block:Post4}
  379. <div class="photo">{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  380. {/block:Post4}
  381. {block:Post5}
  382. <div class="photo">{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  383. {/block:Post5}
  384. {block:Post6}
  385. <div class="photo">{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  386. {/block:Post6}
  387. {block:Post7}
  388. {block:ifLarger7thphoto}<div class="photobig">{/block:ifLarger7thphoto}
  389. {block:ifnotLarger7thphoto}<div class="photo">{/block:ifnotLarger7thphoto}
  390. {LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  391. {/block:Post7}
  392. {block:Post8}
  393. <div class="photo">{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  394. {/block:Post8}
  395. {block:Post9}
  396. <div class="photo">{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  397. {/block:Post9}
  398. {block:Post10}
  399. <div class="photo">{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  400. {/block:Post10}
  401. {block:Post11}
  402. <div class="photo">{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  403. {/block:Post11}
  404. {block:Post12}
  405. <div class="photo">{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  406. {/block:Post12}
  407. {block:Post13}
  408. <div class="photo">{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  409. {/block:Post13}
  410. {block:Post14}
  411. {block:ifLarger14thphoto}<div class="photobig">{/block:ifLarger14thphoto}
  412. {block:ifnotLarger14thphoto}<div class="photo">{/block:ifnotLarger14thphoto}
  413. {LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  414. {/block:Post14}
  415. {block:Post15}
  416. <div class="photo">{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/> </a>{LinkCloseTag}</div>
  417. {/block:Post15}
  418.  
  419. {/block:IndexPage}
  420. {block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=450px/>{LinkCloseTag}{/block:PermalinkPage}
  421.  
  422. {block:ifphotopermalinks1}
  423. <div class="permalinks">
  424. <ul class="buttons">
  425. <li><a href="{ReblogUrl}" target="_blank">{ReblogButton color="grey" size="16"}</a></li>
  426. <li>{LikeButton color="grey" size="16"}</li>
  427. <div class="noteslabel"><a href="{Permalink}">{NoteCount}</a></div>
  428. </ul>
  429. </div>{/block:ifphotopermalinks1}
  430.  
  431. {block:ifphotopermalinks2}{block:indexpage}
  432. <ul class="reblog_me">
  433. <li>{ReblogButton color="grey"}</li><br>
  434. <li>{LikeButton color="grey"}</li>
  435. </ul>
  436. {/block:indexpage}{/block:ifphotopermalinks2}
  437.  
  438. {/block:Photo}
  439.  
  440. {block:Photoset}
  441. <center>
  442. <div class="photoset">
  443. {block:IndexPage}{Photoset-250}{/block:IndexPage}
  444. {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
  445. </center>
  446. {block:ifphotopermalinks1}
  447. <div class="permalinks">
  448. <ul class="buttons">
  449. <li><a href="{ReblogUrl}" target="_blank">{ReblogButton color="grey" size="16"}</a></li>
  450. <li>{LikeButton color="grey" size="16"}</li>
  451. <div class="noteslabel"><a href="{Permalink}">{NoteCount}</a></div>
  452. </ul>
  453. </div>{/block:ifphotopermalinks1}
  454.  
  455. {block:ifphotopermalinks2}{block:indexpage}
  456. <ul class="reblog_me">
  457. <li>{ReblogButton color="grey"}</li><br>
  458. <li>{LikeButton color="grey"}</li>
  459. </ul>
  460. {/block:indexpage}{/block:ifphotopermalinks2}
  461. {/block:Photoset}
  462.  
  463. {block:Text}
  464. <div class="text"><div style="padding:10px;">
  465. <span class="title">{Title}</span>
  466. {Body}
  467. {block:IndexPage}
  468. <a href="{Permalink}"><div class="supreme">{NoteCountwithLabel}</div></a></div></div>
  469. {/block:IndexPage}
  470. {/block:Text}
  471.  
  472. {block:Link}
  473. <div class="text"><div style="padding:10px;">
  474. <center><a href="{URL}"><span class="title">{Name}</span></a></center>
  475. <div style="margin-left:3px;">{block:Description}{Description}{/block:Description}</div>
  476. {block:IndexPage}
  477. <a href="{Permalink}"><div class="supreme">{NoteCountwithLabel}</div></a></div></div>
  478. {/block:IndexPage}
  479. {block:Link}
  480.  
  481. {block:Quote}
  482. <div class="text"><div style="padding:10px;">
  483. <div style="margin-left:3px;">
  484. {Quote}</span>
  485. {block:Source}<strong>{Source}</strong>{/block:Source}
  486. </div>
  487. {block:IndexPage}
  488. <a href="{Permalink}"><div class="supreme">{NoteCountwithLabel}</div></a></div></div>
  489. {/block:IndexPage}
  490. {/block:Quote}
  491.  
  492. {block:Chat}
  493. <div class="text"><div style="padding:10px;">
  494. <div style="margin-left:3px;">
  495. {block:Title}<span class="title">{title}</span>{/block:Title}
  496. <ul class="chat">
  497. {block:Lines}
  498. <li class="user_{UserNumber}">
  499. {block:Label}
  500. <span class="label">{Label}</span>
  501. {/block:Label}
  502. {Line}
  503. </li>
  504. {/block:Lines}
  505. </ul>
  506. </div>
  507. {block:IndexPage}
  508. <a href="{Permalink}"><div class="supreme">{NoteCountwithLabel}</div></a></div></div>
  509. {/block:IndexPage}
  510. {/block:Chat}
  511.  
  512. {block:Audio}
  513. <div class="audio_text">
  514. {block:AlbumArt} <a href="{Permalink}"><img src="{AlbumArtURL}" alt="{PhotoAlt}" style="{block:indexpage}width:232px;height:232px;{/block:indexpage}{block:permalinkpage}width:450px;height:450px;{/block:permalinkpage}"/>
  515. {/block:AlbumArt}
  516. <div style="margin-top:-4px;background-color:black;height:30px;padding-top:7px;padding-bottom:5px;
  517. {block:indexpage}width:232px;{/block:indexpage}">
  518. {AudioPlayerBlack}</div></center>
  519. {/block:Audio}
  520.  
  521. {block:Answer}
  522. <div class="text"><div style="padding:10px;">
  523. <b>Q</b>: {Question}<br>{Answer}<br><i>asked by {Asker}</i>
  524. {block:IndexPage}
  525. <a href="{Permalink}"><div class="supreme">{NoteCountwithLabel}</div></a>
  526. {/block:IndexPage}</div></div>{/block:Answer}
  527.  
  528. {block:Video}
  529. {block:IndexPage}
  530. <div class="photoset">
  531. <center>
  532. {Video-250}</center>
  533. <a href="{Permalink}"><div class="supreme">{NoteCountwithLabel}</div></a>
  534. </div>
  535. {/block:IndexPage}
  536. {block:PermalinkPage}
  537. <center>
  538. {Video-500}</center>
  539. {/block:PermalinkPage}
  540. {block:Video}
  541.  
  542. {block:PermalinkPage}
  543. {block:HasTags} &middot; {block:Tags}<a href="TagURL"> #{Tag}</a> {/block:Tags}{/block:hasTags}
  544. {/block:PermalinkPage}
  545.  
  546. {block:PostNotes}
  547. <div class="notess">{block:Caption}{Caption}{/block:Caption}
  548. {block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}
  549. <br>{PostNotes}</div>
  550. {/block:PostNotes}
  551. </div>
  552. </div>
  553. {/block:Posts}
  554.  
  555. {block:Pagination}
  556. <div id="pagination">
  557. {block:NextPage}
  558. <a id="nextPage" href="{NextPage}"></a>
  559. {/block:NextPage}
  560. {block:PreviousPage}
  561. <a href="{PreviousPage}"></a>
  562. {/block:PreviousPage}
  563. </div>
  564. {/block:Pagination}
  565. {/block:IndexPage}
  566. </div>
  567.  
  568. <script>
  569. window.onload = function () {
  570. document.body.insertAdjacentHTML( 'beforeEnd', '<iframe id="my-like-frame" style="display:none;"></iframe>' );
  571. document.addEventListener( 'click', function ( event ) {
  572. var myLikeLink = event.target;
  573. if( myLikeLink.className.indexOf( 'my-like' ) > -1 ) {
  574. var myLikeFrame = document.getElementById( 'my-like-frame' ),
  575. liked = ( myLikeLink.className == 'my-liked' ),
  576. command = liked ? 'unlike' : 'like',
  577. reblog = myLikeLink.getAttribute( 'data-reblog' ),
  578. postId = myLikeLink.getAttribute( 'data-id' ),
  579. oauth = reblog.slice( -8 ),
  580. likeUrl = 'http://www.tumblr.com/' + command + '/' + oauth + '?id=' + postId;
  581. myLikeFrame.src = likeUrl;
  582. liked ? myLikeLink.className = 'my-like'
  583. : myLikeLink.className = 'my-liked';
  584. };
  585. }, false );
  586. };
  587. </script>
  588.  
  589. </body></html><!-- END OF THEME -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement