bychloethemes

Purple Heather Theme - by Chloe

Oct 3rd, 2015
1,415
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.99 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3. <!------------------------------------------
  4. _ _ _
  5. | |__ _ _ ___| |__ | | ___ ___
  6. | '_ \| | | | / __| '_ \| |/ _ \ / _ \
  7. | |_) | |_| | | (__| | | | | (_) | __/
  8. |_.__/ \__, | \___|_| |_|_|\___/ \___|
  9. |___/
  10.  
  11. Purple Heather Theme by Chloe | @dontbrag | @bychloethemes
  12.  
  13. Do not delete the credit. Do not claim as your own. Do not copy any ideas or code. Do not redistribute.
  14.  
  15. If I find any of this anywhere me & my squad (aka @fruitelf and @costalies) will personally drag ur name thru the dirt do not test us.
  16.  
  17. For html help go to @htmlqueens
  18.  
  19. ------------------------------------------->
  20.  
  21. <!--meta tags-->
  22. <meta name="image:Background" content="" />
  23.  
  24. <meta name="color:Background" content="#fff"/>
  25.  
  26. <meta name="color:Text" content="#666"/>
  27. <meta name="color:Accent" content="#bab8d3" />
  28.  
  29. <meta name="select:Columns" content="2" title="2" />
  30. <meta name="select:Columns" content="3" title="3" />
  31. <meta name="select:Columns" content="4" title="4" />
  32.  
  33. <meta name="if:Tiled Background" content="1"/>
  34.  
  35. <meta name="text:Icon 1" content="flash" />
  36. <meta name="text:URL 1" content="http://" />
  37. <meta name="text:Icon 2" content="paw" />
  38. <meta name="text:URL 2" content="http://" />
  39. <meta name="text:Icon 3" content="star-o" />
  40. <meta name="text:URL 3" content="http://" />
  41.  
  42. <meta charset="UTF-8" />
  43. <title>{block:TagPage}{Tag} posts | {/block:TagPage} {block:PostSummary}{PostSummary} | {/block:PostSummary}{Title}</title>
  44. <link rel="shortcut icon" href="{Favicon}">
  45. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  46. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
  47. <link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
  48. <link href='//fonts.googleapis.com/css?family=Roboto+Condensed|Roboto:400,300' rel='stylesheet' type='text/css'>
  49. <script src="//use.edgefonts.net/just-another-hand.js"></script>
  50. <style type="text/css">
  51. #tumblr_controls {
  52. top:100%!important;
  53. right:0px!important;
  54. -webkit-filter: invert(100%);
  55. position:fixed!important;
  56. -webkit-transform: translate(0%, -100%);
  57. -moz-transform: translate(0%, -100%);
  58. -ms-transform: translate(0%, -100%);
  59. -o-transform: translate(0%, -100%);
  60. transform: translate(0%, -100%);
  61. }
  62. ::-webkit-scrollbar {
  63. background-color:#fff;
  64. height: 7px;
  65. width: 7px;
  66. }
  67. ::-webkit-scrollbar-thumb {
  68. background-color:{color:Accent};
  69. border:2px solid #fff;
  70. }
  71. body{
  72. background:{color:background} url({image:Background})
  73. {block:IfTiledBackground}
  74. repeat fixed;
  75. {/block:IfTiledBackground}
  76. {block:IfNotTiledbackground}
  77. no-repeat center center fixed;
  78. -webkit-background-size:cover;
  79. -moz-background-size:cover;
  80. -ms-background-size:cover;
  81. -o-background-size:cover;
  82. background-size:cover;
  83. {/block:IfNotTiledbackground}
  84. color:{color:text};
  85. font-size:13px;
  86. font-family: 'Roboto', sans-serif;
  87. font-weight:300;
  88. }
  89. a {
  90. text-decoration:none;
  91. color:{color:Text};
  92. }
  93. iframe, img, embed, object, video {
  94. max-width: 100%;
  95. }
  96. img {
  97. height: auto;
  98. width: auto;
  99. vertical-align:middle;
  100. }
  101. #infscr-loading {
  102. position:absolute;
  103. bottom:30px;
  104. width:200px;
  105. margin-left:50%;
  106. left:-100px;
  107. text-align:center;
  108. }
  109. #infscr-loading img{
  110. }
  111. #t-bar {
  112. top:0;
  113. left:0;
  114. width:100%;
  115. height:50px;
  116. background:rgba({RGBcolor:Accent}, 0.9);
  117. position:fixed;
  118. z-index:999;
  119. }
  120. #t-bar h1 {
  121. font-weight:normal;
  122. font-size:2.8em;
  123. margin:0;
  124. font-family: 'just-another-hand', cursive;
  125. letter-spacing:1px;
  126. text-shadow: 1px 1px rgba(255,255,255, 0.6);
  127. color:#000;
  128. display:inline-block;
  129. padding:0;
  130. position:fixed;
  131. left:20px;
  132. line-height:50px;
  133. }
  134. ul#navlinks {
  135. text-align:right;
  136. list-style-type:none;
  137. font-size:20px;
  138. margin:0;
  139. padding:0;
  140. z-index:99;
  141. display:inline-block;
  142. width: calc(100% - 20px);
  143. height:50px;
  144. text-shadow: 1px 1px rgba(255,255,255, 0.6);
  145.  
  146. }
  147. ul#navlinks li {
  148. line-height:50px;
  149. display:inline-block;
  150. margin:0px 5px;
  151. text-transform:uppercase;
  152. padding:0 4px;
  153. }
  154. ul#navlinks a {
  155. color:#000;
  156. -webkit-transition: all 0.2s ease-in-out;
  157. -moz-transition: all 0.2s ease-in-out;
  158. -o-transition: all 0.2s ease-in-out;
  159. transition: all 0.2s ease-in-out;
  160. }
  161. ul#navlinks a:hover {
  162. color:#fff;
  163. -webkit-transition: all 0.2s ease-in-out;
  164. -moz-transition: all 0.2s ease-in-out;
  165. -o-transition: all 0.2s ease-in-out;
  166. transition: all 0.2s ease-in-out;
  167. }
  168. ul#navlinks .fa {
  169. line-height:50px;
  170. float:right;
  171. }
  172. #wrapper {
  173. margin-top:80px;
  174. margin-left:50%;
  175. -webkit-transform: translate(-50%, 0%);
  176. -moz-transform: translate(-50%, 0%);
  177. -ms-transform: translate(-50%, 0%);
  178. -o-transform: translate(-50%, 0%);
  179. transform: translate(-50%, 0%);
  180. {block:PermalinkPage}
  181. width:500px;
  182. {/block:PermalinkPage}
  183. }
  184.  
  185. {block:IndexPage}
  186. .column-2 {
  187. width:530px;
  188. }
  189. .column-3 {
  190. width:810px;
  191. }
  192. .column-4 {
  193. width:1090px;
  194. }
  195. {/block:IndexPage}
  196. .credit {
  197. width:14px;
  198. height:14px;
  199. color: {color:Accent};
  200. position:fixed;
  201. bottom: 15px;
  202. left: 15px;
  203. line-height: 14px;
  204. font-size:12px;
  205. text-transform: uppercase;
  206. padding:3px 4px;
  207. overflow: hidden;
  208. z-index:999999999999999999;
  209. text-align:left;
  210. -webkit-transition: all 0.5s ease-in-out;
  211. -moz-transition: all 0.5s ease-in-out;
  212. -o-transition: all 0.5s ease-in-out;
  213. transition: all 0.5s ease-in-out;
  214. }
  215. .fa-diamond {
  216. margin-right:5px;
  217. }
  218. .credit:hover {
  219. width:126px;
  220. background:#444;
  221. color:#fff;
  222. -webkit-transition: all 0.5s ease-in-out;
  223. -moz-transition: all 0.5s ease-in-out;
  224. -o-transition: all 0.5s ease-in-out;
  225. transition: all 0.5s ease-in-out;
  226. }
  227. .credit a {
  228. color:#fff;
  229. text-decoration: none;
  230. }
  231. .credit .mine {
  232. opacity:0;
  233. visibility:hidden;
  234. }
  235. .credit:hover .mine {
  236. opacity: 1;
  237. visibility: visible;
  238. -webkit-transition: all 0.5s ease-in-out 0.5s;
  239. -moz-transition: all 0.5s ease-in-out 0.5s;
  240. -o-transition: all 0.5s ease-in-out 0.5s;
  241. transition: all 0.5s ease-in-out 0.5s;
  242. }
  243. article {
  244. margin-bottom:30px;
  245. position:relative;
  246. {block:IndexPage}
  247. width:250px;
  248. {/block:IndexPage}
  249. {block:PermalinkPage}
  250. width:500px;
  251. background:rgba(255,255,255,0.5);
  252. {/block:PermalinkPage}
  253. }
  254. article a {
  255. color:{color:Accent};
  256. }
  257. article h2 {
  258. margin:0;
  259. font-size:1.3em;
  260. }
  261. article p {
  262. margin:10px 0;
  263. }
  264. article blockquote {
  265. margin: 5px 0 5px 10px;
  266. border-left:2px solid {color:Accent};
  267. padding-left:10px;
  268. }
  269. article ul, article ol {
  270. padding-left:25px;
  271. }
  272. .quote-post cite {
  273. text-align:right;
  274. display:block;
  275. margin:5px 5px 10px 5px;
  276. }
  277. ul.chat-list {
  278. padding:0;
  279. list-style-type:none;
  280. }
  281. ul.chat-list li {
  282. line-height:17px;
  283. }
  284. ul.chat-list .label {
  285. color:{color:Accent};
  286. font-weight:bold;
  287. }
  288. .album-art img {
  289. {block:IndexPage}
  290. width:80px;
  291. height:80px;
  292. {/block:IndexPage}
  293. float:left;
  294. margin-right:10px;
  295. {block:PermalinkPage}
  296. width:120px;
  297. height:120px;
  298. {/block:PermalinkPage}
  299. }
  300. .audio-info {
  301. {block:IndexPage}
  302. min-height:80px;
  303. {/block:IndexPage}
  304. {block:PermalinkPage}
  305. min-height:120px;
  306. line-height:140%;
  307. {/block:PermalinkPage}
  308. margin-bottom:10px;
  309. }
  310. .tumblr_audio_player {
  311. position: absolute;
  312. {block:IndexPage}
  313. top: 25px;
  314. left: 25px;
  315. {/block:IndexPage}
  316. {block:PermalinkPage}
  317. top: 45px;
  318. left: 45px;
  319. {/block:PermalinkPage}
  320. width: 30px;
  321. height: 30px;
  322. border-radius: 50%;
  323. opacity: 0.8;
  324. }
  325. {block:PermalinkPage}
  326. .text-post, link-post, .chat-post, .quote-post, .audio-post {
  327. padding:2px;
  328. }
  329. {/block:PermalinkPage}
  330. .photo-mask {
  331. width:100%;
  332. height:100%;
  333. position:absolute;
  334. opacity:0;
  335. visibility:hidden;
  336. background:rgba(255,255,255,0.9);
  337. -webkit-transition: all 0.4s ease-in-out;
  338. -moz-transition: all 0.4s ease-in-out;
  339. -o-transition: all 0.4s ease-in-out;
  340. transition: all 0.4s ease-in-out;
  341. }
  342. article:hover .photo-mask {
  343. opacity:1;
  344. visibility:visible;
  345. -webkit-transition: all 0.4s ease-in-out;
  346. -moz-transition: all 0.4s ease-in-out;
  347. -o-transition: all 0.4s ease-in-out;
  348. transition: all 0.4s ease-in-out;
  349. }
  350. .photo-info {
  351. top:50%;
  352. left:50%;
  353. padding: 20px;
  354. position:relative;
  355. text-align:center;
  356. -webkit-transform: translate(-50%, -50%);
  357. -moz-transform: translate(-50%, -50%);
  358. -ms-transform: translate(-50%, -50%);
  359. -o-transform: translate(-50%, -50%);
  360. transform: translate(-50%, -50%);
  361. color:#000;
  362. }
  363. .photo-info a {
  364. background:{color:Accent};
  365. color:#fff;
  366. padding:2px 5px;
  367. margin:3px ;
  368. line-height:200%;
  369. font-family: 'Roboto Condensed', sans-serif;
  370. -webkit-transition: all 0.2s ease-in-out;
  371. -moz-transition: all 0.2s ease-in-out;
  372. -o-transition: all 0.2s ease-in-out;
  373. transition: all 0.2s ease-in-out;
  374. }
  375. .photo-info a:hover {
  376. color:{color:Accent};
  377. background:#fff;
  378. -webkit-transition: all 0.2s ease-in-out;
  379. -moz-transition: all 0.2s ease-in-out;
  380. -o-transition: all 0.2s ease-in-out;
  381. transition: all 0.2s ease-in-out;
  382. }
  383. .other_perma {
  384. text-align:center;
  385. background:{color:Accent};
  386. color:#fff;
  387. padding:3px 10px;
  388. }
  389. .other_perma a {
  390. color:#fff;
  391. }
  392.  
  393. .extra-info {
  394. padding: 10px 0;
  395. line-height: 20px;
  396. text-align: left;
  397. }
  398. .extra-info a {
  399. color:{color:text};
  400. }
  401. .extra-info .fa {
  402. color:{color:Accent};
  403. }
  404. ol.notes {
  405. padding: 0px;
  406. margin: 20px 0;
  407. list-style-type: none;
  408. }
  409. ol.notes a {
  410. border-bottom:0;
  411. }
  412. ol.notes li.note {
  413. padding: 3px;
  414. margin-bottom:3px;
  415. }
  416. ol.notes li.note img.avatar {
  417. float:right;
  418. border-radius:50%;
  419. }
  420. ol.notes li.note blockquote {
  421. border-color: {color:text};
  422. padding-left: 6px;
  423. margin: 6px;
  424. }
  425. ol.notes li.note blockquote a {
  426. text-decoration: none;
  427. }
  428. a:focus {
  429. outline:none;
  430. }
  431. #describe {
  432. margin:10px auto 30px auto;
  433. width:400px;
  434. display:block;
  435. text-align:center;
  436. border-bottom:2px solid {color:accent};
  437. padding-bottom:20px;
  438. }
  439. </style>
  440. </head>
  441. <body>
  442. <div id="t-bar">
  443. <h1>{Title}</h1>
  444. <ul id="navlinks">
  445. <a href="/"><li><i class="fa fa-refresh"></i></li></a>
  446. {block:AskEnabled}
  447. <a href="/ask"><li><i class="fa fa-comments-o"></i></li></a>
  448. {/block:AskEnabled}
  449. {block:SubmissionsEnabled}
  450. <a href="/submit"><li><i class="fa fa-folder-open-o"></i></li></a>
  451. {/block:SubmissionsEnabled}
  452. {block:IfIcon1}
  453. <a href="{text:URL 1}"><li><i class="fa fa-{text:Icon 1}"></i></li></a>
  454. {/block:IfIcon1}
  455. {block:IfIcon2}
  456. <a href="{text:URL 2}"><li><i class="fa fa-{text:Icon 2}"></i></li></a>
  457. {/block:IfIcon2}
  458. {block:IfIcon3}
  459. <a href="{text:URL 3}"><li><i class="fa fa-{text:Icon 3}"></i></li></a>
  460. {/block:IfIcon3}
  461. <a href="/archive"><li><i class="fa fa-eye"></i></li></a>
  462. <a href="http://dontbrag.tumblr.com" target="_blank"><li><i class="fa fa-code"></i></li></a>
  463. </ul>
  464. </div>
  465. <div id="wrapper" class="column-{select:Columns}">
  466. {block:Description}<p id="describe">{Description}</p>{/block:Description}
  467. <div id="posts">
  468. {block:Posts}
  469. <article>
  470. {block:Text}
  471. <div class="text-post">
  472. {block:Title}<h2>{Title}</h2>{/block:Title}
  473. {Body}
  474. </div>
  475. {block:IndexPage}
  476. <div class="other_perma">
  477. <a href="{ReblogURL}" target="_blank"><i class="fa fa-refresh"></i></a> &nbsp;/&nbsp; <a href="{Permalink}" target="_blank">{NoteCount}+</a>
  478. </div>
  479. {/block:IndexPage}
  480. {/block:Text}
  481.  
  482. {block:Photo}
  483. <div class="photo-post">
  484. {block:IndexPage}
  485. <div class="photo-mask">
  486. <div class="photo-info"><a href="{Permalink}" target="_blank">{DayOfMonthWithZero}.{MonthNumberWithZero}.{ShortYear}</a> <a href="{ReblogURL}" target="_blank">REBLOG</a> <br><a href="{Permalink}" target="_blank">{NoteCount}+</a></div>
  487. </div>
  488. <img src="{PhotoURL-250}">
  489. {/block:IndexPage}
  490. {block:PermalinkPage}
  491. <img src="{PhotoURL-500}">
  492. {block:Caption}{Caption}{/block:Caption}
  493. {/block:PermalinkPage}
  494. </div>
  495. {/block:Photo}
  496.  
  497. {block:Photoset}
  498. <div class="photo-post">
  499. {block:IndexPage}
  500. <div class="photo-mask">
  501. <div class="photo-info"><a href="{Permalink}" target="_blank">{DayOfMonthWithZero}.{MonthNumberWithZero}.{ShortYear}</a> <a href="{ReblogURL}" target="_blank">REBLOG</a> <br><a href="{Permalink}" target="_blank">{NoteCount}+</a></div>
  502. </div>
  503. {Photoset-250}
  504. {/block:IndexPage}
  505. {block:PermalinkPage}
  506. {Photoset-500}
  507. {block:Caption}{Caption}{/block:Caption}
  508. {/block:PermalinkPage}
  509. </div>
  510. {/block:Photoset}
  511.  
  512. {block:Quote}
  513. <div class="quote-post">
  514. <h2><span style="color:{color:Accent};">❝</span> {Quote} <span style="color:{color:Accent};">❞</span></h2>
  515. {block:Source}<cite>-&nbsp;{Source}</cite>{/block:Source}
  516. </div>
  517. {block:IndexPage}
  518. <div class="other_perma">
  519. <a href="{ReblogURL}" target="_blank"><i class="fa fa-refresh"></i></a> &nbsp;/&nbsp; <a href="{Permalink}" target="_blank">{NoteCount}+</a>
  520. </div>
  521. {/block:IndexPage}
  522. {/block:Quote}
  523.  
  524. {block:Link}
  525. <div class="link-post">
  526. <h2><a href="{URL}" {Target}>{Name} &nbsp;<i class="fa fa-angle-right"></i></a></h2>
  527. {block:Description}{Description}{/block:Description}
  528. </div>
  529. {block:IndexPage}
  530. <div class="other_perma">
  531. <a href="{ReblogURL}" target="_blank"><i class="fa fa-refresh"></i></a> &nbsp;/&nbsp; <a href="{Permalink}" target="_blank">{NoteCount}+</a>
  532. </div>
  533. {/block:IndexPage}
  534. {/block:Link}
  535.  
  536. {block:Chat}
  537. <div class="chat-post">
  538. {block:Title}<h2>{Title}</h2>{/block:Title}
  539. <ul class="chat-list">
  540. {block:Lines}
  541. <li class="{Alt}">
  542. {block:Label}<span class="label">{Label}</span>{/block:Label}
  543. {Line}</li>
  544. {/block:Lines}
  545. </ul>
  546. </div>
  547. {block:IndexPage}
  548. <div class="other_perma">
  549. <a href="{ReblogURL}" target="_blank"><i class="fa fa-refresh"></i></a> &nbsp;/&nbsp; <a href="{Permalink}" target="_blank">{NoteCount}+</a>
  550. </div>
  551. {/block:IndexPage}
  552. {/block:Chat}
  553.  
  554. {block:Audio}
  555. <div class="audio">
  556. {block:AlbumArt}
  557. <div class="album-art">
  558. <img src="{AlbumArtURL}">
  559. </div>
  560. {/block:AlbumArt}
  561. <div class="audio-info">
  562. Artist: <span {block:Artist}style="display:none;"{/block:Artist}>Unknown</span>{block:Artist}{Artist}{/block:Artist}<br>
  563. Title: <span {block:TrackName}style="display:none;"{/block:TrackName}>Unknown</span>{block:TrackName}{TrackName}{/block:TrackName}<br>
  564. Album: <span {block:Album}style="display:none;"{/block:Album}>Unknown</span>{block:Album}{Album}{/block:Album}<br>
  565. Plays: {FormattedPlayCount}</div>
  566. {block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}
  567. </div>
  568. {block:IndexPage}
  569. <div class="other_perma">
  570. <a href="{ReblogURL}" target="_blank"><i class="fa fa-refresh"></i></a> &nbsp;/&nbsp; <a href="{Permalink}" target="_blank">{NoteCount}+</a>
  571. </div>
  572. {/block:IndexPage}
  573. {block:PermalinkPage}
  574. {block:Caption}{Caption}{/block:Caption}
  575. {/block:PermalinkPage}
  576. {/block:Audio}
  577.  
  578. {block:Video}
  579. <div class="video-post">
  580. {block:IndexPage}
  581. {Video-250}
  582. {/block:IndexPage}
  583. {block:PermalinkPage}
  584. {Video-500}
  585. {block:Caption}{Caption}{/block:Caption}
  586. {/block:PermalinkPage}
  587. </div>
  588. {block:IndexPage}
  589. <div class="other_perma">
  590. <a href="{ReblogURL}" target="_blank"><i class="fa fa-refresh"></i></a> &nbsp;/&nbsp; <a href="{Permalink}" target="_blank">{NoteCount}+</a>
  591. </div>
  592. {/block:IndexPage}
  593. {/block:Video}
  594.  
  595. {block:PermalinkPage}
  596. <div class="extra-info">
  597. {block:Date}<i class="fa fa-clock-o"></i> {DayOfMonthWithZero}.{MonthNumberWithZero}.{ShortYear}{/block:Date}
  598. {block:NoteCount}&nbsp;/&nbsp;<i class="fa fa-files-o"></i> {NoteCount}{/block:NoteCount}
  599. {block:RebloggedFrom}&nbsp;/&nbsp;<i class="fa fa-retweet"></i> <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}
  600. {block:ContentSource}&nbsp;/&nbsp;<i class="fa fa-copyright"></i> <a href="{SourceURL}">{SourceTitle}</a>{/block:ContentSource}
  601. {block:HasTags}&nbsp;/&nbsp;<i class="fa fa-tag"></i> {block:Tags}#<a href="/tagged/{Tag}">{Tag}</a> {/block:Tags}{/block:HasTags}
  602. </div>
  603. {block:PostNotes}
  604. <div id="notes">
  605. {PostNotes-16}
  606. </div>
  607. {/block:PostNotes}
  608. {/block:PermalinkPage}
  609.  
  610. </article>
  611. {/block:Posts}
  612. </div><!--end #posts-->
  613. </div><!--end #wrapper-->
  614.  
  615. {block:Pagination}
  616. <div class="pagination" style="visibility:hidden;">
  617. {block:PreviousPage}
  618. <a href="{PreviousPage}">previous</a>
  619. {/block:PreviousPage}
  620. {block:NextPage}
  621. <a href="{NextPage}" id="next">next</a>
  622. {/block:NextPage}
  623. </div>
  624. {/block:Pagination}
  625. <div class="credit">
  626. <i class="fa fa-diamond"></i>&nbsp;<a class="mine" target="_blank" href="http://dontbrag.tumblr.com">ByChloeThemes</a>
  627. </div>
  628. {block:IndexPage}
  629. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  630. <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  631. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  632. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  633. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  634. <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
  635. <script>
  636. (function () {
  637. var $tumblelog = $('#posts');
  638. $tumblelog.imagesLoaded(function () {
  639. $tumblelog.masonry({
  640. itemSelector: 'article',
  641. isAnimated:true,
  642. columnWidth:250,
  643. gutterWidth:30,
  644. });
  645. });
  646. $tumblelog.infinitescroll({
  647. navSelector : "div.pagination",
  648. nextSelector : ".pagination a#next",
  649. itemSelector : "article",
  650. loading: {
  651. finishedMsg: "<p>You've reached the end of the Earth.</p>",
  652. img : "http://static.tumblr.com/yxfeliq/ZQFnvhfad/dontbrag-loading.gif",
  653. msg: null,
  654. msgText: ""
  655. },
  656. },
  657.  
  658. function( newElements ) {
  659. var $newElems = $(newElements)
  660. $newElems.hide();
  661. $newElems.imagesLoaded(function(){
  662. $tumblelog.masonry( 'appended', $newElems, {
  663. isAnimated: true,
  664. animationOptions: {
  665. duration: 250,
  666. easing: 'linear',
  667. queue: false
  668. }
  669. },
  670. function(){
  671. $newElems.fadeIn('slow');
  672. }
  673. );
  674. });
  675. });
  676. })();
  677. </script>
  678. {/block:IndexPage}
  679. <div style="display:none;"><script language="JavaScript">var fhs = document.createElement('script');var fhs_id = "5093721";
  680. var ref = (''+document.referrer+'');var pn = window.location;var w_h = window.screen.width + " x " + window.screen.height;
  681. fhs.src = "http://freehostedscripts.net/ocounter.php?site="+fhs_id+"&e1=&e2=&r="+ref+"&wh="+w_h+"&a=1&pn="+pn+"";
  682. document.head.appendChild(fhs);document.write("<span id='o_"+fhs_id+"'></span>");
  683. </script>
  684. </div>
  685. <!--/////////End Masonry//////////-->
  686.  
  687. </body>
  688. </html>
Advertisement
Add Comment
Please, Sign In to add comment