bychloethemes

Coming Down Theme - by Chloe

May 1st, 2015
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.54 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!--
  5. Coming Down Theme - bychloethemes.tumblr.com
  6. don't be a douche and delete the credit
  7. -->
  8.  
  9. <meta name="color:Background" content="#ffffff" />
  10. <meta name="color:header" content="#fff"/>
  11. <meta name="color:gradient bg 1" content="#fff" />
  12. <meta name="color:gradient bg 2" content="#000" />
  13. <meta name="color:Body links" content="#444444" />
  14. <meta name="color:Body text" content="#1d1818" />
  15. <meta name="color:Text highlight" content="#78cc6f" />
  16. <meta name="color:header image border" content="#eee" />
  17. <meta name="color:content background" content="#fff" />
  18. <meta name="font:Body" content='verdana,sans-serif'/>
  19. <meta name="if:gradient bg" content="1"/>
  20. <meta name="if:Tiled Background" content="0" />
  21. <meta name="if:Content Tiled Background" content="0" />
  22. <meta name="if:Show Description" content="1" />
  23. <meta name="if:scrolling header" content="0" />
  24. <meta name="if:Permalinks under photos" content="1" />
  25. <meta name="if:hide title" content="0" />
  26. <meta name="if:header background" content="1" />
  27. <meta name="if:Archive link" content="1" />
  28. <meta name="text:Link 1" content="" />
  29. <meta name="text:URL 1" content="" />
  30. <meta name="text:Link 2" content="" />
  31. <meta name="text:URL 2" content="" />
  32. <meta name="text:Link 3" content="" />
  33. <meta name="text:URL 3" content="" />
  34. <meta name="image:Background" content="" />
  35. <meta name="image:Content Background" content="" />
  36. <meta name="image:header" content="" />
  37. {block:Description}
  38. <meta name="description" content="{MetaDescription}" />
  39. {/block:Description}
  40. <meta charset="utf-8">
  41. <meta name="viewport" content="initial-scale=1.0, width=device-width" />
  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 href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
  46. <style type="text/css">
  47. /*Basic styles*/
  48. ::-moz-selection {
  49. background: {color:Text highlight};
  50. color: #fff;
  51. }
  52. ::selection {
  53. background: {color:Text highlight};
  54. color: #fff;
  55. }
  56. #content {
  57. padding-top:150px;
  58. {block:IndexPage}
  59. margin-top:0px;
  60. width: 780px;
  61. margin-left:50%;
  62. left:-390px;
  63. {/block:IndexPage}
  64. {block:PermalinkPage}
  65. margin-left:50%;
  66. left:-390px;
  67. width:780px;
  68. {/block:PermalinkPage}
  69. background: {color:Content Background} url('{image:Content Background}'){block:IfNotContentTiledBackground}no-repeat center center fixed;
  70. -webkit-background-size: cover;
  71. -moz-background-size: cover;
  72. -o-background-size: cover;
  73. background-size: cover;
  74. {/block:IfNotContentTiledBackground}
  75. {block:IfContentTiledBackground}
  76. repeat;
  77. background-attachment:fixed;
  78. {/block:IfContentTiledBackground}
  79. }
  80. body {
  81. background: {color:Background} url('{image:Background}'){block:IfNotTiledBackground}no-repeat center center fixed;
  82. -webkit-background-size: cover;
  83. -moz-background-size: cover;
  84. -o-background-size: cover;
  85. background-size: cover;
  86. {/block:IfNotTiledBackground}
  87. {block:IfTiledBackground}
  88. repeat;
  89. background-attachment:fixed;
  90. {/block:IfTiledBackground}
  91. {block:ifgradientbg}
  92. -o-linear-gradient(bottom, {color:gradient bg 2}, {color:gradient bg 1} );
  93. background-image: -moz-linear-gradient(bottom, {color:gradient bg 2}, {color:gradient bg 1});
  94. background-image: -webkit-linear-gradient(bottom, {color:gradient bg 2}, {color:gradient bg 1});
  95. background-image: -ms-linear-gradient(bottom, {color:gradient bg 2}, {color:gradient bg 1});
  96. background-image: linear-gradient(bottom, {color:gradient bg 2}, {color:gradient bg 1});
  97. {/block:ifgradientbg}
  98. color: {color:Body text};
  99. font-family: {font:Body};
  100. font-size: 12px;
  101. margin: 0;
  102. padding: 0;
  103. }
  104. a:link, a:visited {
  105. text-decoration: none;
  106. color: {color:Body links};
  107. }
  108. a:hover, a:active {
  109. text-decoration: none;
  110. font-style:italic;
  111. }
  112. blockquote {
  113. border-left: 1px solid black;
  114. margin: 0;
  115. padding: 2px 5px!important;
  116. }
  117. iframe, img, embed, object, video {
  118. max-width: 100%;
  119. }
  120. img {
  121. height: auto;
  122. width: auto;
  123. }
  124. /*Masthead*/
  125. .sidebar {
  126. margin-left:50%;
  127. left:-390px;
  128. text-align:center;
  129. width:760px;
  130. height:auto;
  131. {block:ifnotscrollingheader}
  132. position:fixed;
  133. {/block:ifnotscrollingheader}
  134. {block:ifscrollingheader}
  135. position:absolute;
  136. {/block:ifscrollingheader}
  137. padding:10px;
  138. z-index:9999999;
  139. font-size:15px;
  140. {block:ifheaderbackground}
  141. background:{color:header};
  142. opacity:0.7;
  143. {/block:ifheaderbackground}
  144. }
  145. .sidebar h1 {
  146. display: block;
  147. font-size: 25px;
  148. margin-top: 0;
  149. margin-bottom: 0;
  150. margin-left: 0;
  151. margin-right: 0;
  152. padding:10px 10px;
  153. font-weight: normal;
  154. }
  155. .sidebar p {
  156. padding:0px 180px;
  157. font-size:12px;
  158. width:400px;
  159. }
  160. .sidebar ul {
  161. list-style-type:none;
  162. padding-left:10px;
  163. padding-right:10px;
  164. }
  165. .sidebar li {
  166. display:inline;
  167. padding-top:5px;
  168. text-align:right;
  169. font-size:12px;
  170. width:150px;
  171. margin:0px 5px;
  172. }
  173. /*Article*/
  174. article {
  175. margin:45px;
  176. width:300px;
  177. {block:PermalinkPage}
  178. width: 500px;
  179. margin-left:140px;
  180. background:{color:Post color};
  181. {/block:PermalinkPage}
  182. }
  183. .photo, .photoset {
  184. {block:IfNotPermalinksUnderPhotos}
  185. padding:0;
  186. {/block:IfNotPermalinksUnderPhotos}
  187. {block:IfPermalinksUnderPhotos}
  188. padding:0px 10px;
  189. border-bottom:1px solid black;
  190. {/block:IfPermalinksUnderPhotos}
  191. }
  192. .photosetpic {
  193. padding:0px 25px;
  194. }
  195. .text, .link, .chat, .quote, .audio, .video{
  196. {block:IfNotPermalinksUnderPhotos}
  197. padding-bottom:5px;
  198. {/block:IfNotPermalinksUnderPhotos}
  199. border-bottom:1px solid black;
  200. {block:IfPermalinksUnderPhotos}
  201. padding:5px 10px;
  202. {/block:IfPermalinksUnderPhotos}
  203. }
  204. .post{
  205. padding:0;
  206. margin:0px 0px -2px 0px;
  207. }
  208. article h1 {
  209. font-weight:normal;
  210. text-transform:uppercase;
  211. font-size:20px;
  212. }
  213. .chat span {
  214. float: left;
  215. margin-right: 5px;
  216. }
  217. .chat .even {
  218. {block:IfNotNoPostAccents}
  219. background: {color:Post Accent};
  220. {/block:IfNotNoPostAccents}
  221. }
  222. .tumblr_audio_player {
  223. height: 30px;
  224. width: 300px;
  225. opacity:0.7;
  226. }
  227. .albumart {
  228. position:absolute;
  229. {block:IndexPage}
  230. width:60px;
  231. height:60px;
  232. {/block:IndexPage}
  233. }
  234.  
  235. .albumart img {
  236. float:left;
  237. margin-left:5px;
  238. {block:IndexPage}
  239. width:60px;
  240. height:60px;
  241. {/block:IndexPage}
  242. }
  243.  
  244. .playbox {
  245. opacity:0.6;
  246. width:30px;
  247. height:30px;
  248. border-radius:15px;
  249. -webkit-border-radius:15px;
  250. -moz-border-radius:15px;
  251. -o-border-radius:15px;
  252. overflow:hidden;
  253. position:absolute;
  254. z-index:2;
  255. {block:IndexPage}
  256. margin-left:21px;
  257. margin-top:16px;
  258. {block:IndexPage}
  259. }
  260.  
  261. .audioinfo {
  262. margin-top:2px;
  263. line-height:12px;
  264. font-size:0.8em;
  265. padding-bottom:10px;
  266. text-transform:uppercase;
  267. {block:IndexPage}
  268. margin-left:75px;
  269. {block:IndexPage}
  270. }
  271. /*Metadata*/
  272. .metadata {
  273. display: inline-block;
  274. width: 100%;
  275. }
  276. .reblogged {
  277. float: right;
  278. }
  279. /*Tags and notes*/
  280. #tags, nav ul, .chat ul {
  281. list-style: none;
  282. list-style-image: none;
  283. margin: 0;
  284. padding: 0;
  285. }
  286. #tags li {
  287. float: left;
  288. margin-right: 10px;
  289. }
  290. .notes {
  291. clear: both;
  292. padding: 0;
  293. }
  294. .tumblrAutoPager_page_info, .tumblrAutoPager_page_separator {
  295. display:none;
  296. }
  297. #infscr-loading {
  298. display:none;
  299. }
  300. .navigation {
  301. display:none!important;
  302. }
  303. .copyright {
  304. position:fixed;
  305. bottom:10px;
  306. left:10px;
  307. }
  308.  
  309. .permalink {
  310. position:relative;
  311. top:20px;
  312. margin-top:0px;
  313. padding:0px 2px 0px 2px;
  314. text-align:right;
  315. word-spacing:1px;
  316. }
  317.  
  318. .permalink a{
  319. text-decoration:none;
  320. font-size:10px;
  321. text-transform:uppercase;
  322. }
  323. #permatag {
  324. display:block;
  325. text-align:center;
  326. text-transform:capitalize;
  327. position:absolute;
  328. bottom:50%;
  329. margin-bottom:-47px;
  330. left:50%;
  331. margin-left:-47px;
  332. opacity:0;
  333. width:100px;
  334. height:100px;
  335. border-radius:100%;
  336. z-index:99;
  337. -webkit-transition: all 0.3s ease-in-out;
  338. -moz-transition: all 0.3s ease-in-out;
  339. -o-transition: all 0.3s ease-in-out;
  340. background:rgba(255,255,255,0.7);
  341. }
  342. #permatag li {
  343. list-style-type:none;
  344. display:inline-block;
  345. font-size:20px;
  346. margin-top:40px;
  347. }
  348. .photo:hover #permatag{
  349. opacity:1;
  350. }
  351. .photoset:hover #permatag{
  352. opacity:1;
  353. }
  354. ol.notes {
  355. padding: 0px;
  356. margin: 25px 0px;
  357. list-style-type: none;
  358. }
  359.  
  360. ol.notes li.note {
  361. padding: 5px;
  362. text-align:center;
  363. }
  364.  
  365. ol.notes li.note img.avatar {
  366. display:none;
  367. }
  368.  
  369. ol.notes li.note span.action {
  370. font-weight: normal;
  371. }
  372.  
  373. ol.notes li.note .answer_content {
  374. font-weight: normal;
  375. }
  376.  
  377. ol.notes li.note blockquote {
  378. padding: 4px 5px;
  379. margin: 10px 0px 0px 25px;
  380. }
  381.  
  382. ol.notes li.note blockquote a {
  383. text-decoration: none;
  384. }
  385. .avatar img {
  386. width:90px;
  387. height:90px;
  388. border-radius:100%;
  389. border:2px solid {color:header image border};
  390. }
  391. /*Custom CSS*/
  392. {CustomCSS}
  393. </style>
  394. </head>
  395. <body>
  396. <!--Masthead-->
  397. <header class="sidebar">
  398. <!--Navigation-->
  399. {block:ifheaderimage}
  400. <div class="avatar">
  401. <a href="/" title="{blogtitle}"><img src="{image:header}"></a>
  402. </div>
  403. {/block:ifheaderimage}
  404. {block:ifnothidetitle}
  405. <nav id="blogtitle">
  406. <h1><a href="/" title="{lang:Home}">{Blogtitle}</a></h1>
  407. </nav>
  408. {/block:ifnothidetitle}
  409. <nav>
  410. <ul>
  411. {block:ifhidetitle}
  412. <li><a href="/">home</a></li>
  413. {/block:ifhidetitle}
  414. {block:AskEnabled}
  415. <li><a href="/ask">{AskLabel}</a></li>
  416. {/block:AskEnabled}
  417. {block:SubmissionsEnabled}
  418. <li><a href="/submit">{SubmitLabel}</a></li>
  419. {/block:SubmissionsEnabled}
  420. {block:HasPages}
  421. {block:Pages}
  422. <li> <a href="{URL}">{Label}</a></li>
  423. {/block:Pages}
  424. {/block:HasPages}
  425. {block:IfLink1}
  426. <li><a href="{text:URL 1}">{text:Link 1}</a> </li>
  427. {/block:IfLink1}
  428. {block:IfLink2}
  429. <li><a href="{text:URL 2}">{text:Link 2}</a> </li>
  430. {/block:IfLink2}
  431. {block:IfLink3}
  432. <li><a href="{text:URL 3}">{text:Link 3}</a> </li>
  433. {/block:IfLink3}
  434. {block:IfArchiveLink}
  435. <li><a href="/archive">past</a></li>
  436. {/block:IfArchiveLink}
  437. <li><a href="http://dontbrag.tumblr.com">theme</a></li>
  438. </ul>
  439. </nav>
  440.  
  441. {block:IfShowDescription}
  442. <description>
  443. {block:Description}
  444. <p>{Description}</p>
  445. {block:Description}
  446. {/block:IfShowDescription}
  447. </description>
  448. </header>
  449. <!--Content holder-->
  450. <div id="content">
  451. {block:Posts}
  452. <article>
  453. <!--Unique code for each post type-->
  454. {block:Text}
  455. <div class="text">
  456. {block:Title}<h1><a href="{Permalink}">{Title}</a></h1>{/block:Title}
  457. {Body}
  458. {block:IndexPage}
  459. <div class="permalink">
  460. <a href="{Permalink}">{DayOfMonthWithZero} {ShortMonth}</a> &raquo; <a href="{Permalink}">+{NoteCount}</a> &raquo; <a href="{ReblogURL}" target="_blank">RBLG</a></div>
  461. {/block:IndexPage}
  462. {/block:Text}
  463.  
  464. {block:Photo}<div class="photo">
  465. {block:IndexPage}
  466. {block:IfNotPermalinksUnderPhotos}
  467. <div class="post">
  468. <div id="permatag">
  469. <li><a href="{Permalink}">{NoteCount}</a></li>
  470. </div>
  471. {/block:IfNotPermalinksUnderPhotos}
  472. <a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" />
  473. </a>
  474. {block:IfPermalinksUnderPhotos}
  475. <div class="permalink">
  476. <a href="{Permalink}">{DayOfMonthWithZero} {ShortMonth}</a> &raquo; <a href="{Permalink}">+{NoteCount}</a> &raquo; <a href="{ReblogURL}" target="_blank">RBLG</a></div>
  477. {/block:IfPermalinksUnderPhotos}
  478. {/block:IndexPage}
  479. {block:PermalinkPage}<img src="{PhotoURL-500}" alt="{PhotoAlt}" />
  480. {block:Caption}{Caption}{/block:Caption}
  481. {/block:PermalinkPage}{block:IfNotPermalinksUnderPhotos}</div>{/block:IfNotPermalinksUnderPhotos}
  482. {/block:Photo}
  483.  
  484. {block:Photoset}
  485. <div class="photoset">
  486. {block:IndexPage}
  487. {block:IfNotPermalinksUnderPhotos}
  488. <div class="post">
  489. <div id="permatag">
  490. <li><a href="{Permalink}">{NoteCount}</a></li>
  491. </div>
  492. {/block:IfNotPermalinksUnderPhotos}
  493. <div class="photosetpic">
  494. {Photoset-250}
  495. </div>
  496. {block:IfPermalinksUnderPhotos}
  497. <div class="permalink">
  498. <a href="{Permalink}">{DayOfMonthWithZero} {ShortMonth}</a> &raquo; <a href="{Permalink}">+{NoteCount}</a> &raquo; <a href="{ReblogURL}" target="_blank">RBLG</a></div>
  499. {/block:IfPermalinksUnderPhotos}
  500. {/block:IndexPage}
  501. {block:PermalinkPage}
  502. {Photoset-500}
  503. {block:Caption}{Caption}{/block:Caption}
  504. {/block:PermalinkPage}{block:IfNotPermalinksUnderPhotos}</div>{/block:IfNotPermalinksUnderPhotos}
  505. {/block:Photoset}
  506.  
  507. {block:Quote}
  508. <div class="quote">
  509. <p>&ldquo;{Quote}&rdquo;</p>
  510. {block:Source}<p><cite> &mdash;{Source}</cite></p>{/block:Source}
  511. {block:IndexPage}
  512. <div class="permalink">
  513. <a href="{Permalink}">{DayOfMonthWithZero} {ShortMonth}</a> &raquo; <a href="{Permalink}">+{NoteCount}</a> &raquo; <a href="{ReblogURL}" target="_blank">RBLG</a></div>
  514. {/block:IndexPage}
  515. {/block:Quote}
  516.  
  517. {block:Link}
  518. <div class="link">
  519. <h1><a href="{URL}">{Name}</a></h1>
  520. {block:Description}{Description}{/block:Description}
  521. {block:IndexPage}
  522. <div class="permalink">
  523. <a href="{Permalink}">{DayOfMonthWithZero} {ShortMonth}</a> &raquo; <a href="{Permalink}">+{NoteCount}</a> &raquo; <a href="{ReblogURL}" target="_blank">RBLG</a></div>
  524. {/block:IndexPage}
  525. {/block:Link}
  526.  
  527. {block:Chat}
  528. <div class="chat inner">
  529. <ul>
  530. {block:Lines}<li class="{Alt}"><p>{block:Label}
  531. <u>{Label}</u>{/block:Label} {Line} </p>
  532. </li>{/block:Lines}
  533. </ul>
  534. {block:IndexPage}
  535. <div class="permalink">
  536. <a href="{Permalink}">{DayOfMonthWithZero} {ShortMonth}</a> &raquo; <a href="{Permalink}">+{NoteCount}</a> &raquo; <a href="{ReblogURL}" target="_blank">RBLG</a></div>
  537. {/block:IndexPage}
  538. {/block:Chat}
  539.  
  540. {block:Audio}
  541. <div class="audio">
  542. {block:IndexPage}
  543. {block:AlbumArt}
  544. <div class="albumart">
  545. <a href="{Permalink}"><img src="{AlbumArtURL}"></a>
  546. </div>
  547. {/block:AlbumArt}
  548. {block:AudioPlayer}
  549. <div class="playbox">
  550. {AudioPlayerWhite}
  551. </div>
  552. {/block:AudioPlayer}
  553. <div class="audioinfo">
  554. Artist: <span{block:Artist} style="display:none;"
  555. {/block:Artist}>Unknown</span>
  556. {block:Artist}{Artist}{/block:Artist}</br>
  557. Title: <span{block:TrackName} style="display:none;"
  558. {/block:TrackName}>Unknown</span>
  559. {block:TrackName}{TrackName}{/block:TrackName}</br>
  560. Album: <span{block:Album} style="display:none;"
  561. {/block:Album}>Unknown</span>
  562. {block:Album}{Album}{/block:Album}{block:PlayCount}</br>
  563. Plays: {FormattedPlayCount}{/block:PlayCount}
  564. </div>
  565. <div class="permalink">
  566. <a href="{Permalink}">{DayOfMonthWithZero} {ShortMonth}</a> &raquo; <a href="{Permalink}">+{NoteCount}</a> &raquo; <a href="{ReblogURL}" target="_blank">RBLG</a></div>
  567. {/block:IndexPage}
  568. {block:PermalinkPage}
  569. {block:AlbumArt}<img src="{AlbumArtURL}" width="400"
  570. height="400"/>{/block:AlbumArt}<br>
  571. Artist: <span{block:Artist} style="display:none;"
  572. {/block:Artist}>Unknown</span>
  573. {block:Artist}{Artist}{/block:Artist} &mdash;
  574. Title: <span{block:TrackName} style="display:none;"
  575. {/block:TrackName}>Unknown</span>
  576. {block:TrackName}{TrackName}{/block:TrackName} &mdash;
  577. Album: <span{block:Album} style="display:none;"
  578. {/block:Album}>Unknown</span>
  579. {block:Album}{Album}{/block:Album}{block:PlayCount} &mdash;
  580. Plays: {FormattedPlayCount}{/block:PlayCount}
  581. {block:Caption}{Caption}{/block:Caption}
  582. {AudioPlayerWhite}
  583. {/block:PermalinkPage}
  584. {/block:Audio}
  585.  
  586. {block:Video}
  587. <div class="video">
  588. <div class="video-player">{Video-300}</div>
  589.  
  590. {block:IndexPage}
  591. <div class="permalink">
  592. <a href="{Permalink}">{DayOfMonthWithZero} {ShortMonth}</a> &raquo; <a href="{Permalink}">+{NoteCount}</a> &raquo; <a href="{ReblogURL}" target="_blank">RBLG</a></div>
  593. {/block:IndexPage}
  594. {block:PermalinkPage}
  595. <div class="video-player">{Video-500}</div>
  596. {block:Caption}{Caption}{/block:Caption}
  597. {/block:permalinkPage}
  598. {/block:Video}
  599.  
  600. {block:Answer}
  601. <div class="answer">
  602. <div style="color: #000000; background-color:
  603. {color:primary accent};padding: 10px;">
  604. {lang:Asker asked 2}: {Question}</div>
  605. <div style="text-indent: 20px;">{Answer}</div>
  606. {block:IndexPage}
  607. <div class="permalink">
  608. <a href="{Permalink}">{DayOfMonthWithZero} {ShortMonth}</a> &raquo; <a href="{Permalink}">+{NoteCount}</a> &raquo; <a href="{ReblogURL}" target="_blank">RBLG</a></div>
  609. {/block:IndexPage}
  610. {/block:Answer}
  611. <!--Post footer (tags and notes) on displayed on permalink pages-->
  612. {block:Permalink}
  613. <footer class="details">
  614. {block:HasTags}
  615. <ul id="tags">
  616. {block:Tags}<li> <a href="{TagURL}">#{Tag}</a> </li>{/block:Tags}
  617. </ul>
  618. <br>
  619. {/block:HasTags}
  620. {block:PostNotes}
  621. <div id="notes">
  622. {PostNotes}
  623. </div>
  624. {/block:PostNotes}
  625. </footer>
  626. {/block:Permalink}
  627. </article>
  628. {/block:Posts}
  629. <!--Close of article-->
  630. </div>
  631. <!--Pagination: previous/next page links-->
  632. {block:Pagination}
  633. <div class="pagination">
  634. {block:PreviousPage}<a href="{PreviousPage}">Previous page</a>{/block:PreviousPage}
  635. {block:NextPage}<a href="{NextPage}">Next page</a>{/block:NextPage}
  636. </div>
  637. {/block:Pagination}
  638. <!--Links to jQuery library, Masonry, infinite scroll and imagesLoaded-->
  639. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  640. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  641. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  642. <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
  643. <!--Code for infinite scroll and grid layout-->
  644. <script>
  645. (function() {
  646. var $tumblelog = $('#content');
  647. $tumblelog.infinitescroll({
  648. navSelector : ".pagination",
  649. nextSelector : ".pagination a:first",
  650. itemSelector : "article",
  651. bufferPx : 50,
  652. done : "",
  653. loading: {
  654. finishedMsg: "<p> </p>",
  655. img : " ",
  656. msg: null,
  657. msgText: "<p> </p>"
  658. },
  659. },
  660. function( newElements ) {
  661. var $newElems = $( newElements ).css({ opacity: 0 });
  662. $newElems.imagesLoaded(function(){
  663. $newElems.animate({ opacity: 1 });
  664. $tumblelog.masonry( 'appended', $newElems);
  665. });
  666. }
  667. );
  668. $tumblelog.imagesLoaded( function(){
  669. $tumblelog.masonry({
  670. columnWidth: function( containerWidth ) {
  671. return containerWidth / 100;
  672. }
  673. });
  674. });
  675. })();
  676. </script>
  677. <div class="copyright"><a href="http://dontbrag.tumblr.com">&copy;
  678. </a></div>
  679. </body>
  680. </html>
Advertisement
Add Comment
Please, Sign In to add comment