Advertisement
kthms

summer theme

Jun 25th, 2018
24,410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.96 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html xmlns="https://www.w3.org/1999/xhtml">
  3. <head>
  4. <!----------------------------------------------------------------------
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12. summer @ shythemes
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. Please read this before sending me questions:
  21.  
  22. 1. You do not need to change anything in the code. Every option you see in the previews can be toggled in the theme options (update your preview, then click the arrow in the top left corner to view them).
  23.  
  24. 2. In order to make this theme work for all screen sizes, I inserted a breakpoint at 900px. This means that, as long as the screen width is less than 900px, the header will appear, regardless of whether you have the header option selected. If you do not have the header option selected, then the sidebars will show up only when the screen is wide enough.
  25.  
  26. Thanks for reading :)
  27.  
  28. ----------------------------------------------------------------------->
  29. <title>{Title}</title>
  30. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  31. <link rel="shortcut icon" href="{Favicon}">
  32. {block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
  33. <meta name="viewport" content="width=device-width, initial-scale=1">
  34.  
  35. <!-- meta tags -------------------------------------------------------->
  36.  
  37. <meta name="image:sidebar" content="">
  38. <meta name="color:background" content="#ffffff">
  39. <meta name="color:text" content="#555555">
  40. <meta name="color:link" content="#feafbf">
  41. <meta name="color:link hover" content="#b7d3df">
  42. <meta name="color:accent" content="#999999">
  43. <meta name="select:font" content="ABeeZee" title="ABeeZee">
  44. <meta name="select:font" content="Georgia" title="Georgia">
  45. <meta name="select:font" content="Lato" title="Lato">
  46. <meta name="select:font" content="Lora" title="Lora">
  47. <meta name="select:font size" content="10px" title="10px">
  48. <meta name="select:font size" content="11px" title="11px">
  49. <meta name="select:font size" content="12px" title="12px">
  50. <meta name="select:font size" content="13px" title="13px">
  51. <meta name="select:font size" content="14px" title="14px">
  52. <meta name="select:font size" content="15px" title="15px">
  53. <meta name="select:font size" content="16px" title="16px">
  54. <meta name="select:post width" content="" title="proportional">
  55. <meta name="select:post width" content="400px" title="400px">
  56. <meta name="select:post width" content="500px" title="500px">
  57. <meta name="select:post width" content="540px" title="540px">
  58. <meta name="select:post width" content="600px" title="600px">
  59. <meta name="select:post width" content="700px" title="700px">
  60. <meta name="if:sidebar" content="">
  61. <meta name="if:center text" content="">
  62. <meta name="if:lowercase text" content="">
  63. <meta name="if:link borders" content="">
  64. <meta name="if:show avatar" content="">
  65. <meta name="if:show captions" content="">
  66. <meta name="if:show tags" content="">
  67. <meta name="if:infinite scroll" content="">
  68. <meta name="text:home link" content="">
  69. <meta name="text:archive link" content="">
  70. <meta name="text:ask link" content="contact">
  71. <meta name="text:link 1" content="">
  72. <meta name="text:link 1 url" content="">
  73. <meta name="text:link 2" content="">
  74. <meta name="text:link 2 url" content="">
  75. <meta name="text:link 3" content="">
  76. <meta name="text:link 3 url" content="">
  77. <meta name="text:link 4" content="">
  78. <meta name="text:link 4 url" content="">
  79. <meta name="text:link 5" content="">
  80. <meta name="text:link 5 url" content="">
  81. <meta name="text:link 6" content="">
  82. <meta name="text:link 6 url" content="">
  83.  
  84. <link href="https://fonts.googleapis.com/css?family={select:font}:400,400italic,700,700italic" rel="stylesheet"> <!-- |Lato:400,400italic,700,700italic -->
  85.  
  86. <!-- css -------------------------------------------------------------->
  87.  
  88. <style type="text/css">
  89.  
  90. /* typography ------------------------------------------------------- */
  91.  
  92. body {
  93. margin:0;
  94. font-size:{select:font size};
  95. font-family:'{select:font}', arial, sans-serif;
  96. letter-spacing:0.08em;
  97. word-spacing:0.08em;
  98. line-height:2em;
  99. word-break:break-word;
  100. {block:ifLowercaseText}text-transform:lowercase;{/block:ifLowercaseText}
  101. -moz-osx-font-smoothing:grayscale;
  102. -webkit-font-smoothing:antialiased;
  103. font-smoothing:antialiased;
  104. color:{color:text};
  105. background:{color:background};
  106. }
  107. a {
  108. color:inherit;
  109. text-decoration:none;
  110. transition:all 0.1s linear;
  111. -webkit-transition:all 0.1s linear;
  112. }
  113. small, sub {
  114. font-size:1em;
  115. vertical-align:baseline;
  116. }
  117. b, strong {
  118.  
  119. }
  120. blockquote, ol, ul, p, pre, figure {
  121. margin:1.8em 0;
  122. }
  123. h1, h2, h3, h4, h5, h6 {
  124. margin:0 0 1em;
  125. font-size:1em;
  126. font-weight:inherit;
  127. }
  128. img {
  129. border:0;
  130. max-width:100%;
  131. height:auto;
  132. }
  133. pre {
  134. white-space:normal;
  135. }
  136. h1 {
  137. margin:0 0 1em;
  138. color:#000000;
  139. }
  140. ol {
  141. counter-reset:list;
  142. list-style:none;
  143. padding:0;
  144. }
  145. ol li {
  146. position:relative;
  147. padding-left:3em;
  148. counter-increment:list;
  149. }
  150. ol li:before {
  151. content:counter(list) '.';
  152. position:absolute;
  153. margin-left:-3em;
  154. }
  155. hr,
  156. .tumblr_parent:not(:first-of-type):before {
  157. content:'';
  158. display:block;
  159. margin:1.5em 0;
  160. border:0;
  161. height:1px;
  162. width:100%;
  163. -moz-box-sizing:border-box;
  164. box-sizing:border-box;
  165. background-color:#dfdfdf;
  166. }
  167. .tumblr_parent blockquote {
  168. {block:ifNotCenterText}
  169. padding:0 0 0 2em;
  170. border-left:1px dotted #bbbbbb;
  171. {/block:ifNotCenterText}
  172. }
  173. .text a:not(.tumblr_blog), h1.blog.title a, .desc a {
  174. color:{color:link}!important;
  175. {block:ifLinkBorders}border-bottom:1px dotted;{/block:ifLinkBorders}
  176. }
  177. .text a:hover, h1.blog.title a:hover, .desc a:hover, nav a:hover, .date a:hover, .tags a:hover {
  178. color:{color:link hover}!important;
  179. border-color:{color:link hover};
  180. }
  181. .title {
  182. font-size:1.8em;
  183. line-height:1.5em;
  184. margin-bottom:1em;
  185. letter-spacing:0.06em;
  186. word-spacing:0.06em;
  187. }
  188. .accent, .baby, .tumblr_parent .tumblr_blog, nav a {
  189. color:{color:accent};
  190. }
  191.  
  192. /* layout ----------------------------------------------------------- */
  193.  
  194. .main {
  195. {block:ifCenterText}text-align:center;{/block:ifCenterText}
  196. margin:200px auto;
  197. width:500px;
  198. width:50em;
  199. width:{select:post width};
  200. max-width:calc(100vw - 50px);
  201. }
  202. aside {
  203.  
  204. }
  205. aside section:not(:first-child) {
  206. margin-top:1.8em;
  207. }
  208. aside nav li {
  209. display:inline-block;
  210. margin:0 1.5em 1.5em 0;
  211. {block:ifCenterText}margin:0 1.5em 1.5em;{/block:ifCenterText}
  212. }
  213.  
  214. aside h1.blog.title {
  215. font-size:2em;
  216. {block:ifCenterText}padding-left:.1em;{/block:ifCenterText}
  217. margin-bottom:0;
  218. color:{color:link hover};
  219. }
  220. aside .avatar {
  221. display:inline-block;
  222. width:30px;
  223. border-radius:4px;
  224. overflow:hidden;
  225. }
  226. aside .avatar img {
  227. display:block;
  228. }
  229. aside .side {
  230. display:none;
  231. }
  232. .content {
  233. margin:200px 0 0;
  234. }
  235. .entry {
  236. position:relative;
  237. margin:0 0 200px;
  238. }
  239. .entry:last-child {
  240. margin-bottom:0;
  241. }
  242. .pagination {
  243. overflow:hidden;
  244. text-align:left;
  245. }
  246. .pagination .next {
  247. float:right;
  248. }
  249.  
  250. {block:ifSidebar}
  251. /* sidebar version -------------------------------------------------- */
  252.  
  253. @media screen and (min-width:900px) {
  254. aside.l {
  255. position:fixed;
  256. width:200px;
  257. margin-left:-300px;
  258. }
  259. aside.r {
  260. position:fixed;
  261. width:300px;
  262. margin-left:calc(100% + 50px);
  263. text-align:left;
  264. }
  265. aside nav {
  266. margin:0;
  267. }
  268. aside .side {
  269. display:block;
  270. margin:0 auto 2em;
  271. }
  272. }
  273. {/block:ifSidebar}
  274.  
  275. /* posts ------------------------------------------------------------ */
  276.  
  277. .post {
  278.  
  279. }
  280. .date {
  281. margin:1.8em 0 0;
  282. }
  283. .date > a {
  284. margin:0 1em 0 0;
  285. }
  286. .date > a:last-of-type {
  287. margin:0 2.9em 0 0;
  288. }
  289. .like-b {
  290. position:relative;
  291. }
  292. .like-b .b {
  293. position:relative;
  294. }
  295. .like_button {
  296. position:absolute;
  297. top:0;
  298. left:0;
  299. width:100%;
  300. height:100%;
  301. overflow:hidden;
  302. }
  303. .like-b .like_button iframe {
  304. position:absolute;
  305. top:0;
  306. left:0;
  307. bottom:0;
  308. right:0;
  309. z-index:2;
  310. opacity:0;
  311. width:100%;
  312. }
  313. .like-b .liked + .b {
  314. color:inherit;
  315. }
  316. .like-b .liked + .b:after {
  317. content:'d';
  318. }
  319. .tags {
  320. margin:1.8em 0 0;
  321. font-style:italic;
  322. {block:IndexPage}{block:ifNotShowTags}display:none;{/block:ifNotShowTags}{/block:IndexPage}
  323. }
  324. .tags .comma {
  325. margin:0 0 0 .6em;
  326. }
  327. .tags .comma:last-of-type {
  328. display:none;
  329. }
  330. .caption {
  331. {block:IndexPage}{block:ifNotShowCaptions}display:none;{/block:ifNotShowCaptions}{/block:IndexPage}
  332. }
  333. .chat, .chat li {
  334. padding:0;
  335. list-style-type:none;
  336. }
  337. .post .media {
  338. position:relative;
  339. }
  340. .sender {
  341. text-transform:lowercase;
  342. }
  343. .audiowrap {
  344. position:relative;
  345. height:27px;
  346. overflow:hidden;
  347. background-color:#f8f8f8;
  348. padding:2em;
  349. margin-bottom:2.5em;
  350. }
  351. .audio {
  352. position:absolute;
  353. display:inline-block;
  354. left:2em;
  355. top:2em;
  356. right:2em;
  357. bottom:2em;
  358. text-align:left;
  359. line-height:27px;
  360. }
  361. .audio .player {
  362. width:27px;
  363. height:27px;
  364. left:0;
  365. top:0;
  366. opacity:.5;
  367. line-height:0;
  368. overflow:hidden;
  369. position:absolute;
  370. }
  371. .audio .track {
  372. overflow:hidden;
  373. line-height:15px;
  374. margin-left:41px;
  375. width:calc(100% - 41px);
  376. display:inline-block;
  377. vertical-align:middle;
  378. }
  379. .audio .track .h {
  380. display:block;
  381. max-height:15px;
  382. white-space:nowrap;
  383. overflow:hidden;
  384. text-overflow:ellipsis;
  385. margin-right:15px;
  386. }
  387.  
  388. /* svgs ------------------------------------------------------------- */
  389.  
  390. .notecount,
  391. .like-b,
  392. .reblog-b {
  393. position:relative;
  394. padding-left:2.6em;
  395. }
  396. .notecount:before,
  397. .like-b:before,
  398. .reblog-b:before {
  399. position:absolute;
  400. overflow:auto;
  401. display:block;
  402. }
  403. .notecount:before {
  404. content:url(data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0A%09%20viewBox%3D%220%200%20216%20216%22%20enable-background%3D%22new%200%200%20216%20216%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20d%3D%22M198%2C106c0%2C3.3-2.7%2C6-6%2C6h-20.8c-2%2C0-3.9-1-5-2.7L153%2C88.9l-15.8%2C84.4c-0.5%2C2.8-3%2C4.7-5.8%2C4.7c0%2C0%2C0%2C0-0.1%2C0%0A%09c-2.8%2C0-5.3-1.8-5.9-4.6L101.8%2C60.2l-14.9%2C77.4c-0.5%2C2.7-2.7%2C4.7-5.4%2C4.9c-2.7%2C0.2-5.2-1.4-6.1-4L54.7%2C79.9l-10.2%2C28.1%0A%09c-0.9%2C2.4-3.1%2C3.9-5.6%2C3.9H18c-3.3%2C0-6-2.7-6-6s2.7-6%2C6-6h16.6l14.5-40c0.9-2.4%2C3.1-4%2C5.6-4c0%2C0%2C0%2C0%2C0%2C0c2.5%2C0%2C4.8%2C1.7%2C5.6%2C4.1%0A%09l18.9%2C53.6l16.4-84.9c0.5-2.8%2C3-4.7%2C5.8-4.7c0%2C0%2C0%2C0%2C0%2C0c2.8%2C0%2C5.3%2C1.9%2C5.9%2C4.6l23.5%2C112.8l13-69.6c0.5-2.4%2C2.3-4.3%2C4.7-4.8%0A%09c2.4-0.5%2C4.9%2C0.6%2C6.2%2C2.6l19.6%2C30.3H192C195.3%2C100%2C198%2C102.7%2C198%2C106z%22%20fill%3D%22{color:accent}%22%2F%3E%0A%3C%2Fsvg%3E);
  405. width:1.2em;
  406. left:0em;
  407. top:-.15em;
  408. }
  409. .like-b:before {
  410. content:url(data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0A%09%20viewBox%3D%220%200%20216%20216%22%20enable-background%3D%22new%200%200%20216%20216%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20d%3D%22M148%2C37.8c-3.9%2C0-7.5%2C0.6-10.8%2C1.9c-15.1%2C5.7-24.6%2C17.8-29.8%2C26.7c-6-8.6-16.1-20.5-27.6-24.4c-3.8-1.3-8.1-2-12.3-2%0A%09c-10.7%2C0-20.3%2C4.1-27%2C11.5c-5.7%2C6.2-12%2C18-10%2C38.8c4.1%2C42.6%2C71.5%2C87.1%2C74.3%2C88.9c1%2C0.7%2C2.1%2C1%2C3.3%2C1c1.1%2C0%2C2.3-0.3%2C3.3-1%0A%09c2.7-1.8%2C66.5-43.6%2C73.7-86.1c3.7-21.8-2.7-34.9-8.8-42.1C169.2%2C42.7%2C158.6%2C37.8%2C148%2C37.8z%20M173.1%2C91c-2.6%2C15.2-15.1%2C33.4-36.1%2C52.7%0A%09c-11.9%2C10.9-23.5%2C19.4-29%2C23.2c-5.7-4-17.9-12.9-30.3-24.3C56%2C122.5%2C43.8%2C104%2C42.3%2C89c-1.3-13%2C1.1-23.2%2C6.9-29.6%0A%09c6-6.6%2C13.9-7.6%2C18.1-7.6c3%2C0%2C5.9%2C0.5%2C8.5%2C1.3c11.4%2C3.9%2C23.3%2C21.7%2C26.9%2C28.3c1.1%2C2.1%2C3.4%2C3.3%2C5.7%2C3.1c2.4-0.2%2C4.4-1.7%2C5.2-4%0A%09c0.1-0.2%2C8.2-22.4%2C27.7-29.7c1.9-0.7%2C4.2-1.1%2C6.6-1.1c7.2%2C0%2C14.3%2C3.3%2C19%2C9C173.3%2C66.2%2C175.5%2C77.4%2C173.1%2C91z%22%20fill%3D%22{color:accent}%22%2F%3E%0A%3C%2Fsvg%3E);
  411. width:1.3em;
  412. left:0em;
  413. top:-.15em;
  414. }
  415. .reblog-b:before {
  416. content:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20id%3D%22Capa_1%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%20361.095%20361.095%22%20style%3D%22enable-background%3Anew%200%200%20361.095%20361.095%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Cg%3E%3Cg%3E%3Cpath%20d%3D%22M182.595%2C325.678c-63.183%2C0-120.133-42.217-138.267-102.567c-2.833-9.067-12.183-14.167-21.25-11.333%20%20%20%20c-9.067%2C2.833-14.167%2C12.183-11.333%2C21.25c22.95%2C75.933%2C91.517%2C126.65%2C170.85%2C126.65c98.317%2C0%2C178.5-80.183%2C178.5-178.5%20%20%20%20s-80.183-178.5-178.5-178.5c-55.817%2C0-108.233%2C26.633-141.667%2C69.7l-7.083-56.1c-1.133-9.35-9.633-15.867-18.983-14.733%20%20%20%20C5.511%2C2.678-1.005%2C11.178%2C0.128%2C20.528l13.317%2C103.7c1.133%2C8.5%2C8.5%2C14.733%2C16.717%2C14.733c0.567%2C0%2C1.417%2C0%2C1.983%2C0l102.567-11.617%20%20%20%20c9.35-1.133%2C16.15-9.35%2C15.017-18.7s-9.35-16.15-18.7-15.017l-68.85%2C7.65c26.633-39.95%2C71.683-64.6%2C120.417-64.6%20%20%20%20c79.617%2C0%2C144.5%2C64.883%2C144.5%2C144.5S262.211%2C325.678%2C182.595%2C325.678z%22%20fill%3D%22{color:accent}%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E);
  417. width:.84em;
  418. left:.25em;
  419. top:-.38em;
  420. }
  421.  
  422. /* other ------------------------------------------------------------ */
  423.  
  424. .notes img {
  425. display:none;
  426. }
  427. #tumblr_controls,
  428. .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls {
  429. position:fixed!important;
  430. top:0!important;
  431. right:0!important;
  432. opacity:.4!important;
  433. -webkit-filter:invert(100%);
  434. -webkit-backface-visibility:hidden;
  435. padding:17px;
  436. }
  437. #theme {
  438. position:fixed;
  439. display:block;
  440. bottom:10px;
  441. right:10px;
  442. z-index:999;
  443. padding:5px;
  444. line-height:1em;
  445. }
  446. #tumblr_lightbox img, .lightbox-image {
  447. max-width:none;
  448. }
  449. {block:ifInfiniteScroll}
  450. .pagination,
  451. #infscr-loading {
  452. display:none!important;
  453. }
  454. {/block:ifInfiniteScroll}
  455.  
  456. /* cr: agustd/gukthemes & sughyun/caulfielld; do not take w/o credit. */
  457.  
  458. .photo-slideshow .count-1 {
  459. margin-bottom:4px!important;
  460. }
  461.  
  462. .photo-slideshow .count-2 {
  463. margin-left:4px!important;
  464. margin-bottom:4px!important;
  465. width:calc(50% - 2px)!important;
  466. }
  467.  
  468. .photo-slideshow .count-2:first-child {
  469. margin-left:0!important;
  470. }
  471.  
  472. .photo-slideshow .count-3 {
  473. margin-left:4px!important;
  474. margin-bottom:4px!important;
  475. width:calc(33.33% - 3px)!important;
  476. }
  477.  
  478. .photo-slideshow .count-3:first-child {
  479. margin-left:0!important;
  480. }
  481.  
  482. .photo-slideshow .count-3:nth-child(2) {
  483. width:calc(33.33% - 3px)!important;
  484. }
  485.  
  486. .photo-slideshow {
  487. display:inline-block!important;
  488. margin-bottom:-4px;
  489. position:relative;
  490. width:100%;
  491. }
  492. </style>
  493. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css">
  494. </head>
  495. <body class="{select:font}">
  496.  
  497. <div class="main">
  498.  
  499. <!-- left sidebar ----------------------------------------------------->
  500.  
  501. <aside class="l">
  502. {block:ifSidebar}
  503. {block:ifSidebarImage}
  504. <section>
  505. <a href="/"><img class="side" src="{image:sidebar}"></a>
  506. </section>
  507. {/block:ifSidebarImage}
  508. {/block:ifSidebar}
  509. {block:ifShowAvatar}
  510. <section>
  511. <a href="/"><img src="{PortraitURL-128}" class="avatar"></a>
  512. </section>
  513. {/block:ifShowAvatar}
  514. <section>
  515. <h1 class="blog title"><a href="/">{Title}</a></h1>
  516. </section>
  517. <section>
  518. <div class="desc">{Description}</div>
  519. </section>
  520. <section>
  521. <nav class="baby">
  522. {block:ifHomeLink}<li><a href="/">{text:home link}</a></li>{/block:ifHomeLink}
  523. {block:ifArchiveLink}<li><a href="/archive">{text:archive link}</a></li>{/block:ifArchiveLink}
  524. {block:ifAskLink}<li><a href="/ask">{text:ask link}</a></li>{/block:ifAskLink}
  525. {block:HasPages}{block:Pages}<li><a href="{URL}">{Label}</a></li> {/block:Pages}{/block:HasPages}
  526. {block:ifLink1}<li><a href="{text:link 1 url}">{text:link 1}</a></li>{/block:ifLink1}
  527. {block:ifLink2}<li><a href="{text:link 2 url}">{text:link 2}</a></li>{/block:ifLink2}
  528. {block:ifLink3}<li><a href="{text:link 3 url}">{text:link 3}</a></li>{/block:ifLink3}
  529. {block:ifLink4}<li><a href="{text:link 4 url}">{text:link 4}</a></li>{/block:ifLink4}
  530. {block:ifLink5}<li><a href="{text:link 5 url}">{text:link 5}</a></li>{/block:ifLink5}
  531. {block:ifLink6}<li><a href="{text:link 6 url}">{text:link 6}</a></li>{/block:ifLink6}
  532. </nav>
  533. </section>
  534. </aside>
  535.  
  536. <!-- posts ------------------------------------------------------------>
  537.  
  538. <div class="content">
  539.  
  540. {block:Posts}
  541. <article class="entry {block:Photo}ph{/block:Photo}{block:Photoset}ph{/block:Photoset}" id="{PostID}">
  542. <section class="post">
  543. {block:Audio}
  544. <!-- audio ------------------------------------------------------------>
  545. <div class="audiowrap">
  546. <div class="audio">
  547. {block:AudioPlayer}
  548. <div class="player">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}
  549. </div>
  550. {/block:AudioPlayer}
  551. <div class="track"><div class="h">{block:TrackName}{TrackName}{/block:TrackName}{block:Artist}<span class="accent"> by {Artist}</span>{/block:Artist}</div></div>
  552. </div>
  553. </div>
  554. {/block:Audio}
  555. {block:Photo}
  556. <!-- photo ------------------------------------------------------------>
  557. <div class="media">
  558. {LinkOpenTag}
  559. <img src="{PhotoURL-HighRes}">
  560. {LinkCloseTag}
  561. </div>
  562. {/block:Photo}
  563. {block:Photoset}
  564. <!-- photoset --------------------------------------------------------->
  565. <div class="media photoset">
  566. <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>
  567. </div>
  568. {/block:Photoset}
  569. {block:Video}
  570. <!-- video ------------------------------------------------------------>
  571. <div class="media video">{Video-500}</div>
  572. {/block:Video}
  573. {block:Answer}
  574. <!-- answer ----------------------------------------------------------->
  575. <div class="question">
  576. <div class="sender accent">{Asker}</div>
  577. <div class="inquiry text">{Question}</div>
  578. </div>
  579. <div class="answer text">
  580. <a class="tumblr_blog" href="{Permalink}">{Name}</a>{Answer}</div>
  581. {/block:Answer}
  582. {block:Chat}
  583. <!-- chat ------------------------------------------------------------->
  584. {block:Title}<h1 class="title">{Title}</h1>{/block:Title}
  585. <ul class="chat text">
  586. {block:Lines}
  587. <li class="line">
  588. {block:Label}
  589. <b class="label">{Label}&nbsp; </b>
  590. {/block:Label}
  591. {Line}
  592. </li>
  593. {/block:Lines}
  594. </ul>
  595. {/block:Chat}
  596. {block:Link}
  597. <!-- link ------------------------------------------------------------->
  598. <h1 class="title"><a href="{URL}">{Name}</a></h1>
  599. {block:Description}<div class="text">{Description}</div>{/block:Description}
  600. {/block:Link}
  601. {block:Quote}
  602. <!-- quote ------------------------------------------------------------>
  603. <div class="quote title">{Quote}</div>
  604. {block:Source}
  605. <div class="source text">{Source}</div>
  606. {/block:Source}
  607. {/block:Quote}
  608. {block:Text}
  609. <!-- text ------------------------------------------------------------->
  610. {block:Title}<h1 class="title">{Title}</h1>{/block:Title}
  611. <div class="text">{Body}</div>
  612. {/block:Text}
  613. {block:Caption}
  614. <!-- caption ---------------------------------------------------------->
  615. <div class="caption text">{Caption}</div>
  616. {/block:Caption}
  617. {block:Date}
  618. <div class="baby date">
  619. <!-- date ------------------------------------------------------------->
  620. <a class="permalink" href="{Permalink}">{TimeAgo}</a> {block:NoteCount}<a class="notecount" href="{Permalink}">{NoteCountWithLabel}</a> {/block:NoteCount}<a class="like-b" href="#">{LikeButton size="100"}<span class="b">like</span></a> <a class="reblog-b" href="{ReblogURL}" target="_blank">reblog</a>
  621. {block:HasTags}
  622. <!-- tags ------------------------------------------------------------->
  623. <div class="tags">{block:Tags}<a href="{TagURL}">{Tag}</a><i class="comma"> </i>{/block:Tags}</div>
  624. {/block:HasTags}
  625. </div>
  626. {/block:Date}
  627. </section>
  628. </article>
  629. {/block:Posts}
  630. <!-- {block:ContentSource}{SourceURL}{/block:ContentSource}{block:RebloggedFrom}{ReblogRootURL}{ReblogParentURL}{/block:RebloggedFrom} -->
  631.  
  632. {block:PostNotes}
  633. <!-- notes ------------------------------------------------------------>
  634.  
  635. <article class="entry">
  636. <section class="post">
  637. {PostNotes}
  638. </section>
  639. </article>
  640.  
  641. {/block:PostNotes}
  642.  
  643. <!-- pagination ------------------------------------------------------->
  644.  
  645. {block:Pagination}<div class="pagination baby">{block:PreviousPage}<a class="prev accent" href="{PreviousPage}">{lang:Previous}</a>{/block:PreviousPage} {block:NextPage}<a class="next" href="{NextPage}">{lang:Next Page}</a>{/block:NextPage}</div>{/block:Pagination}
  646. </div>
  647.  
  648. </div>
  649.  
  650. <a href="https://shythemes.tumblr.com" id="theme" class="baby" title="theme">k.</a>
  651.  
  652. <!-- scripts ---------------------------------------------------------->
  653.  
  654. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  655. <script src="//static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  656. <script src="//static.tumblr.com/wgg6svp/ohGobvaye/unnest.min.js"></script>
  657. <script src="//static.tumblr.com/fwgzvyf/FRIojd56w/shythemes.fn.js"></script>
  658. {block:IndexPage}
  659. {block:ifInfiniteScroll}
  660. <script src="https://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  661. {/block:ifInfiniteScroll}
  662. {/block:IndexPage}
  663. <script>
  664. $(document).ready(function(){
  665. var $container = $('.content');
  666. $container.resizevideos();
  667. $container.audioplayers('{color:link hover}');
  668. $('.photo-slideshow').pxuPhotoset({
  669. lightbox: true,
  670. rounded: false,
  671. gutter: '0',
  672. photoset: '.photo-slideshow',
  673. photoWrap: '.photo-data',
  674. photo: '.pxu-photo'
  675. });
  676. $('.entry').unnest({
  677. yourCaption: ".text",
  678. wrapName: ".tumblr_parent",
  679. newCaptionUsername: false,
  680. originalPostCaptionUsername: false,
  681. tumblrAvatars: false,
  682. tumblrAvatarClass: ".tumblr_avatar",
  683. usernameColon: false
  684. });
  685. {block:ifInfiniteScroll}
  686. $container.infinitescroll({
  687. itemSelector: '.entry',
  688. navSelector: '.pagination',
  689. nextSelector: '.next',
  690. loadingImg: '',
  691. loadingText: '<em></em>',
  692. bufferPx: 2000
  693. },
  694. function( newElements ) {
  695. var $newElems = $( newElements );
  696. var $newElemsIDs = $newElems.map(function(){
  697. return this.id;
  698. }).get();
  699. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  700. $newElems.resizevideos();
  701. $newElems.audioplayers('{color:link hover}');
  702. $newElems.find('.photo-slideshow').pxuPhotoset({
  703. lightbox: true,
  704. rounded: false,
  705. gutter: '0',
  706. photoset: '.photo-slideshow',
  707. photoWrap: '.photo-data',
  708. photo: '.pxu-photo'
  709. });
  710. $newElems.unnest({
  711. yourCaption: ".text",
  712. wrapName: ".tumblr_parent",
  713. newCaptionUsername: false,
  714. originalPostCaptionUsername: false,
  715. tumblrAvatars: false,
  716. tumblrAvatarClass: ".tumblr_avatar",
  717. usernameColon: false
  718. });
  719. });
  720. {/block:ifInfiniteScroll}
  721. });
  722. </script>
  723. </body>
  724. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement