divinethm

aphrodite — theme i

Sep 15th, 2019
3,239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.76 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!--
  5.  
  6. aphrodite — theme i
  7. by divinethemes
  8.  
  9. › do not steal any part of this code
  10. › edit however you want, but only for personal us
  11. › send any questions to divinethemes.tumblr.com/ask
  12. › thank you for using! <3
  13.  
  14.  
  15. -->
  16.  
  17. <title>
  18. {block:TagPage}#{Tag} — {/block:TagPage}
  19. {block:PostSummary}{PostSummary} — {/block:PostSummary}
  20. {Title}</title>
  21. <link rel="shortcut icon" href="{Favicon}">
  22. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  23. {block:Description}<meta name="description" content="{MetaDescription}"/>{/block:Description}
  24.  
  25. <meta name="viewport" content="width=device-width, initial scale-1.0">
  26.  
  27. <meta name="image:sidebar" content=""/>
  28.  
  29. <meta name="color:background" content="#ffffff"/>
  30. <meta name="color:caption background" content="#fafafa"/>
  31. <meta name="color:text" content="#444"/>
  32. <meta name="color:links" content="#999"/>
  33. <meta name="color:accent" content="#edd6cf"/>
  34.  
  35. <meta name="select:font" content="source sans pro"/>
  36. <meta name="select:font" content="karla"/>
  37. <meta name="select:font" content="fira sans"/>
  38. <meta name="select:font" content="open sans"/>
  39. <meta name="select:font" content="roboto"/>
  40.  
  41. <meta name="text:font size" content="12px"/>
  42.  
  43. <meta name="select:post width" content="350px"/>
  44. <meta name="select:post width" content="400px"/>
  45. <meta name="select:post width" content="450px"/>
  46. <meta name="select:post width" content="500px"/>
  47.  
  48. <meta name="text:sidebar width" content="200"/>
  49.  
  50. <meta name="if:hover tags" content=""/>
  51.  
  52. <meta name="if:stats" content=""/>
  53. <meta name="if:scroll to top" content=""/>
  54.  
  55. <meta name="if:link one" content=""/>
  56. <meta name="if:link two" content=""/>
  57. <meta name="if:link three" content=""/>
  58. <meta name="if:link four" content=""/>
  59.  
  60. <meta name="text:index link" content="index"/>
  61. <meta name="text:ask link" content="ask"/>
  62.  
  63. <meta name="text:link 1" content="one"/>
  64. <meta name="text:link 1 url" content=""/>
  65. <meta name="text:link 2" content="two"/>
  66. <meta name="text:link 2 url" content=""/>
  67. <meta name="text:link 3" content="three"/>
  68. <meta name="text:link 3 url" content=""/>
  69. <meta name="text:link 4" content="four"/>
  70. <meta name="text:link 4 url" content=""/>
  71.  
  72. <meta name="text:online" content=""/>
  73. <meta name="text:views" content=""/>
  74.  
  75. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  76.  
  77. <!-- icons-->
  78. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
  79. <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  80. <link href="//dl.dropbox.com/s/vpi3f9s7nhpe7v7/honeybee.css" rel="stylesheet">
  81.  
  82. <!-- fonts -->
  83. <link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,400i,500,500i|Karla:400,400i,700,700i|Open+Sans:400,400i,700,700iRoboto:400,400i,700,700i|Source+Sans+Pro:400,400i,700,700i&display=swap" rel="stylesheet">
  84.  
  85. <style type="text/css">
  86.  
  87. /*-- fade in --*/
  88. @keyframes fadein {from {opacity:0;}to {opacity:1;}}
  89. @-moz-keyframes fadein {from {opacity:0;}to {opacity:1;}}
  90. @-webkit-keyframes fadein {from {opacity:0;}to {opacity:1;}}
  91. @-o-keyframes fadein {from {opacity:0;}to {opacity: 1;}}
  92.  
  93. /*-- selection --*/
  94. ::-moz-selection { background:rgba({RGBcolor:accent},0.7); color:#222; }
  95. ::selection { background:rgba({RGBcolor:accent},0.7); color:#222; }
  96.  
  97. /*-- scrollbar --*/
  98. ::-webkit-scrollbar {width:11px;background:{color:caption background};}
  99. ::-webkit-scrollbar-thumb {background:rgba({RGBcolor:accent},0.7);}
  100. ::-webkit-scrollbar,::-webkit-scrollbar-thumb {border:5px solid {color:background};}
  101.  
  102. /*-- tooltips --*/
  103. #s-m-t-tooltip {
  104. position:absolute;
  105. padding:0px 5px 0px 5px;
  106. margin-top:30px;
  107. color:{color:text};
  108. background-color:#fafafa;
  109. font-family:'{select:font}', sans-serif;
  110. font-size:9.5px;
  111. font-style:italic;
  112. text-transform:lowercase;
  113. text-align:center;
  114. border:1px solid #eee;
  115. letter-spacing:0.5px;
  116. z-index:999999;
  117. }
  118.  
  119. /*-- general --*/
  120. body {
  121. background-color:{color:background};
  122. font-family:'{select:font}', sans-serif;
  123. font-size:{text:font size};
  124. font-weight:400;
  125. line-height:190%;
  126. text-decoration:none;
  127. color:{color:text};
  128. -moz-osx-font-smoothing:grayscale;
  129. -webkit-font-smoothing:antialiased;
  130. font-smoothing:antialiased;
  131. animation: fadein 2s;
  132. -moz-animation:fadein 2s;
  133. -webkit-animation:fadein 2s;
  134. -o-animation: =fadein 2s;
  135. }
  136.  
  137. body, * {cursor:auto;}
  138.  
  139. a {
  140. text-decoration:none;
  141. color:{color:links};
  142. -webkit-transition:0.4s ease-in;
  143. -moz-transition:0.4s ease-in;
  144. -o-transition:0.4s ease-in;
  145. }
  146.  
  147. a:hover {
  148. color:{color:accent};
  149. text-decoration:none;
  150. cursor:pointer;
  151. -webkit-transition:0.4s ease-in;
  152. -moz-transition:0.4s ease-in;
  153. -o-transition:0.4s ease-in;
  154. }
  155.  
  156. b, strong {font-weight:700;color:{color:text};}
  157.  
  158. i, em {font-style:italic;}
  159.  
  160. blockquote {
  161. padding-left:10px;
  162. border-left:1px solid #eee;
  163. margin:0px;
  164. }
  165.  
  166. small {font-size:{text:font size};}
  167.  
  168. img {opacity:1;text-decoration:none;}
  169.  
  170. li {list-style:none;}
  171. li:before {content:"› ";margin-right:3px;}
  172. ul {margin-left:-24px;}
  173.  
  174. h1 {
  175. text-align:center;
  176. font-weight:400;
  177. text-transform:lowercase;
  178. font-size:calc({text:font size} + 8px);
  179. font-style:italic;
  180. }
  181.  
  182. /*-- tumblr controls fix by @cyantists --*/
  183. iframe.tmblr-iframe {
  184. z-index:99999999999999!important;
  185. top:3px!important;
  186. right:0!important;
  187. opacity:0;
  188. padding-right:38px;
  189. filter:invert(0) contrast(150%);
  190. -webkit-filter:invert(0) contrast(150%);
  191. -o-filter:invert(0) contrast(150%);
  192. -moz-filter:invert(0) contrast(150%);
  193. -ms-filter:invert(0) contrast(150%);
  194. transform:scale(0.5);
  195. transform-origin:100% 0;
  196. -webkit-transform:scale(0.5);
  197. -webkit-transform-origin:100% 0;
  198. -o-transform:scale(0.5);
  199. -o-transform-origin:100% 0;
  200. -moz-transform:scale(0.5);
  201. -moz-transform-origin:100% 0;
  202. -ms-transform:scale(0.5);
  203. -ms-transform-origin:100% 0;
  204. transition-duration: 0.6s;
  205. -moz-transition-duration: 0.6s;
  206. -webkit-transition-duration: 0.6s;
  207. -o-transition-duration: 0.6s
  208. }
  209.  
  210. iframe.tmblr-iframe:hover {
  211. opacity:0.4!important;
  212. transition-duration: 0.6s;
  213. -moz-transition-duration: 0.6s;
  214. -webkit-transition-duration: 0.6s;
  215. -o-transition-duration: 0.6s;
  216. }
  217.  
  218. .hcontrols {
  219. position:fixed;
  220. top:0;
  221. right:0;
  222. z-index:999999999;}
  223.  
  224. .hcontrols i {
  225. width:14px;
  226. height:14px;
  227. padding:9px;
  228. font-size:17px;
  229. color:{color:accent};
  230. }
  231.  
  232. /*-- credit / don't edit or delete pls --*/
  233. .c {
  234. position:fixed;
  235. bottom:11px;
  236. right:16px;
  237. padding:4px;
  238. font-size:10.5px;
  239. }
  240.  
  241. .c i {
  242. -webkit-transition:0.7s ease-in;
  243. -moz-transition:0.7s ease-in;
  244. -o-transition:0.7s ease-in;
  245. }
  246.  
  247. .c i:hover {
  248. transform:rotate(540deg);
  249. -webkit-transition:0.7s ease-in;
  250. -moz-transition:0.7s ease-in;
  251. -o-transition:0.7s ease-in;
  252. }
  253.  
  254. .c i:hover {
  255. cursor:pointer;
  256. }
  257.  
  258. /*-- stats and scroll to top --*/
  259. .stats {
  260. position:fixed;
  261. bottom:15px;
  262. left:15px;
  263. line-height:140%;
  264. padding:7px;
  265. z-index:9999;
  266. }
  267.  
  268. .stats {font-size:calc({text:font size} - 1px);}
  269. .scrollup a {font-size:calc({text:font size} + 4px); }
  270. .scrollup {display:none; margin-bottom:5px;}
  271. .scrollup i {cursor:pointer;}
  272.  
  273. /*-- posts --*/
  274. .container {
  275. position:relative;
  276. margin:7% calc({text:sidebar width}px + 20%);
  277. width:calc({select:post width} + 30px);
  278. z-index:99999;
  279. }
  280.  
  281. .posts {
  282. margin-bottom:80px;
  283. width:{select:post width};
  284. padding:15px;
  285. }
  286.  
  287. .posts li, .posts blockquote, .posts img {
  288. height:auto;
  289. max-width:100%;
  290. }
  291.  
  292. .posts h2 {
  293. font-size:calc({text:font size} + 2px);
  294. font-weight:400;
  295. display:inline-block;
  296. border-bottom:1px solid {color:accent};
  297. padding-bottom:4px;
  298. }
  299.  
  300. .postborder {
  301. background-color:{color:accent};
  302. width:10%;
  303. height:1px;
  304. margin-top:1px;
  305. margin-bottom:9px;
  306. }
  307.  
  308. .tagpage h1 {
  309. margin-bottom:80px;
  310. }
  311.  
  312.  
  313. /*-- captions --*/
  314. .caption {background-color:{color:caption background};padding:10px;}
  315. .tumblr_parent {margin-top:5px;border:none;line-height:120%;}
  316. a.tumblr_blog {border-bottom:1px solid {color:accent};}
  317. .post_source {display:none;}
  318.  
  319. /*-- post info --*/
  320. .info {
  321. margin-top:8px;
  322. text-align:center;
  323. text-transform:lowercase;
  324. z-index:999;
  325. }
  326.  
  327. .info i {color:{color:accent};}
  328.  
  329. .tags:before {
  330. content:'';
  331. background:{color:accent};
  332. height:1px;
  333. width:15%;
  334. margin:0 auto 10px;
  335. display:block;
  336. {block:ifhovertags}
  337. opacity:0;
  338. width:0;
  339. transition-duration: 1.1s;
  340. -moz-transition-duration: 1.1s;
  341. -webkit-transition-duration: 1.1s;
  342. -o-transition-duration: 1.1s;
  343. {/block:ifhovertags}
  344. }
  345.  
  346. .tags {
  347. font-style:italic;
  348. opacity:1;
  349. text-align:center;
  350. margin-top:10px;
  351. }
  352.  
  353. .tags a {margin-right:9px;}
  354.  
  355. .posts:hover .tags:before {
  356. opacity:1;
  357. width:15%;
  358. transition-duration: 1.1s;
  359. -moz-transition-duration: 1.1s;
  360. -webkit-transition-duration: 1.1s;
  361. -o-transition-duration: 1.1s;
  362. }
  363.  
  364. @keyframes reveal{0%{clip-path:inset(0 50% 0 50%);-webkit-clip-path:inset(0 50% 0 50%)}100%{clip-path:inset(0 0 0 0);-webkit-clip-path:inset(0 0 0 0)}}@-moz-keyframes reveal{0%{clip-path:inset(0 50% 0 50%);-webkit-clip-path:inset(0 50% 0 50%)}100%{clip-path:inset(0 0 0 0);-webkit-clip-path:inset(0 0 0 0)}}@-webkit-keyframes reveal{0%{clip-path:inset(0 50% 0 50%);-webkit-clip-path:inset(0 50% 0 50%)}100%{clip-path:inset(0 0 0 0);-webkit-clip-path:inset(0 0 0 0)}}@-o-keyframes reveal{0%{clip-path:inset(0 50% 0 50%);-webkit-clip-path:inset(0 50% 0 50%)}100%{clip-path:inset(0 0 0 0);-webkit-clip-path:inset(0 0 0 0)}}
  365. @keyframes hide{0%{clip-path:inset(0 0 0 0);-webkit-clip-path:inset(0 0 0 0)}100%{clip-path:inset(0 50% 0 50%);-webkit-clip-path:inset(0 50% 0 50%)}}@-moz-keyframes hide{0%{clip-path:inset(0 0 0 0);-webkit-clip-path:inset(0 0 0 0)}100%{clip-path:inset(0 50% 0 50%);-webkit-clip-path:inset(0 50% 0 50%)}}@-webkit-keyframes hide{0%{clip-path:inset(0 0 0 0);-webkit-clip-path:inset(0 0 0 0)}100%{clip-path:inset(0 50% 0 50%);-webkit-clip-path:inset(0 50% 0 50%)}}@-o-keyframes hide{0%{clip-path:inset(0 0 0 0);-webkit-clip-path:inset(0 0 0 0)}100%{clip-path:inset(0 50% 0 50%);-webkit-clip-path:inset(0 50% 0 50%)}}
  366.  
  367. /* fix ones with hide */
  368.  
  369. .pl {
  370. padding:8px 15px;
  371. text-align:center;
  372. text-transform:lowercase;
  373. margin-top:5px;
  374. color:{color:links};
  375. }
  376.  
  377. .pl:before {
  378. content:'';
  379. height:1px;
  380. width:15%;
  381. background:{color:accent};
  382. display:block;
  383. margin:10px auto;
  384. }
  385.  
  386. .pltags {display:inline;}
  387. .pltags a:after {content:',';}
  388. .pltags a:last-child:after {content:'';}
  389.  
  390. /*-- notes --*/
  391. ol.notes {
  392. background:{color:caption background};
  393. padding:10px;
  394. list-style-type:none;
  395. width:{select:post width};
  396. }
  397. ol.notes li:before {content:'';}
  398. ol.notes li.note {margin:5px 0 0 35px;}
  399. ol.notes li.note img.avatar {display:none;}
  400. ol.notes li.note blockquote {padding:4px 10px;margin:10px 0px 0px 25px;}
  401.  
  402. /*-- like/reblog buttons by @shythemes --*/
  403. svg {
  404. width:10px;
  405. height:auto;
  406. display:block;
  407. overflow:visible;
  408. }
  409. .controls {
  410. position:absolute;
  411. display:block;
  412. margin-left:calc({select:post width} + 20px);
  413. padding-left:5px;
  414. border-left:1px solid {color:accent};
  415. line-height:100%;
  416.  
  417. }
  418. .controls a {
  419. position:relative;
  420. display:block;
  421. overflow:hidden;
  422. padding:5px;
  423. width:12px;
  424. height:12px;
  425. }
  426. .controls svg:hover, .controls a:hover {cursor:pointer;}
  427. .controls .reblog, #plcontrols .reblog {opacity:.93;}
  428. .controls .reblog svg, #plcontrols .reblog svg {width:9px;margin-top:1px;}
  429. .controls .reblog svg path, .controls .like svg path {
  430. fill:{color:links};
  431. -webkit-transition:0.4s ease-in;
  432. -moz-transition:0.4s ease-in;
  433. -o-transition:0.4s ease-in;
  434. }
  435. .controls .reblog:hover svg path, .controls .like:hover svg path {
  436. fill:{color:accent};
  437. -webkit-transition:0.4s ease-in;
  438. -moz-transition:0.4s ease-in;
  439. -o-transition:0.4s ease-in;
  440. }
  441. .controls .like .liked + svg, #plcontrols .like .liked + svg {opacity:1;}
  442. .controls .like .liked + svg path {fill:{color:accent};}
  443. .controls .like .like_button, #plcontrols .like .like_button {position:relative;}
  444. .controls .like .like_button iframe, #plcontrols .like .like_button iframe {
  445. position:absolute;
  446. top:0;
  447. left:0;
  448. bottom:0;
  449. right:0;
  450. z-index:2;
  451. opacity:0;
  452. }
  453.  
  454. /*-- sidebar --*/
  455. .side {
  456. position:fixed;
  457. margin:3% 0 0 8%;
  458. width:{text:sidebar width}px;
  459. padding:20px;
  460. z-index:9999;
  461. }
  462.  
  463. .side img {
  464. position:relative;
  465. width:50px;
  466. height:50px;
  467. margin:auto;
  468. display:block;
  469. border:1px solid {color:accent};
  470. border-radius:50%;
  471. padding:5px;
  472. }
  473.  
  474. .side h1 {
  475. text-align:center;
  476. font-size:calc({text:font size} + 5.5px);
  477. font-weight:600;
  478. font-style:normal;
  479. letter-spacing:1px;
  480. text-transform:lowercase;
  481. color:{color:text};
  482. }
  483.  
  484. .border {
  485. height:1px;
  486. width:25%;
  487. background-color:{color:accent};
  488. margin:auto;
  489. }
  490.  
  491. .desc {
  492. font-style:italic;
  493. padding:8px 10px 6px 10px;
  494. text-align:center;
  495. }
  496.  
  497. .links {
  498. font-size:calc({text:font size} + 1px);
  499. font-weight:500;
  500. padding:5px 10px 10px 10px;
  501. text-align:center;
  502. text-transform:uppercase;
  503. }
  504.  
  505. .links a {padding:0 2px;margin-right:6px;}
  506.  
  507. /*-- other --*/
  508. .pag {
  509. text-align:center;
  510. margin-bottom:75px;
  511. padding:2px;
  512. max-height:{text:font size};
  513. cursor:pointer;
  514. }
  515.  
  516. .pag i {cursor:pointer;}
  517.  
  518. .pag a {
  519. font-size:calc({text:font size} + 5px);
  520. margin:8px;
  521. padding:8px;
  522. border:1px solid {color:caption background};
  523. border-radius:50%;
  524. box-shadow:0 0 0 0;
  525. }
  526.  
  527. .pag a:hover {
  528. animation:circle 1s infinite;
  529. -moz-animation:circle 1s infinite;
  530. -webkit-animation:circle 1s infinite;
  531. -o-animation:circle 1s infinite;
  532. }
  533.  
  534. .currentpage {color:{color:accent};}
  535.  
  536. .nextpage a:hover .nextpage i {
  537. padding-left:10px;
  538. -webkit-transition:0.4s ease-in;
  539. -moz-transition:0.4s ease-in;
  540. -o-transition:0.4s ease-in;
  541. }
  542.  
  543. /*-- photos --*/
  544. .photo {border:none;}
  545. .photoset-grid {grid-gap:3px;margin-bottom:10px;}
  546.  
  547. /*-- custom lightbox by @shythemes --*/
  548. .vignette, #vignette {opacity:0;}
  549. .lightbox-image, #tumblr_lightbox img {box-shadow:none !important;border-radius:0 !important;max-width:none;}
  550. .tmblr-lightbox, #tumblr_lightbox {background-color:rgba(245,245,245,.94) !important;}
  551.  
  552.  
  553. /*-- quotes --*/
  554. .quote {
  555. padding:10px 20px;
  556. font-size:calc({text:font size} + 2px);
  557. font-style:italic;
  558. text-align:center;
  559. }
  560.  
  561. .quote:before {
  562. content:'\eca8';
  563. font-family:'honeybee';
  564. font-size:calc({text:font size} + 45px);
  565. float:left;
  566. opacity:0.5;
  567. color:{color:accent};
  568. }
  569.  
  570. .qsource {
  571. text-align:center;
  572. margin-top:10px;
  573. }
  574.  
  575. .qsource:before {
  576. display:block;
  577. content:'';
  578. background-color:{color:accent};
  579. width:10%;
  580. height:1px;
  581. margin:0 auto 10px auto;
  582. }
  583.  
  584. /*-- links --*/
  585. .link {margin-bottom:5px;}
  586.  
  587. .link a {
  588. font-family:'Karla', sans-serif;
  589. font-size:calc({text:font size} + 6px);
  590. text-align:left;
  591. font-style:italic;
  592. border-bottom:1px solid {color:background};
  593. }
  594.  
  595. .link a:after {
  596. content:' >>';
  597. color:{color:background};
  598. -webkit-transition:0.4s ease-in;
  599. -moz-transition:0.4s ease-in;
  600. -o-transition:0.4s ease-in;
  601. }
  602.  
  603. .link a:hover {border-bottom:1px solid {color:accent};}
  604.  
  605. .link a:hover:after {
  606. margin-left:5px;
  607. color:{color:accent};
  608. -webkit-transition:0.4s ease-in;
  609. -moz-transition:0.4s ease-in;
  610. -o-transition:0.4s ease-in;
  611. }
  612.  
  613. /*-- questions --*/
  614. .asker {
  615. text-transform:lowercase;
  616. font-style:italic;
  617. text-align:center;
  618. }
  619.  
  620. .asker img {
  621. width:20px;
  622. margin-right:4px;
  623. border-radius:50%;
  624. }
  625.  
  626. .asker b {
  627. font-weight:400;
  628. margin-bottom:5px;
  629. padding:2px 3px;
  630. }
  631.  
  632. .aborder {
  633. width:15%;
  634. height:1px;
  635. margin:5px auto;
  636. background:{color:accent};
  637. }
  638.  
  639. .question {
  640. background:{color:background};
  641. padding:3px 20px 10px 25px;
  642. text-align:center;
  643. }
  644.  
  645. .answer {
  646. background:{color:caption background};
  647. padding:5px 20px;
  648. margin-top:-25px;
  649. text-align:left;
  650. }
  651.  
  652. /*-- chat --*/
  653. .chat {list-style:none;}
  654.  
  655. .chat b {
  656. padding-right:2px;
  657. text-transform:lowercase;
  658. font-weight:600;
  659. font-style:italic;
  660. }
  661.  
  662. .line.odd {
  663. background:{color:caption background};
  664. padding:8px 13px;
  665. margin-bottom:3px;
  666. }
  667.  
  668. .line.even {
  669. background:{color:caption background};
  670. padding:8px 13px;
  671. margin-bottom:3px;
  672. }
  673.  
  674.  
  675. /*-- audio --*/
  676. .audio {
  677. height:40px;
  678. position:relative;
  679. display:inline-block;
  680. margin-bottom:10px;
  681. }
  682.  
  683. .playbox {
  684. float:left;
  685. height:40px;
  686. width:40px;
  687. background:#f2f2f2;
  688. overflow:hidden;
  689. border-radius:50%;
  690. box-shadow:0 0 0 0;
  691. }
  692.  
  693. .playbox:hover {
  694. animation:circle 1s infinite;
  695. -moz-animation:circle 1s infinite;
  696. -webkit-animation:circle 1s infinite;
  697. -o-animation:circle 1s infinite;
  698. }
  699.  
  700. @keyframes circle{0%{box-shadow:1px 0 0 1px{color:accent}}33%{box-shadow:0 1px 0 1px{color:accent}}67%{box-shadow:-1px 0 0 1px{color:accent}}100%{box-shadow:0 -1px 0 1px{color:accent}}}@-moz-keyframes circle{0%{box-shadow:1px 0 0 1px{color:accent}}33%{box-shadow:0 1px 0 1px{color:accent}}67%{box-shadow:-1px 0 0 1px{color:accent}}100%{box-shadow:0 -1px 0 1px{color:accent}}}@-webkit-keyframes circle{0%{box-shadow:1px 0 0 1px{color:accent}}33%{box-shadow:0 1px 0 1px{color:accent}}67%{box-shadow:-1px 0 0 1px{color:accent}}100%{box-shadow:0 -1px 0 1px{color:accent}}}@-o-keyframes circle{0%{box-shadow:1px 0 0 1px{color:accent}}33%{box-shadow:0 1px 0 1px{color:accent}}67%{box-shadow:-1px 0 0 1px{color:accent}}100%{box-shadow:0 -1px 0 1px{color:accent}}}
  701.  
  702. .playbutton {
  703. width:30px;
  704. height:30px;
  705. margin:5px 6px 5px 4px;
  706. overflow:hidden;
  707. }
  708.  
  709. .tumblr_audio_player {
  710. height:50px;
  711. width:500px;
  712. }
  713.  
  714. .trackdetails {
  715. display:inline-block;
  716. margin-left:30px;
  717. font-size:10px;
  718. line-height:15px;
  719. text-transform:lowercase;
  720. padding:5px;
  721. }
  722.  
  723. .spotify_audio_player {height:80px!important;}
  724.  
  725. /*-- media queries --*/
  726. @media only screen
  727. and (min-device-width: 1024px) {
  728. .tags {{block:ifhovertags}white-space:nowrap;overflow:hidden;clip-path: inset(0px 50% 0px 50%);-webkit-clip-path: inset(0px 50% 0px 50%);animation:hide 0.8s;-moz-animation:hide 0.8s;-webkit-animation:hide 0.8s;}
  729. .posts:hover .tags{animation:reveal 3.5s;-moz-animation:reveal 3.5s;-webkit-animation:reveal 3.5s;-o-animation:reveal 3.5s{/block:ifhovertags}}
  730. #menu, .open, #plcontrols {display:none;}
  731. }
  732.  
  733. @media only screen
  734. and (max-device-width: 1024px) {
  735. html {-webkit-text-size-adjust:100%;}
  736. .controls, .links, .hcontrols, iframe.tmblr-iframe {display:none;}
  737. .playbox:hover, .pag a:hover {animation:none;}
  738. .side {position:relative;margin:auto;width:50vw;}
  739.  
  740. .container{width:85%;margin:3% auto}.posts{margin:0 auto 80px auto;width:90%}ol.notes{margin:auto;width:90%}.tags,.tags:before{opacity:1}.tags{white-space:normal;clip-path:inset(0 0 0 0)}.tags:before{width:15%}#plcontrols{text-align:center;line-height:100%;margin-top:20px}#plcontrols svg{display:inline}#plcontrols a{position:relative;overflow:hidden;padding:5px;width:12px;height:12px}#plcontrols .reblog svg path,#plcontrols .like svg path{fill:{color:accent};-webkit-transition:0.4s ease-in;-moz-transition:0.4s ease-in;-o-transition:0.4s ease-in}#plcontrols .reblog:hover svg path,#plcontrols .like:hover svg path{fill:{color:links};-webkit-transition:0.4s ease-in;-moz-transition:0.4s ease-in;-o-transition:0.4s ease-in}#plcontrols .like .liked + svg path{fill:{color:links}}
  741.  
  742. /*-- mobile menu --*/
  743. #menu {
  744. position:fixed;
  745. width:0vw;
  746. height:100vh;
  747. top:0;
  748. left:50%;
  749. background:rgba({RGBcolor:accent},0.85);
  750. z-index:999999;
  751. overflow:hidden;
  752. -webkit-transition:1s ease-in;
  753. -moz-transition:1s ease-in;
  754. -o-transition:1s ease-in;
  755. }
  756.  
  757. .mlinks {
  758. margin:15% auto;
  759. width:80vw;
  760. text-align:center;
  761. white-space:nowrap;
  762. overflow:hidden;
  763. clip-path: inset(0px 50% 0px 50%);
  764. -webkit-clip-path: inset(0px 50% 0px 50%);
  765. }
  766.  
  767. .mlinks a {
  768. display:block;
  769. margin:15px;
  770. color:{color:text};
  771. font-size:16px;
  772. }
  773.  
  774. .mc {
  775. margin-top:12vh;
  776. font-family:'Karla', sans-serif;
  777. font-size:13px;
  778. background:{color:caption background};
  779. padding:10px;
  780. width:auto;
  781. margin:auto;
  782. }
  783.  
  784. .mc a {
  785. display:inline;
  786. margin:0;
  787. font-size:13px;
  788. }
  789.  
  790. .mcontrols {
  791. margin:7px;
  792. }
  793.  
  794. .mcontrols a {
  795. font-size:12px;
  796. display:inline;
  797. margin:0;
  798. }
  799.  
  800. .open {
  801. position:fixed;
  802. top:0;
  803. right:0;
  804. z-index:999999999;
  805. }
  806.  
  807. .open i, .close i {
  808. width:14px;
  809. height:14px;
  810. padding:9px;
  811. font-size:17px;
  812. color:{color:accent};
  813. }
  814.  
  815. .close i {
  816. color:{color:text};
  817. margin:15px;
  818. }
  819.  
  820. }
  821.  
  822. @media (orientation: landscape) {.mlinks {margin:0 auto;}}
  823.  
  824. </style>
  825. </head>
  826.  
  827. <body>
  828.  
  829. <!---start sidebar--->
  830. <div class="side">
  831.  
  832. <img src="{image:sidebar}"/>
  833.  
  834. <h1>{Title}</h1>
  835. <div class="border"></div>
  836. <div class="desc">{Description}</div>
  837.  
  838. <div class="links">
  839. <a title="{text:index link}" href="/">i.</a>
  840. <a title="{text:ask link}" href="/ask">ii.</a>
  841. {block:iflinkone}<a title="{text:link 1}" href="{text:link 1 url}">iii.</a>{/block:iflinkone}
  842. {block:iflinktwo}<a title="{text:link 2}" href="{text:link 2 url}">iv.</a>{/block:iflinktwo}
  843. {block:iflinkthree}<a title="{text:link 3}" href="{text:link 3 url}">v.</a>{/block:iflinkthree}
  844. {block:iflinkfour}<a title="{text:link 4}" href="{text:link 4 url}">vi.</a>{/block:iflinkfour}
  845. <!-- if you want to add more links add them here and also below if you are also using this theme on mobile
  846. <a title="link title here" href="link url here">vii.</a>
  847. -->
  848. </div>
  849. <!-- sidebar links end -->
  850.  
  851. </div>
  852. <!-- end sidebar -->
  853.  
  854.  
  855. <!-- start mobile links -->
  856. <div id="menu">
  857. <a href="javascript:void(0)" class="close" onclick="closeMenu()"><i class="material-icons">close</i></a>
  858.  
  859. <div class="mlinks">
  860. <a href="/">i. {text:index link}</a>
  861. <a href="/ask">ii. {text:ask link}</a>
  862. {block:iflink1}<a href="{text:link 1 url}">iii. {text:link 1}</a>{/block:iflink1}
  863. {block:iflink2}<a href="{text:link 2 url}">iv. {text:link 2}</a>{/block:iflink2}
  864. {block:iflink3}<a href="{text:link 3 url}">v. {text:link 3}</a>{/block:iflink3}
  865. {block:iflink4}<a href="{text:link 4 url}">vi. {text:link 4}</a>{/block:iflink4}
  866. <!-- add more links here! -->
  867.  
  868. <div class="mc">theme by <a href="https://divinethemes.tumblr.com">divinethemes</a></div>
  869. <div class="mcontrols">
  870. <a href="https://tumblr.com/follow/{Name}">follow &nbsp;›&nbsp;</a>
  871. <a href="https://tumblr.com/message/{Name}">message &nbsp;›&nbsp;</a>
  872. <a href="https://tumblr.com">dash</a>
  873. </div>
  874. </div>
  875.  
  876. </div>
  877. <!-- end mobile links -->
  878.  
  879.  
  880. <div class="container">
  881.  
  882. <!-- controls -->
  883. <div class="hcontrols"><i class="material-icons">apps</i></div>
  884. <!-- controls end -->
  885.  
  886. <!-- mobile links icon -->
  887. <div class="open" onclick="openMenu()"><i class="material-icons">apps</i></div>
  888.  
  889. {block:TagPage}
  890. <div class="tagpage"><h1>#{Tag}</h1></div>
  891. {/block:TagPage}
  892.  
  893.  
  894. {block:Posts}
  895. <div class="posts" id="{PostID}">
  896.  
  897.  
  898. {block:Date}
  899. <div class="controls">
  900. <a href="#" class="like">{LikeButton}
  901. <svg xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 442.403 442.403" style="enable-background:new 0 0 442.403 442.403;" xml:space="preserve"><g><g><path d="M213.05,422.652c2.833,1.7,5.95,2.833,9.35,2.833c3.117,0,6.517-0.85,9.35-2.833c7.65-5.1,187.283-123.533,207.683-243.95 c10.483-62.333-8.783-100.867-26.633-122.117c-20.967-24.933-52.133-39.667-83.017-39.667c-10.2,0-20.117,1.7-28.9,5.1 c-43.067,16.15-72.25,44.767-88.117,64.317c-15.583-19.267-42.217-47.033-74.517-58.083c-9.917-3.4-20.683-5.1-32.017-5.1 c-28.9,0-56.383,11.9-75.367,32.867c-16.717,18.417-35.7,53.55-29.75,114.75C13.016,291.185,204.833,417.268,213.05,422.652z M56.083,78.685c17.283-18.983,38.817-21.817,50.15-21.817c7.367,0,14.45,1.133,20.967,3.4 c39.383,13.317,70.833,63.467,71.4,63.75c3.117,5.1,8.783,8.217,14.733,7.933c5.95,0,11.333-3.4,14.45-8.5 c0.283-0.567,28.617-48.733,85.283-69.983c4.817-1.7,10.767-2.833,16.717-2.833c20.967,0,42.217,10.483,56.95,27.767 c19.267,22.667,25.783,55.533,18.983,94.633c-7.367,43.067-42.5,94.633-101.717,149.317c-33.433,30.883-66.3,54.683-81.6,65.45 c-16.15-11.05-51-36.55-86.417-68.85C74.216,262.285,39.366,209.868,35.116,167.368C31.433,128.552,38.516,97.952,56.083,78.685z"/></g></g></svg>
  902. </a>
  903. <a href="{ReblogURL}" target="_blank" class="reblog">
  904. <svg xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 361.095 361.095" style="enable-background:new 0 0 361.095 361.095;" xml:space="preserve"><g><g><path d="M182.595,325.678c-63.183,0-120.133-42.217-138.267-102.567c-2.833-9.067-12.183-14.167-21.25-11.333 c-9.067,2.833-14.167,12.183-11.333,21.25c22.95,75.933,91.517,126.65,170.85,126.65c98.317,0,178.5-80.183,178.5-178.5 s-80.183-178.5-178.5-178.5c-55.817,0-108.233,26.633-141.667,69.7l-7.083-56.1c-1.133-9.35-9.633-15.867-18.983-14.733 C5.511,2.678-1.005,11.178,0.128,20.528l13.317,103.7c1.133,8.5,8.5,14.733,16.717,14.733c0.567,0,1.417,0,1.983,0l102.567-11.617 c9.35-1.133,16.15-9.35,15.017-18.7s-9.35-16.15-18.7-15.017l-68.85,7.65c26.633-39.95,71.683-64.6,120.417-64.6 c79.617,0,144.5,64.883,144.5,144.5S262.211,325.678,182.595,325.678z"/></g></g></svg>
  905. </a>
  906. </div>{/block:Date}
  907.  
  908.  
  909. {block:Text}
  910. <div class="caption">{block:Title}<h1>{Title}</h1>{/block:Title} {Body}</div>{/block:Text}
  911.  
  912.  
  913. {block:Photo}
  914. <!-- {LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag} -->
  915. <a href="#" onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false">
  916. <img src="{PhotoURL-HighRes}">
  917. </a>
  918. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  919. {/block:Photo}
  920.  
  921.  
  922. {block:Photoset}
  923. <div class="photoset-grid" photoset-layout="{PhotosetLayout}">{block:Photos}<div data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}" data-lowres="{PhotoURL-500}" data-highres="{PhotoURL-HighRes}" onclick="lightbox(this)"><img src="{PhotoURL-HighRes}" /></div>{/block:Photos}</div>
  924. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  925. {/block:Photoset}
  926.  
  927.  
  928. {block:Quote}
  929. <div class="quote">{Quote}</div>
  930. {block:Source}<div class="qsource">{Source}</div>
  931. {/block:Source}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:Quote}
  932.  
  933.  
  934. {block:Link}
  935. <div class="link"><a href="{URL}" {Target}>{Name}</a></div>
  936. {block:Description}<div class="caption">{Description}</div>{/block:Description}
  937. {/block:Link}
  938.  
  939.  
  940. {block:Answer}
  941. <div class="asker"><img src="{AskerPortraitURL-24}"><br><b>{Asker} said</b></div>
  942. <div class="aborder"></div>
  943. <div class="question">{Question}</div><br>
  944. <div class="answer">
  945. {Answer}</div>
  946. {/block:Answer}
  947.  
  948.  
  949. {block:Chat}
  950. <div class="chat">
  951. {block:Title}<h1>{Title}</h1>{/block:Title}
  952. {block:Lines}<div class="line {Alt}"><div class="{Alt} user_{UserNumber}">{block:Label}<b>{Label}</b> {/block:Label}{Line}</div></div>{/block:Lines}
  953. </div>
  954. {/block:Chat}
  955.  
  956.  
  957. {block:Audio}
  958. {block:AudioPlayer}
  959. <div class="audio">
  960. <div class="playbox">
  961. <div class="playbutton">
  962. {AudioPlayer}
  963. </div>
  964. </div>
  965. <div class="trackdetails">
  966. {block:TrackName}<b>{TrackName}</b>{/block:TrackName}<br>
  967. {block:Artist}<i>{Artist}</i>{/block:Artist}<br>
  968. </div>
  969. </div>
  970. {/block:AudioPlayer}
  971.  
  972.  
  973. {block:Caption}
  974. <div class="caption">{Caption}</div>
  975. {/block:Caption}
  976. {/block:Audio}
  977.  
  978.  
  979. {block:Video}
  980. <div class="video">{Video-500}</div>
  981. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  982. {/block:Video}
  983.  
  984.  
  985. <!-- info -->
  986. {block:IndexPage}
  987. <div class="info">
  988. <a title="{TimeAgo}" href="{Permalink}">
  989. {block:Date}
  990. {ShortMonth} {DayOfMonthWithZero}
  991. {/block:Date}
  992.  
  993. & <span class="notecount">{NoteCount}</span></a>
  994.  
  995.  
  996. {block:HasTags}
  997. <div class="tags">
  998. {block:Tags}
  999. <a href="{TagURL}">#{Tag}</a>
  1000. {/block:Tags}
  1001. </div>
  1002. {/block:HasTags}
  1003.  
  1004. </div>{/block:IndexPage}
  1005.  
  1006. {block:Date}
  1007. {block:PermalinkPage}
  1008. <div class="pl">
  1009. posted {TimeAgo} on {block:Date} {Month} {DayOfMonthWithZero}{/block:Date} {block:NoteCount}with {NoteCountWithLabel}{/block:NoteCount} <br>
  1010. {block:RebloggedFrom}via <a href="{ReblogParentURL}">{ReblogParentName}</a>,
  1011. original post by {block:ContentSource}<a href="{ReblogRootURL}">{ReblogRootName}</a><br>{/block:ContentSource}
  1012. {/block:RebloggedFrom}
  1013. {block:HasTags}filed under:
  1014. <div class="pltags">
  1015. {block:Tags}
  1016. <a href="{TagURL}">{Tag}</a>
  1017. {/block:Tags}
  1018. </div>
  1019. {/block:HasTags}
  1020.  
  1021. <!-- like/reblog buttons on mobile -->
  1022. {block:Date}
  1023. <div id="plcontrols">
  1024. <a href="#" class="like">{LikeButton}<svg xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 442.403 442.403" style="enable-background:new 0 0 442.403 442.403;" xml:space="preserve"><g><g><path d="M213.05,422.652c2.833,1.7,5.95,2.833,9.35,2.833c3.117,0,6.517-0.85,9.35-2.833c7.65-5.1,187.283-123.533,207.683-243.95 c10.483-62.333-8.783-100.867-26.633-122.117c-20.967-24.933-52.133-39.667-83.017-39.667c-10.2,0-20.117,1.7-28.9,5.1 c-43.067,16.15-72.25,44.767-88.117,64.317c-15.583-19.267-42.217-47.033-74.517-58.083c-9.917-3.4-20.683-5.1-32.017-5.1 c-28.9,0-56.383,11.9-75.367,32.867c-16.717,18.417-35.7,53.55-29.75,114.75C13.016,291.185,204.833,417.268,213.05,422.652z M56.083,78.685c17.283-18.983,38.817-21.817,50.15-21.817c7.367,0,14.45,1.133,20.967,3.4 c39.383,13.317,70.833,63.467,71.4,63.75c3.117,5.1,8.783,8.217,14.733,7.933c5.95,0,11.333-3.4,14.45-8.5 c0.283-0.567,28.617-48.733,85.283-69.983c4.817-1.7,10.767-2.833,16.717-2.833c20.967,0,42.217,10.483,56.95,27.767 c19.267,22.667,25.783,55.533,18.983,94.633c-7.367,43.067-42.5,94.633-101.717,149.317c-33.433,30.883-66.3,54.683-81.6,65.45 c-16.15-11.05-51-36.55-86.417-68.85C74.216,262.285,39.366,209.868,35.116,167.368C31.433,128.552,38.516,97.952,56.083,78.685z"/></g></g></svg></a><a href="{ReblogURL}" target="_blank" class="reblog"><svg xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 361.095 361.095" style="enable-background:new 0 0 361.095 361.095;" xml:space="preserve"><g><g><path d="M182.595,325.678c-63.183,0-120.133-42.217-138.267-102.567c-2.833-9.067-12.183-14.167-21.25-11.333 c-9.067,2.833-14.167,12.183-11.333,21.25c22.95,75.933,91.517,126.65,170.85,126.65c98.317,0,178.5-80.183,178.5-178.5 s-80.183-178.5-178.5-178.5c-55.817,0-108.233,26.633-141.667,69.7l-7.083-56.1c-1.133-9.35-9.633-15.867-18.983-14.733 C5.511,2.678-1.005,11.178,0.128,20.528l13.317,103.7c1.133,8.5,8.5,14.733,16.717,14.733c0.567,0,1.417,0,1.983,0l102.567-11.617 c9.35-1.133,16.15-9.35,15.017-18.7s-9.35-16.15-18.7-15.017l-68.85,7.65c26.633-39.95,71.683-64.6,120.417-64.6 c79.617,0,144.5,64.883,144.5,144.5S262.211,325.678,182.595,325.678z"/></g></g></svg></a>
  1025. </div>{/block:Date}
  1026.  
  1027. </div>
  1028. {/block:PermalinkPage}{/block:Date}
  1029.  
  1030.  
  1031. </div>
  1032. {block:PostNotes}
  1033. {PostNotes}
  1034. {/block:PostNotes}
  1035.  
  1036.  
  1037. {/block:Posts}
  1038.  
  1039.  
  1040. {block:ContentSource}
  1041. <!-- {SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
  1042. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  1043. {/block:SourceLogo}{block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  1044. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  1045.  
  1046. <!-- pagination -->
  1047. <div class="pag">{block:Pagination}
  1048. {block:NextPage}<span class="nextpage"><a href="{NextPage}"> <i class="fas fa-chevron-right fa-fw"></i></a></span>{/block:NextPage}
  1049. {/block:Pagination}</div>
  1050.  
  1051.  
  1052. <!-- stats and scroll to top -->
  1053. <div class="stats">
  1054. <div class="scrollup"><a href="#"><i class="fas fa-chevron-up"></i></a></div>
  1055. {block:ifstats}{text:online} / {text:views}{/block:ifstats}
  1056. </div>
  1057.  
  1058. <!-- credit // do not edit or delete pls ! -->
  1059. <div class="c"><a title="divine themes" target="_blank" href="https://divinethemes"><i class="fas fa-crown"></i></a></div>
  1060.  
  1061. <!-- tooltips -->
  1062. <script src="https://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  1063. <script>
  1064. (function($){
  1065. $(document).ready(function(){
  1066. $("[title]").style_my_tooltips({
  1067. tip_follows_cursor:true,
  1068. tip_delay_time:200,
  1069. tip_fade_speed:300
  1070. }
  1071. );
  1072. });
  1073. })(jQuery);
  1074. </script>
  1075.  
  1076. <!-- smoothscroll -->
  1077. <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.1/SmoothScroll.min.js"></script>
  1078.  
  1079. <!-- un-nest captions by @neothm and @magnusthemes -->
  1080. <script src="https://static.tumblr.com/wgg6svp/OoTofxa0c/unnest.min.js"></script>
  1081. <script> $(function(){ $('.posts').unnest({
  1082. yourCaption: ".caption",
  1083. wrapName: ".tumblr_parent",
  1084. newCaptionUsername: false,
  1085. originalPostCaptionUsername: false,
  1086. tumblrAvatars: false,
  1087. tumblrAvatarClass: ".tumblr_avatar",
  1088. usernameColon: false
  1089. }); }); </script>
  1090.  
  1091. <script>
  1092. // note count shortening by @shythemes
  1093. var $container = $('.container');
  1094. $container.find('.notecount').each(function(){
  1095. var n = $(this).html().split(' ')[0].replace(/,/g, '');
  1096. if (n > 999) {
  1097. n = Math.floor(n / 100) / 10;
  1098. $(this).text(n + 'k');
  1099. }
  1100. });
  1101.  
  1102. // scroll to top by @html-tuts
  1103. $(window).scroll(function(){if($(window).scrollTop()>100){$('.scrollup').fadeIn('slow')}else{$('.scrollup').fadeOut('slow')}});$('.scrollup').click(function(){$('html, body').animate({scrollTop:0},700);return!1})
  1104.  
  1105. // remove tumblr redirects by @magnusthemes
  1106. $(document).ready(function(){
  1107. //remove tumblr redirects script by magnusthemes@tumblr
  1108. $('a[href*="t.umblr.com/redirect"]').each(function(){
  1109. var originalURL = $(this).attr("href").split("?z=")[1].split("&t=")[0];
  1110. var replaceURL = decodeURIComponent(originalURL);
  1111. $(this).attr("href", replaceURL);
  1112. });
  1113. });
  1114. </script>
  1115.  
  1116. <!-- mobile menu -->
  1117. <script src="https://static.tumblr.com/qypksof/9Repxjgff/mobile_menu.js"></script>
  1118.  
  1119. <!-- tumblr controls color -->
  1120. <script type="text/javascript" src="https://static.tumblr.com/qypksof/i1Epxjfpc/controlscolor.js"></script>
  1121. <script>darkOrLight('{color:background}');window.onload=function(){addCss(rule)};</script>
  1122.  
  1123. <!-- css photosets by @annasthms and @espoirthemes -->
  1124. <link href="https://static.tumblr.com/0podkko/bwepdyarh/photosets.css" rel="stylesheet">
  1125. <script>
  1126. function gatherData(images,arr){for(let i=0;i<images.length;i++){let currentData={"width":images[i].getAttribute('data-width'),"height":images[i].getAttribute('data-height'),"low_res":images[i].getAttribute('data-lowres'),"high_res":images[i].getAttribute('data-highres')};arr.push(currentData)}}
  1127. function getIndex(elem){let i=0;while((elem=elem.previousElementSibling)!=null)i++;return i}
  1128. function lightbox(elem){let currentPhotoset=elem.parentNode;let photosetPhotos=currentPhotoset.getElementsByTagName('div');let data=[];gatherData(photosetPhotos,data);Tumblr.Lightbox.init(data,getIndex(elem)+1)}
  1129. </script>
  1130.  
  1131. <!-- video resizing by @shythemes -->
  1132. <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
  1133.  
  1134. </body>
  1135. </html>
Advertisement
Add Comment
Please, Sign In to add comment