bychloethemes

Frosted Almond Theme - by Chloe

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