Advertisement
str-wrs

Clio

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