Advertisement
str-wrs

Kratos

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