skynotte

nt-carnation

Mar 21st, 2015
2,317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.94 KB | None | 0 0
  1.  
  2.  
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  4. <html lang="en">
  5.  
  6.  
  7. <!--
  8.  
  9. ##############################################################
  10.  
  11. CARNATION THEME
  12. Version: 1.1.2
  13. Updated: March 24, 2015
  14.  
  15. Designed By: Notte Themes
  16. Link to: http://notte-themes.tumblr.com
  17. Font Awesome by Dave Gandy - http://fontawesome.io
  18. Powered by Tumblr.
  19.  
  20. ##############################################################
  21.  
  22.  
  23. -->
  24. <head>
  25.  
  26.  
  27.  
  28. <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
  29.  
  30. <script type="text/javascript" src="http://static.tumblr.com/3zmswwt/oOMmvzotr/jquery.js"></script>
  31. <link href="http://static.tumblr.com/eih4pta/Flam72cb8/animate-custom__1_.css" rel="stylesheet">
  32.  
  33. <title>{title}</title>
  34. <link rel="shortcut icon" href="{Favicon}" />
  35. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  36. {block:Description}<meta name="Description" content="{MetaDescription}" />{/block:Description}
  37.  
  38. <meta name="apple-mobile-web-app-capable" content="yes">
  39. <meta name="viewport" content ="width=device-width,initial-scale=1,user-scalable=yes" />
  40.  
  41. <!-- Magnific Popup core CSS file -->
  42. <link rel="stylesheet" type="text/css" href="http://static.tumblr.com/wk1x3im/u1Znhax6n/magnific-popup.css">
  43.  
  44. <!-- DEFAULT VARIABLES -->
  45. <meta name="select:Post Size" content="250" title="250">
  46. <meta name="select:Post Size" content="400" title="400">
  47. <meta name="select:Post Size" content="500" title="500">
  48.  
  49.  
  50. <meta name="color:Title Background" content="#f3675c"/>
  51. <meta name="color:Title" content="#ffffff"/>
  52. <meta name="color:Main Links" content="#f3675c" />
  53.  
  54. <meta name="color:Description Background" content="#f3675c"/>
  55. <meta name="color:Description" content="#ffffff"/>
  56.  
  57. <meta name="color:Scrollbar" content="#f3675c" />
  58. <meta name="color:Scrollbar Background" content="#ffffff" />
  59.  
  60. <meta name="color:Post Background" content="#ffffff" />
  61. <meta name="color:Text" content="#947471" />
  62. <meta name="color:Bold" content="#d74c4f" />
  63. <meta name="color:Italic" content="#dfb16b" />
  64. <meta name="color:Post Link" content="#d74c4f" />
  65. <meta name="color:Chat Line" content="#f3dfdd"/>
  66.  
  67. <meta name="color:Tags Text" content="#947471" />
  68.  
  69.  
  70. <meta name="image:Background" content="" />
  71.  
  72.  
  73. <meta name="if:Show Caption" content="0" />
  74. <meta name="if:Show Archive Link" content="1" />
  75. <meta name="if:Show Reblog Button" content="1" />
  76. <meta name="if:Show Like Button" content="1" />
  77. <meta name="if:White Reblog Icons" content="1" />
  78. <meta name="if:Show Tags" content="0" />
  79.  
  80. <meta name="if:Stretch Background Image" content="0" />
  81. <meta name="if:Infinite Scrolling" content="0" />
  82.  
  83. <style type="text/css">
  84.  
  85.  
  86. /* -------------- SCROLLBAR --------------- */
  87.  
  88. ::-webkit-scrollbar {
  89. width: 10px;
  90. background-color: {color:Scrollbar Background};
  91. }
  92.  
  93. ::-webkit-scrollbar-thumb {
  94. background-color: {color:Scrollbar};
  95. }
  96.  
  97. /* -------------- CONTENT --------------- */
  98.  
  99. iframe, object, embed{
  100. min-width:100%;
  101. width: 100%;
  102. *width:100%;
  103. }
  104.  
  105. img {display:block;}
  106. *{margin:0;}
  107. p{margin:8px; word-wrap: break-word;}
  108.  
  109. body{
  110. color:{color:Text};
  111. font-family:'FontAwesome', sans-serif;
  112. font-size:.80em;
  113. line-height:150%;
  114. overflow-x:hidden;
  115. background-color: {BackgroundColor};
  116. {block:ifBackgroundImage}
  117. background-image: url('{image:Background}');
  118. {/block:ifBackgroundImage}
  119. background-attachment: fixed;
  120. {block:ifStretchBackgroundImage}
  121. background-size:100% 100%;
  122. {/block:ifStretchBackgroundImage}
  123. }
  124.  
  125.  
  126. #cent a, a{
  127. text-decoration:none;
  128. outline:none;
  129. -moz-outline-style:none;
  130. color: {color:Post Link};
  131. -webkit-backface-visibility: hidden;
  132. }
  133.  
  134. #cent a:hover{opacity:0.6;}
  135. #cent b, strong{color: {color:Bold};}
  136. #cent i, em{color: {color:Italic};}
  137.  
  138. blockquote {
  139. border-left: 3px solid {color:Notes Background};
  140. padding-left: 3px;
  141. padding-right: 1px;
  142. margin-left: 20px;
  143. }
  144.  
  145. pre{
  146. font-size:11px;
  147. background-color:{color:Chat Line};
  148. padding:20px;
  149. opacity:0.7;
  150. white-space: pre-wrap; /* css-3 */
  151. white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  152. white-space: -pre-wrap; /* Opera 4-6 */
  153. white-space: -o-pre-wrap; /* Opera 7 */
  154. overflow-wrap: break-word; /* Internet Explorer 5.5+ */
  155. }
  156.  
  157. .body-text{padding:15px;}
  158.  
  159. .title{
  160. color: {color:bold};
  161. font-size: 18px;
  162. padding:25px;
  163. line-height: 100%;
  164. letter-spacing: 1px;
  165. }
  166.  
  167. .chat .chat1 {margin-left: 0px; padding:15px;}
  168. .chat .chat1 .chat2 {
  169. background: {color:Chat Line};
  170. margin-bottom: 1px;
  171. padding: 5px;
  172. font-size: 11px;
  173. }
  174. .chat .chat1 .chat2.even {background: {color:Post Background};}
  175. .chat .chat1 .chat2 span{
  176. font-weight: bold;
  177. text-transform: uppercase;
  178. }
  179.  
  180. .link{
  181. font-size: 14px;
  182. letter-spacing:1px;
  183. color:{color:Post Link} !important;
  184. padding:15px;
  185. }
  186.  
  187. .link a{color:{color:Post Link} !important; border:1px solid {color:Post Link}; !important}
  188. .link:hover{opacity:0.6;}
  189.  
  190. #cent img {display: block; max-width: 100%;}
  191.  
  192. #cent{
  193. text-align:left;
  194. margin:0 auto;
  195. position: relative;
  196. clear: both;
  197. /* this theme was created by Notte-Themes.tumblr.com*/
  198. }
  199.  
  200. #wrapper{
  201. width:90%;
  202. padding:50px 5%;
  203. float:left;
  204. }
  205.  
  206. #cr{color:{color:Title Background};}
  207.  
  208. /* -------------- PERMALINK PAGE --------------- */
  209.  
  210. ol.notes {
  211. padding: 0px;
  212. width:50%;
  213. float:left;
  214. list-style-type: none;
  215. letter-spacing: 1px;
  216. font-size:11px;
  217. }
  218.  
  219. ol.notes li.note {
  220. text-align: left;
  221. letter-spacing: 1px;
  222. padding: 10px 30px;
  223. margin-bottom:5px;
  224. background-color: {color:Post Background};
  225. background-attachment: fixed;
  226. }
  227.  
  228. ol.notes li.note img.avatar {
  229. display: inline-block;
  230. float: left;
  231. margin-right: 10px;
  232. }
  233.  
  234. #perma-notes{
  235. text-align:center;
  236. padding:50px 5%;
  237. width:90%;
  238. display:block;
  239. margin-bottom:30px;
  240. margin-right:10%;
  241. font-size:20px;
  242. line-height:130%;
  243. color:{color:Title};
  244. background-color: {color:Title Background};
  245. background-attachment: fixed;
  246. }
  247.  
  248. #perma-notes a{color:{color:Title};}
  249.  
  250. /* -------------- POSTS --------------- */
  251.  
  252. .post{
  253. word-wrap: break-word; /* Internet Explorer 5.5+ */
  254. overflow:hidden;
  255. {block:IndexPage}
  256. margin:0px auto 30px auto;
  257. width:{select:Post Size}px;
  258. float:left;
  259. {/block:IndexPage}
  260. {block:PermaLink}
  261. display:block;
  262. width:48%;
  263. margin-right:2%;
  264. margin-bottom:10px;
  265. float:left;
  266. {/block:PermaLink}
  267.  
  268. }
  269.  
  270. .inner-post{
  271. background-color: {color:Post Background};
  272. }
  273.  
  274. /* -------------- PERMALINK/TAGS--------------- */
  275. .perma{
  276. font-size:16px;
  277. text-transform:uppercase;
  278. line-height:100%;
  279. margin:0;
  280. padding:10px;
  281. overflow:hidden;
  282. list-style: none;
  283. color: {color:Title};
  284. background-color:{color:Title Background};
  285. }
  286. .perma li{float:left !important; margin:0px !important; padding:8px !important;}
  287. }
  288.  
  289. .tagss{
  290. letter-spacing:1px;
  291. color: {color:Tags Text};
  292. text-align:center;
  293. overflow:hidden;
  294. {block:IndexPage}
  295. width:{select:Post Size}px;
  296. {/block:IndexPage}
  297. {block:PermaLink}
  298. width:700px;
  299. {/block:PermaLink}
  300. padding: 10px 0px 0px 0px;
  301. {block:ifNotShowTags}
  302. display:none;
  303. {/block:ifNotShowTags}
  304. }
  305.  
  306. #cent .perma a, #cent .perma a:hover{color: inherit; font-style: none;}
  307. #cent .tagss a, #cent .tagss a:hover{color: inherit;}
  308. #cent .tagss a:hover{opacity:0.6;}
  309. /* -------------- HEADER --------------- */
  310.  
  311. header{
  312. float:left;
  313. width:90%;
  314. padding:0px 5%;
  315. max-width:1800px;
  316. margin-top:40px;
  317. margin-bottom:-5px;
  318. }
  319.  
  320. /* -------------- TITLE --------------- */
  321.  
  322. #header-title{
  323. font-size: 29px;
  324. font-weight:600;
  325. margin-bottom:20px;
  326. float:left;
  327. text-align:center;
  328. height:40px;
  329. background-color:{color:Title Background};
  330. color:{color:Title};
  331. letter-spacing:2px;
  332. padding:12px 11px 8px 11px;
  333. text-transform:uppercase;
  334. }
  335.  
  336. #header-title a, #header-title a:hover{
  337. line-height:120%;
  338. background-color:{color:Title Background};
  339. color:{color:Title} !important;
  340. }
  341.  
  342. /* -------------- IMAGE/DESCRIP --------------- */
  343.  
  344. #img-desc{
  345. display:inline-block;
  346. min-height:250px;
  347. {block:ShowHeaderImage}
  348. height:250px;
  349. {/block:ShowHeaderImage}
  350. overflow:hidden;
  351. }
  352.  
  353. #header-image{
  354. overflow:hidden;
  355. width:100%;
  356. {block:ShowDescription}
  357. width:60%;
  358. {/block:ShowDescription}
  359. float:left;
  360. }
  361.  
  362. #descrip{
  363. float:left;
  364. width:90%;
  365. {block:ShowHeaderImage}
  366. width:30%;
  367. {/block:ShowHeaderImage}
  368. padding:20px 5%;
  369. height:inherit;
  370. overflow-x:auto;
  371. line-height:180%;
  372. text-align:left;
  373. font-size:14px;
  374. font-weight:600;
  375. color:{color:Description};
  376. background-color:{color:Description Background};
  377. }
  378.  
  379.  
  380. /* -------------- LINKS --------------- */
  381.  
  382. nav{
  383. float:left;
  384. padding:10px;
  385. height:40px;
  386. color:{color:Main Links};
  387. text-transform:uppercase;
  388. }
  389.  
  390. nav a{
  391. display:inline-block;
  392. padding:10px;
  393. font-size:14px;
  394. font-weight:bold;
  395. color:{color:Main Links};
  396. -webkit-backface-visibility: hidden;
  397. }
  398.  
  399. nav a:hover{
  400. opacity:0.6;
  401. }
  402.  
  403. /* -------------- PAGINATION --------------- */
  404.  
  405. .pagination{
  406. font-size:12px;
  407. width:90%;
  408. float:left;
  409. text-transform:uppercase;
  410. text-align:center;
  411. padding:20px 5%;
  412. background-color:{color:Title Background};
  413. color:{color:Title};
  414. {block:IfInfiniteScrolling}
  415. display: none;
  416. {/block:IfInfiniteScrolling}
  417. }
  418. .pagination a{
  419. color:{color:Title} !important;
  420. margin:0;
  421. border:2px solid transparent;
  422. padding:5px;
  423. }
  424. .pagination a:hover{
  425. opacity:0.6;
  426. }
  427.  
  428. #infscr-loading, .loading{
  429. {block:ifnotInfiniteScrolling}
  430. display:none;
  431. {/block:ifnotInfiniteScrolling}
  432. {block:PermalinkPage}
  433. display:none;
  434. {/block:PermalinkPage}
  435. z-index:99;
  436. position: absolute;
  437. left: 50%;
  438. margin-left: -50px;
  439. overflow:hidden;
  440. font-style:italic;
  441. bottom:10px;
  442. padding:10px;
  443. letter-spacing:1px;
  444. background-color:white;
  445. border-radius:4px;
  446. margin-bottom: 20px;
  447. }
  448.  
  449. .loading{
  450. background:url('http://static.tumblr.com/qzzd7wg/Lh3nh8mit/ajax-loader_1_.gif') no-repeat center white;
  451. width:36px;
  452. height:36px;
  453. }
  454. /* -------------- CUSTOM CSS --------------- */
  455.  
  456. {CustomCSS}
  457.  
  458. /* -------------- VIEW FOR PHONES --------------- */
  459.  
  460. @media only screen and (max-width: 768px){
  461. #img-desc{height:auto;}
  462. #descrip{width:90%; padding:30px 5%;}
  463. #header-image{width:100%;}
  464. #header-title{height:auto; width:90%; padding-left:5%; padding-right:5%;}
  465. nav{width:90%; padding:30px 5%; text-align:center; height:auto;}
  466. body { font-size:.75em; width:100%; }
  467. .post { margin:10px auto; width:100%; overflow:hidden; }
  468. img { max-width:100%; }
  469. #perma-notes{width:90%; margin:10px auto; padding:20px 5%;}
  470. ol.notes{ width:100%; padding:0px; margin:10px auto; }
  471. }
  472.  
  473. </style>
  474.  
  475.  
  476. </head>
  477.  
  478. <body>
  479.  
  480. <header>
  481. <section style="display:inline-block;">
  482. {block:ShowTitle}
  483. <div id="header-title"><a href="/">{Title}</a></div>
  484. {/block:ShowTitle}
  485. <nav>
  486. <a href="/"><span class="fa fa-home fa-fw"></span> {lang:Home}</a>
  487. {block:AskEnabled}<a href="/ask" title="ask"><span class="fa fa-envelope fa-fw"></span> Message</a>{/block:AskEnabled}
  488. {block:SubmissionsEnabled}<a href="/submit" title="submit"><span class="fa fa-file-text fa-fw"></span> Submit</a>{/block:SubmissionsEnabled}
  489. {block:ifShowArchiveLink}<a href="/archive" title="archive"><span class="fa fa-folder-open fa-fw"></span> {lang:Archive}</a>{/block:ifShowArchiveLink}
  490. {block:HasPages}{block:Pages}<a href="{URL}" id="{Label}">{Label}</a>{/block:Pages}{/block:HasPages}
  491. </nav>
  492. </section>
  493. <section id="img-desc">
  494. {block:ShowHeaderImage}
  495. <img src="{HeaderImage}" id="header-image" />
  496. {/block:ShowHeaderImage}
  497. {block:ShowDescription}
  498. <div id="descrip">
  499. {Description}
  500. </div>
  501. {/block:ShowDescription}
  502. </section>
  503. </header>
  504.  
  505. <div id="wrapper">
  506. <div class="loading"></div>
  507. <div id="cent">
  508.  
  509. {block:Posts}
  510.  
  511.  
  512. <div class="post">
  513. <!-- START PERMA PAGE -->{block:PermalinkPage}
  514. {block:Date}
  515. <div id="perma-notes">
  516. {block:NotReblog}
  517. {lang:Posted TimeAgo with NoteCount notes}
  518. {/block:NotReblog}
  519. {block:RebloggedFrom}
  520. {lang:Reblogged from ReblogRootName}
  521. {lang:TimeAgo with NoteCount notes}
  522. <br />
  523. {lang:Source}: <a href="{ReblogRootURL}">{ReblogRootName}</a>
  524. <br />
  525. {/block:RebloggedFrom}
  526. {block:HasTags}<br><br>{block:Tags}<span class="fa fa-tag fa-fw"></span><a href="{TagURL}">{Tag}</a> {/block:Tags}
  527.  
  528. {/block:HasTags}
  529.  
  530. </div>
  531. {/block:Date}
  532.  
  533. {/block:PermalinkPage}<!-- END PERMA PAGE -->
  534.  
  535. <div class="inner-post">
  536.  
  537. <!-- START INDEX NOTES -->{block:IndexPage}
  538. <ul class="perma">
  539. {block:ifShowReblogButton}
  540. {block:ifNotWhiteReblogIcons}
  541. <li style="width:20px;">{ReblogButton color="black" size="16"}</li>
  542.  
  543. {/block:ifNotWhiteReblogIcons}
  544. {block:ifWhiteReblogIcons}
  545. <li style="width:20px;">{ReblogButton color="white" size="16"}</li>
  546.  
  547. {/block:ifWhiteReblogIcons}
  548. {/block:ifShowReblogButton}
  549.  
  550. {block:ifShowLikeButton}
  551. {block:ifNotWhiteReblogIcons}
  552. <li style="width:20px;">{LikeButton color="black" size="16"}</li>
  553.  
  554. {/block:ifNotWhiteReblogIcons}
  555. {block:ifWhiteReblogIcons}
  556. <li style="width:20px;">{LikeButton color="white" size="16"}</li>
  557.  
  558. {/block:ifWhiteReblogIcons}
  559. {/block:ifShowLikeButton}
  560.  
  561. {block:Date}
  562. <li><a href="{Permalink}">{Month} {DayOfMonth}</a></li>{/block:Date}
  563. </ul>
  564.  
  565. {/block:IndexPage}<!-- END INDEX NOTES -->
  566.  
  567. {block:Title}<div class="title">{Title}</div>{/block:Title}
  568.  
  569.  
  570. {block:Text}
  571. <div class="body-text">{Body}</div>
  572. {/block:Text}
  573.  
  574.  
  575. {block:Photo}
  576. {LinkOpenTag}
  577. <a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width="100%" /></a>
  578. {LinkCloseTag}
  579. {/block:Photo}
  580.  
  581.  
  582. {block:Panorama}
  583. {LinkOpenTag}
  584. <a href="{permalink}"><img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/></a>
  585. {LinkCloseTag}
  586. {/block:Panorama}
  587.  
  588.  
  589. {block:Photoset}
  590. {block:IndexPage}
  591. <div class="photoset-grid" data-layout="{PhotosetLayout}"
  592. data-id="photoset{PostID}">
  593. {block:Photos}
  594. <img src="{PhotoURL-500}" {block:HighRes}data-highres="{PhotoURL-HighRes}"{/block:HighRes} width="{PhotoWidth-500}" height="auto" {block:Caption}alt="{Caption}"{/block:caption} />
  595. {/block:Photos}
  596. </div>
  597. {/block:IndexPage}
  598.  
  599. {block:Permalink}
  600. <div class="photoset-grid" data-layout="{PhotosetLayout}"
  601. data-id="photoset{PostID}">
  602. {block:Photos}
  603. <img src="{PhotoURL-500}" {block:HighRes}data-highres="{PhotoURL-HighRes}"{/block:HighRes} width="{PhotoWidth-700}" height="auto" {block:Caption}alt="{Caption}"{/block:caption} />
  604. {/block:Photos}
  605. </div>
  606. {/block:Permalink}
  607. {/block:Photoset}
  608.  
  609.  
  610. {block:Quote}
  611. <div style="padding:15px;">
  612. <div style="position:absolute; opacity:0.2; color: {color:Italic}; font-size: 50px; line-height:100%;"><span class="fa fa-quote-left fa-fw"></span></div>
  613. <div style="color: {color:Italic}; text-align: left; font-size: 20px; margin-top:7px; line-height:170%; padding:10px;">{Quote}</div>
  614.  
  615. <div align="right" style="font-size: 11px; padding-top: 2px;">
  616. {block:Source}-{Source}{/block:Source}
  617. </div></div>
  618. {/block:Quote}
  619.  
  620.  
  621. {block:Video}
  622. {block:IndexPage}
  623. {VideoEmbed-400}<br>
  624. {lang:Played PlayCount times}
  625. {/block:IndexPage}
  626.  
  627. {block:Permalink}
  628. {VideoEmbed-700}<br>
  629. {lang:Played PlayCount times}
  630. {/block:Permalink}
  631. {/block:Video}
  632.  
  633.  
  634. {block:Link}
  635.  
  636. <a href="{URL}" {Target}>
  637. <div class="link">
  638. <span class="fa fa-external-link fa-fw"></span> {Name}
  639. </div>
  640. </a>
  641. {block:Description}
  642. <div class="body-text">
  643. {Description}
  644. </div>
  645. {/block:Description}
  646.  
  647. {/block:Link}
  648.  
  649.  
  650. {block:Chat}
  651. <div class="chat">
  652. <div class="chat1">
  653. {block:Lines}
  654. <div class="chat2 {Alt}">
  655. {block:Label}
  656. <b>{Label}</b>
  657. {/block:Label}
  658. {Line}</div>
  659. {/block:Lines}
  660. </div>
  661. </div>
  662. {/block:Chat}
  663.  
  664.  
  665. {block:Audio}
  666. {block:IndexPage}
  667. {block:AudioEmbed}
  668. {AudioEmbed-250}
  669. {/block:AudioEmbed}
  670. {/block:IndexPage}
  671.  
  672. {block:Permalink}
  673. {block:AudioEmbed}
  674. {AudioEmbed-640}
  675. {/block:AudioEmbed}
  676. {/block:Permalink}
  677. {/block:Audio}
  678.  
  679.  
  680. {block:Answer}
  681. <div class="body-text">
  682. <p align="center" style="padding: 15px; font-size: {text:Body Font Size}px; background-color: {color:Chat Line}; line-height:110%; ">{Question}</p>
  683. <p style="text-align:right;"><span style=" font-size:9px; letter-spacing: 1px;"><span class="fa fa-comments fa-fw"></span> {Asker} </span></p>
  684. <p style="padding:15px;">
  685. {Answer}</p>
  686. </div>
  687. {/block:Answer}
  688.  
  689. {block:ifShowCaption}
  690. {block:Caption}
  691. <div class="body-text">{Caption}</div>
  692. {/block:Caption}
  693. {/block:ifShowCaption}
  694.  
  695.  
  696. </div><!-- END INNER POST -->
  697. {block:IndexPage}
  698. {block:ifShowTags}
  699. {block:HasTags}
  700. <div class="tagss {select:Tags style}">
  701. {block:Tags}<span style="font-size: 11px;"><a href="{TagURL}"><span class="fa fa-tag fa-fw"></span>{Tag}&nbsp;</a></span> {/block:Tags}</div>
  702. {/block:HasTags}
  703. {/block:ifShowTags}
  704. {/block:IndexPage}
  705.  
  706.  
  707. </div><!-- END INDIVIDUAL POST -->
  708.  
  709. <!-- START PERMA PAGE -->{block:PermalinkPage}
  710. {block:PostNotes}{PostNotes}{/block:PostNotes}
  711. {/block:PermalinkPage}<!-- END PERMA PAGE -->
  712.  
  713. {/block:Posts}
  714.  
  715. </div><!-- END CENT -->
  716. </div><!-- END WRAPPER -->
  717. {block:IndexPage}
  718. <div class="pagination">
  719. <div style="float:left; font-size:15px;"><a href="http://notte-themes.tumblr.com" id="cr"><span class="fa fa-cloud fa-fw"></span></a></div>
  720.  
  721. {block:Pagination}
  722. {block:PreviousPage}
  723. <a href="{PreviousPage}">{lang:Previous page}</a>
  724. {/block:PreviousPage}
  725. {lang:Page CurrentPage of TotalPages}
  726. {block:NextPage}
  727. <a href="{NextPage}" id="next">{lang:Next page} </a>{/block:NextPage}
  728. {/block:Pagination}
  729. </div>
  730. {/block:IndexPage}
  731.  
  732.  
  733. <script type="text/javascript" src="http://static.tumblr.com/wk1x3im/GeTnhaxa3/imagesloaded.pkgd.min.js"></script><script src="http://static.tumblr.com/wk1x3im/An8nhax80/magnific-popup.min.js"></script><script src="http://static.tumblr.com/wk1x3im/5Bunhaxd4/photoset-grid.min.js"></script><script type="text/javascript" src="http://static.tumblr.com/wk1x3im/tOZnhazq3/masonry.pkgd.min.js"></script><script src="http://static.tumblr.com/wk1x3im/ijknhazre/infinitescroll.min.js"></script>
  734.  
  735.  
  736. {block:IndexPage}
  737. <script type="text/javascript">
  738. // hide pagination and centered content to avoid it awkwardly
  739. // displaying while posts are loading
  740. var $content = $('#cent');
  741. $('.pagination').hide();
  742. $('.loading').show();
  743. $('#cent').hide();
  744. $(window).load(function () {
  745. $content.fadeTo('slow', 1);
  746. $content.imagesLoaded( function(){
  747. $content.masonry({
  748. itemSelector: ".post",
  749. isFitWidth: true,
  750. gutter: 25,
  751. isAnimated:true,
  752. });
  753. $('.loading').hide();
  754. {block:ifNotInfiniteScrolling}
  755. $('.pagination').show();
  756. {/block:ifNotInfiniteScrolling}
  757. });
  758.  
  759.  
  760. // ONLY TEMPORARY
  761. // fix for resize issue
  762. // and rotation on tablets and smart phones
  763. $(window).bind('resize', function() {
  764. if ($(window).width() < 769){
  765. location.reload();
  766. }
  767. });
  768.  
  769. $content.infinitescroll({
  770. {block:ifInfiniteScrolling}
  771. navSelector: '.pagination',
  772. nextSelector: '.pagination a#next',
  773. {/block:ifInfiniteScrolling}
  774. itemSelector: ".post",
  775. debug: true,
  776. bufferPx: 600,
  777. extraScrollPx: 200,
  778. loading: {
  779. finishedMsg: '{lang:No more posts}',
  780. img: 'http://static.tumblr.com/qzzd7wg/Lh3nh8mit/ajax-loader_1_.gif',
  781. msgText: ' ',
  782. }
  783. },
  784. function( newElements ) {
  785. window.n = window.n || 0;
  786. Tumblr.LikeButton.get_status_by_page(++window.n);
  787. $('#infscr-loading').fadeIn();
  788.  
  789. var $newElems = $( newElements );
  790. $newElems.hide();
  791.  
  792. $('#infscr-loading').fadeOut();
  793. $content.append( $newElems )
  794. .masonry(
  795. 'appended',
  796. $newElems,
  797. true,
  798. function(){$newElems.fadeTo('slow', 1);}
  799. );
  800.  
  801.  
  802. $newElems.imagesLoaded(function(){
  803. $content.masonry('layout');
  804. });
  805.  
  806. });
  807. });
  808. </script>
  809. {/block:IndexPage}
  810.  
  811. <script type="text/javascript">
  812. // properly adjust photosets
  813. $.each($('.photoset-grid'), function() {
  814. $(this).photosetGrid({
  815. highresLinks: true,
  816. rel: $(this).attr('data-id'),
  817.  
  818. onComplete: function(){
  819. $('.photoset-grid a').magnificPopup({
  820. type:'image',
  821. gallery: {
  822. enabled: true
  823. },
  824.  
  825. });
  826. }
  827. });
  828. });
  829.  
  830. </script>
  831.  
  832.  
  833. <!-- DO NOT REMOVE THIS UNLESS YOU
  834. PLAN ON PUTTING IT SOMEWHERE
  835. ELSE-->
  836. {block:ifInfiniteScrolling}
  837. <div style="position:fixed; left:5px; font-size:15px; bottom:5px;"><a href="http://notte-themes.tumblr.com" id="cr"><span class="fa fa-cloud fa-fw"></span></a></div>
  838. {/block:ifInfiniteScrolling}
  839.  
  840. </body>
  841.  
  842. </html>
Advertisement
Add Comment
Please, Sign In to add comment