Advertisement
themekid

most wonderful time theme

Dec 11th, 2016
737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.06 KB | None | 0 0
  1. <!------------------------------------------
  2.  
  3. (◍•ᴗ•◍)♡ ✧*。
  4.  
  5. Most Wonderdul Time Theme
  6. by ThemeKid Chloë | @redivide | @themekid
  7.  
  8. > Do not delete/alter any credit.
  9. > Do not claim as your own.
  10. > Do not copy any code.
  11. > Do not redistribute.
  12.  
  13. ------------------------------------------->
  14. <html>
  15. <head>
  16. <meta charset="UTF-8" />
  17. <title>{block:TagPage}{Tag} posts | {/block:TagPage}{block:PostSummary}{PostSummary} | {/block:PostSummary}{Title}</title>
  18. <link rel="shortcut icon" href="{Favicon}">
  19. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  20. {block:Description}
  21. <meta name="description" content="{MetaDescription}" />
  22. {/block:Description}
  23. {block:Hidden}
  24. <meta name="image:Sidebar" content="http://68.media.tumblr.com/ba24d8c994554620aa84911cf9c7a9d9/tumblr_ogvkilbrRr1v8yaeco1_400.jpg" />
  25. <meta name="color:Accent" content="#dcecf5" />
  26. <meta name="color:Dark Accent" content="#6e9280" />
  27. <meta name="select:Sidebar Accessory" content="santa" title="Santa Hat" />
  28. <meta name="select:Sidebar Accessory" content="reindeer" title="Antlers" />
  29. <meta name="if:Redirect Ask" content="" />
  30.  
  31. <meta name="text:IMPORTANT" content="do not enable the redirect ask if you are using the default /ask page. it will cause your browser to crash! only enable if you are using a custom ask page."/>
  32. <meta name="text:Ask Link" content="/ask" />{/block:Hidden}
  33.  
  34. <link href='http://static.tumblr.com/8pnyeus/sXxofi7lt/outicons.css' rel='stylesheet' type='text/css'>
  35. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  36. <link href="https://fonts.googleapis.com/css?family=Mountains+of+Christmas|Open+Sans:400,400i,700,700i|Roboto+Condensed:400,700" rel="stylesheet">
  37. <script src="//static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  38. <link rel="stylesheet" href="http://static.tumblr.com/8pnyeus/29To2og0o/styles.css">
  39. <script src="https://dl.dropboxusercontent.com/s/7ke33tjjl8rty02/scripts.js"></script>
  40.  
  41. <script>{block:IfRedirectAsk}
  42. if(window.location.pathname == '/ask') location.replace('{text:Ask Link}');{/block:IfRedirectAsk}
  43. (function($){ $(document).ready(function(){ $("[title],a[title],img[title]").style_my_tooltips({ tip_follows_cursor:true, tip_delay_time:100, tip_fade_speed:300, attribute:"title" }); }); })(jQuery);
  44. var fhs = document.createElement('script');var fhs_id = "5411959";var ref = (''+document.referrer+'');var pn = window.location;var w_h =window.screen.width + " x " + window.screen.height;fhs.src = "//s1.freehostedscripts.net/ocounter.php?site="+fhs_id+"&e1=&e2=&r="+ref+"&wh="+w_h+"&a=1&pn="+pn+"";document.head.appendChild(fhs);document.write("<span id='o_"+fhs_id+"' style='display:none'></span>");
  45. </script>
  46.  
  47. <style type="text/css">
  48. [class*=" oi-"]:before,[class^=oi-]:before {
  49. line-height:inherit;
  50. }
  51. * {
  52. margin:0;
  53. padding:0;
  54. }
  55. #tumblr_controls, .tmblr-iframe {
  56. top:25px!important;
  57. right:25px!important;
  58. -webkit-filter: invert(90%);
  59. filter: invert(90%);
  60. position:fixed!important;
  61. -webkit-transform:scale(.8, .8);
  62. -moz-transform:scale(.8, .8);
  63. transform:scale(.8, .8);
  64. -webkit-transform-origin: right top;
  65. -moz-transform-origin: right top;
  66. -ms-transform-origin: right top;
  67. -o-transform-origin: right top;
  68. transform-origin: right top;
  69. z-index:999999999999999999!important
  70. }
  71. #reblogged {
  72. right:30px!important;
  73. }
  74. ::-webkit-scrollbar {
  75. background-color:#ddd;
  76. height: 11px;
  77. width: 11px;
  78. border:5px solid #fff;
  79. }
  80. ::-webkit-scrollbar-thumb {
  81. background-color:#000;
  82. border:5px solid #fff;
  83. }
  84. ::-moz-selection {
  85. color:{color:Dark Accent};
  86. background:rgba({RGBcolor:Accent},0.1);
  87. }
  88.  
  89. ::selection {
  90. color:{color:Dark Accent};
  91. background:rgba({RGBcolor:Accent},0.1);
  92. }
  93. #s-m-t-tooltip {
  94. max-width:300px;
  95. padding:3px 6px;
  96. margin:20px 10px;
  97. background: #000;
  98. color:#fff;
  99. z-index:999999999999999!important;
  100. font-size:9px;
  101. text-transform:uppercase;
  102. font-family:'Roboto Condensed', monospace;
  103. }
  104. body {
  105. background: #fff;
  106. color:#000;
  107. font-size:10px;
  108. font-family:'Open Sans', sans-serif;
  109. word-break:break-word;
  110. }
  111. body:before,
  112. body:after,
  113. html:before {
  114. content:'';
  115. height:100%;
  116. width:5px;
  117. position:fixed;
  118. left:0;
  119. top:0;
  120. background: repeating-linear-gradient( 45deg, #fff, #fff 7px, #ef3340 7px, #ef3340 11px, green 11px, green 15px );
  121. border-left:15px solid {color:Accent};
  122. z-index:99999;
  123. }
  124. body:after {
  125. height:5px;
  126. width:calc(100% - 30px);
  127. border-left:none;
  128. border-top:15px solid {color:Accent};
  129. left:15px;
  130. }
  131. html:before {
  132. left:initial;
  133. right:0;
  134. border-left:none;
  135. border-right:15px solid {color:Accent};
  136. }
  137. html:after {
  138. content:'';
  139. position:fixed;
  140. bottom:20px;
  141. left:0;
  142. width:100%;
  143. height:150px;
  144. background:url(http://www.okclipart.com/img54/uutmhtvkcyfzyepavijm.png) repeat-x;
  145. background-size:contain;
  146. z-index:-1;
  147. }
  148. img:not(.lightbox-image) {
  149. vertical-align:middle;
  150. max-width:100%;
  151. }
  152. a {
  153. text-decoration:none;
  154. color:{color:Dark Accent};
  155. }
  156. h1,h2,h3,h4,h5,h6 {
  157. font-family:'Mountains of Christmas', serif;
  158. font-weight:normal;
  159. }
  160. #infscr-loading {
  161. position:absolute;
  162. margin-bottom:0px;
  163. bottom:40px;
  164. width:200px;
  165. margin-left:50%;
  166. left:-100px;
  167. text-align:center;
  168. }
  169. #wrapper {
  170. width:560px;
  171. margin:70px auto;
  172. left:120px;
  173. position:relative;
  174. padding-bottom:40px;
  175. }
  176. article {
  177. width:250px;
  178. box-sizing:border-box;
  179. margin-bottom:60px;
  180. border:3px solid #fff;
  181. outline:1px solid #eaeaea;
  182. outline-offset:-1px;
  183. position:relative;
  184. background:#fff;
  185. }
  186. * + .caption {
  187. margin-top:10px;
  188. }
  189. img.caption_avatar {
  190. border-radius:3px;
  191. margin-right:5px;
  192. height:20px;
  193. }
  194. blockquote.tumblr_parent {
  195. margin-bottom:10px;
  196. border-bottom:1px solid #fafafa;
  197. padding-bottom:10px;
  198. }
  199. blockquote.tumblr_parent:last-of-type {
  200. margin-bottom:0;
  201. padding-bottom:0;
  202. }
  203. blockquote.tumblr_parent ul,
  204. blockquote.tumblr_parent ol {
  205. margin:10px 0;
  206. line-height:2em;
  207. padding-left:25px;
  208. }
  209. blockquote.tumblr_parent ul {
  210. list-style:circle;
  211. }
  212. blockquote.tumblr_parent blockquote {
  213. border-left:2px solid #eee;
  214. padding-left:10px;
  215. margin:10px 0;
  216. margin-left:15px;
  217. }
  218. blockquote.tumblr_parent p {
  219. margin:5px 0;
  220. }
  221. .t blockquote.tumblr_parent p:last-of-type {
  222. margin-bottom:0;
  223. }
  224. .quote cite {
  225. display:block;
  226. text-align:right;
  227. margin-top:5px;
  228. }
  229. .chat ul {
  230. list-style:none;
  231. }
  232. .chat ul span {
  233. font-weight:bold;
  234. }
  235. .chat ul li {
  236. padding: 6px 0;
  237. border-bottom: 1px solid #fafafa;
  238. }
  239. .chat ul li:last-of-type {
  240. border-bottom:0;
  241. }
  242. .album-art {
  243. height:50px;
  244. margin-bottom:15px;
  245. width:100%;
  246. background:{color:Accent} repeat center center;
  247. background-size:contain;
  248. }
  249. .audio-info {
  250. list-style:none;
  251. padding:0;
  252. margin:0;
  253. }
  254. .audio-info li {
  255. border-bottom:1px solid #eaeaea;
  256. padding:4px 0;
  257. text-align:right;
  258. }
  259. .audio-info i, .audio-info b {
  260. float:left;
  261. }
  262. .audio-info i {
  263. color:#7b7b7b;
  264. margin-right:4px;
  265. }
  266. .tumblr_audio_player {
  267. width: calc(100% - 20px);
  268. position: absolute;
  269. top: 10px;
  270. height: 50px;
  271. opacity: 0.6;
  272. }
  273. span.asker {
  274. display: block;
  275. margin-bottom: 5px;
  276. }
  277. .asker img {
  278. height: 20px;
  279. border-radius: 3px;
  280. margin-right: 3px;
  281. }
  282. .question {
  283. background: #fafafa;
  284. padding: 5px;
  285. border-radius: 3px;
  286. }
  287. .question + .question {
  288. margin-top: 8px;
  289. }
  290. .caption:empty {
  291. margin:0;
  292. }
  293. {block:IndexPage}
  294. .photo {
  295. position:relative;
  296. }
  297. .photo img {
  298. -webkit-transition: all 0.6s ease-in-out;
  299. transition: all 0.6s ease-in-out;
  300. }
  301. .photo:after {
  302. content:'';
  303. width:90%;
  304. height:100%;
  305. background:url(http://static.tumblr.com/8pnyeus/cPBohvcyg/red_christmas_hanging_balls_decor_png_clipart_image.png) no-repeat top center;
  306. background-size:contain;
  307. position:absolute;
  308. top:0;
  309. left:5%;
  310. opacity:0;
  311. -webkit-transition: all 0.6s ease-in-out;
  312. transition: all 0.6s ease-in-out;
  313. }
  314. article:hover .photo:after {
  315. opacity:1;
  316. -webkit-transition: all 0.6s ease-in-out;
  317. transition: all 0.6s ease-in-out;
  318. }
  319. article:hover img {
  320. opacity:0.4;
  321. -webkit-transition: all 0.6s ease-in-out;
  322. transition: all 0.6s ease-in-out;
  323. }
  324. article .t {
  325. padding:10px;
  326. }
  327. .photoset {
  328. margin-bottom:7px;
  329. }
  330. blockquote.tumblr_parent:last-of-type {
  331. border-bottom:none;
  332. }
  333. ul.permalinks {
  334. list-style:none;
  335. text-align:center;
  336. width:100%;
  337. position:absolute;
  338. bottom:-25px;
  339. text-transform:uppercase;
  340. font-family:'Roboto Condensed', sans-serif;
  341. opacity:0;
  342. visibility:hidden;
  343. -webkit-transition: all 0.6s ease-in-out;
  344. transition: all 0.6s ease-in-out;
  345. }
  346. article:hover ul.permalinks {
  347. opacity:1;
  348. visibility:visible;
  349. -webkit-transition: all 0.6s ease-in-out;
  350. transition: all 0.6s ease-in-out;
  351. }
  352. ul.permalinks li {
  353. display:inline-block;
  354. margin:0 3px;
  355. }
  356. ul.permalinks li:not(:last-of-type):after {
  357. content:'·';
  358. margin-left:6px;
  359. }
  360. ul.permalinks a, ul.permalinks {
  361. color:{color:Dark Accent};
  362. }
  363. li.custom-like-button {
  364. position:relative;
  365. }
  366. .reblog_button:hover:after {
  367. content:'?';
  368. }
  369. .like_button {
  370. position: absolute;
  371. top: 0;
  372. left: 0;
  373. right: 0;
  374. bottom: 0;
  375. width: 100%;
  376. height: 100%;
  377. opacity: 0;
  378. z-index: 10;
  379. }
  380. .like_button iframe {
  381. width: 100% !important;
  382. height: 100% !important;
  383. }
  384. .our_toggle {
  385. top: 0;
  386. left: 0;
  387. right: 0;
  388. bottom: 0;
  389. z-index: 1;
  390. }
  391. .like_button:hover + .our_toggle:after {
  392. content:'?';
  393. }
  394. .like_button.liked:hover + .our_toggle:before {
  395. content:'un';
  396. }
  397. .like_button.liked:hover + .our_toggle:after {
  398. content:'?';
  399. }
  400. .like_button.liked + .our_toggle:after {
  401. content: "d";
  402. }
  403. {/block:IndexPage}{block:PermalinkPage}
  404. article {
  405. width:530px;
  406. padding:25px;
  407. }
  408. blockquote.tumblr_parent {
  409. padding-left:2px;
  410. padding-right:2px;
  411. }
  412. .chat, .quote {
  413. border-bottom:1px solid #fafafa;
  414. padding-bottom:5px;
  415. }
  416. .tumblr_audio_player {
  417. width: calc(100% - 50px);
  418. top: 25px;
  419. }
  420. ul.extra-info {
  421. padding:0;
  422. margin:0;
  423. list-style:none;
  424. text-align:left;
  425. }
  426. ul.extra-info li {
  427. padding: 4px 0;
  428. margin: 3px 0;
  429. border-bottom: 1px solid #fafafa;
  430. text-align:left;
  431. }
  432. ul.extra-info i {
  433. font-size:13px;
  434. color:#7b7b7b;
  435. margin-right:3px;
  436. }
  437. ol.notes a, .extra-info a {
  438. color:#000;
  439. font-weight:bold;
  440. }
  441. ol.notes {
  442. padding:0;
  443. margin: 0;
  444. list-style-type: none;
  445. padding: 0;
  446. }
  447. ol.notes li.note {
  448. padding: 4px 0;
  449. margin: 3px 0;
  450. padding-left: 16px;
  451. border-bottom: 1px solid #fafafa;
  452. }
  453. ol.notes li.note .avatar_frame {
  454. float:right;
  455. }
  456. ol.notes li.note img.avatar {
  457. border-radius:3px;
  458. }
  459. ol.notes li.note blockquote {
  460. border-left:2px solid #eee;
  461. padding-left:10px;
  462. margin:10px 0;
  463. margin-left:15px;
  464. }
  465. ol.notes li.note blockquote a {
  466. text-decoration: none;
  467. }
  468. li.more_notes_link_container {
  469. font-weight: bold;
  470. text-transform: uppercase;
  471. font-size: 0.85em;
  472. }
  473. li.like:before {
  474. content: "\e099";
  475. font-family: untitled-font-1!important;
  476. font-style: normal;
  477. font-weight: 400;
  478. speak: none;
  479. display: inline-block;
  480. text-decoration: inherit;
  481. width: 1em;
  482. text-align: center;
  483. font-variant: normal;
  484. text-transform: none;
  485. vertical-align: middle;
  486. line-height: 1;
  487. font-size: 1em;
  488. -webkit-font-smoothing: antialiased;
  489. -moz-osx-font-smoothing: grayscale;
  490. margin-right: -11px;
  491. color:#f3719f;
  492. left: -16px;
  493. position: relative;
  494. font-size:13px;
  495. }
  496. li.reblog:before {
  497. content:'\e083';
  498. font-family: untitled-font-1!important;
  499. font-style: normal;
  500. font-weight: 400;
  501. speak: none;
  502. display: inline-block;
  503. text-decoration: inherit;
  504. width: 1em;
  505. text-align: center;
  506. font-variant: normal;
  507. text-transform: none;
  508. vertical-align: middle;
  509. line-height: 1;
  510. font-size: 1em;
  511. -webkit-font-smoothing: antialiased;
  512. -moz-osx-font-smoothing: grayscale;
  513. margin-right: -11px;
  514. color:#7b7b7b;
  515. left: -16px;
  516. position: relative;
  517. font-size:13px;
  518. }
  519. li.original_post:before {
  520. content:'\e078';
  521. }
  522. {/block:PermalinkPage}
  523. aside {
  524. position:fixed;
  525. top:180px;
  526. left:calc(50% - 520px);
  527. width:200px;
  528. text-align:center;
  529. }
  530. aside #avi {
  531. width:115px;
  532. height:115px;
  533. border-radius:50%;
  534. padding:2px;
  535. border:1px solid #eaeaea;
  536. box-sizing:border-box;
  537. display:inline-block;
  538. position:relative;
  539. }
  540. aside #avi img {
  541. border-radius:50%;
  542. }
  543. aside #avi.reindeer:before {
  544. content: '';
  545. width: 296px;
  546. height: 246px;
  547. background: url(https://31.media.tumblr.com/bb59610595dc59c00455e82a8b4d2552/tumblr_inline_mxo0y1D67e1s9v798.png) no-repeat;
  548. background-size: contain;
  549. position: absolute;
  550. bottom: 14px;
  551. left: -95px;
  552. }
  553. aside #avi.santa:before {
  554. content: '';
  555. width: 131px;
  556. height: 125px;
  557. background: url(https://31.media.tumblr.com/c4a91d89dee3b24bb7431bf9b6085aae/tumblr_inline_mxo0vz3DrP1s9v798.png) no-repeat;
  558. background-size: contain;
  559. position: absolute;
  560. bottom: 25px;
  561. left: -13px;
  562. }
  563. aside h1 {
  564. font-size:2.2em;
  565. margin-top:20px;
  566. }
  567. aside #desc {
  568. font-size:11px;
  569. margin-top:10px;
  570. }
  571. aside ul#navlinks {
  572. list-style:none;
  573. margin-top:10px;
  574. font-weight:bold;
  575. font-size:0.9em;
  576. text-transform:uppercase;
  577. }
  578. aside ul#navlinks li {
  579. display:inline-block;
  580. margin:0 3px;
  581. }
  582. aside ul#navlinks li:not(:last-of-type):after {
  583. content:'·';
  584. margin-left:6px;
  585. }
  586. aside ul#navlinks a {
  587. color:#000;
  588. }
  589. #countdown {
  590. position:fixed;
  591. bottom:20px;
  592. left:80px;
  593. z-index:9999;
  594. font-family:'Roboto Condensed', sans-serif;
  595. font-weight:bold;
  596. text-transform:uppercase;
  597. width:95px;
  598. text-align:center;
  599. }
  600. #canvas {
  601. position: fixed;
  602. top: 0;
  603. left: 0;
  604. width: 100%;
  605. height: 100%;
  606. z-index: 999999999999;
  607. pointer-events: none;
  608. }
  609. #breaker {
  610. width:80%;
  611. margin-top:10px;
  612. }
  613. </style>
  614.  
  615. </head>
  616.  
  617. <body>
  618. <canvas id="canvas"></canvas>
  619. <audio id="bells"><source src="https://dl.dropboxusercontent.com/s/2hnwt73ige0cl8p/BELL-%20SMALL-%20TINKLE.mp3?dl=0" controls></source></audio>
  620. <div id="countdown">
  621. <iframe src="http://free.timeanddate.com/countdown/i5guce5q/n152/cf12/cm0/cu4/ct3/cs1/ca0/co0/cr0/ss0/cac000/cpcf00/pcfff/tcfff/fs100/szw256/szh108/iso2016-12-25T00:00:00" allowTransparency="true" frameborder="0" width="95" height="27" id="countDown"></iframe>
  622. <br>'til Christmas!
  623. </div>
  624. <aside>
  625. <div id="avi" class="{select:Sidebar Accessory}">
  626. <img src="{image:Sidebar}">
  627. </div>
  628. <h1><a href="/">{Title}</a></h1>
  629. {block:Description}<div id="desc">
  630. {Description}
  631. </div>{/block:Description}
  632. <ul id="navlinks">
  633. <li><a href="/">home</a>
  634. {block:AskEnabled}<li><a href="{text:Ask Link}">ask</a>{/block:AskEnabled}
  635. {block:HasPages}{block:Pages}<li><a href="{URL}">{Label}</a>{/block:Pages}{/block:HasPages}
  636. <li><a href="/archive">past</a>
  637. </ul>
  638. <img src="http://68.media.tumblr.com/3b8a5a995ae1301e57d8c1c6a99f666a/tumblr_inline_mfiuivbgTH1roozkr.gif" id="breaker">
  639. </aside>
  640. <div id="wrapper">
  641. <section id="posts">
  642. {block:Posts}<article id="{PostID}" class="{block:Photo}non-{/block:Photo}text-type">
  643. {block:Text}<div class="text t">
  644. {block:Title}<h2>{Title}</h2>{/block:Title}
  645. <div class="caption">{Body}</div>
  646. </div>{/block:Text}{block:Photo}<div class="photo">
  647. <img src="{block:IndexPage}{PhotoURL-250}{/block:IndexPage}{block:PermalinkPage}{PhotoURL-HighRes}{/block:PermalinkPage}">
  648. </div>{/block:Photo}{block:Photoset}<div class="photoset">
  649. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">
  650. {block:Photos}<div class="photo-data">
  651. <div class="pxu-photo">
  652. <img src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}">
  653. </div>
  654. <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a>
  655. </div>{/block:Photos}
  656. </div>
  657. </div>{/block:Photoset}{block:Quote}<div class="quote {Length} t">
  658. <h2>{Quote}</h2>
  659. {block:Source}<cite>{Source}</cite>{/block:Source}
  660. </div>{/block:Quote}{block:Link}<div class="link t">
  661. <h2><a href="{URL}"><i class="oi-link"></i> {Name}</a></h2>
  662. {block:Description}<div class="caption">{Description}</div>{/block:Description}
  663. </div>{/block:Link}{block:Chat}<div class="chat t">
  664. <ul>
  665. {block:Lines}<li>{block:Label}<span>{Label}</span>{/block:Label} {Line}{/block:Lines}
  666. </ul>
  667. </div>{/block:Chat}{block:Audio}<div class="audio t">
  668. {block:AlbumArt}<div class="album-art" style="background-image:url({AlbumArtURL})"></div>{/block:ALbumArt}
  669. <ul class="audio-info">
  670. <li><i class="oi-mic"></i> <b>Artist:</b> <span {block:Artist}style="display:none;"{/block:Artist}>Unknown</span>{block:Artist}{Artist}{/block:Artist}<br>
  671. <li><i class="oi-playlist"></i> <b>Title:</b> <span {block:TrackName}style="display:none;"{/block:TrackName}>Unknown</span>{block:TrackName}{TrackName}{/block:TrackName}<br>
  672. <li><i class="oi-disc"></i> <b>Album:</b> <span {block:Album}style="display:none;"{/block:Album}>Unknown</span>{block:Album}{Album}{/block:Album}
  673. <li><i class="oi-repeat"></i> <b>Plays:</b> {FormattedPlayCount}
  674. </ul>
  675. {block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}
  676. </div>{/block:Audio}{block:Video}<div class="vid t">
  677. <div class="video">
  678. {block:IndexPage}{Video-250}{/block:IndexPage}{block:PermalinkPage}{Video-700}{/block:PermalinkPage}
  679. </div>
  680. </div>{/block:Video}{block:Answer}<div class="answer t">
  681. <div class="question">
  682. <span class="asker"><img src="{AskerPortraitURL-24}"> {Asker} asked:</span>
  683. {Question}
  684. </div>
  685. {block:Answerer}<div class="question">
  686. <span class="asker"><img src="{AnswererPortraitURL-24} "> {Answerer} replied:</span>
  687. {Answer}
  688. </div>{/block:Answerer}
  689. <div class="caption">
  690. {Replies}
  691. </div>
  692. </div>{/block:Answer}{block:IndexPage}
  693. <ul class="permalinks">
  694. <li><a href="{ReblogURL}" target="_blank" class="reblog_button">Reblog</a>
  695. <li><a href="{Permalink}" target="_blank">{NoteCount}</a>
  696. <li class="custom-like-button">{LikeButton}<div class="our_toggle">Like</span></div>
  697. </ul>
  698. {/block:IndexPage}{block:PermalinkPage}{block:Caption}
  699. <div class="caption">
  700. {Caption}
  701. </div>{/block:Caption}
  702. {block:Date}<ul class="extra-info">
  703. <li><i class="oi-time"></i> {DayOfMonthWithZero}.{MonthNumberWithZero}.{ShortYear} ({TimeAgo})
  704. {block:NoteCount}<li><i class="oi-chart"></i> {NoteCountWithLabel}{/block:NoteCount}
  705. {block:RebloggedFrom}<li><i class="oi-refresh"></i> <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}
  706. {block:ContentSource}<li><i class="oi-globe"></i> <a href="{SourceURL}">{SourceTitle}</a>{/block:ContentSource}
  707. {block:HasTags}<li><i class="oi-tags"></i> {block:Tags}<a href="/tagged/{Tag}">#{Tag}</a> {/block:Tags}{/block:HasTags}
  708. </ul>{/block:Date}
  709. {block:PostNotes}<div id="notes">
  710. {PostNotes-16}
  711. </div>{/block:PostNotes}
  712. {/block:PermalinkPage}
  713. </article>
  714. {/block:Posts}
  715. </section>
  716. </div>
  717. {block:Pagination}
  718. <div class="pagination" style="visibility:hidden;">
  719. {block:NextPage}<a href="{NextPage}" id="next-link">next</a>{/block:NextPage}
  720. </div>
  721. {/block:Pagination}
  722. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  723. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  724. <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
  725. <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  726. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  727. <script src="http://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
  728. <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
  729. <script>
  730. var pxuOptions = {
  731. lightbox: true,
  732. rounded: false,
  733. gutter: '0px',
  734. photoset: '.photo-slideshow',
  735. photoWrap: '.photo-data',
  736. photo: '.pxu-photo'
  737. }, infScrollOptions = {
  738. navSelector : "div.pagination",
  739. nextSelector : ".pagination a#next-link",
  740. itemSelector : "article",
  741. loading: {
  742. finishedMsg: "<p>You've reached the end of the Earth.</p>",
  743. img : "https://res1.nabtrade.com.au/Content/Images/ajax_loader.gif",
  744. msg: null,
  745. msgText: "",
  746. },
  747. }, masonryOptions = {
  748. itemSelector: 'article',
  749. isAnimated:false,
  750. columnWidth:250,
  751. gutterWidth:60,
  752. }, unnestOptions = {
  753. yourCaption: ".caption",
  754. wrapName: ".tumblr_parent",
  755. newCaptionUsername: true,
  756. originalPostCaptionUsername: false,
  757. tumblrAvatars: true,
  758. tumblrAvatarClass: ".caption_avatar",
  759. usernameColon: false
  760. }
  761. $(function(){
  762. var audio = $("#bells")[0];
  763. $("a, .custom-like-button").mouseenter(function() {
  764. audio.play();
  765. });
  766. $('.photo-slideshow').pxuPhotoset(pxuOptions);
  767. $('article').unnest(unnestOptions);
  768. {block:IndexPage}
  769. var $tumblelog = $('#wrapper');
  770. $tumblelog.imagesLoaded(function () {
  771. $tumblelog.masonry(masonryOptions);
  772. });
  773. $tumblelog.infinitescroll(
  774. infScrollOptions, function( newElements ) {
  775. var $newElems = $( newElements );
  776. var $newElemsIDs = $newElems.map(function () {
  777. return this.id;
  778. }).get();
  779. $newElems.find('.photo-slideshow').pxuPhotoset(pxuOptions);
  780. $newElems = $(newElements).css({ opacity: 0, zIndex: -1});
  781. $newElems.imagesLoaded(function(){
  782. $newElems.animate({ opacity: 1, zIndex: 1 });
  783. $tumblelog.masonry( 'appended', $newElems );
  784. });
  785. $newElems.unnest(unnestOptions);
  786. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  787. resizeVideos();
  788. });
  789.  
  790. {/block:IndexPage}
  791. });
  792. window.onload=function(){function h(){b.clearRect(0,0,c,d),b.fillStyle="rgba(255, 255, 255, 0.8)",b.beginPath();for(var a=0;a<e;a++){var g=f[a];b.moveTo(g.x,g.y),b.arc(g.x,g.y,g.r,0,2*Math.PI,!0)}b.fill(),j()}function j(){i+=.01;for(var a=0;a<e;a++){var b=f[a];b.y+=Math.cos(i+b.d)+1+b.r/2,b.x+=2*Math.sin(i),(b.x>c+5||b.x<-5||b.y>d)&&(a%3>0?f[a]={x:Math.random()*c,y:-10,r:b.r,d:b.d}:Math.sin(i)>0?f[a]={x:-5,y:Math.random()*d,r:b.r,d:b.d}:f[a]={x:c+5,y:Math.random()*d,r:b.r,d:b.d})}}var a=document.getElementById("canvas"),b=a.getContext("2d"),c=window.innerWidth,d=window.innerHeight;a.width=c,a.height=d;for(var e=25,f=[],g=0;g<e;g++)f.push({x:Math.random()*c,y:Math.random()*d,r:4*Math.random()+1,d:Math.random()*e});var i=0;setInterval(h,33)};
  793. </script>
  794. <link href="//static.tumblr.com/wupwnyt/1iho27ad1/gkthm.css" rel="stylesheet" type="text/css">
  795. </body>
  796. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement