Advertisement
str-wrs

Harmonia

May 5th, 2016
16,234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.69 KB | None | 0 0
  1. <!--
  2.  
  3. THEME: HARMONIA
  4. by acuite
  5.  
  6. - don't steal this pls
  7. - enjoy, ilu (ノ◕ヮ◕)ノ*:・゚✧
  8.  
  9. - @acuite for more themes
  10.  
  11. - reminder: you do not need to edit the popup at all. simply add your description, links & quote in the main Theme Options menu!
  12.  
  13. -->
  14.  
  15. <html>
  16. <head>
  17.  
  18. <title>{Title}</title>
  19. <link rel="shortcut icon" href="{Favicon}">
  20. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  21. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  22.  
  23. <meta name="image:Sidebar" content=""/>
  24.  
  25. <meta name="color:Background" content="#f8f8f8"/>
  26. <meta name="color:Post" content="#fff"/>
  27. <meta name="color:Border" content="#eee"/>
  28. <meta name="color:Text" content="#555"/>
  29. <meta name="color:Link" content="#999"/>
  30. <meta name="color:Hover" content="#f0bfb3"/>
  31.  
  32. <meta name="if:Side Links" content=""/>
  33. <meta name="if:Popup" content=""/>
  34. <meta name="if:Tags" content=""/>
  35. <meta name="if:Load More" content=""/>
  36. <meta name="if:Paginate" content=""/>
  37. <meta name="if:Round Edges" content=""/>
  38.  
  39. <meta name="select:Posts" content="solid_posts" title="Solid">
  40. <meta name="select:Posts" content="minimal_posts" title="Minimal">
  41.  
  42. <meta name="select:Captions" content="creg" title="Regular">
  43. <meta name="select:Captions" content="cmin" title="Minimal">
  44. <meta name="select:Captions" content="cinl" title="Inline">
  45. <meta name="select:Captions" content="chid" title="Hide">
  46.  
  47. <meta name="text:Post" content="350"/>
  48. <meta name="text:Margin" content="75"/>
  49.  
  50. <meta name="text:Quote" content="A nice quote of some kind"/>
  51. <meta name="text:Link 1" content="/"/>
  52. <meta name="text:Link 1 Title" content="one"/>
  53. <meta name="text:Link 2" content="/" />
  54. <meta name="text:Link 2 Title" content="two"/>
  55. <meta name="text:Link 3" content="/" />
  56. <meta name="text:Link 3 Title" content="three"/>
  57. <meta name="text:Link 4" content="/" />
  58. <meta name="text:Link 4 Title" content="four"/>
  59. <meta name="text:Link 5" content="/" />
  60. <meta name="text:Link 5 Title" content="five"/>
  61. <meta name="text:Link 6" content="/" />
  62. <meta name="text:Link 6 Title" content="six"/>
  63.  
  64. <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  65. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
  66. <link href='https://fonts.googleapis.com/css?family=Karla:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
  67.  
  68. <style type="text/css">
  69.  
  70. /* Scroll */
  71.  
  72. ::-webkit-scrollbar {width:11px;height:11px;background:{color:Border};}
  73. ::-webkit-scrollbar-thumb {background:rgba({RGBcolor:Link},0.5);}
  74. ::-webkit-scrollbar,::-webkit-scrollbar-thumb {
  75. border:5px solid {color:Background};
  76. }
  77.  
  78. /* Controls */
  79.  
  80. #tumblr_controls,.tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop{-webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%);opacity:0.5;}
  81.  
  82. /* General */
  83.  
  84. body {
  85. margin:0;
  86. color:{color:Text};
  87. background:{color:Background};
  88. font-smooth:always;
  89. -webkit-font-smoothing:antialiased;
  90. -moz-osx-font-smoothing: grayscale;
  91. }
  92.  
  93. a:link, a:active, a:visited {text-decoration:none;}
  94. body,p,pre,blockquote,big,small,sub,sup,li {font-size:9.5px;}
  95. body,p,pre,em{font-family:'Karla',Arial,Helvetica,sans-serif;}
  96. a,.tags,.our_button,.like_button,.menu {
  97. transition:0.5s ease;
  98. -o-transition:0.5s ease;
  99. -moz-transition:0.5s ease;
  100. -webkit-transition:0.5s ease;
  101. }
  102.  
  103. /* Credit & Scroll to Top */
  104.  
  105. .c,.top{position:fixed;right:30px;width:35px;}
  106. .c {bottom:30px;}
  107. .top {bottom:50px;display:none;}
  108.  
  109. /* Pagination */
  110.  
  111. .cp {font-weight:600;}
  112. .cp,.jp,.pag a{display:inline-block;vertical-align:middle;margin:0 10px;}
  113. .pag a i,.top{font-size:20px;}
  114. .pag {position:relative;}
  115. .load {cursor:pointer;display:block;}
  116. .c,.top,.pag,.load {text-align:center;}
  117. .c,.pag,.load {font-size:9px;letter-spacing:1px;text-transform:uppercase;}
  118. {block:ifnotPaginate}
  119. .pag,#infscr-loading {display:none!important;}
  120. {/block:ifnotPaginate}
  121.  
  122. /* Containers */
  123.  
  124. .center {
  125. position:relative;
  126. margin:{text:Margin}px auto;
  127. width:{text:Post}px;
  128. }
  129.  
  130. .solid_posts .center {width:calc({text:Post}px + 4px);}
  131. .bx,.video {padding-bottom:1px;}
  132. .solid_posts .bx,.solid_posts .video {padding:1px;}
  133. .solid_posts .p {padding:8px 10px;}
  134. .entry img{max-width:100%;height:auto;}
  135. .entry {margin:{text:Margin}px 0;}
  136.  
  137. /* Sidebar */
  138.  
  139. aside {
  140. position:fixed;
  141. width:50px;
  142. font-size:0;
  143. top:{text:Margin}px;
  144. margin-left:calc(-50px + -{text:Margin}px);
  145. }
  146.  
  147. aside .image,.menu {border-radius:30px 30px 0 30px;}
  148. .minimal_posts aside .image {width:100%;}
  149. .solid_posts aside .image {width:calc(100% - 4px);padding:1px;}
  150. #navi {cursor:pointer;color:{color:Link}!important;}
  151. #navi:hover .menu {opacity:1;}
  152. .solid_posts .menu {margin:2px;padding:16px 15px 15px 16px;}
  153. .minimal_posts .menu {padding:18px 17px 17px 18px;}
  154. .menu {
  155. position:absolute;
  156. background:rgba({RGBcolor:Border},0.9);
  157. font-size:15px;
  158. text-align:center;
  159. height:15px;
  160. width:15px;
  161. opacity:0;
  162. {block:ifnotPopup}display:none;{/block:ifnotPopup}
  163. }
  164.  
  165. .lh {cursor:help;}
  166. .lb{display:none;border-right:1px solid {color:Border};padding-right:9px;}
  167. aside nav {margin-top:20px;}
  168. aside nav *{text-align:right;list-style-type:none;margin:0;padding:0;}
  169. aside nav li{display:block;margin:9px 0;}
  170. aside nav li a {
  171. display:inline-block;
  172. font-size:9.5px;
  173. line-height:100%;
  174. padding:0 0 1px;
  175. }
  176.  
  177. /* Titles */
  178.  
  179. h2 {margin:10px;font-size:12px;font-weight:400;}
  180. h3,h4,h5 {margin:10px;font-size:10px;}
  181.  
  182. /* Permalinks */
  183.  
  184. .p {padding-top:8px;font-size:0;}
  185. .p i {opacity:0.75;font-size:10px;}
  186. .ple i {margin-right:2px;}
  187. .ple {font-weight:700;padding:0 0 1px;}
  188. .ple,.pri {display:inline-block;vertical-align:middle;width:50%;}
  189. .ple,.tags a {font-size:9px;line-height:100%;}
  190. .pri {text-align:right;}
  191. .fa-refresh {margin-left:6px;}
  192.  
  193. .custom-like-button *{cursor:pointer!important;}
  194. .custom-like-button {
  195. position:relative;
  196. display:inline-block;
  197. vertical-align:top;
  198. width:10px;
  199. height:10px;
  200. cursor:pointer;
  201. }
  202.  
  203. .like_button:hover + .our_button {color:{color:Hover};}
  204. .like_button.liked + .our_button {color:{color:Hover};}
  205. .like_button iframe {width:100%!important;height:100%!important;}
  206. .like_button {z-index:10;opacity:0;}
  207. .our_button {z-index:1;}
  208. .our_button,.like_button {
  209. position:absolute;
  210. top:0;
  211. left:0;
  212. width:100%;
  213. height:100%;
  214. }
  215.  
  216. .tags {margin-top:4px;}
  217. .tags a {
  218. margin-right:5px;
  219. font-style:italic;
  220. text-transform:none;
  221. display:inline;
  222. }
  223.  
  224. /* Quotes */
  225.  
  226. .qut_hold {padding:20px;}
  227. .src {margin-bottom:10px;}
  228. .qut {font-size:11px;font-style:italic;}
  229.  
  230. /* Audio & Chat */
  231.  
  232. .lines,.chat h2,.audio {padding:10px;}
  233. .lines:first-of-type {border:0;}
  234. .chat h2 {margin:0;}
  235. .lines b{display:block;font-weight:400;}
  236. .play {padding:10px;background:#e4e4e4;height:27px;width:27px;}
  237. .audio {font-size:0;}
  238. .play,.au {display:inline-block;vertical-align:middle;}
  239. .soundcloud_audio_player{padding:15px 0;}
  240. .tn {text-transform:uppercase;letter-spacing:1px;}
  241. .au span {display:block;margin:3px 0;font-size:9px;}
  242. .au {width:calc(100% - 62px);margin-left:15px;}
  243. .tumblr_audio_player {width:27px;height:27px;overflow:hidden;}
  244.  
  245. /* Text */
  246.  
  247. ol,ul {padding:0 0 0 25px;font-size:0;}
  248. li {margin:7px 0;line-height:100%;}
  249. p,blockquote,pre,ul,ol{margin:10px;}
  250. blockquote p{margin:10px 0;}
  251. blockquote p:first-child{margin:0 0 10px;}
  252. blockquote p:last-child{margin:10px 0 0;}
  253. blockquote p:only-child{margin:0;}
  254. blockquote blockquote {margin:0;}
  255. blockquote{padding-left:10px;border-left:1px solid {color:Border};}
  256. pre {
  257. white-space:pre-wrap;
  258. white-space:-moz-pre-wrap;
  259. white-space:-pre-wrap;
  260. white-space:-o-pre-wrap;
  261. word-wrap:break-word;
  262. }
  263.  
  264. /* Captions */
  265.  
  266. .txt iframe,.cap iframe{display:block;max-width:100%;overflow:hidden;}
  267. .solid_posts .txt,.solid_posts .cap{padding:10px;}
  268. .minimal_posts .txt,.minimal_posts .cap{padding:5px 0;}
  269. .solid_posts .cinl{padding:20px;}
  270. .minimal_posts .cinl{padding:15px 10px;}
  271. .chid {display:none;}
  272. .cmin blockquote {border:0;padding:0;}
  273. .cinl *:not(a):not(ul):not(ol):not(li){margin:0;padding:0;display:inline;}
  274. .cinl p:first-of-type {display:inline!important;}
  275. .cinl blockquote {border:0;}
  276. .cinl p,.cinl blockquote p {display:block!important;margin:0!important;}
  277.  
  278. /* Video */
  279.  
  280. .video {overflow:hidden;}
  281. .vine-embed,#youtube_iframe {display:block;}
  282. .instagram-media {border-radius:0!important;box-shadow:none!important;}
  283.  
  284. /* Photosets */
  285.  
  286. #tumblr_lightbox,.tmblr-lightbox {
  287. background:rgba({RGBcolor:Background},0.99)!important;
  288. }
  289.  
  290. #vignette,#tumblr_lightbox_caption,.vignette,.lightbox-caption{
  291. opacity:0!important;
  292. }
  293.  
  294. #tumblr_lightbox_center_image, #tumblr_lightbox_left_image,
  295. #tumblr_lightbox_right_image, .lightbox-image {
  296. box-shadow:none!important;
  297. border-radius:0px!important;
  298. {block:ifRoundEdges}border-radius:4px!important;{/block:ifRoundEdges}
  299. }
  300.  
  301. /* Ask */
  302.  
  303. .ask {padding:20px;}
  304. .aski {margin:0 0 10px;line-height:20px;font-size:10px;}
  305. .aski img {float:left;width:20px;margin-right:7px;}
  306.  
  307. /* Permalink Page + Postnotes */
  308.  
  309. .solid_posts .perma {padding:15px;}
  310. .minimal_posts .perma {padding:15px 0;}
  311.  
  312. .pph {text-transform:lowercase;}
  313. .perma {line-height:175%;}
  314. .pmt a:after {content:',';}
  315. .pmt a:last-of-type:after {content:'.';}
  316. .pn ol {margin:0;padding:0;list-style-type:none;}
  317. .pn li{margin:10px;font-size:8px;line-height:100%;}
  318. .pn,.pn img{display:none;}
  319. .pn {padding:5px;font-size:0;}
  320. .pnh,.more_notes_link,.notes_loading {display:block;font-weight:600;}
  321. .more_notes_link,.notes_loading {text-align:left!important;}
  322.  
  323. /* Tooltips */
  324.  
  325. #s-m-t-tooltip{
  326. max-width:200px;
  327. margin:15px;
  328. z-index:99999999;
  329. padding:6px;
  330. line-height:100%;
  331. word-wrap:break-word;
  332. word-break:break-all;
  333. }
  334.  
  335. /* Popups */
  336.  
  337. #navi,a.close {cursor:pointer;}
  338. .close i {font-size:12px;float:right;}
  339. .full{top:0;left:0;width:100%;height:100%;position:absolute;}
  340. .solid_posts .popup{background:rgba({RGBcolor:Background},0.9);}
  341. .minimal_posts .popup{background:{color:Background};}
  342. .popup{
  343. position:fixed;
  344. width:100%;
  345. height:100%;
  346. top:0;
  347. left:0;
  348. z-index:999999;
  349. display:none;
  350. }
  351.  
  352. .popup_content {
  353. position:absolute;
  354. top:{text:Margin}px;
  355. width:{text:Post}px;
  356. margin-left:calc((-{text:Post}px + -72px) / 2);
  357. padding:35px;
  358. font-size:0;
  359. left:50%;
  360. }
  361.  
  362. h1 {margin:0;font-weight:400;font-size:13px;text-transform:uppercase;}
  363. .desc {margin:10px 0;font-size:10px;line-height:150%;text-align:justify;}
  364. .popup nav {margin:0;}
  365. .popup nav ul {margin:0;padding:0;list-style-type:none;}
  366. .popup nav li a {font-size:10px;line-height:100%;}
  367. .popup nav li,.popup nav li a{display:inline-block;}
  368. .popup nav li {width:33.33333%;margin:5px 0;padding:0;}
  369. .quote {margin:10px 0 0;font-size:12px;font-style:italic;}
  370.  
  371. /* Common Styles */
  372.  
  373. .ask,p,blockquote,.lines,.pn,.cap{line-height:150%;}
  374. a:hover,a h2:hover{color:{color:Hover};}
  375. a,.p,.perma,.src,.chat b,.tn,h1,h2,.ask,.pag{color:{color:Link};}
  376. h2 a i{margin:0 2px;}
  377.  
  378. {block:ifRoundEdges}
  379. .play,.aski img,.entry,.popup_content{border-radius:4px;}
  380. .ph,.entry iframe,.video,#s-m-t-tooltip{border-radius:3px!important;}
  381. {/block:ifRoundEdges}
  382.  
  383. /* Borders */
  384.  
  385. .solid_posts .entry,.solid_posts aside .image,.solid_posts .popup_content,#s-m-t-tooltip {background:{color:Post};border:1px solid {color:Border};}
  386.  
  387. nav li a:hover {border-color:rgba({RGBcolor:Hover},0.5);}
  388. .pn,.lines,.cap,.p,.perma{border-top:1px solid {color:Border};}
  389. .ask,nav li a{border-bottom:1px solid {color:Border};}
  390.  
  391. /* Etc */
  392.  
  393. img {margin:0;display:block;}
  394.  
  395. </style>
  396. </head>
  397. <body class="{select:Posts}">
  398. <div class="popup navi">
  399. <a class="close full"></a>
  400. <div class="popup_content">
  401. <a class="close"><i class="fa fa-times"></i></a>
  402. <h1>{Title}</h1>
  403. <div class="desc">{Description}</div>
  404. <nav>
  405. <ul>
  406. <li><a href="/">index</a></li>
  407. <li><a href="/ask">contact</a></li>
  408. {block:ifLink1}
  409. <li><a href="{text:Link 1}">{text:Link 1 Title}</a></li>
  410. {/block:ifLink1}{block:ifLink2}
  411. <li><a href="{text:Link 2}">{text:Link 2 Title}</a></li>
  412. {/block:ifLink2}{block:ifLink3}
  413. <li><a href="{text:Link 3}">{text:Link 3 Title}</a></li>
  414. {/block:ifLink3}{block:ifLink4}
  415. <li><a href="{text:Link 4}">{text:Link 4 Title}</a></li>
  416. {/block:ifLink4}{block:ifLink5}
  417. <li><a href="{text:Link 5}">{text:Link 5 Title}</a></li>
  418. {/block:ifLink5}{block:ifLink6}
  419. <li><a href="{text:Link 6}">{text:Link 6 Title}</a></li>
  420. {/block:ifLink6}
  421. <li><a href="/archive">history</a></li>
  422. </ul>
  423. </nav>
  424.  
  425. <div class="quote">{text:Quote}</div>
  426. </div></div>
  427.  
  428. <div class="center">
  429.  
  430. <aside>
  431. {block:ifPopup}<a id="navi">{/block:ifPopup}<div class="menu"><i class="fa fa-bars"></i></div><img class="image" src="{block:ifSidebarImage}{image:Sidebar}{/block:ifSidebarImage}{block:ifnotSidebarImage}{PortraitURL-64}{/block:ifnotSidebarImage}"/>{block:ifPopup}</a>{/block:ifPopup}
  432. {block:ifSideLinks}
  433. <nav>
  434. <ul>
  435. <li><a href="/">index</a></li>
  436. <li><a href="/ask">contact</a></li>
  437. <li><a href="" class="lh">navigate</a></li>
  438. <div class="lb">
  439. {block:ifLink1}
  440. <li><a href="{text:Link 1}">{text:Link 1 Title}</a></li>
  441. {/block:ifLink1}{block:ifLink2}
  442. <li><a href="{text:Link 2}">{text:Link 2 Title}</a></li>
  443. {/block:ifLink2}{block:ifLink3}
  444. <li><a href="{text:Link 3}">{text:Link 3 Title}</a></li>
  445. {/block:ifLink3}{block:ifLink4}
  446. <li><a href="{text:Link 4}">{text:Link 4 Title}</a></li>
  447. {/block:ifLink4}{block:ifLink5}
  448. <li><a href="{text:Link 5}">{text:Link 5 Title}</a></li>
  449. {/block:ifLink5}{block:ifLink6}
  450. <li><a href="{text:Link 6}">{text:Link 6 Title}</a></li>
  451. {/block:ifLink6}
  452. </div>
  453. <li><a href="/archive">history</a></li>
  454. </ul>
  455. </nav>
  456. {/block:ifSideLinks}
  457. </aside>
  458.  
  459. <div id="content">
  460. {block:Posts}
  461. <div class="entry" id="{PostID}">
  462.  
  463. {block:Text}
  464. <div class="txt">
  465. {block:Title}<h2>{Title}</h2>{/block:Title}
  466. {Body}
  467. </div>
  468. {/block:Text}
  469.  
  470. {block:Link}
  471. <div class="txt">
  472. <h2><a title="{URL}" href="{URL}">{Name} <i class="fa fa-angle-right"></i></a></h2>
  473. {block:Description}{Description}{/block:Description}
  474. </div>
  475. {/block:Link}
  476.  
  477. {block:Photo}
  478. <div class="bx"><a href="{Permalink}"><img class="ph" src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/></a></div>
  479. {/block:Photo}
  480.  
  481. {block:Photoset}
  482. <div class="bx"><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>
  483. {/block:Photoset}
  484.  
  485. {block:Quote}
  486. <div class="qut_hold">
  487. {block:Source}<div class="src">{Source}</div>{/block:Source}
  488. <div class="qut">{Quote}</div>
  489. </div>
  490. {/block:Quote}
  491.  
  492. {block:Chat}
  493. <div class="chat">
  494. {block:Title}<h2>{Title}</h2>{/block:Title}
  495. {block:Lines}<div class="lines {Alt}"><div class="{Alt} user_{UserNumber}">{block:Label}<b>{Label}</b> {/block:Label}{Line}</div></div>{/block:Lines}
  496. </div>
  497. {/block:Chat}
  498.  
  499. {block:Audio}
  500. <div class="audio">
  501. {block:AudioPlayer}<div class="play">{AudioPlayerGrey}</div>{/block:AudioPlayer}
  502. <div class="au">
  503. {block:TrackName}<span class="tn">{TrackName}</span>{/block:TrackName}
  504. {block:Artist}<span>by {Artist}</span>{/block:Artist}
  505. </div>
  506. </div>
  507. {/block:Audio}
  508.  
  509. {block:Video}
  510. <div class="video">{Video-500}</div>
  511. {/block:Video}
  512.  
  513. {block:Answer}
  514. <div class="ask">
  515. <div class="aski"><img src="{AskerPortraitURL-24}">{Asker} said:</div>
  516. <div class="que">{Question}</div>
  517. </div>
  518. <div class="txt">{Answer}</div>
  519. {/block:Answer}
  520.  
  521. {block:Caption}<div class="cap {select:Captions}">{Caption}</div>{/block:Caption}
  522.  
  523. {block:IndexPage}
  524. <div class="p">
  525. <a class="ple" href="{Permalink}"><i class="fa fa-map-marker"></i> {FormattedNoteCount}</a>
  526.  
  527. <div class="pri">
  528. <div class="custom-like-button">{LikeButton}
  529. <span class="our_button"><i class="fa fa-heart"></i></span>
  530. </div>
  531. <a href="{ReblogURL}"><i class="fa fa-refresh"></i></a>
  532. </div>
  533.  
  534. {block:ifTags}{block:HasTags}<div class="tags">
  535. {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
  536. </div>{/block:HasTags}{/block:ifTags}
  537. </div>
  538. {/block:IndexPage}
  539.  
  540.  
  541.  
  542. {block:PermalinkPage}
  543. {block:Date}
  544. <div class="pph">
  545. <div class="perma">
  546. posted {TimeAgo} on {DayofMonthWithSuffix} {Month}
  547. {block:RebloggedFrom}<br>
  548. via <a href="{ReblogParentURL}">{ReblogParentName}</a> &nbsp;&nbsp;&nbsp;
  549. source <a href="{ReblogRootURL}">{ReblogRootName}</a>
  550. {/block:RebloggedFrom}
  551.  
  552. {block:HasTags}<div class="pmt">tags: &nbsp;
  553. {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags}
  554. </div>{/block:HasTags}
  555. <a href="#" class="pnh">{NoteCountWithLabel}</a>
  556. </div>
  557.  
  558. {block:PostNotes}
  559. <div class="pn">{PostNotes}</div>
  560. {/block:PostNotes}
  561.  
  562. </div>
  563. {/block:Date}
  564. {/block:PermalinkPage}
  565.  
  566. {block:ContentSource}
  567. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  568. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  569. {/block:SourceLogo}
  570. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  571. {/block:ContentSource}
  572.  
  573. <!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
  574.  
  575. </div>
  576. {/block:Posts}
  577.  
  578. {block:ifPaginate}
  579. {block:Pagination}
  580. <div class="pag">
  581. {block:PreviousPage}
  582. <a href="{PreviousPage}"><i class="fa fa-angle-left"></i></a>
  583. {/block:PreviousPage}
  584.  
  585. {block:JumpPagination length="3"}
  586. {block:CurrentPage}
  587. <span class="cp">{PageNumber}</span>
  588. {/block:CurrentPage}
  589. {block:JumpPage}
  590. <a class="jp" href="{URL}">{PageNumber}</a>
  591. {/block:JumpPage}
  592. {/block:JumpPagination}
  593.  
  594. {block:NextPage}
  595. <a href="{NextPage}"><i class="fa fa-angle-right"></i></a>
  596. {/block:NextPage}
  597. </div>
  598. {/block:Pagination}
  599. {/block:ifPaginate}
  600.  
  601. </div>
  602.  
  603. {block:ifnotPaginate}
  604. {block:Pagination}
  605. <div class="pag">
  606. {block:PreviousPage}
  607. <a href="{PreviousPage}" class="prev">back</a>
  608. {/block:PreviousPage}
  609. {block:NextPage}
  610. <a href="{NextPage}" class="next">next</a>
  611. {/block:NextPage}
  612. </div>
  613.  
  614. {block:ifLoadMore}
  615. <a class="load">Load More</a>
  616. {/block:ifLoadMore}
  617. {/block:Pagination}
  618. {/block:ifnotPaginate}
  619.  
  620. </div>
  621.  
  622. <a href="#" class="top"><i class="fa fa-angle-up"></i></a>
  623. <div class="c"><a href="http://acuite.tumblr.com">acuite</a></div>
  624.  
  625. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  626. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  627. <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
  628. <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  629. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  630. <script>
  631. $(document).ready(function(){
  632. $('.photo-slideshow').pxuPhotoset({
  633. lightbox: true,
  634. gutter: '1px',
  635. photoset: '.photo-slideshow',
  636. photoWrap: '.photo-data',
  637. photo: '.pxu-photo',
  638. {block:ifnotRoundEdges}
  639. rounded: false,
  640. {/block:ifnotRoundEdges}
  641. {block:ifRoundEdges}
  642. rounded: 'corners',
  643. borderRadius: '3px'
  644. {/block:ifRoundEdges}
  645. });
  646. {block:ifnotPaginate}
  647. var $container = $('#content');
  648. $container.infinitescroll({
  649. itemSelector: '.entry',
  650. navSelector: '.pag',
  651. nextSelector: '.next',
  652. loadingImg: ' ',
  653. loadingText: ' ',
  654. donetext: 'No more posts' ,
  655. bufferPx: 2000,
  656. {block:ifLoadMore}
  657. errorCallback: function(){
  658. jQuery('.load').delay(50).fadeOut();
  659. }
  660. {/block:ifLoadMore}
  661. },
  662. function( newElements ) {
  663. var $newElems = $( newElements );
  664. var $newElemsIDs = $newElems.map(function(){
  665. return this.id;
  666. }).get();
  667. $newElems.find('.photo-slideshow').pxuPhotoset({
  668. lightbox: true,
  669. gutter: '1px',
  670. photoset: '.photo-slideshow',
  671. photoWrap: '.photo-data',
  672. photo: '.pxu-photo',
  673. {block:ifnotRoundEdges}
  674. rounded: false,
  675. {/block:ifnotRoundEdges}
  676. {block:ifRoundEdges}
  677. rounded: 'corners',
  678. borderRadius: '3px'
  679. {/block:ifRoundEdges}
  680. });
  681. resizeVideos();
  682. console.log($newElems, $newElemsIDs);
  683. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  684. });
  685.  
  686. {block:ifLoadMore}
  687. $(window).unbind(".infscr");
  688. $(".load").click(function(){
  689. $("#content").infinitescroll("retrieve");
  690. });
  691. {/block:ifLoadMore}
  692.  
  693. {/block:ifnotPaginate}
  694. });
  695.  
  696.  
  697.  
  698. // scroll to top © html-tuts.com
  699. var amountScrolled = 500;
  700. $(window).scroll(function() {
  701. if ($(window).scrollTop() > amountScrolled) {
  702. $('a.top').fadeIn('slow');
  703. } else {
  704. $('a.top').fadeOut('slow');
  705. }
  706. });
  707.  
  708. $('a.top').click(function() {
  709. $('body, html').animate({
  710. scrollTop: 0
  711. }, 'slow');
  712. return false;
  713. });
  714.  
  715.  
  716.  
  717. // drop links & post notes
  718. $(document).ready(function(){
  719. $(".pn").hide();
  720. $(".pnh").show();$('.pnh').toggle(function(){
  721. $(".pn").slideDown(function(){});
  722. },function(){
  723. $(".pn").slideUp(function(){});
  724. });
  725. $(".lb").hide();
  726. $(".lh").show();$('.lh').toggle(function(){
  727. $(".lb").slideDown(function(){});
  728. },function(){
  729. $(".lb").slideUp(function(){});
  730. });
  731. });
  732.  
  733.  
  734. // tooltips
  735. (function($){
  736. $(document).ready(function(){
  737. $("[title]").style_my_tooltips({
  738. tip_delay_time:200,
  739. tip_fade_speed:300
  740. }
  741. );
  742. });
  743. })(jQuery);
  744.  
  745.  
  746. // pop ups © neothm
  747. $(function(){
  748. $("#navi").click(function(){ //on click on a navigation link
  749.  
  750. //if you have other “regular” links in your navigation they won’t work anymore
  751. //in this case, change “nav a” to “#askbox, #navigation, #archive”
  752.  
  753. id = $(this).attr("id"); //retrieves the link’s name
  754. $(".popup."+id).fadeIn(); //opens the appropriate popup
  755. });
  756. $("a.close").click(function(){
  757. $(".popup").fadeOut(); //closes the popup
  758. });
  759. });
  760. </script>
  761. </body>
  762. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement