bychloethemes

Diane Young Theme - by Chloe

Aug 20th, 2015
780
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.01 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3. <!--
  4. _ _ _
  5. | |__ _ _ ___| |__ | | ___ ___
  6. | '_ \| | | | / __| '_ \| |/ _ \ / _ \
  7. | |_) | |_| | | (__| | | | | (_) | __/
  8. |_.__/ \__, | \___|_| |_|_|\___/ \___|
  9. |___/
  10.  
  11. Diane Young Theme by Chloe | @dontbrag | @bychloethemes
  12. Do not delete the credit. Do not claim as your own. Do not copy any ideas or code. Do not redistribute.
  13.  
  14. For html help go to @htmlqueens
  15.  
  16. -->
  17. <meta name="image:Background" content="" />
  18.  
  19. <meta name="color:Background" content="#fff" />
  20. <meta name="color:Title" content="#666" />
  21. <meta name="color:Link Bar" content="#000" />
  22. <meta name="color:Navlinks" content="#fff" />
  23. <meta name="color:Text" content="#000" />
  24. <meta name="color:Links" content="#666" />
  25. <meta name="color:Posts" content="#fff" />
  26. <meta name="color:Accent" content="#ccc" />
  27.  
  28. <meta name="if:Tiled Background" content="0"/>
  29. <meta name="if:Pagination" content="0" />
  30. <meta name="if:Fixed Header" content="1" />
  31. <meta name="if:Captions" content="1" />
  32. <meta name="if:Tags On Index Page" content="1" />
  33.  
  34. <meta name="text:Link 1" content="" />
  35. <meta name="text:URL 1" content="" />
  36. <meta name="text:Link 2" content="" />
  37. <meta name="text:URL 2" content="" />
  38. <meta name="text:Link 3" content="" />
  39. <meta name="text:URL 3" content="" />
  40. <meta name="text:Link 4" content="" />
  41. <meta name="text:URL 4" content="" />
  42. <meta name="text:Link 5" content="" />
  43. <meta name="text:URL 5" content="" />
  44. <meta name="text:Link 6" content="" />
  45. <meta name="text:URL 6" content="" />
  46.  
  47. {block:Description}
  48. <meta name="description" content="{MetaDescription}" />
  49. {/block:Description}
  50. <meta charset="utf-8">
  51. <meta name="viewport" content="initial-scale=1.0, width=device-width" />
  52. <title>{block:TagPage}{Tag} posts | {/block:TagPage} {block:PostSummary}{PostSummary} | {/block:PostSummary}{Title}</title>
  53. <title>{text:Tab Title}</title>
  54. <link rel="shortcut icon" href="{Favicon}">
  55. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  56. <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
  57. <link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
  58. <link href='//fonts.googleapis.com/css?family=Raleway:400,600' rel='stylesheet' type='text/css'>
  59. <link href='//fonts.googleapis.com/css?family=Italiana' rel='stylesheet' type='text/css'>
  60. <style type="text/css">
  61. body {
  62. color: {color:Text};
  63. font-family: 'Raleway', sans-serif;
  64. font-size: 12px;
  65. margin: 0;
  66. padding: 0;
  67. }
  68. body, .header {
  69. background: {color:Background} url('{image:Background}'){block:IfNotTiledBackground}
  70. no-repeat center center fixed;
  71. -webkit-background-size: cover;
  72. -moz-background-size: cover;
  73. -o-background-size: cover;
  74. background-size: cover;
  75. {/block:IfNotTiledBackground}
  76. {block:IfTiledBackground}
  77. repeat fixed;
  78. {/block:IfTiledBackground}
  79. }
  80. iframe, img, embed, object, video {
  81. max-width: 100%;
  82. }
  83. img {
  84. height: auto;
  85. width: auto;
  86. vertical-align:middle;
  87. }
  88. blockquote {
  89. border-left:1px solid {color:Accent};
  90. margin:0 0 0 15px;
  91. padding:0 0 0 5px;
  92. }
  93. a {
  94. color:{color:Links};
  95. text-decoration:none;
  96. cursor:pointer;
  97. }
  98. a:hover {
  99. cursor:pointer;
  100. }
  101. a:focus {
  102. outline:none;
  103. }
  104. b, strong {
  105. font-weight:600;
  106. }
  107. hr {
  108. height:1px;
  109. border:0;
  110. background:{color:Accent};
  111. }
  112. h1 {
  113. font-weight:400;
  114. }
  115. cite {
  116. margin-top:3px;
  117. display:block;
  118. text-align:right;
  119. }
  120. .credit {
  121. width:14px;
  122. height:13px;
  123. color: {color:Link Bar};
  124. position:fixed;
  125. bottom: 15px;
  126. right: 15px;
  127. line-height: 14px;
  128. font-size:12px;
  129. text-transform: uppercase;
  130. padding:3px 4px;
  131. overflow: hidden;
  132. z-index:999999999999999999;
  133. text-align:left;
  134. -webkit-transition: all 0.5s ease-in-out;
  135. -moz-transition: all 0.5s ease-in-out;
  136. -o-transition: all 0.5s ease-in-out;
  137. transition: all 0.5s ease-in-out;
  138. }
  139. .fa-diamond {
  140. position:absolute;
  141. right:3px;
  142. }
  143. .credit:hover {
  144. width:126px;
  145. background:{color:Link Bar};
  146. color:{color:Navlinks};
  147. -webkit-transition: all 0.5s ease-in-out;
  148. -moz-transition: all 0.5s ease-in-out;
  149. -o-transition: all 0.5s ease-in-out;
  150. transition: all 0.5s ease-in-out;
  151. }
  152. .credit a {
  153. color:{color:Navlinks};
  154. text-decoration: none;
  155. }
  156. .credit .mine {
  157. opacity:0;
  158. visibility:hidden;
  159. }
  160. .credit:hover .mine {
  161. opacity: 1;
  162. visibility: visible;
  163. -webkit-transition: all 0.5s ease-in-out 0.5s;
  164. -moz-transition: all 0.5s ease-in-out 0.5s;
  165. -o-transition: all 0.5s ease-in-out 0.5s;
  166. transition: all 0.5s ease-in-out 0.5s;
  167. }
  168. .header {
  169. padding:5px 0 0 0;
  170. z-index:9;
  171. text-align:left;
  172. width:100%;
  173. z-index:99999999999;
  174. /**/
  175. {block:IfFixedHeader}
  176. position:fixed;
  177. top:0;
  178. {/block:IfFixedHeader}
  179. }
  180. .header br {
  181. display:none;
  182. }
  183. .header h1 {
  184. margin:0 0 5px 15px;
  185. text-align:left;
  186. font-size:50px;
  187. display:inline-block;
  188. font-family: 'Italiana', serif;
  189. }
  190. .header h1 a {
  191. color:{color:Title};
  192. }
  193. .header p {
  194. display:inline-block;
  195. margin-left:20px;
  196. color:{color:Title};
  197. }
  198. ul.navlinks {
  199. list-style-type:none;
  200. width:calc(100% - 50px);
  201. background:{color:Link Bar};
  202. height:30px;
  203. line-height:30px;
  204. padding:5px 10px 5px 40px;
  205. color:#fff;
  206. font-size:14px;
  207. margin:0;
  208.  
  209. }
  210. ul.navlinks li {
  211. display:inline-block;
  212. margin-right:10px;
  213. }
  214. ul.navlinks li:after {
  215. content:'|';
  216. margin-left:15px;
  217. color:{color:Navlinks};
  218. }
  219. ul.navlinks li:last-child:after {
  220. content:'';
  221. }
  222. ul.navlinks li a {
  223. color:{color:Navlinks};
  224. }
  225. .content {
  226. margin-left:auto;
  227. margin-right:auto;
  228. {block:IndexPage}
  229. margin-top:10px;
  230. width: 1200px;
  231. {/block:IndexPage}
  232. {block:PermalinkPage}
  233. margin-top:30px;
  234. width:1104px;
  235. margin-bottom:30px;
  236. {/block:PermalinkPage}
  237. /**/
  238. {block:IfFixedHeader}
  239. margin-top:120px;
  240. {/block:IfFixedHeader}
  241. }
  242. article {
  243. {block:IndexPage}
  244. margin:10px;
  245. width: 250px;
  246. {/block:IndexPage}
  247. padding:15px;
  248. position:relative;
  249. {block:permalinkpage}
  250. width:500px;
  251. margin:10px;
  252. display:inline-block;
  253. vertical-align:top;
  254. {/block:permalinkpage}
  255. background:{color:Posts};
  256. }
  257. .postnotes {
  258. width:500px;
  259. margin:10px;
  260. background:{color:Posts};
  261. padding:0 15px;
  262. position:relative;
  263. display:inline-block;
  264. border-bottom:15px solid {color:Posts};
  265. border-top:15px solid {color:Posts};
  266. }
  267. article h1 {
  268. margin:0;
  269. }
  270. article p {
  271. margin:10px 0;
  272. }
  273. article ul {
  274. padding:0;
  275. margin-left:30px;
  276. }
  277. .photoset {
  278. margin-bottom:-1px;
  279. }
  280. .short h1 {
  281. font-size:2em;
  282. }
  283. .medium h1 {
  284. font-size:1.5em;
  285. }
  286. .long h1 {
  287. font-size:1em;
  288. }
  289. ul.chat-list {
  290. list-style-type:none;
  291. padding:0;
  292. margin:0;
  293. }
  294. ul.chat-list li {
  295. margin:3px 0;
  296. padding:3px 0;
  297. }
  298. span.label {
  299. font-weight:bold;
  300. }
  301. .tumblr_audio_player {
  302. height: 30px;
  303. {block:IndexPage}
  304. width: 250px;
  305. {/block:IndexPage}
  306. {block:PermalinkPage}
  307. width:500px;
  308. {/block:PermalinkPage}
  309. }
  310. .question2 p {
  311. display:inline;
  312. margin:0;
  313. }
  314. ul.permalinks {
  315. color:gray;
  316. list-style-type:none;
  317. padding:0;
  318. margin:10px 0 0 0;
  319. font-size:21px;
  320. font-family:verdana;
  321. padding:0 5px;
  322. text-align:right;
  323. overflow:hidden;
  324. line-height:24px;
  325. height:24px;
  326. }
  327. ul.permalinks li {
  328. border-bottom:0;
  329. margin:0;
  330. padding:0;
  331. display:inline-block;
  332. }
  333. ul.permalinks li a {
  334. {block:IfNotBlackPermalinks}
  335. color:#ccc;
  336. {/block:IfNotBlackPermalinks}
  337. {block:IfBlackPermalinks}
  338. color:#000;
  339. {/block:IfBlackPermalinks}
  340. }
  341. ul.permalinks li:last-child {
  342. position:relative;
  343. top:-2px;
  344. }
  345. .post-image {
  346. overflow:hidden;
  347. }
  348. .post-image ul.permalinks2 {
  349. color:gray;
  350. list-style-type:none;
  351. padding:5px;
  352. margin:14px 14px 0 0;
  353. font-size:21px;
  354. font-family:verdana;
  355. padding:15px;
  356. text-align:right;
  357. overflow:hidden;
  358. line-height:24px;
  359. height:24px;
  360. position:absolute;
  361. top:-12px;
  362. right:-25px;
  363. width:80px;
  364. z-index:9999;
  365. background:rgba(255,255,255,0.7);
  366. opacity:0;
  367. visibility:hidden;
  368. -webkit-transition: all 0.5s ease-in-out;
  369. -moz-transition: all 0.5s ease-in-out;
  370. -o-transition: all 0.5s ease-in-out;
  371. transition: all 0.5s ease-in-out;
  372. }
  373. .post-image:hover ul.permalinks2 {
  374. opacity:1;
  375. visibility:visible;
  376. top:0;
  377. right:0;
  378. -webkit-transition: all 0.5s ease-in-out;
  379. -moz-transition: all 0.5s ease-in-out;
  380. -o-transition: all 0.5s ease-in-out;
  381. transition: all 0.5s ease-in-out;
  382. }
  383. ul.permalinks2 li {
  384. border-bottom:0;
  385. margin:0;
  386. padding:0;
  387. display:inline-block;
  388. }
  389. ul.permalinks2 li a {
  390. color:#000;
  391. }
  392. ul.permalinks2 li:last-child {
  393. position:relative;
  394. top:-2px;
  395. }
  396. .postnotes {
  397. overflow-y:auto;
  398. }
  399. ol.notes {
  400. list-style-type: none;
  401. margin:0 5px 0 0;
  402. padding:0;
  403. }
  404.  
  405. ol.notes li.note {
  406. padding:0;
  407. text-align:left;
  408. line-height:16px;
  409. width:100%;
  410. border:0;
  411. border-radius:0;
  412. background:transparent;
  413. padding-bottom:3px;
  414. padding-top:3px;
  415. }
  416. ol.notes li.note img.avatar {
  417. display:none;
  418. }
  419.  
  420. ol.notes li.note span.action {
  421. font-weight: normal;
  422. }
  423.  
  424. ol.notes li.note .answer_content {
  425. font-weight: normal;
  426. }
  427. .taggy {
  428. font-size:10px;
  429. }
  430. #infscr-loading {
  431. position:absolute;
  432. bottom:-10px;
  433. left:10px;
  434. text-align:left;
  435. color:{color:Link Bar};
  436. }
  437. #infscr-loading img{
  438. display:none;
  439. }
  440. .pagination {
  441. width:100%;
  442. text-align:center;
  443. margin-top:20px;
  444. }
  445. .pagination a {
  446. padding:8px;
  447. background:{color:Posts};
  448. margin:7px;
  449. text-transform:uppercase;
  450. }
  451. </style>
  452. </head>
  453. <body>
  454. <div class="header">
  455. <h1><a href="/">{Title}</a></h1>
  456. {block:Description}<p>{Description}</p>{/block:Description}
  457. <ul class="navlinks">
  458. <li><a href="/">home</a></li>
  459. {block:AskEnabled}
  460. <li><a href="/ask">ask</a></li>
  461. {/block:AskEnabled}
  462. {block:SubmissionsEnabled}
  463. <li><a href="/submit">submit</a></li>
  464. {/block:SubmissionsEnabled}
  465. {block:HasPages}
  466. {block:Pages}
  467. <li><a href="{URL}">{Label}</a></li>
  468. {/block:Pages}
  469. <br>
  470. {/block:HasPages}
  471. {block:IfLink1}
  472. <li><a href="{text:URL 1}">{text:Link 1}</a></li>
  473. {/block:IfLink1}
  474. {block:IfLink2}
  475. <li><a href="{text:URL 2}">{text:Link 2}</a></li>
  476. {/block:IfLink2}
  477. {block:IfLink3}
  478. <li><a href="{text:URL 3}" >{text:Link 3}</a></li>
  479. {/block:IfLink3}
  480. {block:IfLink4}
  481. <li><a href="{text:URL 4}">{text:Link 4}</a></li>
  482. {/block:IfLink4}
  483. {block:IfLink5}
  484. <li><a href="{text:URL 5}">{text:Link 5}</a></li>
  485. {/block:IfLink5}
  486. {block:IfLink6}
  487. <li><a href="{text:URL 6}" >{text:Link 6}</a></li>
  488. {/block:IfLink6}
  489. <li><a href="/archive">archive</a></li>
  490. <li><a href="http://dontbrag.tumblr.com" target="_blank">theme</a></li>
  491. </ul>
  492. </div>
  493. <div class="content">
  494. {block:Posts}
  495. <article>
  496. {block:Text}
  497. <div class="text">
  498. {block:Title}<h1>{Title}</h1>{block:Title}
  499. <p>{Body}</p>
  500. {block:IndexPage}
  501. <ul class="permalinks">
  502. <li>{LikeButton color="black"}</li>
  503. <li>{ReblogButton color="black"}</li>
  504. <li class="linky"><a href="{Permalink}"><i class="fa fa-link"></i></a></li>
  505. </ul>
  506. {/block:IndexPage}
  507. </div>
  508. {/block:Text}
  509.  
  510. {block:Photo}
  511. <div class="photo">
  512. <div class="post-image">
  513. <center><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" /></center>
  514. {block:IndexPage}
  515. <ul class="permalinks2">
  516. <li>{LikeButton color="black"}</li>
  517. <li>{ReblogButton color="black"}</li>
  518. <li class="linky"><a href="{Permalink}"><i class="fa fa-link"></i></a></li>
  519. </ul>
  520. {/block:IndexPage}
  521. </div>
  522. {block:indexpage}
  523. {block:IfCaptions}
  524. {block:Caption}<p>{Caption}</p>{/block:Caption}
  525. {/block:IfCaptions}
  526. {/block:indexpage}
  527. {block:permalinkpage}
  528. {block:Caption}<p>{Caption}</p>{/block:Caption}
  529. {/block:permalinkpage}
  530. </div>
  531. {/block:Photo}
  532.  
  533. {block:Photoset}
  534. <div class="photoset">
  535. {block:indexpage}
  536. <div class="post-image">
  537. {Photoset-250}
  538. <ul class="permalinks2">
  539. <li>{LikeButton color="black"}</li>
  540. <li>{ReblogButton color="black"}</li>
  541. <li class="linky"><a href="{Permalink}"><i class="fa fa-link"></i></a></li>
  542. </ul>
  543. </div>
  544. {block:IfCaptions}
  545. {block:Caption}<p>{Caption}</p>{/block:Caption}
  546. {/block:IfCaptions}
  547. {/block:indexpage}
  548. {block:permalinkpage}
  549. {Photoset-500}
  550. {block:Caption}<p>{Caption}</p>{/block:Caption}
  551. {/block:permalinkpage}
  552. </div>
  553. {/block:Photoset}
  554.  
  555. {block:Quote}
  556. <div class="quote {Length}">
  557. <h1>&ldquo;{Quote}&rdquo;</h1>
  558. {block:Source}<cite>-&nbsp;{Source}</cite>{/block:Source}
  559. {block:IndexPage}
  560. <ul class="permalinks">
  561. <li>{LikeButton color="black"}</li>
  562. <li>{ReblogButton color="black"}</li>
  563. <li class="linky"><a href="{Permalink}"><i class="fa fa-link"></i></a></li>
  564. </ul>
  565. {/block:IndexPage}
  566. </div>
  567. {/block:Quote}
  568.  
  569. {block:Link}
  570. <div class="link">
  571. <h1>&#8627;<a href="{URL}" {Target}>{Name}</a></h1>
  572. {block:Description}<p>{Description}</p>{/block:Description}
  573. </div>
  574. {block:IndexPage}
  575. <ul class="permalinks">
  576. <li>{LikeButton color="black"}</li>
  577. <li>{ReblogButton color="black"}</li>
  578. <li class="linky"><a href="{Permalink}"><i class="fa fa-link"></i></a></li>
  579. </ul>
  580. {/block:IndexPage}
  581. {/block:Link}
  582.  
  583. {block:Chat}
  584. <div class="chat">
  585. {block:Title}<h1>{Title}</h1>{/block:Title}
  586. <ul class="chat-list">
  587. {block:Lines}
  588. <li class="{Alt}">
  589. {block:Label}<span class="label">{Label}</span>{/block:Label}
  590. {Line}</li>
  591. {/block:Lines}
  592. </ul>
  593. {block:IndexPage}
  594. <ul class="permalinks">
  595. <li>{LikeButton color="black"}</li>
  596. <li>{ReblogButton color="black"}</li>
  597. <li class="linky"><a href="{Permalink}"><i class="fa fa-link"></i></a></li>
  598. </ul>
  599. {/block:IndexPage}
  600. </div>
  601. {/block:Chat}
  602.  
  603. {block:Audio}
  604. <div class="audio">
  605. {block:AudioPlayer}{AudioPlayerBlack}{/block:AudioPlayer}
  606. Artist: <span{block:Artist} style="display:none;"
  607. {/block:Artist}>Unknown</span>
  608. {block:Artist}{Artist}{/block:Artist}</br>
  609. Title: <span{block:TrackName} style="display:none;"
  610. {/block:TrackName}>Unknown</span>
  611. {block:TrackName}{TrackName}{/block:TrackName}</br>
  612. Album: <span{block:Album} style="display:none;"
  613. {/block:Album}>Unknown</span>
  614. {block:Album}{Album}{/block:Album}{block:PlayCount}</br>
  615. Plays: {FormattedPlayCount}{/block:PlayCount}
  616. {block:IndexPage}
  617. <ul class="permalinks">
  618. <li>{LikeButton color="black"}</li>
  619. <li>{ReblogButton color="black"}</li>
  620. <li class="linky"><a href="{Permalink}"><i class="fa fa-link"></i></a></li>
  621. </ul>
  622. {/block:IndexPage}
  623. </div>
  624. {/block:Audio}
  625.  
  626. {block:Video}
  627. <div class="video">
  628. {block:indexpage}
  629. {Video-250}
  630. {block:IfCaptions}
  631. {block:Caption}<p>{Caption}</p>{/block:Caption}
  632. {/block:IfCaptions}
  633. {/block:indexpage}
  634. {block:permalinkpage}
  635. {Video-500}
  636. {block:Caption}<p>{Caption}</p>{/block:Caption}
  637. {/block:permalinkpage}
  638. {block:IndexPage}
  639. <ul class="permalinks">
  640. <li>{LikeButton color="black"}</li>
  641. <li>{ReblogButton color="black"}</li>
  642. <li class="linky"><a href="{Permalink}"><i class="fa fa-link"></i></a></li>
  643. </ul>
  644. {/block:IndexPage}
  645. </div>
  646. {block:Video}
  647.  
  648. {block:Answer}
  649. <div class="answer">
  650. <div>{lang:Asker asked 2}: {Question}</div>
  651. {block:Answerer}
  652. <div class="question2">{Answerer} replied: {Answer}</div>
  653. {/block:Answerer}
  654. <p>{Replies}</p>
  655. {block:IndexPage}
  656. <ul class="permalinks">
  657. <li>{LikeButton color="black"}</li>
  658. <li>{ReblogButton color="black"}</li>
  659. <li class="linky"><a href="{Permalink}"><i class="fa fa-link"></i></a></li>
  660. </ul>
  661. {/block:IndexPage}
  662. </div>
  663. {/block:Answer}
  664. {block:indexpage}
  665. <!-- {block:NoRebloggedFrom}
  666. {block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}
  667. {/block:NoRebloggedFrom} -->
  668. {block:ContentSource}<!-- {SourceURL}
  669. {block:SourceLogo}<img src="{BlackLogoURL}"width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}
  670. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  671. {/block:ContentSource}
  672. {/block:IndexPage}
  673. {block:IndexPage}
  674. {block:IfTagsOnIndexPage}
  675. {block:HasTags}<hr style="visibility:hidden;"><div class="taggy">{block:Tags}<a href="{TagURL}">#{Tag}</a>&nbsp;{/block:Tags}</div>{/block:HasTags}
  676. {/block:IfTagsOnIndexPage}
  677. {/block:IndexPage}
  678. {block:PermalinkPage}
  679. {block:HasTags}<div class="taggy">{block:Tags}<a href="{TagURL}">#{Tag}</a>&nbsp;{/block:Tags}</div>{/block:HasTags}
  680. {/block:PermalinkPage}
  681. </article>
  682. {block:PermalinkPage}
  683. {block:PostNotes}
  684. <div id="notes" class="postnotes">
  685. {PostNotes}
  686. </div>
  687. {/block:PostNotes}
  688. {/block:PermalinkPage}
  689. {/block:Posts}
  690. {block:Pagination}
  691. <div class="pagination" {block:IfNotPagination}style="visibility:hidden;height:0;overflow-hidden;"{/block:IfNotPagination}>
  692. {block:PreviousPage}<a class="prev" href="{PreviousPage}">prev.</a>{/block:PreviousPage}
  693. {block:NextPage}<a class="next" href="{NextPage}">next</a>{/block:NextPage}
  694. </div>
  695. {/block:Pagination}
  696. </div>
  697. <div class="credit">
  698. <i class="fa fa-diamond"></i>&nbsp;<a class="mine" target="_blank" href="http://dontbrag.tumblr.com">ByChloeThemes</a>
  699. </div>
  700. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  701. <script src="http://static.tumblr.com/i5s2zks/LsEnr6g57/jquery.matchheight-min.js"></script>
  702. <script>
  703. $(function() {
  704. $('.postnotes').matchHeight({
  705. target: $('article')
  706. });
  707. });
  708. </script>
  709. {block:IndexPage}
  710. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  711. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  712. <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
  713. <!--Code for infinite scroll and grid layout-->
  714. <script>
  715. (function() {
  716. var $tumblelog = $('.content');
  717. {block:IfNotPagination}
  718. $tumblelog.infinitescroll({
  719. navSelector : ".pagination",
  720. nextSelector : ".pagination a:first",
  721. itemSelector : "article",
  722. bufferPx : 50,
  723. done : "",
  724. loading: {
  725. finishedMsg: "<p>You've reached the end of the Earth.</p>",
  726. img : "",
  727. msg: null,
  728. msgText: "<p><i class='fa fa-spinner fa-pulse fa-3x'></i></p>"
  729. },
  730. },
  731. function( newElements ) {
  732. var $newElems = $( newElements ).css({ opacity: 0 });
  733. $newElems.imagesLoaded(function(){
  734. $newElems.animate({ opacity: 1 });
  735. $tumblelog.masonry( 'appended', $newElems);
  736. });
  737. }
  738. );
  739. {/block:IfNotPagination}
  740. $tumblelog.imagesLoaded( function(){
  741. $tumblelog.masonry({
  742. columnWidth: function( containerWidth ) {
  743. return containerWidth / 100;
  744. }
  745. });
  746. });
  747. })();
  748. </script>
  749. {/block:IndexPage}
  750. </body>
  751. </html>
Advertisement
Add Comment
Please, Sign In to add comment