Advertisement
romella

Fairy by charmedthemes

Jun 25th, 2018
467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.34 KB | None | 0 0
  1. <!--
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. theme 'Fairy' by charmedthemes / tyrionlannisters
  20.  
  21. DO NOT STEAL
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46. --
  47.  
  48. video resizing script by
  49. http://shythemes.tumblr.com/
  50.  
  51. --
  52.  
  53. unnesting captions script by neothm and magnusthemes
  54.  
  55. -->
  56.  
  57.  
  58.  
  59. <!DOCTYPE html>
  60.  
  61.  
  62. <head>
  63. <!---- tooltip stuff --->
  64. <link href="http://static.tumblr.com/5omyijl/bzrn2yg7i/style-my-tooltips.css" rel="stylesheet" type="text/css" />
  65. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  66. <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.1/SmoothScroll.min.js"></script>
  67. <script type="text/javascript" src="http://static.tumblr.com/iuggpng/bGqm4yfv9/jquery-1.7.2.js"></script>
  68. <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  69. <link href="http://static.tumblr.com/5omyijl/bzrn2yg7i/style-my-tooltips.css" rel="stylesheet" type="text/css" />
  70. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  71. <script src="http://static.tumblr.com/5omyijl/RZtn2yg9v/jquery.style-my-tooltips.js"></script>
  72. <script>
  73. (function($){
  74. $(document).ready(function(){
  75. $("[title]").style_my_tooltips({
  76. tip_follows_cursor:true,
  77. tip_delay_time:20,
  78. tip_fade_speed:300,
  79. attribute:"title"
  80. });
  81. });
  82. })(jQuery);
  83. </script>
  84. <style>
  85. #s-m-t-tooltip{
  86. max-width:300px;
  87. background:#fff;
  88. border-bottom:3px solid {color:link hover};
  89. color:#000;
  90. font-size:12px;
  91. z-index:999999999;
  92. font-style:none;
  93. font-family:inherit;
  94. border-radius:0;
  95. box-shadow:none;
  96.  
  97. }
  98. </style>
  99.  
  100. <!--- Roboto ---><link href="https://fonts.googleapis.com/css?family=Roboto:500,700" rel="stylesheet"><link href="https://fonts.googleapis.com/css?family=Prompt:500,600,700" rel="stylesheet">
  101. <!--- fontawesome ---><link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
  102. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script><script src="//code.jquery.com/jquery-2.2.4.min.js"></script>
  103. <!--- unnested captions ---><script src="http://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
  104. <!--- Quantico ---><link href="https://fonts.googleapis.com/css?family=Quantico:400,700" rel="stylesheet">
  105. <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
  106. <!--- to load a hosted library ---><script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  107. <!--- Libre Franklin ---><link href="https://fonts.googleapis.com/css?family=Libre+Franklin:200,200i,300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
  108. <!--- linearicons ---><link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
  109. <!--- open sans ---><link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,300italic,400italic,600italic,700italic" rel="stylesheet" type="text/css">
  110. <!--- Heebo ---><link href="https://fonts.googleapis.com/css?family=Heebo:300,400,500,700,800,900" rel="stylesheet">
  111. <!--- Karla ---><link href='https://fonts.googleapis.com/css?family=Karla:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
  112. <!--- Kanit ---><link href="https://fonts.googleapis.com/css?family=Kanit:700" rel="stylesheet">
  113.  
  114.  
  115.  
  116. <!--- linear icons ---><script src="https://cdn.linearicons.com/free/1.0.0/svgembedder.min.js"></script>
  117. <!--- saturn icons ---><link href="//dl.dropbox.com/s/50g6fbds3rh4m0j/saturnicons.css" rel="stylesheet">
  118. <!--- fontawesome style sheet ---><link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
  119. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  120. <script src="//code.jquery.com/jquery-2.2.4.min.js"></script><script src="http://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script><link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/all.css" integrity="sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg" crossorigin="anonymous">
  121.  
  122. <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
  123. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  124.  
  125. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  126.  
  127.  
  128.  
  129.  
  130. </script>
  131.  
  132.  
  133. <title>{Title}</title>
  134. <script src="https://use.fontawesome.com/6a37bda86f.js"></script>
  135.  
  136. <link rel="shortcut icon" href="{Favicon}">
  137. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  138. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  139.  
  140. <!--Default Variables-->
  141. <meta name="color:background" content="#ffffff"/>
  142. <meta name="color:text" content="#2b2b2b"/>
  143. <meta name="color:link" content="#2b2b2b"/>
  144. <meta name="color:link hover" content="#9ccfff"/>
  145. <meta name="color:link underline" content="#dadada"/>
  146.  
  147. <meta name="image:sidebar" content=""/>
  148.  
  149. <meta name="if:show sidebar title" content="1" />
  150.  
  151.  
  152. <meta name="text:link 1 URL" content="" />
  153. <meta name="text:link 1" content="" />
  154. <meta name="text:link 2 URL" content="" />
  155. <meta name="text:link 2" content="" />
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164. <style>
  165. /* tumblr controls */
  166. iframe.tmblr-iframe {
  167. z-index:99999999999999!important;
  168. top:0!important;
  169. right:0!important;
  170. opacity:0.4;
  171. /* delete from here */
  172. filter:invert(1);
  173. -webkit-filter:invert(1);
  174. -o-filter:invert(1);
  175. -moz-filter:invert(1);
  176. -ms-filter:invert(1);
  177. /* to here if your blog has a dark background */
  178. transform:scale(0.6);
  179. transform-origin:100% 0;
  180. -webkit-transform:scale(0.6);
  181. -webkit-transform-origin:100% 0;
  182. -o-transform:scale(0.6);
  183. -o-transform-origin:100% 0;
  184. -moz-transform:scale(0.6);
  185. -moz-transform-origin:100% 0;
  186. -ms-transform:scale(0.6);
  187. -ms-transform-origin:100% 0;}
  188.  
  189. iframe.tmblr-iframe:hover {
  190. opacity:0.6!important;}
  191.  
  192. /*basics*/
  193.  
  194.  
  195.  
  196. selection {
  197. background:{color:link hover};
  198. }
  199.  
  200. ::selection {
  201. background:{color:link hover};
  202. }
  203. ::-webkit-selection {
  204. background:{color:link hover};
  205. }
  206. ::-moz-selection {
  207. background:{color:link hover};
  208. }
  209. ::-o-selection {
  210. background:{color:link hover};
  211. }
  212.  
  213.  
  214. i {
  215. font-style:italic;
  216. }
  217. blockquote {
  218. margin-left:5px;
  219. }
  220.  
  221. ul {
  222. list-style:none;
  223. text-align:left;
  224. padding-left:0;
  225. }
  226.  
  227. li {
  228. position:relative;
  229. padding-left:30px;
  230. }
  231.  
  232. ul li:before {
  233. position:absolute;
  234. left:15px;
  235. vertical-align:baseline!important;
  236. content:'›';
  237. }
  238.  
  239. small {
  240. font-size:12px;
  241. }
  242.  
  243.  
  244. body{
  245. background:{color:background};
  246. color:{color:text};
  247. font-family: sans-serif;
  248. font-size:13px;
  249. margin:0;
  250. text-align:left;
  251. line-height:16px;
  252.  
  253. }
  254. #title {
  255. font-size:20px;
  256. line-height:175%;
  257. border-bottom:none;
  258. text-transform:uppercase;
  259. margin-bottom:15px;
  260. font-weight:400;
  261.  
  262. }
  263. title {
  264. font-family:'Quantico';
  265. text-transform:uppercase;
  266.  
  267. }
  268.  
  269.  
  270. a {
  271. color:{color:link};
  272. text-decoration:none;
  273. transition-duration:.4s;
  274.  
  275.  
  276.  
  277. }
  278.  
  279. a:hover {
  280. background:{color:link hover};
  281. transition-duration:.4s;
  282. cursor:pointer;
  283.  
  284. }
  285.  
  286. img {
  287. opacity:1;
  288. border:none;
  289. text-decoration:none;
  290. }
  291.  
  292. small {
  293. font-size:13px;
  294. }
  295.  
  296. big {
  297. font-size:13px;
  298. }
  299.  
  300.  
  301.  
  302.  
  303.  
  304. /*sidebar*/
  305.  
  306. #sidebar {
  307. text-align:left;
  308. position:fixed;
  309. margin-left:630px;
  310. margin-top:200px;
  311. width:160px;
  312. }
  313.  
  314. #icon-sidebar {
  315. text-align:left;
  316. position:fixed;
  317. margin-left:-265px;
  318. margin-top:240px;
  319. width:200px;
  320. }
  321.  
  322. #sidebar img a {
  323. border-bottom: 0px;
  324.  
  325. }
  326.  
  327.  
  328.  
  329. /* Fade */
  330. .hvr-fade {
  331. display: inline-block;
  332. vertical-align: middle;
  333. -webkit-transform: perspective(1px) translateZ(0);
  334. transform: perspective(1px) translateZ(0);
  335. box-shadow: 0 0 1px transparent;
  336. overflow: hidden;
  337. transition-duration:2s;
  338. transition:2s;
  339. }
  340. .hvr-fade:hover, .hvr-fade:focus, .hvr-fade:active {
  341. background-color:#f9f9f9;
  342. }
  343.  
  344.  
  345.  
  346. .sidelinks {
  347. width:100px;
  348. float:center;
  349. text-align:center;
  350. font-weight:bold;
  351. font-family:'Quantico';
  352. font-size:14px;
  353. line-height:200%;
  354. margin-top:5px;
  355. padding:5px;
  356. background:{color:sidebar};
  357. text-transform:uppercase;
  358. text-decoration:none;
  359. border-radius:5px;
  360.  
  361. }
  362. .sidelinks:hover {
  363. text-decoration:none;
  364.  
  365. }
  366.  
  367.  
  368. #links {
  369. font-size:11px;
  370. margin-top:10px;
  371. text-align:left;
  372. text-transform:uppercase;
  373. }
  374.  
  375. #links a {
  376. text-transform:uppercase;
  377. color:{color:sidebar links};
  378. margin-bottom:0px;
  379. -moz-transition-duration:0.4s;
  380. -webkit-transition-duration:0.4s;
  381. -o-transition-duration:0.4s;
  382. }
  383.  
  384.  
  385. #description {
  386. width:600px;
  387. margin-left:-30px;
  388.  
  389. margin-top:3px;
  390. padding:5px;
  391. margin-top:10px;
  392. padding-bottom:15px;
  393. text-align:center;
  394. }
  395.  
  396. /*pagination*/
  397.  
  398. #pagination {
  399. text-transform:lowercase;
  400. text-align:right;
  401. font-size:12px;
  402. margin-bottom:120px;
  403. }
  404.  
  405. #pagination a {
  406. padding:0 3px;
  407. border-bottom:0px solid black;
  408.  
  409. }
  410.  
  411. /*container*/
  412.  
  413. #con {
  414. left:50%;
  415. margin-left:-200px;
  416. position:absolute;
  417. margin-top:;
  418. }
  419.  
  420. /*posts*/
  421.  
  422. #entries {
  423. margin-top:40px;
  424. width:540px;
  425. z-index:900;
  426.  
  427.  
  428. }
  429.  
  430. #posts {
  431. max-width:540px;
  432. width:100%;
  433. {block:IndexPage}
  434. margin-bottom:80px;
  435. {/block:IndexPage}
  436. z-index:1000000000000;
  437.  
  438. }
  439.  
  440. #posts img {
  441. max-width:540px;
  442. border-bottom: none;
  443. }
  444.  
  445.  
  446.  
  447. .caption {
  448. width:520px;
  449. margin-top:4px;
  450. margin-bottom:15px;
  451. font-size:13px;
  452. background:#f9f9f9;
  453. padding:10px;
  454. }
  455. .text-container{
  456. font-size:13px;
  457. background:#f9f9f9;
  458. padding:10px;
  459. margin-bottom:15px;
  460. width:520px;
  461.  
  462. }
  463.  
  464.  
  465. .icon{
  466. display:inline block;
  467. width:20px;
  468. border-radius:15%;
  469. margin-right:6px;
  470. vertical-align:middle;
  471. z-index:100;
  472. }
  473.  
  474. a.tumblr_blog {
  475. font-weight:600;
  476. font-size:13px;
  477. }
  478.  
  479. /*quote*/
  480.  
  481. #titlequote {
  482. padding-bottom:3px;
  483. padding-left:63px;
  484. font-size:13px;
  485. line-height:17px;
  486. font-weight:bold;
  487. font-family:'Quantico';
  488. text-transform:uppercase;
  489. }
  490.  
  491. #source {
  492. margin-top:0px;
  493. margin-bottom:11px;
  494. margin-left:0px;
  495. border-bottom:none;
  496. }
  497.  
  498. /*asks*/
  499.  
  500. .q {
  501.  
  502. border:1px black;
  503. padding:5px;
  504. margin-left:-5px;
  505. background:#f9f9f9;
  506. border-radius:3px;
  507.  
  508. }
  509.  
  510. .as {
  511. font-weight:normal;
  512. }
  513.  
  514. .a {
  515. margin-top:13px;
  516. margin-left:-5px;
  517. }
  518.  
  519. /*chat*/
  520.  
  521. .chat ol {
  522. padding:0;
  523. list-style:none;
  524. }
  525.  
  526. .line {
  527. padding:0px 0;
  528. }
  529.  
  530. .label {
  531. font-weight:bold;
  532. }
  533.  
  534. /*permalink*/
  535.  
  536. #permalink {
  537. text-transform:uppercase;
  538. font-size:12px;
  539. text-align:left;
  540. margin-top:8px;
  541. }
  542.  
  543. #permalink a {
  544. margin-right:0px;
  545. border-bottom:none;
  546. }
  547.  
  548. .far {
  549. font-size:1.2em;
  550. }
  551. /* tags */
  552.  
  553. .tags {
  554. margin-top:3px;
  555. text-transform:lowercase;
  556. font-size:13px;
  557. }
  558.  
  559. .pagenotes {
  560. {block:IndexPage}
  561. display: none!important;
  562. {/block:IndexPage}
  563. width:500px;
  564. text-align:left;
  565. }
  566.  
  567. .pagenotes img {
  568. display:none!important;
  569. }
  570.  
  571. .pagenotes li {
  572. list-style-type:none;
  573. padding:2px 0px;
  574. text-align:left;
  575. margin:0 0 0 -40px;
  576. }
  577.  
  578. .nav:hover {
  579. margin-left:10px;
  580. color:#000;
  581. transition-duration: 0.6s;
  582. -moz-transition-duration: 0.6s;
  583. -webkit-transition-duration: 0.6s;
  584. -o-transition-duration: 0.6s
  585. }
  586.  
  587.  
  588.  
  589. /* CREDIT DO NOT TOUCH */
  590. .credit {
  591. position:fixed;
  592. bottom:25px;
  593. right:25px;
  594. font:10px Karla;
  595. text-transform:uppercase;
  596. letter-spacing:1px;
  597. text-align:right;
  598. z-index:9999999;
  599. border:1px solid #e9e9e9;
  600. padding:05px;
  601. color:#8c8c8c;
  602. }
  603. /* END OF CREDIT */
  604.  
  605.  
  606. .oddhour-high-res { width: 540px; text-align: center; }
  607. .oddhour-high-res img { max-width: 100%; }
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615. .avatar {
  616. width:37px;
  617. height:37px;
  618. border-radius:15px;
  619. display:block;
  620. position:absolute;
  621. right:44%;
  622.  
  623. }
  624.  
  625.  
  626.  
  627.  
  628.  
  629. {CustomCSS}
  630. </style>
  631.  
  632.  
  633.  
  634. </head>
  635.  
  636.  
  637. <body>
  638.  
  639. </div>
  640.  
  641. <div id="con">
  642. <div id="icon-sidebar">
  643. {block:ifShowIcon}
  644. <a href=="/">
  645. <div class="avatar"><img style="border-radius:15%" src="{PortraitUrl-48}"></></div></a>
  646. {/block:ifShowIcon}
  647.  
  648. <div style="text-align:center">{Description}</div>
  649.  
  650. </div>
  651. <div id="sidebar">
  652.  
  653. <div id="links">
  654. <a class="sidelinks hvr-fade" href="/">home </a>
  655. <a class="sidelinks hvr-fade" href="/ask">inbox</a>
  656. {block:iflink1}<a class="sidelinks hvr-fade" href="{text:link 1 URL}">{text:link 1}</a>{/block:iflink1}
  657. {block:iflink2}<a class="sidelinks hvr-fade" href="{text:link 2 URL}" >{text:link 2}</a>{/block:iflink2}
  658. </div>
  659. </div>
  660.  
  661. <div id="entries">
  662.  
  663. {block:Posts}
  664.  
  665. <div id="posts">
  666.  
  667. {block:Quote}
  668. <div id="titlequote"><i class="fa fa-quote-left"></i>&nbsp; {Quote} &nbsp;<i class="fa fa-quote-right"></i></div>
  669. {block:Source}<div id="source" style="border-bottom:none">&mdash; {Source}</div>{/block:Source}
  670. {/block:Quote}
  671.  
  672. {block:Text}
  673. {block:Title}
  674. <div id="title" style="border-bottom:none">{Title}</div>{/block:Title}
  675. <div class="text-container">{Body}</div>
  676. {/block:Text}
  677.  
  678. {block:link}
  679. <div id="title"><a href="{URL}"><i class="fa fa-link"></i>&nbsp; {Name}</a></div>
  680. {block:Description}{Description}{/block:Description}
  681. {/block:link}
  682.  
  683. {block:Chat}
  684. {block:Title}
  685. <div id="title">{Title}</div>{/block:Title}
  686. {/block:Text}
  687. {block:lines}
  688. {block:label}
  689. <br><b>{label}</b>
  690. {/block:label}
  691. {line}
  692. {/block:lines}
  693. {/block:Chat}
  694.  
  695. {block:Photo}
  696. <div class="oddhour-high-res">
  697. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}">
  698. </div>{/block:Photo}
  699.  
  700. {block:Photoset}
  701. {Photoset}
  702. {/block:Photoset}
  703.  
  704. <div class="video">{Video-500}</div>
  705.  
  706. {block:Audio}
  707. {block:AudioEmbed}{AudioEmbed-500}{/block:AudioEmbed}
  708. {/block:Audio}
  709.  
  710. {block:Answer}
  711. <img style="display:inline block;height:20px;border-radius:15%;vertical-align:middle"src="{AskerPortraitURL-24}"><b style="text-transform:lowercase"> <span3 style="font-size:13px;padding-bottom:20px">{Asker}</span3></b><br>
  712. <div style="padding-top:5px" class="as"> <div class="q">
  713. {Question}</div></div>
  714. <div class="a">{Answer}</div>
  715. {/block:Answer}
  716.  
  717.  
  718. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  719.  
  720. {block:Date}
  721. <div id="permalink">
  722. <div class="date" style="margin-top:-9px; display:inline-block">
  723. <a title="{MonthNumber}/{DayOfMonth}" href="{Permalink}" ><b><i class="far fa-clock"></i>
  724.  
  725. </b>
  726. </a> </div>
  727.  
  728.  
  729. {block:NoteCount}
  730. <a href="{Permalink}" title="{NoteCountWithLabel}"> <i style="margin-left:7px; position:absolute; vertical-align:center; display: inline-block; margin-top:2px" class="fas fa-comment-alt"></i></a>{/block:NoteCount}
  731.  
  732. <div style="float:right;">{block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}"><img style="border-radius:15%" src="{ReblogParentPortraitURL-16} "></></a>
  733. {block:ContentSource} <a href="{ReblogRootURL}" title="{ReblogRootName}"><img style="margin-left:3px;border-radius:15%" src="{ReblogRootPortraitURL-16}"></></i>
  734.  
  735. </a>{/block:ContentSource}{/block:RebloggedFrom}</div>
  736.  
  737. {block:HasTags}<div class="tags">{block:Tags}<a href="{TagUrl}">{Tag}</a>&nbsp;&nbsp;{/block:Tags}</div>{/block:HasTags}
  738.  
  739. </div>
  740. {/block:Date}
  741.  
  742. </div>
  743.  
  744. {block:PostNotes}
  745. <div class="pagenotes">
  746. {PostNotes}
  747. </div>
  748. {/block:PostNotes}
  749.  
  750. {/block:Posts}
  751.  
  752. <div id="pagination">
  753. {block:Pagination}
  754. {block:PreviousPage}
  755. <a style="float:left" href="{PreviousPage}">back</a>
  756. {/block:PreviousPage}
  757.  
  758.  
  759. {block:NextPage}
  760. <a href="{NextPage}">forward</a>
  761. {/block:NextPage}
  762. {/block:Pagination}
  763.  
  764. </div>
  765. </div>
  766.  
  767. </div>
  768.  
  769. <!--- CREDIT DO NOT TOUCH --->
  770.  
  771. <div class="credit">
  772. <a title="charmedthemes" href="http://charmedthemes.tumblr.com/"><i class="fas fa-magic"></i></a>
  773. </div>
  774.  
  775. <!--- END OF CREDIT ---->
  776.  
  777. <script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
  778. <script>
  779. /* questions? ask oddhour.tumblr.com */
  780. 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: 178px; } .photoset .photoset_row .photoset_photo { margin-left: 4px; } .photoset .photoset_row { text-align: center; width: 540px; } .photoset { width: 540px; }</style>";
  781. function updatePhotoset() {
  782.  
  783. $(".photoset:not(.540-resized)").each( function (i, e) {
  784. if($(this.contentDocument).find("#updatePhotosetStyle").size() <= 0)
  785. $(this.contentDocument).find("head").append(updatePhotosetCss);
  786. var photoset = $(this.contentDocument).find(".photoset");
  787. var photosetRows = photoset.find(".photoset_row");
  788. photoset.find(".photoset_photo")
  789. .each(function () {
  790. var hiResSrc = $(this).attr("href");
  791. var img = $(this).find('img');
  792. img.attr("src", hiResSrc );
  793. img.attr("style", "");
  794. });
  795. photosetRows.attr("style", "").css("margin-bottom", "-11px");
  796. photoset.attr("style","");
  797. photoset.addClass("540-resized");
  798. $(this).height($(this.contentDocument.body).height());
  799. });
  800. }
  801.  
  802. updatePhotoset();
  803.  
  804. var photosetTimer = setInterval(updatePhotoset, 1500);
  805. $(window).on('load', function () { setTimeout(function() {clearInterval(photosetTimer)}, 2000); })
  806. </script>
  807.  
  808.  
  809.  
  810. <!-- unnesting caption script by magnusthemes and neothm -->
  811. <script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> <script src="http://static.tumblr.com/wgg6svp/P0Sofxcrj/unnest.min.js"></script>
  812. <script>
  813. $(function(){ $('#entries').unnest({
  814. yourCaption: ".caption",
  815. newCaptionUsername: false,
  816. originalPostCaptionUsername:false,
  817. tumblrAvatars: true,
  818. tumblrAvatarClass: ".icon",
  819. usernameColon: false
  820. }); }); </script>
  821.  
  822. <!-- unnesting caption script by magnusthemes and neothm -->
  823.  
  824. <script>
  825. $(function(){ $('#entries').unnest({
  826. yourCaption: ".text-container",
  827. newCaptionUsername: false,
  828. originalPostCaptionUsername:false,
  829. tumblrAvatars: true,
  830. tumblrAvatarClass: ".icon",
  831. usernameColon: false
  832. }); }); </script>
  833.  
  834. <!-- unnesting caption script by magnusthemes and neothm -->
  835.  
  836. <script>
  837. $(function(){ $('#entries').unnest({
  838. yourCaption: ".a",
  839. newCaptionUsername: false,
  840. originalPostCaptionUsername:false,
  841. tumblrAvatars: true,
  842. tumblrAvatarClass: ".icon",
  843. usernameColon: false
  844. }); }); </script>
  845.  
  846.  
  847.  
  848. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement