Advertisement
kthms

mint theme

Aug 4th, 2015
17,910
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.83 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <!--
  5.  
  6.  
  7.  
  8.  
  9.  
  10. mint @ shythemes
  11.  
  12.  
  13.  
  14.  
  15.  
  16. -->
  17. <title>{Title}</title>
  18. <link rel="alternate" type="application/rss+xml" href="{RSS}"/>
  19. <link rel="shortcut icon" href="{Favicon}"/>
  20. {block:Description}
  21. <meta name="description" content="{MetaDescription}" />
  22. {/block:Description}
  23. <meta name="image:avatar" content=""/>
  24. <meta name="color:background" content="#f6f6f6"/>
  25. <meta name="color:post bg" content="#ffffff"/>
  26. <meta name="color:border" content="#ececec"/>
  27. <meta name="color:text" content="#6a6a6a"/>
  28. <meta name="color:accent" content="#909090"/>
  29. <meta name="color:link hover" content="#c2eadc"/>
  30. <meta name="select:post width" content="300" title="300px"/>
  31. <meta name="select:post width" content="350" title="350px"/>
  32. <meta name="select:post width" content="400" title="400px"/>
  33. <meta name="if:show description" content="1"/>
  34. <meta name="if:show captions" content="1"/>
  35. <meta name="if:show controls" content="1"/>
  36. <meta name="if:show tags" content="1"/>
  37. <meta name="if:infinite scroll" content="1"/>
  38. <meta name="text:tagline" content=""/>
  39. <meta name="text:other font" content=""/>
  40. <meta name="text:font size" content=""/>
  41. <meta name="text:home link" content="home"/>
  42. <meta name="text:archive link" content="archive"/>
  43. <meta name="text:ask link" content="ask"/>
  44. <meta name="text:link 1" content=""/>
  45. <meta name="text:link 1 url" content=""/>
  46. <meta name="text:link 2" content=""/>
  47. <meta name="text:link 2 url" content=""/>
  48. <meta name="text:link 3" content=""/>
  49. <meta name="text:link 3 url" content=""/>
  50. <meta name="text:link 4" content=""/>
  51. <meta name="text:link 4 url" content=""/>
  52. <meta name="text:link 5" content=""/>
  53. <meta name="text:link 5 url" content=""/>
  54. <meta name="text:link 6" content=""/>
  55. <meta name="text:link 6 url" content=""/>
  56.  
  57. <script src="//use.edgefonts.net/pt-sans:n4,i4,n7,i7;inconsolata:n5.js"></script>
  58. <link href="http://static.tumblr.com/fwgzvyf/Wjwnzvwyd/k.css" rel="stylesheet" type="text/css"/>
  59.  
  60. <style type="text/css">
  61.  
  62. /* basic styles */
  63.  
  64. ::-webkit-scrollbar {
  65. width:17px;
  66. height:17px;
  67. }
  68. ::-webkit-scrollbar {
  69. background-color:{color:background};
  70. }
  71. ::-webkit-scrollbar-track {
  72. border:8px solid {color:background};
  73. background-color:{color:border};
  74. }
  75. ::-webkit-scrollbar-thumb {
  76. border:8px solid {color:background};
  77. background-color:{color:accent};
  78. }
  79. body {
  80. font-size:10px;
  81. font-family:pt-sans, 'trebuchet ms', sans-serif;
  82. line-height:17px;
  83. {block:ifOtherFont}
  84. font-family:{text:other font}, sans-serif;
  85. {/block:ifOtherFont}
  86. {block:ifFontSize}
  87. font-size:{text:font size};
  88. {/block:ifFontSize}
  89. -moz-osx-font-smoothing:grayscale;
  90. -webkit-font-smoothing:antialiased;
  91. font-smoothing:antialiased;
  92. color:{color:text};
  93. background-color:{color:background};
  94. }
  95. a {
  96. -webkit-transition:all .3s ease-in-out;
  97. transition:all .3s ease-in-out;
  98. }
  99. blockquote {
  100. padding:5px 0 5px 20px;
  101. margin-left:0;
  102. border-left:1px solid {color:border};
  103. }
  104. pre {
  105. font-family:consolas, inconsolata, monospace;
  106. }
  107. ol {
  108. padding-left:45px;
  109. }
  110. blockquote, ol, ul, p, pre {
  111. margin-top:1em;
  112. margin-bottom:1em;
  113. }
  114.  
  115. /* accents */
  116.  
  117. .accent, ul {
  118. font-size:8px;
  119. letter-spacing:1px;
  120. text-transform:uppercase;
  121. color:{color:accent};
  122. }
  123. .accent a:hover {
  124. color:{color:text};
  125. }
  126. .title {
  127. font-size:15px;
  128. margin:0 0 15px;
  129. color:{color:bold};
  130. }
  131. ol {
  132. padding:0;
  133. list-style-type:none;
  134. }
  135. ol li {
  136. counter-increment:olist;
  137. }
  138. ol li::before {
  139. content:counter(olist, decimal-leading-zero) '.';
  140. margin-right:.5em;
  141. }
  142. ul {
  143. padding:0;
  144. list-style-type:none;
  145. }
  146. ul li {
  147. position:relative;
  148. padding-left:30px;
  149. }
  150. ul li::before {
  151. content:'';
  152. position:absolute;
  153. display:block;
  154. top:6px;
  155. left:0;
  156. width:15px;
  157. height:1px;
  158. border-top:1px solid {color:border};
  159. }
  160.  
  161. /* container */
  162.  
  163. #main {
  164. position:relative;
  165. margin:0 auto;
  166. padding:75px;
  167. width:{select:post width}px;
  168. }
  169.  
  170. /* navigation */
  171.  
  172. aside {
  173. position:fixed;
  174. top:75px;
  175. width:180px;
  176. right:75px;
  177. right:calc(25% - {select:post width}px/4 - 90px);
  178. }
  179. aside #title {
  180. margin:0;
  181. font-size:11px;
  182. letter-spacing:2px;
  183. text-transform:uppercase;
  184. }
  185. aside .top {
  186. padding:0 9px;
  187. margin:0 0 7px;
  188. }
  189. aside .desc {
  190. padding:15px 9px;
  191. border-top:1px solid {color:border};
  192. }
  193. nav ol {
  194. list-style-type:none;
  195. padding:0;
  196. margin:0;
  197. }
  198. nav li {
  199. position:relative;
  200. display:block;
  201. margin:0;
  202. }
  203. nav li:after {
  204. content:'›';
  205. position:absolute;
  206. right:7px;
  207. top:7px;
  208. font-size:12px;
  209. }
  210. nav a {
  211. display:block;
  212. position:relative;
  213. padding:7px 9px;
  214. border-top:1px solid {color:border};
  215. }
  216.  
  217. /* breakpoints */
  218.  
  219. @media screen and (max-width:960px) {
  220. .w300 #main { position:absolute; right:255px; }
  221. .w300 aside { right:75px; }
  222. }
  223. @media screen and (max-width:1010px) {
  224. .w350 #main { position:absolute; right:255px; }
  225. .w350 aside { right:75px; }
  226. }
  227. @media screen and (max-width:1060px) {
  228. .w400 #main { position:absolute; right:255px; }
  229. .w400 aside { right:75px; }
  230. }
  231.  
  232. /* posts */
  233.  
  234. .entry {
  235. position:relative;
  236. margin:75px 0 0;
  237. padding:15px 17px;
  238. -moz-box-sizing:border-box;
  239. box-sizing:border-box;
  240. border-radius:3px;
  241. width:{select:post width}px;
  242. background-color:{color:post bg};
  243. box-shadow:-1px 1px 2px {color:border};
  244. }
  245. .perma .entry {
  246. margin:75px 0 0;
  247. }
  248. .entry:first-of-type {
  249. margin-top:0;
  250. }
  251. .post {
  252. position:relative;
  253. }
  254.  
  255. /* info */
  256.  
  257. .id {
  258. position:absolute;
  259. left:-60px;
  260. top:0;
  261. display:block;
  262. width:45px;
  263. height:45px;
  264. border-radius:3px;
  265. background-color:{color:post bg};
  266. background-image:url('{block:ifAvatarImage}{image:avatar}{/block:ifAvatarImage}{block:ifNotAvatarImage}{PortraitURL-128}{/block:ifNotAvatarImage}');
  267. background-size:cover;
  268. background-position:center;
  269. box-shadow:-1px 1px 2px {color:border};
  270. }
  271. .user {
  272. margin:0 0 15px;
  273. }
  274. .fold {
  275. position:absolute;
  276. display:block;
  277. top:0;
  278. right:0;
  279. border-radius:0 0 0 3px;
  280. border-top:0 solid {color:background};
  281. border-right:0 solid {color:background};
  282. border-bottom:0 solid {color:border};
  283. border-left:0 solid {color:border};
  284. }
  285. .entry:hover .fold {
  286. border-width:7px;
  287. }
  288. .info, .tags {
  289. position:relative;
  290. overflow:hidden;
  291. margin:15px 0 0;
  292. }
  293. .like_button,
  294. .reblog_button {
  295. float:right;
  296. line-height:0;
  297. margin-left:7px;
  298. -webkit-transform:scale(.75,.75);
  299. transform:scale(.75,.75);
  300. }
  301. .tags {
  302. {block:IndexPage}{block:ifNotShowTags}display:none;{/block:ifNotShowTags}{/block:IndexPage}
  303. }
  304. .tags .comma {
  305. font-style:inherit;
  306. margin-right:3px;
  307. }
  308. .tags .comma:last-of-type {
  309. display:none;
  310. }
  311.  
  312. /* post titles */
  313.  
  314. .quote.long {
  315. font-size:inherit;
  316. }
  317. .quote * {
  318. margin:0;
  319. }
  320. .question {
  321. position:relative;
  322. margin:0 45px 15px 0;
  323. padding:10px 12px;
  324. border-radius:3px;
  325. border:1px solid rgba({RGBcolor:border},.67);
  326. background-color:rgba({RGBcolor:border},.33);
  327. }
  328. .question p {
  329. margin:0 0 7px;
  330. }
  331. .question .sender {
  332. position:absolute;
  333. top:0;
  334. left:100%;
  335. margin-left:15px;
  336. width:30px;
  337. }
  338. .question .sender img {
  339. display:block;
  340. width:30px;
  341. height:30px;
  342. border-radius:3px;
  343. }
  344. .question:after {
  345. content:'';
  346. display:block;
  347. position:absolute;
  348. top:10px;
  349. left:100%;
  350. margin-left:-4px;
  351. transform:rotate(45deg);
  352. border:4px solid rgba({RGBcolor:border},.33);
  353. box-shadow:1px -1px 0 rgba({RGBcolor:border},.67);
  354. background-color:{color:post bg};
  355. }
  356.  
  357. /* text and captions */
  358.  
  359. .text {
  360. margin:0;
  361. }
  362. .text a {
  363. padding-bottom:1px;
  364. border-bottom:1px solid {color:border};
  365. }
  366. .text a:hover {
  367. border-color:{color:link hover};
  368. }
  369. .caption,
  370. .source,
  371. .answer {
  372. margin-top:15px;
  373. }
  374. .caption {
  375. {block:IndexPage}{block:ifNotShowCaptions}display:none;{/block:ifNotShowCaptions}{/block:IndexPage}
  376. }
  377.  
  378. /* chat posts */
  379.  
  380. .chat {
  381. margin-bottom:-7px;
  382. }
  383. .chat .lines {
  384. margin-bottom:7px;
  385. }
  386. .chat .label {
  387. margin-right:7px;
  388. }
  389.  
  390. /* audio posts */
  391.  
  392. .audiowrap {
  393. position:relative;
  394. height:60px;
  395. margin:0 -17px;
  396. overflow:hidden;
  397. border-top:1px solid rgba({RGBcolor:border},.67);
  398. border-bottom:1px solid rgba({RGBcolor:border},.67);
  399. background-color:rgba({RGBcolor:border},.33);
  400. }
  401. .albumart {
  402. position:absolute;
  403. top:0;
  404. right:0;
  405. z-index:1;
  406. display:block;
  407. width:60px;
  408. height:60px;
  409. opacity:.9;
  410. background-size:cover;
  411. }
  412. .audio {
  413. position:absolute;
  414. display:inline-block;
  415. left:0;
  416. top:0;
  417. right:0;
  418. bottom:0;
  419. text-align:left;
  420. line-height:60px;
  421. }
  422. .audio .player {
  423. width:27px;
  424. height:27px;
  425. left:16px;
  426. top:16px;
  427. opacity:.9;
  428. line-height:0;
  429. overflow:hidden;
  430. position:absolute;
  431. }
  432. .audio .track {
  433. overflow:hidden;
  434. line-height:15px;
  435. margin-left:60px;
  436. width: calc(100% - 60px);
  437. display:inline-block;
  438. vertical-align:middle;
  439. }
  440. .audio .track span {
  441. display:block;
  442. max-height:15px;
  443. white-space:nowrap;
  444. overflow:hidden;
  445. text-overflow:ellipsis;
  446. margin-right:75px;
  447. }
  448. .audio .track span:first-child {
  449. color:{color:text};
  450. }
  451.  
  452. /* photos and videos */
  453.  
  454. .media {
  455. overflow:hidden;
  456. margin:0 -17px;
  457. }
  458. .video iframe {
  459. display:block;
  460. }
  461. .tumblr_video_container {
  462. width:auto!important;
  463. height:auto!important;
  464. }
  465.  
  466. /* pagination */
  467.  
  468. .pagination {
  469. margin:0 -2px;
  470. padding:75px 2px 2px 2px;
  471. position:relative;
  472. overflow:hidden;
  473. {block:ifInfiniteScroll}display:none;{/block:ifInfiniteScroll}
  474. }
  475. .pagination a {
  476. padding:10px 12px;
  477. border-radius:3px;
  478. display:inline-block;
  479. position:relative;
  480. background-color:{color:post bg};
  481. box-shadow:-1px 1px 2px {color:border};
  482. }
  483. .pagination .next {
  484. float:right;
  485. color:{color:text};
  486. }
  487. .pagination .back {
  488. color:{color:accent};
  489. }
  490. .pagination .next:after {
  491. content:' ›';
  492. font-size:12px;
  493. line-height:18px;
  494. }
  495. .pagination .back:before {
  496. content:'‹ ';
  497. font-size:12px;
  498. line-height:18px;
  499. }
  500.  
  501. /* post notes */
  502.  
  503. .rb {
  504. float:right;
  505. }
  506. .notes li blockquote {
  507. margin-bottom:1em!important;
  508. }
  509.  
  510. /* etc */
  511.  
  512. #theme {
  513. margin-bottom:1px;
  514. background-color:{color:post bg};
  515. color:{color:accent};
  516. }
  517. #tumblr_lightbox, .tmblr-lightbox {
  518. background-color:rgba({RGBcolor:post bg},.98)!important;
  519. }
  520. </style>
  521. <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  522. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  523. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  524. <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
  525. <script>
  526. $(document).ready(function(){
  527. $('.photo-slideshow').pxuPhotoset({
  528. lightbox: true,
  529. rounded: false,
  530. gutter: '4px',
  531. photoset: '.photo-slideshow',
  532. photoWrap: '.photo-data',
  533. photo: '.pxu-photo'
  534. });
  535. });
  536. </script>
  537. </head>
  538. <body class="w{select:post width}">
  539. <div id="main">
  540. <aside>
  541. <section class="top">
  542. <a href="/" id="title">{Title}</a>
  543. <div class="tagline accent">{text:tagline}</div>
  544. </section>
  545. {block:ifShowDescription}<div class="desc">{Description}</div>{/block:ifShowDescription}
  546. <nav class="accent"><!-- navigation -->{block:ifHomeLink}<li><a href="/">{text:home link}</a></li>{/block:ifHomeLink}{block:ifArchiveLink}<li><a href="/archive">{text:archive link}</a></li>{/block:ifArchiveLink}{block:ifAskLink}<li><a href="/ask">{text:ask link}</a></li>{/block:ifAskLink}{block:HasPages}{block:Pages}<li><a href="{URL}">{Label}</a></li>{/block:Pages}{/block:HasPages}{block:ifLink1}<li><a href="{text:link 1 url}">{text:link 1}</a></li>{/block:ifLink1}{block:ifLink2}<li><a href="{text:link 2 url}">{text:link 2}</a></li>{/block:ifLink2}{block:ifLink3}<li><a href="{text:link 3 url}">{text:link 3}</a></li>{/block:ifLink3}{block:ifLink4}<li><a href="{text:link 4 url}">{text:link 4}</a></li>{/block:ifLink4}{block:ifLink5}<li><a href="{text:link 5 url}">{text:link 5}</a></li>{/block:ifLink5}{block:ifLink6}<li><a href="{text:link 6 url}">{text:link 6}</a></li>{/block:ifLink6}</nav>
  547. </aside>
  548. <div id="content"><!-- posts -->
  549. {block:Posts}
  550. <article class="entry" id="{PostID}">
  551. {block:Date}
  552. <a href="{Permalink}" class="id"></a>
  553. <div class="user accent"><a href="{Permalink}">{DayOfWeek}</a></div>
  554. <a href="{Permalink}" class="fold"></a>
  555. {/block:Date}
  556. <section class="post">
  557. {block:Answer}<!-- answer --><div class="question"><p class="accent">{Asker}:</p>{Question}<i class="sender"><img src="{AskerPortraitURL-128}"/></i></div><div class="answer text">{Answer}</div>{/block:Answer}{block:Audio}<!-- audio --><div class="audiowrap"><div class="albumart" style="{block:AlbumArt}background-image:url({AlbumArtURL});{/block:AlbumArt}"></div><div class="audio accent block">{block:AudioPlayer}<div class="player">{AudioPlayerWhite}</div>{/block:AudioPlayer}<div class="track">{block:TrackName}<span>{TrackName}</span>{/block:TrackName}{block:Artist}<span>{Artist}</span>{/block:Artist}</div></div></div>{/block:Audio}{block:Chat}<!-- chat -->{block:Title}<h1 class="title">{Title}</h1>{/block:Title}<pre class="chat text">{block:Lines}<div class="lines">{block:Label}<span class="label">{Label}</span>{/block:Label}{Line}</div>{/block:Lines}</pre>{/block:Chat}{block:Link}<!-- link --><h1 class="title"><a href="{URL}">{Name}</a></h1>{block:Description}<div class="text">{Description}</div>{/block:Description}{/block:Link}{block:Photo}<!-- photo --><div class="media">{LinkOpenTag}<img src="{block:IndexPage}{PhotoURL-500}{/block:IndexPage}{block:PermalinkPage}{PhotoURL-HighRes}{/block:PermalinkPage}"/>{LinkCloseTag}</div>{/block:Photo}{block:Photoset}<!-- photoset --><div class="media"><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}"></a></div>{/block:Photos}</div></div>{/block:Photoset}{block:Quote}<!-- quote --><div class="quote title {Length}">{Quote}</div>{block:Source}<div class="source text">{Source}</div>{/block:Source}{/block:Quote}{block:Text}<!-- text -->{block:Title}<h1 class="title">{Title}</h1>{/block:Title}<div class="text">{Body}</div>{/block:Text}{block:Video}<!-- video --><div class="media video">{Video-500}</div>{/block:Video}
  558. {block:Caption}<!-- caption --><div class="caption text">{Caption}</div>{/block:Caption}
  559. </section>
  560. {block:HasTags}{block:ifShowTags}<!-- tags --><div class="tags accent">{block:Tags}<a href="{TagURL}">#{Tag}</a><i class="comma">&nbsp; </i>{/block:Tags}</div>{/block:ifShowTags}{/block:HasTags}
  561. {block:Date}<!-- date --><div class="info accent"><a href="{Permalink}">{block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}</a>{block:IndexPage}{block:ifshowcontrols}{LikeButton color="grey" size="14"}{ReblogButton color="grey" size="15"}{/block:ifshowcontrols}{/block:IndexPage}</div>{/block:Date}
  562. </article>
  563. {block:PostNotes}<!-- post notes --><article id="notes" class="entry"><section class="post">{block:RebloggedFrom}<span class="rb accent"><a href="{ReblogParentURL}" class="rf">via {ReblogParentName}</a>{block:ContentSource} / <a href="{ReblogRootURL}" class="src">source</a>{/block:ContentSource}</span>{/block:RebloggedFrom}<h1 class="title">{NoteCountWithLabel}</h1><div class="accent text">{PostNotes}</div></section></article>{/block:PostNotes}
  564. {/block:Posts}
  565. <!-- {block:ContentSource}{SourceURL} {/block:ContentSource}{block:RebloggedFrom}{ReblogRootURL} {ReblogParentURL}{/block:RebloggedFrom} -->
  566. </div><!-- end #content -->
  567. {block:Pagination}<!-- pagination --><div class="pagination accent">{block:PreviousPage}<a class="back" href="{PreviousPage}">{lang:Back}</a>{/block:PreviousPage}{block:NextPage}<a class="next" href="{NextPage}">next</a>{/block:NextPage}</div>{/block:Pagination}
  568. </div><!-- end #main -->
  569. <a href="http://shythemes.tumblr.com" id="theme" class="accent" title="theme">k.</a>
  570. {block:IndexPage}{block:ifInfiniteScroll}<script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  571. <script>
  572. $(document).ready(function(){
  573. var $container = $('#content');
  574. $container.infinitescroll({
  575. itemSelector: '.entry',
  576. navSelector: '.pagination',
  577. nextSelector: '.next',
  578. loadingImg: '',
  579. loadingText: '<em></em>',
  580. bufferPx: 2000
  581. },
  582. function( newElements ) {
  583. var $newElems = $( newElements );
  584. var $newElemsIDs = $newElems.map(function () {
  585. return this.id;
  586. }).get();
  587. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  588. $newElems.find('.photo-slideshow').pxuPhotoset({
  589. lightbox: true,
  590. rounded: false,
  591. gutter: '4px',
  592. photoset: '.photo-slideshow',
  593. photoWrap: '.photo-data',
  594. photo: '.pxu-photo'
  595. });
  596. resizeVideos();
  597. });
  598.  
  599. });
  600. </script>
  601. {/block:ifInfiniteScroll}{/block:IndexPage}
  602. </body>
  603. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement