bychloethemes

Staircase Theme - by Chloe

Jul 23rd, 2015
734
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.53 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!--
  5. _ _ _
  6. | |__ _ _ ___| |__ | | ___ ___
  7. | '_ \| | | | / __| '_ \| |/ _ \ / _ \
  8. | |_) | |_| | | (__| | | | | (_) | __/
  9. |_.__/ \__, | \___|_| |_|_|\___/ \___|
  10. |___/
  11. Staircase 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. <meta name="select:Header Position" content="botl" title="Bottom Left">
  15. <meta name="select:Header Position" content="topl" title="Top Left">
  16. <meta name="select:Header Position" content="botr" title="Bottom Right">
  17.  
  18. <meta name="if:Other Header" content="0" />
  19. <meta name="if:Archive link" content="1" />
  20. <meta name="if:Pagination" content="1" />
  21. <meta name="if:Captions" content="0" />
  22.  
  23. <meta name="text:IMPORTANT" content="If you have infinite scroll enabled you must se your posts per page to an even number!" />
  24. <meta name="text:Link 1" content="" />
  25. <meta name="text:URL 1" content="" />
  26. <meta name="text:Link 2" content="" />
  27. <meta name="text:URL 2" content="" />
  28. <meta name="text:Link 3" content="" />
  29. <meta name="text:URL 3" content="" />
  30. {block:Description}
  31. <meta name="description" content="{MetaDescription}" />
  32. {/block:Description}
  33. <meta charset="utf-8">
  34. <meta name="viewport" content="initial-scale=1.0, width=device-width" />
  35. <title>{block:TagPage}{Tag} posts | {/block:TagPage} {block:PostSummary}{PostSummary} | {/block:PostSummary}{Title}</title>
  36.  
  37. <link rel="shortcut icon" href="{Favicon}">
  38. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  39. <link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
  40. <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
  41. <meta charset="utf-8">
  42. <style type="text/css">
  43. /*Basic styles*/
  44. body {
  45. background:#fff url('http://static.tumblr.com/c9b44bb34278049f70ef9ecf87df0191/4ff2ano/zAenlg3di/tumblr_static_d8zbrfbohn48o8c4c8cc8sg44.png') repeat;
  46. background-attachment: fixed;
  47. font-family: 'times';
  48. }
  49. #mask {
  50. width:100%;
  51. height:100%;
  52. top:0;
  53. left:0;
  54. bottom:0;
  55. right:0;
  56. position:fixed;
  57. background: url('') no-repeat center center fixed;
  58. -webkit-background-size: cover;
  59. -moz-background-size: cover;
  60. -o-background-size: cover;
  61. background-size: cover;
  62. z-index:-1;
  63. opacity:0.3;
  64. }
  65. iframe, img, embed, object, video {
  66. max-width: 100%;
  67. }
  68. img {
  69. height: auto;
  70. width: auto;
  71. vertical-align:middle;
  72. }
  73. blockquote {
  74. border-left: 1px solid #989898;
  75. margin:0 0 0 10px;
  76. padding: 0 0px 0 5px;
  77. }
  78. cite {
  79. padding: 20px;
  80. }
  81. a {
  82. color:#000;
  83. text-decoration:none;
  84. font-style:italic;
  85. }
  86. a:hover {
  87. text-decoration:underline;
  88. }
  89. a:focus {
  90. outline:none;
  91. }
  92. #content {
  93. {block:IndexPage}
  94. width:800px;
  95. {/block:IndexPage}
  96. {block:PermalinkPage}
  97. width:520px;
  98. {/block:PermalinkPage}
  99. margin-left: auto;
  100. margin-right:auto;
  101. {block:IfPagination}
  102. margin-bottom:40px;
  103. {/block:IfPagination}
  104. }
  105. .header {
  106. text-align:center;
  107. width:500px;
  108. padding-left:50%;
  109. margin-left:-250px;
  110. z-index:9999999;
  111. }
  112. .header ul.navlinks {
  113. padding:0;
  114. list-style-type:none;
  115. }
  116. .header ul.navlinks li {
  117. display:inline-block;
  118. margin:0 2px;
  119. }
  120. .movehead {
  121. position:fixed;
  122. font-size:23px;
  123. text-transform:uppercase;
  124. z-index:99999999;
  125. text-shadow:1px 1px #fff;
  126. }
  127. .botl {
  128. bottom:10px;
  129. left:15px;
  130. }
  131. .topl {
  132. top:10px;
  133. left:15px;
  134. }
  135. .botr {
  136. bottom:10px;
  137. right:15px;
  138. }
  139. .movehead ul.navlinks {
  140. padding:0;
  141. list-style-type:none;
  142. display:inline-block;
  143. margin:0;
  144. }
  145. .movehead ul.navlinks li {
  146. display:inline-block;
  147. margin:0 5px;
  148. }
  149. .movehead ul.navlinks li:first-child {
  150. margin-left:-5px;
  151. }
  152. article {
  153. background: #f6f6f6;
  154. margin-top:20px;
  155. {block:IndexPage}
  156. margin-right:35px;
  157. {/block:IndexPage}
  158. margin-bottom:20px;
  159. {block:IndexPage}
  160. width: 400px;
  161. {/block:IndexPage}
  162. {block:PermalinkPage}
  163. width: 500px;
  164. {/block:PermalinkPage}
  165. padding: 10px;
  166. outline-offset:-10px;
  167. border-radius:0px;
  168. font-size:14px;
  169. box-shadow:2px 2px 3px rgba(0,0,0,0.2);
  170. }
  171. .left {
  172. margin-left:40px;
  173. }
  174. .right {
  175. margin-left:340px;
  176. }
  177. article h1 {
  178. font-weight:bold;
  179. letter-spacing:2.5px;
  180. color: #fff;
  181. text-shadow: 1px 1px 0px #ccc;
  182. margin: 0px;
  183.  
  184. }
  185. article .asker {
  186. border-radius:0px;
  187. float:left;
  188. }
  189. article .whoasked {
  190. margin:0px 5px 0px 0px;
  191. float:left;
  192. background:#ccc;
  193. color:#000;
  194. height:30px;
  195. line-height:30px;
  196. border-radius:0px;
  197. padding:0px 6px;
  198. text-transform:lowercase;
  199. }
  200. article .whoasked a {
  201. color:#000;
  202. }
  203. article .whoasked a:hover {
  204. font-style:italic;
  205. }
  206. article hr {
  207. border:0px solid;
  208. height:1px;
  209. background:#989898;
  210. }
  211. article .question {
  212. line-height:16px;
  213. min-height:30px;
  214. }
  215. .chat ul {
  216. list-style-type:none;
  217. padding:0;
  218. }
  219. .tumblr_audio_player {
  220. height: 30px;
  221. width: 500px;
  222. opacity:0.7;
  223. }
  224. .albumart {
  225. position:absolute;
  226. width:110px;
  227. height:110px;
  228. }
  229.  
  230. .albumart img {
  231. float:left;
  232. margin-left:5px;
  233. width:110px;
  234. height:110px;
  235. }
  236.  
  237. .playbox {
  238. opacity:0.6;
  239. width:30px;
  240. height:30px;
  241. border-radius:15px;
  242. -webkit-border-radius:15px;
  243. -moz-border-radius:15px;
  244. -o-border-radius:15px;
  245. overflow:hidden;
  246. position:absolute;
  247. z-index:2;
  248. margin-left:46px;
  249. margin-top:41px;
  250. }
  251.  
  252. .audioinfo {
  253. margin-top:2px;
  254. line-height:22px;
  255. padding-left:15px;
  256. min-height:110px;
  257. border-left:1px solid #989898;
  258. {block:IndexPage}
  259. margin-left:130px;
  260. {block:IndexPage}
  261. }
  262. .metadata {
  263. padding-top:10px;
  264. font-size:15px;
  265. }
  266. .permas {
  267. position: relative;
  268. display: inline-block;
  269. margin: 2px 2px 0px 2px;
  270. cursor: pointer;
  271. opacity: .2;
  272. filter: alpha(opacity=20);
  273. }
  274. .permas:hover, .permas.active {
  275. opacity: 1; filter: alpha(opacity=100);
  276. }
  277.  
  278. ::-moz-selection {
  279. background: #989898;
  280. color: #fff;
  281. opacity: 0.65;
  282. }
  283.  
  284. ::selection {
  285. background: #989898;
  286. color: #fff;
  287. opacity: 0.65;
  288. }
  289. ul#tags {
  290. list-style-type:none;
  291. padding:0;
  292. margin:10px 0;
  293. }
  294. ul#tags li {
  295. display:inline-block;
  296. margin:5px;
  297. }
  298. ol.notes {
  299. padding: 0px;
  300. list-style-type: none;
  301. }
  302.  
  303. ol.notes li.note {
  304. padding:0;
  305. text-align:left;
  306. line-height:16px;
  307. width:100%;
  308. border:0;
  309. border-radius:0;
  310. background:transparent;
  311. padding-top:5px;
  312.  
  313. }
  314.  
  315. ol.notes li.note img.avatar {
  316. display:none;
  317. }
  318.  
  319. ol.notes li.note span.action {
  320. font-weight: normal;
  321. }
  322.  
  323. ol.notes li.note .answer_content {
  324. font-weight: normal;
  325. }
  326. #infscr-loading {
  327. position:fixed!important;
  328. bottom:0;
  329. width:20px;
  330. left:150px;
  331. z-index:999999999999999;
  332. color:#f00;
  333. }
  334. #infscr-loading img{
  335. display:none;
  336. }
  337. .pagination {
  338. position:fixed;
  339. bottom:10px;
  340. right:15px;
  341. font-size:28px;
  342. word-spacing:5px;
  343. text-shadow:1px 1px #fff;
  344. }
  345. .current_page {
  346. text-decoration:underline;
  347. }
  348. /*Custom CSS*/
  349. {CustomCSS}
  350. </style>
  351. </head>
  352. <body>
  353. <div id="mask"></div>
  354. {block:IfNotOtherHeader}<div class="movehead {select:Header Position}">
  355. <a href="/">{Title}</a>&nbsp;&nbsp;/
  356. <ul class="navlinks">
  357. {block:AskEnabled}
  358. <li>/&nbsp;&nbsp;<a href="/ask">ask</a></li>
  359. {/block:AskEnabled}
  360. {block:SubmissionsEnabled}
  361. <li>/&nbsp;&nbsp;<a href="/submit">submit</a></li>
  362. {/block:SubmissionsEnabled}
  363. {block:HasPages}
  364. {block:Pages}
  365. <li>/&nbsp;&nbsp;<a href="{URL}">{Label}</a></li>
  366. {/block:Pages}
  367. {/block:HasPages}
  368. {block:IfLink1}
  369. <li>/&nbsp;&nbsp;<a href="{text:URL 1}">{text:Link 1}</a></li>
  370. {/block:IfLink1}
  371. {block:IfLink2}
  372. <li>/&nbsp;&nbsp;<a href="{text:URL 2}">{text:Link 2}</a></li>
  373. {/block:IfLink2}
  374. {block:IfLink3}
  375. <li>/&nbsp;&nbsp;<a href="{text:URL 3}">{text:Link 3}</a></li>
  376. {/block:IfLink3}
  377. {block:IfArchiveLink}
  378. <li>/&nbsp;&nbsp;<a href="/archive">past</a></li>
  379. {/block:IfArchiveLink}
  380. <li>/&nbsp;&nbsp;<a href="http://dontbrag.tumblr.com">&copy;</a></li>
  381. </ul></div>
  382. {/block:IfNotOtherHeader}
  383. <div id="content">
  384. {block:IfOtherHeader}<div class="header">
  385. <h1><a href="/">{Title}</a></h1>
  386. <p>{Description}</p>
  387. <ul class="navlinks">
  388. {block:AskEnabled}
  389. <li><a href="/ask">ask</a>&nbsp;&nbsp;.</li>
  390. {/block:AskEnabled}
  391. {block:SubmissionsEnabled}
  392. <li><a href="/submit">submit</a>&nbsp;&nbsp;.</li>
  393. {/block:SubmissionsEnabled}
  394. {block:HasPages}
  395. {block:Pages}
  396. <li><a href="{URL}">{Label}</a>&nbsp;&nbsp;.</li>
  397. {/block:Pages}
  398. {/block:HasPages}
  399. {block:IfLink1}
  400. <li><a href="{text:URL 1}">{text:Link 1}</a>&nbsp;&nbsp;.</li>
  401. {/block:IfLink1}
  402. {block:IfLink2}
  403. <li><a href="{text:URL 2}">{text:Link 2}</a>&nbsp;&nbsp;.</li>
  404. {/block:IfLink2}
  405. {block:IfLink3}
  406. <li><a href="{text:URL 3}">{text:Link 3}</a>&nbsp;&nbsp;.</li>
  407. {/block:IfLink3}
  408. {block:IfArchiveLink}
  409. <li><a href="/archive">past</a>&nbsp;&nbsp;.</li>
  410. {/block:IfArchiveLink}
  411. <li><a href="http://dontbrag.tumblr.com">theme</a></li>
  412. </ul>
  413. </div>
  414. {/block:IfOtherHeader}
  415. {block:Posts}
  416. <article {block:IndexPage}class="{block:Even}right{/block:Even}{block:Odd}left{/block:Odd}"{/block:IndexPage}>
  417. <!--Unique code for each post type-->
  418. {block:Text}
  419. <div class="text">
  420. {block:Title}<h1><a href="{Permalink}">{Title}</a></h1>{/block:Title}
  421. {Body}
  422. {/block:Text}
  423.  
  424. {block:Photo}
  425. <div class="photo">
  426. {block:IndexPage} <a href="{Permalink}">
  427. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" onMouseOver="changeBgImage('{PhotoURL-HighRes}','mask')" /></a>
  428. {block:IfCaptions}
  429. {block:Caption}{Caption}{/block:Caption}
  430. {/block:IfCaptions}
  431. {/block:IndexPage}
  432. {block:PermalinkPage}<img src="{PhotoURL-500}" alt="{PhotoAlt}" onMouseOver="changeBgImage('{PhotoURL-HighRes}','mask')" />
  433. {block:Caption}{Caption}{/block:Caption}
  434. {/block:PermalinkPage}
  435. {/block:Photo}
  436.  
  437.  
  438. {block:Photoset}
  439. <div class="photoset">
  440. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><div class="pxu-photo"><img src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}"></div><a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}" onMouseOver="changeBgImage('{PhotoURL-HighRes}','mask')"></a></div>{/block:Photos}</div>
  441. {block:IndexPage}
  442. {block:IfCaptions}
  443. {block:Caption}{Caption}{/block:Caption}
  444. {/block:IfCaptions}
  445. {/block:IndexPage}
  446. {block:PermalinkPage}
  447. {block:Caption}{Caption}{/block:Caption}
  448. {/block:PermalinkPage}
  449. {/block:Photoset}
  450.  
  451. {block:Quote}
  452. <div class="quote">
  453. <p>&ldquo;{Quote}&rdquo;</p>
  454. {block:Source}<p><cite> &mdash;{Source}</cite></p>{/block:Source}
  455. {/block:Quote}
  456.  
  457. {block:Link}
  458. <div class="link">
  459. <h1><a href="{URL}">{Name}</a></h1>
  460. {block:Description}{Description}{/block:Description}
  461. {/block:Link}
  462.  
  463. {block:Chat}
  464. <div class="chat inner">
  465. <ul>
  466. {block:Lines}<li class="{Alt}"><p>{block:Label}
  467. <u>{Label}</u>{/block:Label} {Line} </p>
  468. </li>{/block:Lines}
  469. </ul>
  470. {/block:Chat}
  471.  
  472. {block:Audio}
  473. <div class="audio">
  474. {block:IndexPage}
  475. {block:AlbumArt}
  476. <div class="albumart">
  477. <a href="{Permalink}"><img src="{AlbumArtURL}" onMouseOver="changeBgImage('{AlbumArtURL}','mask')"></a>
  478. </div>
  479. {/block:AlbumArt}
  480. {block:AudioPlayer}
  481. <div class="playbox">
  482. {AudioPlayerWhite}
  483. </div>
  484. {/block:AudioPlayer}
  485. <div class="audioinfo">
  486. Artist: <span{block:Artist} style="display:none;"
  487. {/block:Artist}>Unknown</span>
  488. {block:Artist}{Artist}{/block:Artist}</br>
  489. Title: <span{block:TrackName} style="display:none;"
  490. {/block:TrackName}>Unknown</span>
  491. {block:TrackName}{TrackName}{/block:TrackName}</br>
  492. Album: <span{block:Album} style="display:none;"
  493. {/block:Album}>Unknown</span>
  494. {block:Album}{Album}{/block:Album}{block:PlayCount}</br>
  495. Plays: {FormattedPlayCount}{/block:PlayCount}
  496. </div>
  497. {/block:IndexPage}
  498. {block:PermalinkPage}
  499. {block:AlbumArt}<img src="{AlbumArtURL}" width="500"
  500. height="500" onMouseOver="changeBgImage('{AlbumArtURL}','mask')" />{/block:AlbumArt}<br>
  501. {AudioPlayerWhite}
  502. Artist: <span{block:Artist} style="display:none;"
  503. {/block:Artist}>Unknown</span>
  504. {block:Artist}{Artist}{/block:Artist} &mdash;
  505. Title: <span{block:TrackName} style="display:none;"
  506. {/block:TrackName}>Unknown</span>
  507. {block:TrackName}{TrackName}{/block:TrackName} &mdash;
  508. Album: <span{block:Album} style="display:none;"
  509. {/block:Album}>Unknown</span>
  510. {block:Album}{Album}{/block:Album}{block:PlayCount} &mdash;
  511. Plays: {FormattedPlayCount}{/block:PlayCount}
  512. {block:Caption}{Caption}{/block:Caption}
  513. {/block:PermalinkPage}
  514. {/block:Audio}
  515.  
  516. {block:Video}
  517. <div class="video">
  518. {block:IndexPage}
  519. <div class="video-player">{Video-400}</div>
  520. {/block:IndexPage}
  521. {block:PermalinkPage}
  522. <div class="video-player">{Video-500}</div>
  523. {block:Caption}{Caption}{/block:Caption}
  524. {/block:permalinkPage}
  525. {/block:Video}
  526.  
  527. {block:Answer}
  528. <div class="answer">
  529. <div class="question">
  530. <img class="asker" src="{AskerPortraitURL-30}">
  531. <span class="whoasked">{Asker}</span>{Question}</div>
  532. <hr>
  533. <div class="reply">
  534. {block:Answerer}{Answerer} replied: {Answer}{/block:Answerer}
  535. {Replies}
  536. <hr>
  537. </div>
  538. {/block:Answer}
  539. {block:PermalinkPage}
  540. <hr>
  541. <footer class="details">
  542. {block:HasTags}
  543. <ul id="tags">
  544. <li>filed under:</li>
  545. {block:Tags}<li> <a href="{TagURL}">#{Tag}</a> </li>{/block:Tags}
  546. </ul>
  547. <hr>
  548. {/block:HasTags}
  549. {block:PostNotes}
  550. <div id="notes">
  551. {PostNotes}
  552. </div>
  553. {/block:PostNotes}
  554. </footer>
  555. <hr>
  556. {/block:PermalinkPage}
  557. <footer class="metadata">
  558. <a href="{Permalink}">{ShortMonth} {DayOfMonth}{DayOfMonthSuffix} @ {12Hour}:{Minutes}{AmPm}</a>
  559. <span style="float:right"><span class="permas reblog">{ReblogButton color="black" size="17"}</span> <span class="permas like">{LikeButton color="black" size="17"}</span></span>
  560. <!--Post footer (tags and notes) on displayed on permalink pages-->
  561. </article>
  562. {/block:Posts}
  563. <!--Close of article-->
  564. </div>
  565. <!--Pagination: previous/next page links-->
  566. {block:Pagination}
  567. <div class="pagination" {block:IfNotPagination}style="visibility:hidden;"{/block:IfNotPagination}>
  568. {block:JumpPagination length="5"}
  569. {block:CurrentPage}
  570. <span class="current_page">{PageNumber}</span>
  571. {/block:CurrentPage}
  572. {block:JumpPage}
  573. <a class="jump_page" href="{URL}">{PageNumber}</a>
  574. {/block:JumpPage}
  575. {/block:JumpPagination}
  576. {block:IfNotPagination}
  577. {block:NextPage}
  578. <a href="{NextPage}">Next</a>
  579. {/block:NextPage}
  580. {/block:IfNotPagination}
  581. </div>
  582. {/block:Pagination}
  583. <!--Links to jQuery library, Masonry, infinite scroll and imagesLoaded-->
  584. <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  585. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  586. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  587. <script>
  588. $(document).ready(function(){
  589. $('.photo-slideshow').pxuPhotoset({
  590. lightbox: true,
  591. rounded: false,
  592. gutter: '10px',
  593. photoset: '.photo-slideshow',
  594. photoWrap: '.photo-data',
  595. photo: '.pxu-photo'
  596. });
  597. });
  598. </script>
  599. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  600. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  601. <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
  602. <!--Code for infinite scroll and grid layout-->
  603. <script>
  604. (function() {
  605. var $tumblelog = $('#content');
  606. $tumblelog.imagesLoaded( function(){
  607. $tumblelog.masonry({
  608. columnWidth: function( containerWidth ) {
  609. return containerWidth / 100;
  610. }
  611. });
  612. });
  613. {block:IfNotPagination}
  614. $tumblelog.infinitescroll({
  615. navSelector : ".pagination",
  616. nextSelector : ".pagination a:first",
  617. itemSelector : "article",
  618. bufferPx : 50,
  619. done : "",
  620. loading: {
  621. finishedMsg: "<p> </p>",
  622. img : "",
  623. msg: null,
  624. msgText: "<p> </p>"
  625. },
  626. },
  627. function( newElements ) {
  628. var $newElems = $( newElements );
  629. $newElems.find('.photo-slideshow').pxuPhotoset({
  630. lightbox: true,
  631. rounded: false,
  632. gutter: '10px',
  633. photoset: '.photo-slideshow',
  634. photoWrap: '.photo-data',
  635. photo: '.pxu-photo'
  636. },
  637. function(){
  638. $tumblelog.masonry();
  639. });
  640. var $newElems = $(newElements).css({
  641. opacity: 0
  642. });
  643. $newElems.imagesLoaded(function(){
  644. $newElems.animate({ opacity: 1, zIndex: 1 });
  645. $tumblelog.masonry( 'appended', $newElems );
  646. });
  647. });
  648. {/block:IfNotPagination}
  649. })();
  650.  
  651. </script>
  652. <script type="text/javascript">
  653. function changeBgImage (image , id) {
  654. document.getElementById(id).style.backgroundImage = 'url('+image+')';
  655. }
  656. </script>
  657. </body>
  658. </html>
Advertisement
Add Comment
Please, Sign In to add comment