Advertisement
vitaminholland

Theme — Invisible String

May 27th, 2022 (edited)
2,464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 33.78 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC>
  2.  
  3. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  4.  
  5. <html>
  6.  
  7. <head>
  8.  
  9. <title>{Title}</title>
  10.  
  11. <link rel="shortcut icon" href="{Favicon}">
  12.  
  13. <!-- 'Invisible String' by vitaminholland -->
  14.  
  15. <!-- Metadata -->
  16.  
  17. <meta name="color:Background" content="#f8f8f8"/>
  18. <meta name="color:Border" content="#eeeeee"/>
  19. <meta name="color:Chat Even Background" content="#f0f0f0"/>
  20. <meta name="color:Link" content="#000000"/>
  21. <meta name="color:Link Hover" content="#cfcfcf"/>
  22. <meta name="color:Like" content="#ec6363"/>
  23. <meta name="color:Main Color" content="#e3dbdb"/>
  24. <meta name="color:Pin" content="#31a49d"/>
  25. <meta name="color:Post Background" content="#ffffff"/>
  26. <meta name="color:Pre Background" content="#f8f8f8"/>
  27. <meta name="color:Scrollbar" content="#000000"/>
  28. <meta name="color:Text" content="#555555"/>
  29. <meta name="color:Tooltip Background" content="#000000"/>
  30. <meta name="color:Tooltip Color" content="#ffffff"/>
  31.  
  32. <meta name="select:Heading Font" content="Playfair Display" title="Playfair Display"/>
  33. <meta name="select:Heading Font" content="Lora" title="Lora"/>
  34. <meta name="select:Heading Font" content="Noto Serif Display" title="Noto Serif Display"/>
  35.  
  36. <meta name="select:Body Font" content="Noto Sans" title="Noto Sans"/>
  37. <meta name="select:Body Font" content="DM Sans" title="DM Sans"/>
  38. <meta name="select:Body Font" content="Golos Text" title="Golos Text"/>
  39. <meta name="select:Body Font" content="Karla" title="Karla"/>
  40. <meta name="select:Body Font" content="Nunito Sans" title="Nunito Sans"/>
  41. <meta name="select:Body Font" content="Open Sans" title="Open Sans"/>
  42. <meta name="select:Body Font" content="Work Sans" title="Work Sans"/>
  43.  
  44. <meta name="select:Body Font Size" content="0.9rem" title="0.9rem"/>
  45. <meta name="select:Body Font Size" content="1rem" title="1rem"/>
  46. <meta name="select:Body Font Size" content="0.8rem" title="0.8rem"/>
  47.  
  48. <meta name="select:Uppercase Font Size" content="0.8rem" title="0.8rem"/>
  49. <meta name="select:Uppercase Font Size" content="0.9rem" title="0.9rem"/>
  50.  
  51. <meta name="image:Sidebar Image" content="https://i.imgur.com/OW7Xw69.png"/>
  52. <meta name="image:Icon Image" content="https://i.imgur.com/2Oq2aWZ.png"/>
  53.  
  54. <meta name="text:Title" content="Invisible String"/>
  55.  
  56. <meta name="text:Link 1 URL" content="/"/>
  57. <meta name="text:Link 1 Name" content="Link One"/>
  58. <meta name="text:Link 2 URL" content="/"/>
  59. <meta name="text:Link 2 Name" content="Link Two"/>
  60. <meta name="text:Link 3 URL" content="/"/>
  61. <meta name="text:Link 3 Name" content="Link Three"/>
  62.  
  63. <meta name="select:Post Width" content="450px" title="450px"/>
  64. <meta name="select:Post Width" content="350px" title="350px"/>
  65. <meta name="select:Post Width" content="400px" title="400px"/>
  66. <meta name="select:Post Width" content="500px" title="500px"/>
  67. <meta name="select:Post Width" content="550px" title="550px"/>
  68.  
  69. <meta name="text:About Title" content="About The Blogger"/>
  70. <meta name="text:About" content="Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat."/>
  71.  
  72. <meta name="if:Submit Link" content="1"/>
  73.  
  74. <meta name="if:Hide Tags" content="0"/>
  75. <meta name="if:Show Tags" content="1"/>
  76.  
  77. <meta name="if:Back To Top" content="1"/>
  78.  
  79. <!-- Google Fonts Script -->
  80.  
  81. <link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Serif+Display:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
  82.  
  83. <link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Golos+Text:wght@400;700&family=Karla:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Nunito+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Work+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
  84.  
  85. <!-- Styled Tooltips Script -->
  86.  
  87. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  88.  
  89. <script src="https://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  90.  
  91. <script>
  92. (function($){
  93. $(document).ready(function(){
  94. $("a[title]").style_my_tooltips({
  95. tip_follows_cursor:true,
  96. tip_delay_time:90,
  97. tip_fade_speed:600,
  98. attribute:"title"
  99. });
  100. });
  101. })(jQuery);
  102. </script>
  103.  
  104. <!-- Font Awesome Script -->
  105.  
  106. <link href="//use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
  107.  
  108. <!--✻✻✻✻✻✻  npf audio player by @glenthemes  ✻✻✻✻✻✻-->
  109.  
  110. <script src="//tmblr-npf-audio.gitlab.io/s/init.js"></script>
  111.  
  112. <link href="//tmblr-npf-audio.gitlab.io/s/base.css" rel="stylesheet">
  113.  
  114. <script>
  115. tumblr_npf_audio({
  116. emptyTitleText: "",
  117. emptyArtistText: "",
  118. emptyAlbumText: "",
  119. titleLabel: "",    
  120. artistLabel: "",
  121. albumLabel: "",
  122. });
  123. </script>
  124.  
  125. <!-- Unnest Captions Script -->
  126.  
  127. <script src="//code.jquery.com/jquery-2.2.4.min.js"></script>
  128.  
  129. <script src="https://static.tumblr.com/wgg6svp/OoTofxa0c/unnest.min.js"></script>
  130.  
  131. <script>
  132. $(function(){  $('.entries').unnest({
  133. yourCaption: ".text, .caption",
  134. wrapName: ".tumblr_parent",
  135. newCaptionUsername: false,
  136. originalPostCaptionUsername: false,
  137. tumblrAvatars: true,
  138. tumblrAvatarClass: ".tumblr_avatar",
  139. usernameColon: false
  140. });
  141. });
  142. </script>
  143.  
  144. <!-- NPF images fix v3.0 by @glenthemes [2021] 💌 git.io/JRBt7 -->
  145.  
  146. <script src="//npf-images-v3.github.io/script.js"></script>
  147.  
  148. <link rel="stylesheet" href="//npf-images-v3.github.io/recon.css">
  149. <style tmblr-npf>
  150. :root {
  151. --NPF-Caption-Spacing: 1em;
  152. --NPF-Image-Spacing: 1px;
  153. }
  154. </style>
  155.  
  156. <link rel="stylesheet" media="screen" href="//assets.tumblr.com/client/prod/standalone/blog-network-npf/index.build.css">
  157.  
  158. <!-- Inline Images Resizing Script -->
  159.  
  160. <script>
  161. $(".tmblr-full, figure").each(function(){
  162. var imgWidth = $(this).attr("data-orig-width"),
  163. img = $(this).find("img"),
  164. imgSrc = img.attr("src");
  165. $('figure').css({'margin-left':'0','margin-right':'0','display':'inline-block'});
  166. if (imgWidth >= 500){
  167. img.attr("src",imgSrc.replace("_500.","_1280."));
  168. $('.tmblr-full img, figure img').css({'width':'auto','height':'auto','vertical-align':'middle'});
  169. }
  170. });  
  171. </script>
  172.  
  173. <!-- PXU Script -->
  174.  
  175. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  176.  
  177. <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  178.  
  179. <script>
  180. $(document).ready(function(){
  181. $('.photo-slideshow').pxuPhotoset({
  182. lightbox: true,
  183. rounded: false,
  184. gutter: '1px',
  185. borderRadius: '0px',
  186. photoset: '.photo-slideshow',
  187. photoWrap: '.photo-data',
  188. photo: '.pxu-photo'
  189. });
  190. });
  191. </script>
  192.  
  193. <!-- Responsive Tumblr Videos Script -->
  194.  
  195. <script src="https://rawgit.com/robinpx/tumblr/master/scripts/flexibleFrames/flexibleFrames.min.js"></script>
  196.  
  197. <script>
  198. $(document).ready(function() {
  199. flexibleFrames($(".video"));  
  200. });
  201. </script>
  202.  
  203. <!-- Hide & Show Script -->
  204.  
  205. <script>
  206. $(document).ready(function(){
  207. $(".tags").hide();
  208. $(".tags-title").click(function(){
  209. $(this).next(".tags").slideToggle('fast');
  210. });
  211. });
  212. </script>
  213.  
  214. <!-- Scroll To Top Script -->
  215.  
  216. <script type="text/javascript">
  217. $(function() {      
  218. $(window).scroll(function() {
  219. if($(this).scrollTop() != 0) {
  220. $('#top').fadeIn();        
  221. }
  222. else {
  223. $('#top').fadeOut();      
  224. }
  225. });
  226. $('#top').click(function() {
  227. $('body,html').animate({scrollTop:0},600);
  228. });
  229. });
  230. </script>
  231.  
  232. <style type="text/css">
  233.  
  234. .tmblr-iframe--app-cta-button {
  235. display: none!important;
  236. }
  237.  
  238. ::-webkit-scrollbar-thumb:horizontal {
  239. background: {color:Scrollbar};
  240. }
  241.  
  242. ::-webkit-scrollbar-thumb:vertical {
  243. background: {color:Scrollbar};
  244. }
  245.  
  246. ::-webkit-scrollbar {
  247. height: 1px;
  248. width: 1px;
  249. }
  250.  
  251. ::selection {
  252. background: {color:Main Color};
  253. color: white;
  254. }
  255.  
  256. ::-moz-selection {
  257. background: {color:Main Color};
  258. color: white;
  259. }
  260.  
  261. #s-m-t-tooltip {
  262. background: {color:Tooltip Background};
  263. border-radius: 5px;
  264. color: {color:Tooltip Color};
  265. font-size: {select:Uppercase Font Size};
  266. margin-top: 30px;
  267. padding: 5px;
  268. text-align: center;
  269. text-transform: uppercase;
  270. z-index: 999999999999999999999999999999999999;
  271. }
  272.  
  273. body {
  274. background: {color:Background};
  275. color: {color:Text};
  276. cursor: url(https://i.imgur.com/lhPqll6.png), progress;
  277. font-family: '{select:Body Font}', sans-serif;
  278. font-size: {select:Body Font Size};
  279. font-style: normal;
  280. font-weight: 400;
  281. hyphens: auto;
  282. letter-spacing: 1px;
  283. margin: 0px;
  284. text-align: left;
  285. text-transform: none;
  286. word-wrap: break-word;
  287. }
  288.  
  289. a {
  290. color: {color:Link};
  291. text-decoration: none;
  292. -webkit-transition: all 0.5s ease;
  293. -moz-transition: all 0.5s ease;
  294. -o-transition: all 0.5s ease;
  295. }
  296.  
  297. a:hover {
  298. color: {color:Link Hover};
  299. }
  300.  
  301. b {
  302. font-weight: 700;
  303. }
  304.  
  305. h1 {
  306. font-family: '{select:Heading Font}', sans-serif;
  307. font-size: 1.5rem;
  308. font-weight: bold;
  309. margin-block-start: 0em;
  310. text-transform: lowercase;
  311. }
  312.  
  313. h2 {
  314. font-size: 1rem;
  315. font-weight: bold;
  316. margin-block-start: 0em;
  317. }
  318.  
  319. blockquote {
  320. border-left: 1px solid {color:Border};
  321. margin: 5px;
  322. padding-left: 5px;
  323. }
  324.  
  325. blockquote img {
  326. height: auto;
  327. max-width: 100%;
  328. }
  329.  
  330. blockquote blockquote {
  331. border-left: 1px solid {color:Border};
  332. padding-left: 5px;
  333. }
  334.  
  335. pre {
  336. background: {color:Pre Background};
  337. border-radius: 5px;
  338. padding: 10px;
  339. white-space: pre-wrap;
  340. }
  341.  
  342. #title {
  343. align-items: center;
  344. background: {color:Post Background};
  345. border-bottom: 1px solid {color:Border};
  346. display: flex;
  347. font-weight: bold;
  348. height: 54px;
  349. justify-content: center;
  350. padding-left: 20px;
  351. padding-right: 20px;
  352. position: fixed;
  353. text-transform: lowercase;
  354. top: 0px;
  355. width: calc(100% - 40px);
  356. z-index: 1;
  357. }
  358.  
  359. #container {
  360. margin-bottom: 70px;
  361. margin-left: auto;
  362. margin-right: auto;
  363. margin-top: 125px;
  364. width: calc({select:Post Width} + 402px);
  365. }
  366.  
  367. #user-information-wrapper {
  368. align-items: center;
  369. display: flex;
  370. flex-direction: column;
  371. height: calc(100% - 55px);
  372. justify-content: center;
  373. position: fixed;
  374. top: 55px;
  375. width: 260px;
  376. }
  377.  
  378. #user-information {
  379. position: relative;
  380. width: 260px;
  381. }
  382.  
  383. .iml-wrapper {
  384. display: flex;
  385. width: 260px;
  386. }
  387.  
  388. .icon-image {
  389. height: 80px;
  390. width: 80px;
  391. }
  392.  
  393. .icon-image img {
  394. height: 80px;
  395. width: 80px;
  396. }
  397.  
  398. .main-links {
  399. display: flex;
  400. margin-left: 10px;
  401. width: 170px;
  402. }
  403.  
  404. .main-links a {
  405. background: {color:Link};
  406. color: {color:Post Background};
  407. display: inline-block;
  408. font-size: 0.9rem;
  409. height: 0.9rem;
  410. margin-right: 10px;
  411. padding: 32.7px;
  412. width: 0.9rem;
  413. }
  414.  
  415. .main-links a:hover {
  416. color: {color:Link Hover};
  417. }
  418.  
  419. .main-links a:last-of-type {
  420. margin-right: 0px;
  421. }
  422.  
  423. .modal {
  424. animation-duration: 0.5s;
  425. animation-name: animatetop;
  426. background: rgba(255, 255, 255, 0.5);
  427. display: none;
  428. height: 100%;
  429. left: 0px;
  430. overflow: auto;
  431. position: fixed;
  432. top: 0px;
  433. width: 100%;
  434. z-index: 1;
  435. }
  436.  
  437. .modal-content {
  438. background: {color:Post Background};
  439. border: 1px solid {color:Border};
  440. margin-bottom: 70px;
  441. margin-left: auto;
  442. margin-right: auto;
  443. margin-top: 70px;
  444. width: 440px;
  445. }
  446.  
  447. .close-modal {
  448. background: {color:Main Color};
  449. border-radius: 5px;
  450. color: {color:Post Background};
  451. display: inline-block;
  452. font-size: 0.9rem;
  453. font-variant: normal;
  454. height: 0.9rem;
  455. line-height: 1;
  456. margin-left: 389.805px;
  457. margin-top: -17.195px;
  458. padding: 10px;
  459. position: absolute;
  460. text-rendering: auto;
  461. width: 0.9rem;
  462. z-index: 1;
  463. -webkit-transition: all 0.5s ease;
  464. -moz-transition: all 0.5s ease;
  465. -o-transition: all 0.5s ease;
  466. }
  467.  
  468. .close-modal:hover {
  469. color: {color:Link Hover};
  470. }
  471.  
  472. @keyframes animatetop {
  473.  
  474. from {
  475. opacity: 0;
  476. }
  477.  
  478. to {
  479. top: 0px;
  480. opacity: 1;
  481. }
  482.  
  483. }
  484.  
  485. .links {
  486. font-size: {select:Uppercase Font Size};
  487. margin: -5px;
  488. padding: 20px;
  489. text-transform: uppercase;
  490. width: 410px;
  491. }
  492.  
  493. .links a {
  494. background: {color:Post Background};
  495. border: 1px solid {color:Border};
  496. border-radius: 100px;
  497. display: inline-block;
  498. margin: 5px;
  499. padding-right: 10px;
  500. }
  501.  
  502. .about {
  503. display: flex;
  504. border-top: 1px solid {color:Border};
  505. padding: 20px;
  506. }
  507.  
  508. .aib-wrapper {
  509. align-items: center;
  510. display: flex;
  511. height: 48px;
  512. width: 158px;
  513. }
  514.  
  515. .avatar-image {
  516. height: 48px;
  517. width: 48px;
  518. }
  519.  
  520. .avatar-image img {
  521. border-radius: 100px;
  522. height: 48px;
  523. width: 48px;
  524. }
  525.  
  526. .border {
  527. background: {color:Border};
  528. height: 1px;
  529. margin-left: 20px;
  530. width: 100px;
  531. }
  532.  
  533. .about-content {
  534. font-size: {select:Uppercase Font Size};
  535. margin-left: 20px;
  536. text-transform: uppercase;
  537. }
  538.  
  539. .sidebar-image {
  540. height: 200px;
  541. margin-top: 10px;
  542. width: 260px;
  543. }
  544.  
  545. .sidebar-image img {
  546. height: 200px;
  547. width: 260px;
  548. }
  549.  
  550. .sis-wrapper {
  551. align-items: center;
  552. background: {color:Post Background};
  553. display: flex;
  554. margin-top: 10px;
  555. width: 260px;
  556. }
  557.  
  558. .search-icon {
  559. height: 34px;
  560. margin-right: 10px;
  561. width: 34.39px;
  562. }
  563.  
  564. .search-wrapper {
  565. width: 100%;
  566. }
  567.  
  568. form {
  569. display: flex;
  570. margin-top: 0em;
  571. margin-block-end: 0em;
  572. }
  573.  
  574. input {
  575. appearance: textfield;
  576. background: transparent;
  577. border-image: initial;
  578. border-radius: 0px;
  579. border-style: none;
  580. border-width: 0px;
  581. color: {color:Text};
  582. cursor: text;
  583. font-family: '{select:Body Font}', sans-serif;
  584. font-size: {select:Uppercase Font Size};
  585. letter-spacing: 1px;
  586. margin: 0px;
  587. outline: 0;
  588. padding: 0px;
  589. text-align: left;
  590. text-indent: 0px;
  591. text-rendering: auto;
  592. text-shadow: none;
  593. text-transform: uppercase;
  594. width: 100%;
  595. -webkit-rtl-ordering: logical;
  596. -webkit-writing-mode: horizontal-tb !important;
  597. }
  598.  
  599. input[type="submit" i] {
  600. display: none!important;
  601. }
  602.  
  603. #user-information:hover .description-outer {
  604. opacity: 1;
  605. }
  606.  
  607. .description-outer {
  608. align-items: center;
  609. background: {color:Post Background};
  610. border: 1px solid {color:Border};
  611. display: flex;
  612. height: 160px;
  613. margin-left: 20px;
  614. margin-top: 110px;
  615. opacity: 0;
  616. position: absolute;
  617. top: 0px;
  618. width: 218px;
  619. -webkit-transition: all 0.9s ease;
  620. -moz-transition: all 0.9s ease;
  621. -o-transition: all 0.9s ease;
  622. }
  623.  
  624. .description-inner {
  625. font-size: {select:Uppercase Font Size};
  626. padding: 20px;
  627. max-height: 120px;
  628. overflow-y: scroll;
  629. text-align: center;
  630. text-transform: uppercase;
  631. width: 178px;
  632. }
  633.  
  634. #posts {
  635. margin-left: 360px;
  636. width: calc({select:Post Width} + 42px);
  637. }
  638.  
  639. .entries {
  640. margin-bottom: 50px;
  641. width: calc({select:Post Width} + 42px);
  642. }
  643.  
  644. .entries-wrapper {
  645. background: {color:Post Background};
  646. border: 1px solid {color:Border};
  647. border-radius: 5px;
  648. padding: 20px;
  649. width: {select:Post Width};
  650. }
  651.  
  652. .entries img {
  653. height: auto;
  654. max-width: 100%;
  655. }
  656.  
  657. .npf_row img {
  658. width: 100%;
  659. }
  660.  
  661. .tmblr-full {
  662. margin-bottom: 10px;
  663. }
  664.  
  665. .npf_inst {
  666. margin-bottom: 20px;
  667. }
  668.  
  669. .npf-wrapper {
  670. margin: 0px;
  671. }
  672.  
  673. .npf-wrapper .tmblr-full {
  674. display: flex;
  675. }
  676.  
  677. .text-wrapper {
  678. margin: 0px;
  679. }
  680.  
  681. .read_more {
  682. background: {color:Main Color};
  683. border: 1px solid {color:Border};
  684. border-radius: 5px;
  685. color: white;
  686. display: inline-block;
  687. font-size: {select:Uppercase Font Size};
  688. padding: 10px;
  689. text-align: center;
  690. text-transform: uppercase;
  691. width: calc(100% - 22px);
  692. }
  693.  
  694. .read_more:hover {
  695. background: white;
  696. color: {color:Main Color};
  697. }
  698.  
  699. .vignette, #vignette {
  700. opacity: 0;
  701. }
  702.  
  703. .lightbox-image, #tumblr_lightbox img {
  704. border-radius: 0!important;
  705. box-shadow: none!important;
  706. max-width: none;
  707. }
  708.  
  709. .tmblr-lightbox, #tumblr_lightbox {
  710. background-attachment: fixed;
  711. background-image: url('https://i.imgur.com/7wF2zbK.png');
  712. background-repeat: repeat;
  713. }
  714.  
  715. .lightbox-caption, #tumblr_lightbox_caption {
  716. visibility: hidden;
  717. }
  718.  
  719. .text p {
  720. margin-top: 0px;
  721. }
  722.  
  723. .caption {
  724. margin-top: 20px;
  725. }
  726.  
  727. .caption p {
  728. margin-top: 0px;
  729. }
  730.  
  731. blockquote.tumblr_parent {
  732. border: none;
  733. border-bottom: 1px solid {color:Border};
  734. margin: 0px;
  735. margin-bottom: 20px;
  736. padding: 0px;
  737. }
  738.  
  739. blockquote.tumblr_parent:last-child {
  740. border-bottom: 0px;
  741. }
  742.  
  743. blockquote.user-reblog {
  744. border: none;
  745. margin: 0px;
  746. padding: 0px;
  747. }
  748.  
  749. .tumblr_avatar {
  750. border-radius: 100px;
  751. height: 30px;
  752. margin-bottom: 20px;
  753. width: 30px;
  754. }
  755.  
  756. .tumblr_avatar img {
  757. height: 30px;
  758. width: 30px;
  759. }
  760.  
  761. .user-image img {
  762. height: 30px;
  763. width: 30px;
  764. }
  765.  
  766. a.tumblr_blog {
  767. font-size: {select:Body Font Size};
  768. font-weight: bold;
  769. margin-top: calc((30px - {select:Body Font Size}) / 4);
  770. display: inline-block;
  771. position: absolute;
  772. margin-left: 10px;
  773. text-align: center;
  774. text-transform: lowercase;
  775. }
  776.  
  777. .message-wrapper {
  778. background: {color:Post Background};
  779. border: 1px solid {color:Border};
  780. border-radius: 5px;
  781. }
  782.  
  783. .message-info-wrapper {
  784. border-bottom: 1px solid {color:Border};
  785. align-items: center;
  786. display: flex;
  787. padding: 20px;
  788. }
  789.  
  790. .asker {
  791. height: 48px;
  792. margin-right: 20px;
  793. width: 48px;
  794. }
  795.  
  796. .asker img {
  797. border-radius: 5px;
  798. height: 48px;
  799. width: 48px;
  800. }
  801.  
  802. a.asker {
  803. margin-right: 0px;
  804. }
  805.  
  806. .asker-question {
  807. font-size: {select:Uppercase Font Size};
  808. text-transform: uppercase;
  809. width: calc(100% - 68px);
  810. }
  811.  
  812. .message {
  813. padding: 20px;
  814. }
  815.  
  816. .message p {
  817. margin-block-start: 0em;
  818. margin-block-end: 0em;
  819. }
  820.  
  821. .quote-wrapper {
  822. width: 100%;
  823. }
  824.  
  825. .quote-icon {
  826. background: {color:Chat Even Background};
  827. border-radius: 100px;
  828. color: {color:Main Color};
  829. font-size: 0.9rem;
  830. height: 0.9rem;
  831. margin-left: auto;
  832. margin-right: auto;
  833. margin-top: -17.195px;
  834. padding: 10px;
  835. width: 0.9rem;
  836. }
  837.  
  838. .quote {
  839. border: 1px solid {color:Border};
  840. border-radius: 5px;
  841. font-family: 'Playfair Display', serif;
  842. font-size: 1.2rem;
  843. font-weight: bold;
  844. padding: 10px;
  845. padding-bottom: 26.4px;
  846. text-align: center;
  847. }
  848.  
  849. .quote a.tumblr_blog {
  850. font-size: {select:Uppercase Font Size};
  851. font-weight: normal;
  852. margin-top: 0px;
  853. margin-left: 0px;
  854. display: inline-block;
  855. position: relative;
  856. text-align: center;
  857. text-transform: uppercase;
  858. }
  859.  
  860. .website {
  861. background: {color:Main Color};
  862. border-radius: 5px;
  863. color: {color:Post Background};
  864. font-size: {select:Uppercase Font Size};
  865. padding: 20px;
  866. text-transform: uppercase;
  867. }
  868.  
  869. .website a {
  870. color: {color:Post Background};
  871. }
  872.  
  873. .website a:hover {
  874. color: {color:Link Hover};
  875. }
  876.  
  877. .chat {
  878. font-size: {select:Uppercase Font Size};
  879. text-transform: uppercase;
  880. }
  881.  
  882. .chat li {
  883. list-style-type: none;
  884. }
  885.  
  886. .chat li:nth-child(odd) {
  887. background: {color:Main Color};
  888. color: {color:Post Background};
  889. padding: 10px;
  890. }
  891.  
  892. .chat li:nth-child(even) {
  893. background: {color:Chat Even Background};
  894. color: {color:Main Color};
  895. padding: 10px;
  896. }
  897.  
  898. .audio iframe {
  899. height: 85px;
  900. width: {select:Post Width};
  901. }
  902.  
  903. figure {
  904. display: flex;
  905. width: 100%;
  906. }
  907.  
  908. figcaption.npf-audio-wrapper {
  909. width: 100%;
  910. }
  911.  
  912. .npf-audio-wrapper {
  913. --NPF-Audio-Buttons-Size: 1.4rem;
  914. --NPF-Audio-Buttons-Color: #555555;
  915. --NPF-Audio-Buttons-Spacing: 1.3rem;
  916. --NPF-Audio-Image-Size: 85px;
  917. --NPF-Audio-Image-Spacing: 0px;
  918. }
  919.  
  920. span.npf-audio-title {
  921. font-weight: bold;
  922. }
  923.  
  924. .npf-audio-background {
  925. background-color: #f2f2f2;
  926. padding: 1.5rem;
  927. }
  928.  
  929. video {
  930. height: auto;
  931. width: 100%;
  932. }
  933.  
  934. .source {
  935. background: {color:Chat Even Background};
  936. border-radius: 5px;
  937. display: inline-block;
  938. font-size: {select:Uppercase Font Size};
  939. margin-top: 10px;
  940. padding: 5px;
  941. text-transform: uppercase;
  942. }
  943.  
  944. .post-date {
  945. border-bottom: 1px solid {color:Border};
  946. font-size: {select:Uppercase Font Size};
  947. margin: -20px;
  948. margin-bottom: 20px;
  949. padding: 20px;
  950. overflow: auto;
  951. text-transform: uppercase;
  952. }
  953.  
  954. .pslr {
  955. border-top: 1px solid {color:Border};
  956. font-size: {select:Uppercase Font Size};
  957. margin: -20px;
  958. margin-top: 20px;
  959. padding: 20px;
  960. overflow: hidden;
  961. text-transform: uppercase;
  962. }
  963.  
  964. .pinned-post {
  965. color: {color:Pin};
  966. display: inline-block;
  967. font-size: {select:Uppercase Font Size};
  968. margin-right: 10px;
  969. text-transform: uppercase;
  970. }
  971.  
  972. .like-b {
  973. display: inline-block;
  974. margin-right: 10px;
  975. position: relative;
  976. }
  977.  
  978. .like-b .like_button iframe {
  979. bottom: 0px;
  980. left: 0px;
  981. opacity: 0;
  982. position: absolute;
  983. right: 0px;
  984. top: 0px;
  985. }
  986.  
  987. .like-b .liked + .b {
  988. color: {color:Like};
  989. }
  990.  
  991. .vsdt-wrapper {
  992. font-size: {select:Uppercase Font Size};
  993. margin: -3px;
  994. margin-top: 10px;
  995. text-transform: uppercase;
  996. }
  997.  
  998. .vsdt-wrapper span {
  999. background: {color:Post Background};
  1000. border: 1px solid {color:Border};
  1001. border-radius: 5px;
  1002. display: inline-block;
  1003. margin: 3px;
  1004. padding: 5px 10px 5px 10px;
  1005. }
  1006.  
  1007. .tags-title {
  1008. font-size: {select:Uppercase Font Size};
  1009. display: inline-block;
  1010. text-transform: uppercase;
  1011. }
  1012.  
  1013. .tags-title a {
  1014. -webkit-transition: all 0.5s ease;
  1015. -moz-transition: all 0.5s ease;
  1016. -o-transition: all 0.5s ease;
  1017. }
  1018.  
  1019. .tags-title:hover {
  1020. color: {color:Link Hover};
  1021. }
  1022.  
  1023. .tags {
  1024. font-size: {select:Uppercase Font Size};
  1025. text-transform: uppercase;
  1026. }
  1027.  
  1028. .tags-alternate {
  1029. font-size: {select:Uppercase Font Size};
  1030. display: inline-block;
  1031. text-transform: uppercase;
  1032. }
  1033.  
  1034. ol.notes {
  1035. background: {color:Post Background};
  1036. border: 1px solid {color:Border};
  1037. border-radius: 5px;
  1038. font-size: {select:Uppercase Font Size};
  1039. margin-top: 20px;
  1040. padding: 10px;
  1041. text-align: left;
  1042. text-transform: uppercase;
  1043. }
  1044.  
  1045. ol.notes li {
  1046. list-style-type: none;
  1047. margin: 10px;
  1048. }
  1049.  
  1050. ol.notes li.note img.avatar {
  1051. border-radius: 100px;
  1052. vertical-align: -4px;
  1053. height: 16px;
  1054. margin-right: 10px;
  1055. width: 16px;
  1056. }
  1057.  
  1058. .more_notes_link {
  1059. background: {color:Main Color};
  1060. border-radius: 5px;
  1061. color: white;
  1062. display: inline-block;
  1063. padding: 5px 10px 5px 10px;
  1064. text-align: center;
  1065. }
  1066.  
  1067. .pagination {
  1068. align-items: baseline;
  1069. display: flex;
  1070. font-size: {select:Uppercase Font Size};
  1071. justify-content: space-between;
  1072. text-align: center;
  1073. text-transform: uppercase;
  1074. }
  1075.  
  1076. .navigation {
  1077. align-self: baseline;
  1078. display: flex;
  1079. }
  1080.  
  1081. .navigation a {
  1082. background: {color:Main Color};
  1083. border: 1px solid {color:Main Color};
  1084. border-radius: 5px;
  1085. color: {color:Post Background};
  1086. padding: 5px;
  1087. }
  1088.  
  1089. .navigation a:hover {
  1090. background: {color:Post Background};
  1091. color: {color:Main Color};
  1092. }
  1093.  
  1094. .pages {
  1095. align-self: baseline;
  1096. background: {color:Main Color};
  1097. border: 1px solid {color:Main Color};
  1098. border-radius: 5px;
  1099. color: {color:Post Background};
  1100. display: flex;
  1101. padding: 5px;
  1102. }
  1103.  
  1104. #top {
  1105. background: {color:Main Color};
  1106. border: 1px solid {color:Border};
  1107. border-radius: 100px;
  1108. bottom: 66px;
  1109. color: {color:Post Background};
  1110. display: none;
  1111. font-size: 0.9rem;
  1112. font-variant: normal;
  1113. height: 0.9rem;
  1114. line-height: 1;
  1115. padding: 10px;
  1116. position: fixed;
  1117. right: 20px;
  1118. text-rendering: auto;
  1119. width: 0.9rem;
  1120. z-index: 1;
  1121. -webkit-transition: all 0.5s ease;
  1122. -moz-transition: all 0.5s ease;
  1123. -o-transition: all 0.5s ease;
  1124. }
  1125.  
  1126. #top:hover {
  1127. background: {color:Post Background};
  1128. color: {color:Link Hover};
  1129. }
  1130.  
  1131. #credit {
  1132. bottom: 20px;
  1133. font-size: 0.9rem;
  1134. height: 36px;
  1135. position: fixed;
  1136. right: 20px;
  1137. text-transform: uppercase;
  1138. z-index: 1;
  1139. width: auto;
  1140. }
  1141.  
  1142. #credit a {
  1143. background: {color:Main Color};
  1144. border: 1px solid {color:Border};
  1145. border-radius: 100px;
  1146. color: {color:Post Background};
  1147. display: inline-block;
  1148. font-size: 0.9rem;
  1149. font-variant: normal;
  1150. height: 0.9rem;
  1151. line-height: 1;
  1152. padding: 10px;
  1153. width: 0.9rem;
  1154. }
  1155.  
  1156. #credit a:hover  {
  1157. background: {color:Post Background};
  1158. color: {color:Link Hover};
  1159. }
  1160.  
  1161. #credit:hover .credit-name {
  1162. right: 20px;
  1163. opacity: 1;
  1164. }
  1165.  
  1166. .credit-name {
  1167. background: {color:Text};
  1168. border: 1px solid {color:Border};
  1169. border-radius: 100px;
  1170. bottom: 20px;
  1171. color: {color:Post Background};
  1172. display: inline-block;
  1173. font-size: 0.9rem;
  1174. font-variant: normal;
  1175. height: 0.9rem;
  1176. line-height: 1;
  1177. opacity: 0;
  1178. padding: 10px;
  1179. padding-right: 46.8px;
  1180. position: fixed;
  1181. right: -20px;
  1182. text-align: center;
  1183. z-index: -1;
  1184. -webkit-transition: all 0.9s ease;
  1185. -moz-transition: all 0.9s ease;
  1186. -o-transition: all 0.9s ease;
  1187. }
  1188.  
  1189. {CustomCSS}
  1190.    
  1191. </style>
  1192.    
  1193. </head>
  1194.  
  1195. <body>
  1196.  
  1197. <div id="title">{text:Title}</div>
  1198.  
  1199. <div id="container">
  1200.  
  1201. <div id="user-information-wrapper">
  1202.  
  1203. <div id="user-information">
  1204.  
  1205. <div class="iml-wrapper">
  1206.  
  1207. <div class="icon-image"><img src="{image:Icon Image}"/></div>
  1208.  
  1209. <div class="main-links">
  1210. <a href="/" title="Home"><i class="far fa-arrow-alt-circle-left"></i></a>
  1211. <a class="open-modal" title="Navigation"><i class="fas fa-list"></i></a>
  1212. </div>
  1213.  
  1214. </div>
  1215.  
  1216. <div class="sidebar-image"><img src="{image:Sidebar Image}"/></div>
  1217.  
  1218. <div class="sis-wrapper">
  1219.  
  1220. <div class="search-icon"><i class="fas fa-search" style="background: {color:Main Color};color: {color:Post Background};font-size: 0.9rem;margin-right: 10px;padding: 10px;width: 0.9rem;"></i></div>
  1221.  
  1222. <!-- Start of Search Bar -->
  1223.  
  1224. <div class="search-wrapper"><form action="/search" method="get"><input type="text" name="q" placeholder="Search This Blog" value="{SearchQuery}"/></form></div>
  1225.  
  1226. <!-- End of Search Bar -->
  1227.  
  1228. </div>
  1229.  
  1230. {block:Description}<div class="description-outer"><div class="description-inner">{Description}</div></div>{/block:Description}
  1231.  
  1232. </div>
  1233.  
  1234. </div>
  1235.  
  1236. <div class="modal modal_multi">
  1237.  
  1238. <div class="modal-content">
  1239.  
  1240. <div class="close-modal close_modal"><i class="far fa-times-circle"></i></div>
  1241.  
  1242. <div class="links">
  1243. {block:AskEnabled}<a href="/ask"><i class="far fa-envelope" style="background: {color:Main Color};border-radius: 100px;color: {color:Post Background};font-size: 0.9rem;margin-right: 10px;padding: 10px;width: 0.9rem;"></i>Ask</a>{/block:AskEnabled}
  1244. {block:SubmissionsEnabled}{block:ifSubmitLink}<a href="/submit"><i class="fas fa-file-import" style="background: {color:Main Color};border-radius: 100px;color: {color:Post Background};font-size: 0.9rem;margin-right: 10px;padding: 10px;width: 0.9rem;"></i>Submit</a>{/block:ifSubmitLink}{/block:SubmissionsEnabled}
  1245. {block:ifLink1URL}<a href="{text:Link 1 URL}"><i class="fas fa-cookie-bite" style="background: {color:Main Color};border-radius: 100px;color: {color:Post Background};font-size: 0.9rem;margin-right: 10px;padding: 10px;width: 0.9rem;"></i>{text:Link 1 Name}</a>{/block:ifLink1URL}
  1246. {block:ifLink2URL}<a href="{text:Link 2 URL}"><i class="fas fa-paint-brush" style="background: {color:Main Color};border-radius: 100px;color: {color:Post Background};font-size: 0.9rem;margin-right: 10px;padding: 10px;width: 0.9rem;"></i>{text:Link 2 Name}</a>{/block:ifLink2URL}
  1247. {block:ifLink3URL}<a href="{text:Link 3 URL}"><i class="far fa-moon" style="background: {color:Main Color};border-radius: 100px;color: {color:Post Background};font-size: 0.9rem;margin-right: 10px;padding: 10px;width: 0.9rem;"></i>{text:Link 3 Name}</a>{/block:ifLink3URL}
  1248. <a href="/archive"><i class="fas fa-server" style="background: {color:Main Color};border-radius: 100px;color: {color:Post Background};font-size: 0.9rem;margin-right: 10px;padding: 10px;width: 0.9rem;"></i>Archive</a>
  1249. </div>
  1250.  
  1251. <div class="about">
  1252.  
  1253. <div class="aib-wrapper">
  1254.  
  1255. <div class="avatar-image"><img src="{PortraitURL-48}"/></div>
  1256.  
  1257. <div class="border"></div>
  1258.  
  1259. </div>
  1260.  
  1261. <div class="about-content"><h1 style="font-size: 0.9rem;text-transform: lowercase;">{text:About Title}</h1>{text:About}</div>
  1262.  
  1263. </div>
  1264.  
  1265. </div>
  1266.  
  1267. </div>
  1268.  
  1269. <div id="posts">
  1270.  
  1271. {block:Posts}
  1272.  
  1273. <div class="entries" id="{PostID}" post-type="{PostType}">
  1274.  
  1275. <div class="entries-wrapper">
  1276.  
  1277. {block:Date}
  1278. <div class="post-date"><a href="{Permalink}"><i class="fas fa-calendar-day" style="color: {color:Text};margin-right: 5px;"></i>{Month} {DayOfMonth}{DayOfMonthSuffix}, {Year}</a><font style="float: right;"><a href="{Permalink}">{TimeAgo}</a></font></div>
  1279. {/block:Date}
  1280.  
  1281. {block:Text}
  1282. {block:NotReblog}
  1283. <div class="npf-wrapper">
  1284. {block:Title}
  1285. <h1>{Title}</h1>
  1286. {/block:Title}
  1287. {Body}
  1288. </div>
  1289. {/block:NotReblog}
  1290. {block:RebloggedFrom}
  1291. <div class="text-wrapper">
  1292. {block:Title}
  1293. <h1>{Title}</h1>
  1294. {/block:Title}
  1295. <div class="text">
  1296. {Body}
  1297. </div>
  1298. </div>
  1299. {/block:RebloggedFrom}
  1300. {/block:Text}
  1301.  
  1302. {block:Answer}
  1303. <div class="message-wrapper">
  1304. <div class="message-info-wrapper">
  1305. <div class="asker"><img src="{AskerPortraitURL-48}"/></div><div class="asker-question"><i class="far fa-envelope-open"></i> {Asker} <br> sent a message:</div>
  1306. </div>
  1307. <div class="message">{Question}</div>
  1308. </div>
  1309. <div class="caption">
  1310. {Answer}
  1311. </div>
  1312. {/block:Answer}
  1313.  
  1314. {block:Quote}
  1315. <div class="quote-wrapper">
  1316. <div class="quote">
  1317. "{Quote}</i>"
  1318. {block:Source}
  1319. <br><br>
  1320. <font style="font-family: '{select:Body Font}', sans-serif;font-size: {select:Uppercase Font Size};font-style: normal;font-weight: normal;text-transform: uppercase;">
  1321. {Source}
  1322. </font>
  1323. {/block:Source}
  1324. </div>
  1325. <div class="quote-icon"><i class="far fa-comment-dots" style="vertical-align: top;"></i></div>
  1326. </div>
  1327. {/block:Quote}
  1328.  
  1329. {block:Link}
  1330. {block:Thumbnail}
  1331. <img src="{Thumbnail}" style="border-radius: 5px;margin-bottom: 10px;"/>
  1332. {/block:Thumbnail}
  1333. <div class="website"><i class="fas fa-external-link-alt" style="margin-right: 10px;"></i><a href="{URL}" target="_blank">{Name}{block:Excerpt}<br><br>{Excerpt}{/block:Excerpt}
  1334. </a></div>
  1335. {block:Description}
  1336. <div class="caption">
  1337. {Description}
  1338. </div>
  1339. {/block:Description}
  1340. {/block:Link}
  1341.  
  1342. {block:Chat}
  1343. <div class="chat">
  1344. {block:Title}
  1345. <h1>{Title}</h1>
  1346. {/block:Title}
  1347. {block:Lines}
  1348. <li>{block:Label}{Label}{/block:Label}
  1349. {Line}
  1350. </li>
  1351. {/block:Lines}
  1352. </div>
  1353. {/block:Chat}
  1354.  
  1355. {block:Audio}
  1356. <div class="audio">
  1357. {AudioEmbed}
  1358. </div>
  1359. {block:Caption}
  1360. <div class="caption">{Caption}</div>
  1361. {/block:Caption}
  1362. {/block:Audio}
  1363.  
  1364. {block:Photo}
  1365. <a href="#" onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-HighRes}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false"><img src="{PhotoURL-HighRes}"></a>
  1366. {block:Caption}
  1367. <div class="text-wrapper">
  1368. <div class="caption">{Caption}</div>
  1369. </div>
  1370. {/block:Caption}
  1371. {/block:Photo}
  1372.  
  1373. {block:Photoset}
  1374. <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>
  1375. {block:Caption}
  1376. <div class="text-wrapper">
  1377. <div class="caption">{Caption}</div>
  1378. </div>
  1379. {/block:Caption}
  1380. {/block:Photoset}
  1381.  
  1382. {block:Video}
  1383. <div class="video">
  1384. {Video-500}
  1385. </div>
  1386. {block:Caption}
  1387. <div class="caption">{Caption}</div>
  1388. {/block:Caption}
  1389. {/block:Video}
  1390.  
  1391. {block:ContentSource}
  1392. <div class="source">
  1393. <i class="fas fa-paper-plane" style="color: {color:Main Color};margin-right: 5px;"></i><a href="{SourceURL}" title="{SourceTitle}">Source</a>
  1394. </div>
  1395. {/block:ContentSource}
  1396.  
  1397. {block:Date}
  1398. <div class="pslr">
  1399. {block:PinnedPostLabel}<div class="pinned-post"><i class="fas fa-star"></i></div>{/block:PinnedPostLabel}{block:NoteCount}<i class="fas fa-chart-bar" style="margin-right: 5px;"></i><a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}{block:RebloggedFrom}<i class="fas fa-sync-alt" style="margin-left: 10px;margin-right: 5px;"></i><a href="{ReblogParentURL}">Via</a>{/block:RebloggedFrom}{block:ContentSource}{block:RebloggedFrom}<i class="far fa-folder" style="margin-left: 10px;margin-right: 5px;"></i><a href="{ReblogRootURL}">Source</a></span>{/block:RebloggedFrom}{/block:ContentSource}
  1400. <font style="float: right;">
  1401. <a class="like-b" href="#">{LikeButton}<div class="b"><i class="far fa-heart"></i></div></a>
  1402. <a href="{ReblogURL}" target="_blank"><i class="fas fa-undo-alt"></i></a>
  1403. </font>
  1404. </div>
  1405. {/block:Date}
  1406.  
  1407. {block:Date}
  1408. {block:IfHideTags}
  1409. {block:HasTags}
  1410. <div class="vsdt-wrapper">
  1411. <a class="tags-title"><span><i class="fas fa-angle-right" style="margin-right: 5px;"></i>Show Tags</span></a>
  1412. <div class="tags">
  1413. {block:Tags}
  1414. <span><a href="{TagURL}"><i class="far fa-heart" style="margin-right: 5px;"></i>{Tag}</a></span>
  1415. {/block:Tags}
  1416. </div>
  1417. </div>
  1418. {/block:HasTags}
  1419. {/block:IfHideTags}
  1420. {block:IfShowTags}
  1421. {block:HasTags}
  1422. <div class="vsdt-wrapper">
  1423. <div class="tags-alternate">
  1424. {block:Tags}
  1425. <span><a href="{TagURL}"><i class="far fa-heart" style="margin-right: 5px;"></i>{Tag}</a></span>
  1426. {/block:Tags}
  1427. </div>
  1428. </div>
  1429. {/block:HasTags}
  1430. {/block:IfShowTags}
  1431. {block:Date}
  1432.  
  1433. </div>
  1434.  
  1435. {block:PostNotes}
  1436. {PostNotes}
  1437. {/block:PostNotes}
  1438.  
  1439. </div>
  1440.  
  1441. {/block:Posts}
  1442.  
  1443. {block:Pagination}
  1444. <div class="pagination">
  1445. {block:PreviousPage}
  1446. <div class="navigation">
  1447. <a href="{PreviousPage}"><i class="fas fa-angle-left" style="margin-right: 5px;"></i>Prev</a>
  1448. </div>
  1449. {/block:PreviousPage}
  1450. <div class="pages">
  1451. {CurrentPage} / {TotalPages}
  1452. </div>
  1453. {block:NextPage}
  1454. <div class="navigation">
  1455. <a href="{NextPage}">Next<i class="fas fa-angle-right" style="margin-left: 5px;"></i></a>
  1456. </div>
  1457. {/block:NextPage}
  1458. </div>
  1459. {/block:Pagination}
  1460.  
  1461. </div>
  1462.  
  1463. </div>
  1464.  
  1465. {block:IfBackToTop}<div id="top"><i class="fas fa-arrow-circle-up"></i></div>{/block:IfBackToTop}
  1466.  
  1467. <!-- Start of Theme Credit -->
  1468.  
  1469. <div id="credit"><a href="https://vitaminholland.tumblr.com/"><i class="fas fa-feather-alt"></i></a><div class="credit-name">VIT</div></div>
  1470.  
  1471. <!-- End of Theme Credit -->
  1472.  
  1473. </body>
  1474.  
  1475. <!-- Modal Script -->
  1476.  
  1477. <script>
  1478. var modalparent = document.getElementsByClassName("modal_multi");
  1479. var modal_btn_multi = document.getElementsByClassName("open-modal");
  1480. var span_close_multi = document.getElementsByClassName("close_modal");
  1481. function setDataIndex() {
  1482. for (i = 0; i < modal_btn_multi.length; i++)
  1483. {
  1484. modal_btn_multi[i].setAttribute('data-index', i);
  1485. modalparent[i].setAttribute('data-index', i);
  1486. span_close_multi[i].setAttribute('data-index', i);
  1487. }
  1488. }
  1489. for (i = 0; i < modal_btn_multi.length; i++)
  1490. {
  1491. modal_btn_multi[i].onclick = function() {
  1492. var ElementIndex = this.getAttribute('data-index');
  1493. modalparent[ElementIndex].style.display = "block";
  1494. };
  1495. span_close_multi[i].onclick = function() {
  1496. var ElementIndex = this.getAttribute('data-index');
  1497. modalparent[ElementIndex].style.display = "none";
  1498. };
  1499. }
  1500. window.onload = function() {
  1501. setDataIndex();
  1502. };
  1503. window.onclick = function(event) {
  1504. if (event.target === modalparent[event.target.getAttribute('data-index')]) {
  1505. modalparent[event.target.getAttribute('data-index')].style.display = "none";
  1506. }
  1507. if (event.target === modal) {
  1508. modal.style.display = "none";
  1509. }
  1510. };
  1511. var modal = document.getElementById('myModal');
  1512. var btn = document.getElementById("open-modal");
  1513. var span = modal.getElementsByClassName("close-modal")[0];
  1514. btn.onclick = function() {
  1515. modal.style.display = "block";
  1516. }
  1517. span.onclick = function() {
  1518. modal.style.display = "none";
  1519. }
  1520. </script>
  1521.  
  1522. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement