Advertisement
jessepinkman

pinkmanjesse Theme

Dec 4th, 2015
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.80 KB | None | 0 0
  1. <html>
  2. <head>
  3.  
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  6.  
  7. <!--------------------------------------------
  8. SCOTTISBAE THEMES # 127
  9. THEME BY: http://scottisbae.tumblr.com/ (PREV BRITISHROBERT)
  10.  
  11. RULES, IMPORTANT: DON'T REMOVE THE CREDIT // DON'T CLAIM AS YOUR OWN // DON'T USE AS A BASE
  12.  
  13. --------------------------------------------->
  14.  
  15. <title>{Title}</title>
  16. <link rel="shortcut icon" href="{Favicon}">
  17. <link rel="altertnate" type="application/rss+xml" href="{RSS}">
  18. <meta name="description" content="" />
  19. <meta http-equiv="x-dns-prefetch-control" content="off"/>
  20.  
  21.  
  22. <meta name="color:Background" content="#FFFFFF">
  23. <meta name="color:Link" content="#8C8C8C">
  24. <meta name="color:Link Hover" content="#CECECE">
  25. <meta name="color:Text" content="#252525">
  26. <meta name="color:Scrollbar" content="#000000">
  27. <meta name="color:Blockquote" content="#EAEAEA">
  28. <meta name="color:Info Border" content="#F5F5F5">
  29. <meta name="color:Questions Border" content="#FAFAFA">
  30. <meta name="color:Sidebar Link Border" content="#F4F4F4">
  31.  
  32. <meta name="text:Body Font Size" content="11px"/>
  33. <meta name="text:Body Font" content="Calibri"/>
  34.  
  35. <meta name="image:Sidebar" content=""/>
  36. <meta name="text:Title" content="">
  37.  
  38. <meta name="if:Show 400px posts" content="0"/>
  39. <meta name="if:Show Title" content="0" />
  40. <meta name="if:Hover Tags" content="0"/>
  41. <meta name="if:Show Link1" content="0" />
  42. <meta name="if:Show Link2" content="0" />
  43. <meta name="if:Show Link3" content="0" />
  44. <meta name="if:Show Link4" content="0" />
  45.  
  46. <meta name="text:link1" content="">
  47. <meta name="text:link1 url" content="/">
  48. <meta name="text:link2" content="">
  49. <meta name="text:link2 url" content="/">
  50. <meta name="text:link3" content="">
  51. <meta name="text:link3 url" content="/">
  52. <meta name="text:link4" content="">
  53. <meta name="text:link4 url" content="/">
  54.  
  55.  
  56.  
  57. <link href='http://fonts.googleapis.com/css?family=Maven+Pro:400,500,700,900' rel='stylesheet' type='text/css'>
  58.  
  59. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  60. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  61. <script>
  62. (function($){
  63. $(document).ready(function(){
  64. $("a[title]").style_my_tooltips({
  65. tip_follows_cursor:true,
  66. tip_delay_time:90,
  67. tip_fade_speed:600,
  68. attribute:"title"
  69. });
  70. });
  71. })(jQuery);
  72. </script>
  73.  
  74.  
  75. <style type="text/css">
  76.  
  77. ::-webkit-scrollbar {background-color:{color:Background}; height:4px; width:6px}
  78. ::-webkit-scrollbar-thumb:vertical {background-color:{color:Scrollbar}; height:50px}
  79. ::-webkit-scrollbar-thumb:horizontal {background-color:{color:Scrollbar}; height:8px!important}
  80.  
  81. #s-m-t-tooltip {
  82. max-width:300px;
  83. margin-top:-20px;
  84. margin-left:-20px;
  85. font-size:8px;
  86. padding:2px;
  87. font-family:calibri;
  88. letter-spacing:1px;
  89. text-align:center;
  90. text-transform:uppercase;
  91. background-color:{color:Background};
  92. color:{color:text};
  93. z-index:999999999999999999999999999999999999;
  94. }
  95.  
  96. h1 {
  97. font-weight:normal;
  98. font-size: {text:Body Font Size};
  99. font-family: {text:Body Font};
  100. text-align:center;
  101. font-style:normal;
  102. line-height:50%;
  103. letter-spacing:0px;
  104. text-transform:none;
  105. color:{color:Text};
  106. }
  107.  
  108. h2 {
  109. font-size: {text:Body Font Size};
  110. font-family: {text:Body Font};
  111. letter-spacing:0px;
  112. margin-bottom:12px;
  113. padding-bottom:10px;
  114. font-weight:normal;
  115. line-height:90%;
  116. text-transform:none;
  117. color:{color:Text};
  118. margin: 0px;
  119. border-bottom:1px solid {color:Info Border};
  120. }
  121.  
  122. pre {
  123. {block:ifNotShow400pxposts}
  124. width:540px;
  125. {/block:ifNotShow400pxposts}
  126. {block:ifShow400pxposts}
  127. width:400px;
  128. {/block:ifShow400pxposts}
  129. text-align: left;
  130. word-wrap: break-word;
  131. color:{color:Text};
  132. }
  133.  
  134.  
  135. blockquote {
  136. border-left:1px solid {color:Blockquote};
  137. padding-left:13px;
  138. padding-top:1px;
  139. padding-bottom:1px;
  140. margin:10px;
  141. margin-top:20px;
  142. margin-bottom:10px;
  143. margin-left:20px;
  144. }
  145.  
  146. blockquote img {
  147. max-width:470px;
  148. }
  149.  
  150. body {
  151. color: {color:Text};
  152. background-color:{color:Background};
  153. word-spacing:1px;
  154. }
  155.  
  156. a {
  157. color: {color:Link};
  158. text-decoration: none;
  159. -moz-transition-duration: 0.5s;
  160. -o-transition-duration: 0.5s;
  161. -webkit-transition-duration: 0.5s;
  162. transition-duration: 0.5s;
  163. }
  164.  
  165. a:hover {
  166. color: {color:Link Hover};
  167. text-decoration:underline;
  168. -moz-transition-duration: 0.5s;
  169. -o-transition-duration: 0.5s;
  170. -webkit-transition-duration: 0.5s;
  171. transition-duration: 0.5s;
  172. }
  173.  
  174.  
  175. .title {
  176. width:245px;
  177. margin-bottom:21px;
  178. font-family:calibri;
  179. text-transform:uppercase;
  180. font-size:10px;
  181. line-height:110%;
  182. text-align:center;
  183. color:{color:text};
  184. word-spacing:1px;
  185. }
  186.  
  187.  
  188. .sidebar {
  189. width:245px;
  190. color:{color:Text};
  191. position: fixed;
  192. margin-top:10px;
  193. margin-left:0px;
  194. }
  195.  
  196.  
  197. .sidebarimage {
  198. width:245px;
  199. margin-left:0px;
  200. margin-bottom:5px;
  201. }
  202.  
  203. .sidebarlinks {
  204. width:245px;
  205. line-height:-20;
  206. padding-top:-20px;
  207. margin-bottom:6px;
  208. font-size:10px;
  209. font-weight:100;
  210. font-family:arial;
  211. text-transform:uppercase;
  212. text-align:center;
  213. letter-spacing:1px;
  214. border-bottom:0px solid {color:Sidebar Link Border};
  215. }
  216.  
  217.  
  218. .sidebarlinks a {
  219. color:{color:Text};
  220. padding:3px;
  221. -moz-transition-duration: 0.5s;
  222. -o-transition-duration: 0.5s;
  223. -webkit-transition-duration: 0.5s;
  224. transition-duration: 0.5s;}
  225.  
  226. .sidebarlinks a:hover {
  227. color:{color:Link Hover};
  228. text-decoration:underline;
  229. -moz-transition-duration: 0.5s;
  230. -o-transition-duration: 0.5s;
  231. -webkit-transition-duration: 0.5s;
  232. transition-duration: 0.5s;}
  233.  
  234.  
  235. .description {
  236. text-transform:normal;
  237. width:245px;
  238. padding-top:0px;
  239. padding-bottom:5px;
  240. line-height:120%;
  241. text-align:center;
  242. font-size:11px;
  243. font-family:arial;
  244. color:{color:Text};
  245. letter-spacing:0px;
  246. }
  247.  
  248. .description a:hover {
  249. color:{color:Link Hover};
  250. }
  251.  
  252. .border {
  253. border-bottom: 1px solid {color:Sidebar Link Border};
  254. width:120px;
  255. }
  256.  
  257. .pagination {
  258. width:245px;
  259. padding-top:10px;
  260. padding-bottom:10px;
  261. text-align:center;
  262. font-family:arial;
  263. font-size:11px;
  264. letter-spacing:0px;
  265. font-weight:;
  266. text-transform:none;
  267. }
  268.  
  269. .pagination a {
  270. padding:3px;
  271. color:{color:Text};
  272. }
  273.  
  274. .pagination a:hover {
  275. color:{color:Link Hover};
  276. }
  277.  
  278. .container {
  279. width:900px;
  280. margin: auto;
  281. margin-top:-70px;
  282. }
  283.  
  284.  
  285. .postscontainer {
  286. {block:ifNotShow400pxposts}
  287. max-width:540px;
  288. {/block:ifNotShow400pxposts}
  289. {block:ifShow400pxposts}
  290. max-width:400px;
  291. {/block:ifShow400pxposts}
  292. margin: auto;
  293. margin-top:-20px;
  294. margin-left:350px;
  295. }
  296.  
  297. .posts {
  298. {block:ifNotShow400pxposts}
  299. .posts img {
  300.  
  301. max-width:540px;
  302.  
  303. }
  304. width:400px;
  305. {/block:ifShow400pxposts}
  306. font-size: {text:Body Font Size};
  307. font-family: {text:Body Font};
  308. margin-top:120px;
  309. text-align:justify;
  310. }
  311.  
  312. .posts img {
  313. {block:ifNotShow400pxposts}
  314. max-width:540px;
  315. {/block:ifNotShow400pxposts}
  316. {block:ifShow400pxposts}
  317. max-width:400px;
  318. {/block:ifShow400pxposts}
  319. }
  320.  
  321. .posts img {
  322.  
  323. max-width:540px;
  324.  
  325. }
  326.  
  327. .info {
  328. text-align:left;
  329. margin-top:32px;
  330. padding-bottom:10px;
  331. padding-top:10px;
  332. padding-left:20px;
  333. font-size:10px;
  334. font-family:calibri;
  335. line-height:14px;
  336. text-transform:none;
  337. letter-spacing:0px;
  338. border-bottom:0px solid {color:Info Border};
  339. }
  340.  
  341. .info a {
  342. color:{color:Text};
  343. }
  344.  
  345. .info a:hover {
  346. text-decoration:underline;
  347. color:{color:Link Hover};
  348. }
  349.  
  350. .info2 {
  351. text-align:left;
  352. margin-top:0px;
  353. text-transform:none;
  354. letter-spacing:0px;
  355. font-size:10px;
  356. font-family:calibri;
  357. }
  358.  
  359. .info2 a {
  360. color:{color:Text};
  361. }
  362.  
  363. .info2 a:hover {
  364. text-decoration:underline;
  365. color:{color:Link Hover};
  366. }
  367.  
  368. .dashicons {
  369. margin-top:5px;
  370. {block:ifNotShow400pxposts}
  371. margin-left:520px;
  372. {/block:ifNotShow400pxposts}
  373. {block:ifShow400pxposts}
  374. margin-left:420px;
  375. {/block:ifShow400pxposts}
  376. padding-bottom:0px;
  377. line-height:0%;
  378. font-family:calibri;
  379. text-transform:none;
  380. letter-spacing:0px;
  381. font-size:11px;
  382. -webkit-transition:0.7s ease; position:absolute; opacity:0;
  383. list-style: none;
  384. }
  385.  
  386. .posts:hover .dashicons {
  387. margin-top:5px;filter: alpha(opacity = 100);
  388. opacity:100;-webkit-transition: all 0.5s ease-out;
  389. -moz-transition: all 0.5s ease-out;transition: all 0.5s ease-out;
  390. }
  391.  
  392. .posts:hover .tags {
  393. {block:ifHoverTags}
  394. margin-top:-5px;filter: alpha(opacity = 100);
  395. opacity:100;-webkit-transition: all 0.5s ease-in-out;
  396. -moz-transition: all 0.5s ease-in-out;
  397. -o-transition: all 0.5s ease-in-out;
  398. {/block:ifHoverTags}}
  399.  
  400. .tags {{block:ifHoverTags}
  401. -webkit-transition: all 0.5s ease-in-out;
  402. -moz-transition: all 0.5s ease-in-out;
  403. -o-transition: all 0.5s ease-in-out;
  404. position:absolute; opacity:0;
  405. {/block:ifHoverTags}
  406. {block:ifNotShow400pxposts}
  407. width:540px;
  408. {/block:ifNotShow400pxposts}
  409. {block:ifShow400pxposts}
  410. width:400px;
  411. {/block:ifShow400pxposts}
  412. position:absolute;
  413. margin-top:-5px;
  414. padding-left:20px;
  415. line-height:120%;
  416. font-family:arial;
  417. font-size:11px;
  418. text-align:left;
  419. }
  420.  
  421. .tags a {
  422. color:{color:Text};
  423. }
  424.  
  425. .tags a:hover {
  426. text-decoration:underline;
  427. color:{color:Link Hover};
  428. }
  429.  
  430. .postnote {
  431. {block:ifNotShow400pxposts}
  432. width:540px;
  433. {/block:ifNotShow400pxposts}
  434. {block:ifShow400pxposts}
  435. width:400px;
  436. {/block:ifShow400pxposts}
  437. text-transform:none;
  438. font-size: {text:Body Font Size};
  439. font-family: {text:Body Font};
  440. text-align:left;
  441. line-height:90%;
  442. margin-top:40px;
  443. }
  444.  
  445. .postnote li {
  446. list-style-type:none;
  447. border-bottom:1px solid {color:Info Border};
  448. padding:37px 0px 3px 0px;
  449. text-align:left;
  450. margin:0px;
  451. -moz-transition-duration:0.5s;
  452. -webkit-transition-duration:0.5s;
  453. -o-transition-duration:0.5s;
  454. }
  455.  
  456. .postnote img {
  457. width:20px;
  458. padding: 3px;
  459. margin:2px 7px -3px 6px;
  460. text-align:left;
  461. margin:2px 7px -3px 6px;
  462. border:2px solid {color:Info Border};
  463. border-radius:100px;
  464. -webkit-border-radius:100px;
  465. -moz-border-radius:100px;
  466. }
  467.  
  468. .music {
  469. width:540px;
  470. {block:ifShow400pxposts}
  471. width:400px;
  472. {/block:ifShow400pxposts}
  473. padding-bottom:10px;
  474. }
  475.  
  476. .albumart {
  477. float:left;
  478. }
  479.  
  480. .albumart img {
  481. width:50px;
  482. padding: 3px;
  483. margin:2px 7px -3px 6px;
  484. border:2px solid {color:Info Border};
  485. border-radius:100px;
  486. -webkit-border-radius:100px;
  487. -moz-border-radius:100px;
  488. }
  489.  
  490. .playercontainer {
  491. text-align:left;
  492. padding-top:15px;
  493. width:450px;
  494. {block:ifShow400pxposts}
  495. width:350px;
  496. {/block:ifShow400pxposts}
  497. }
  498.  
  499. .musicinfo {
  500. padding:10px;
  501. margin-top:20px;
  502. font-size: {text:Body Font Size};
  503. font-family: {text:Body Font};
  504. color:{color:Text};
  505. }
  506.  
  507. .quote {
  508. font-size: {text:Body Font Size};
  509. font-family: {text:Body Font};
  510. letter-spacing:0px;
  511. line-height:90%;
  512. text-align:justify;
  513. }
  514.  
  515. .source {
  516. font-family:calibri;
  517. font-size:10px;
  518. font-style:normal;
  519. text-align:center;
  520. line-height:17px;
  521. }
  522.  
  523. .chat ol {
  524. font-size: {text:Body Font Size};
  525. font-family: {text:Body Font};
  526. line-height:100%;
  527. padding:0px;
  528. list-style:none;
  529. }
  530.  
  531. .label {
  532. font-size: {text:Body Font Size};
  533. font-family: {text:Body Font};
  534. font-weight:bold;
  535. color:{color:Text};
  536. }
  537.  
  538. .line.odd {
  539. padding:4px;
  540. margin-bottom:2px;
  541. }
  542.  
  543. .line.even {
  544. padding:4px;
  545. margin-bottom:2px;
  546. }
  547.  
  548. .ask {
  549. {block:ifNotShow400pxposts}
  550. width:540px;
  551. {/block:ifNotShow400pxposts}
  552. {block:ifShow400pxposts}
  553. width:400px;
  554. {/block:ifShow400pxposts}
  555. font-size: {text:Body Font Size};
  556. font-family: {text:Body Font};
  557. text-transform:capitalize;
  558. text-align:left;
  559. font-weight:;
  560. line-height: 120%;
  561. padding-top:4px;
  562. padding-left:7px;
  563. padding-bottom:8px;
  564. border-bottom: 1px solid {color:Questions Border};
  565. }
  566.  
  567. .ask a {
  568. color:{color:Text};
  569. }
  570.  
  571. .question {
  572. {block:ifNotShow400pxposts}
  573. width:540px;
  574. {/block:ifNotShow400pxposts}
  575. {block:ifShow400pxposts}
  576. width:400px;
  577. {/block:ifShow400pxposts}
  578. letter-spacing:0px;
  579. margin-top:3px;
  580. padding-left:7px;
  581. padding-bottom:8px;
  582. text-align:justify;
  583. color:{color:Text};
  584. font-size: {text:Body Font Size};
  585. font-family: {text:Body Font};
  586. }
  587.  
  588. .answer {
  589. {block:ifNotShow400pxposts}
  590. width:540px;
  591. {/block:ifNotShow400pxposts}
  592. {block:ifShow400pxposts}
  593. width:400px;
  594. {/block:ifShow400pxposts}
  595. letter-spacing:0px;
  596. text-align:justify;
  597. padding-top:5px;
  598. line-height: 120%;
  599. margin-bottom:1px;
  600. font-size: {text:Body Font Size};
  601. font-family: {text:Body Font};
  602. color:{color:Text};
  603. }
  604.  
  605. .askimg {
  606. padding: 3px;
  607. margin:2px 7px -3px 6px;
  608. }
  609.  
  610. .credit {
  611. position:fixed;
  612. font-family:calibri;
  613. font-size:11px;
  614. line-height:150%;
  615. letter-spacing:0px;
  616. right:5px;
  617. bottom:20px;
  618. text-transform:uppercase;
  619. text-align:center;
  620. }
  621.  
  622. .credit a {
  623. font-style:normal;
  624. padding:3px;
  625. color:{color:text};
  626. -moz-transition-duration:0.5s;
  627. -webkit-transition-duration:0.5s;
  628. -o-transition-duration:0.5s;
  629. }
  630.  
  631. </style>
  632. </head>
  633.  
  634.  
  635. <body>
  636. <div class="container">
  637. <div class="sidebar">
  638. <center>
  639. {block:ifShowTitle}
  640. <div class="title">
  641. {text:Title}</div>
  642. {/block:ifShowTitle}
  643. <a title="home" href="/"><img src="{image:sidebar}" class="sidebarimage"></a>
  644. <div class="sidebarlinks">
  645. {block:ifShowLink1}
  646. <a href="/question">ask</a>
  647. {/block:IfShowLink1}
  648. {block:ifShowLink2}
  649. <a href="/blogs">blogs</a>
  650. {/block:IfShowLink2}
  651. <a href="/">home</a>
  652. {block:ifShowLink3}
  653. <a href="/links">links</a>
  654. {/block:IfShowLink3}
  655. {block:ifShowLink4}
  656. <a href="/mine">mine</a>
  657. {/block:IfShowLink4}
  658. </div>
  659. <div class="description">
  660. <center>
  661. <br><a href="http://pinkmanjesse.tumblr.com/about"><b>Mark</b></a> | 21 | California
  662. <br><br>
  663. <a href="http://pinkmanjesse.tumblr.com/tagged/HTGAWM"><b>♥</b></a> | <a href="http://gandalfs.tumblr.com/"><b>♦</b></a>·<a href="http://incomparablyme.tumblr.com/"><b>♦</b></a>
  664. <br><br>
  665. <script language="JavaScript">var fhs = document.createElement('script');var fhs_id = "5126928";
  666. var ref = (''+document.referrer+'');var pn = window.location;var w_h = window.screen.width + " x " + window.screen.height;
  667. fhs.src = "http://freehostedscripts.net/ocounter.php?site="+fhs_id+"&e1=&e2=&r="+ref+"&wh="+w_h+"&a=1&pn="+pn+"";
  668. document.head.appendChild(fhs);document.write("<span id='o_"+fhs_id+"'></span>");
  669. </script> | <script language="JavaScript">var fhsh = document.createElement('script');var fhs_id_h = "3038336";
  670. fhsh.src = "http://freehostedscripts.net/ocount.php?site="+fhs_id_h+"&name=&a=1";
  671. document.head.appendChild(fhsh);document.write("<span id='h_"+fhs_id_h+"'></span>");
  672. </script>
  673. <br>
  674. </center>
  675. </div>
  676. {block:Pagination}
  677. <div class="pagination">
  678. {block:PreviousPage}
  679. <a href="{PreviousPage}">←</a>
  680. {/block:PreviousPage}
  681. {block:NextPage}
  682. <a href="{NextPage}"> →</a>
  683. {/block:NextPage}
  684. </div>
  685. {/block:Pagination}
  686. </center>
  687. </div>
  688.  
  689.  
  690.  
  691.  
  692. <div class="postscontainer">
  693.  
  694. {block:Posts}
  695. <div class="posts">
  696.  
  697. <div class="dashicons">
  698. {ReblogButton size="13"}
  699. </div>
  700.  
  701. {block:Text}
  702. {block:Title}<h2>{Title}</h2>{/block:Title}
  703. {Body}
  704. {/block:Text}
  705.  
  706. {block:Quote}<div class="quote">&#8220;{Quote}&#8221;</div><center><div class="source">&mdash; {block:Source}{Source}{/block:Source}</div></center><br>{/block:Quote}
  707.  
  708. {/block:Quote}
  709.  
  710. {block:Link}
  711. <h2><a href="{URL}">{Name}</a></h2>
  712. {block:Description}{Description}{/block:Description}
  713. {/block:Link}
  714.  
  715. {block:Chat}{block:Title}<h2>{Title}</h2>{/block:Title}<div class="chat"><ol>{block:Lines}<li class="line {Alt}">{block:Label}<span class="label">{Label}</span>{/block:Label} {Line}</li>{/block:Lines}
  716. </ol></div>{/block:Chat}
  717.  
  718. {block:Answer}<div class="ask"><span style="font-weight:bold;">{Asker}:</span><span style="text-transform:none;"> {Question}</span></div><div class="answer">{Answer}</div>{/block:answer}
  719.  
  720. {block:Photo}
  721. {LinkOpenTag}{block:ifNotShow400pxposts}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}">{/block:ifNotShow400pxposts}
  722. {block:ifShow400pxposts}<img src="{PhotoURL-400}" alt="{PhotoAlt}">{/block:ifShow400pxposts}{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}
  723. {/block:Photo}
  724.  
  725. {block:Photoset}
  726. {block:ifNotShow400pxposts}{Photoset}{/block:ifNotShow400pxposts}{block:ifShow400pxposts}{Photoset-400}{/block:ifShow400pxposts}
  727. {block:Caption}{Caption}{/block:Caption}
  728. {/block:Photoset}
  729.  
  730. {block:Audio}<div class="music">{block:AlbumArt}<div class="albumart"><img src="{AlbumArtURL}"/>{/block:AlbumArt}</div>
  731. <div class="playercontainer">{AudioPlayerWhite}</div>
  732. <br><div class="musicinfo">{block:TrackName} {TrackName} {/block:TrackName} {block:Artist}by {Artist} {/block:Artist}
  733. {/block:ExternalAudio}
  734. {block:Caption}{Caption}{/block:Caption}<br></div>{/block:Audio}
  735.  
  736. {block:Video}
  737. {block:ifNotShow400pxposts}{Video-500}{/block:ifNotShow400pxposts}{block:ifShow400pxposts}{Video-400}{/block:ifShow400pxposts}
  738. {block:Caption}{Caption}{/block:Caption}
  739. {/block:Video}
  740.  
  741. {block:Date}<div class="info">{block:NoteCount}{NoteCount} notes ∙ {/block:NoteCount} <a title="{timeago}" href="{Permalink}">{ShortMonth} {DayofMonth}</a> {block:PermalinkPage}
  742. {block:RebloggedFrom}<a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom} {block:ContentSource}<a href="{SourceURL}">©</a> {/block:ContentSource}{/block:RebloggedFrom}
  743. {/block:PermalinkPage}</div>{/block:Date}
  744.  
  745. {block:HasTags}
  746. <div class="tags">
  747. {block:Tags}# <a href="{TagURL}">{Tag}</a>  {/block:Tags}
  748. </div>
  749. {/block:HasTags}
  750.  
  751.  
  752. <div class="postnote">
  753. {block:PostNotes}{PostNotes}{/block:PostNotes}
  754. </div>
  755. {/block:Posts}
  756.  
  757. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
  758. <script>
  759. /* questions? ask oddhour.tumblr.com */
  760. var updatePhotosetCss = "<style id='updatePhotosetStyle'> .photoset .photoset_row.photoset_row_1 img { max-width: 540px; } .photoset .photoset_row.photoset_row_2 img { max-width: 268px; } .photoset .photoset_row.photoset_row_3 img { max-width: 177px; } .photoset .photoset_row { text-align: center; width: 540px; } .photoset { width: 540px; }</style>";
  761. function updatePhotoset() {
  762.  
  763. $(".photoset").each( function (i, e) {
  764. if($(this.contentDocument).find("#updatePhotosetStyle").size() <= 0)
  765. $(this.contentDocument).find("head").append(updatePhotosetCss);
  766. var photoset = $(this.contentDocument).find(".photoset");
  767. var photosetRows = photoset.find(".photoset_row");
  768. photoset.find(".photoset_photo")
  769. .each(function () {
  770. var hiResSrc = $(this).attr("href");
  771. var img = $(this).find('img');
  772. img.attr("src", hiResSrc );
  773. img.attr("style", "");
  774. });
  775. photosetRows.attr("style", "").css("margin-bottom", "-5px");
  776. photoset.attr("style","");
  777.  
  778. $(this).height($(this.contentDocument.body).height());
  779. });
  780. }
  781.  
  782. updatePhotoset();
  783.  
  784. var photosetTimer = setInterval(updatePhotoset, 1500);
  785. $(window).on('load', function () { setTimeout(function() {clearInterval(photosetTimer)}, 2000); })
  786. </script>
  787.  
  788. </div>
  789. </div>
  790. </div>
  791. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement