themesbyces

(Responsive) Theme — Sweetener

Sep 7th, 2019 (edited)
1,179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 28.51 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. <!--
  14.  
  15. theme: sweetener
  16. designed and coded by ghcstfaec
  17. see credits @ https://ghcstfaec.tumblr.com/credits
  18.  
  19. -->
  20.  
  21. <!-- Metadata -->
  22.  
  23. <meta name="color:Asker Background" content="#f0f0f0"/>
  24. <meta name="color:Background" content="#eeaa77"/>
  25. <meta name="color:Border" content="#d2d2d2"/>
  26. <meta name="color:Entries Icon Color" content="#ffffff"/>
  27. <meta name="color:Link" content="#000000"/>
  28. <meta name="color:Link Hover" content="#cfcfcf"/>
  29. <meta name="color:Like" content="#ec6363"/>
  30. <meta name="color:Main Color" content="#333322"/>
  31. <meta name="color:Pin" content="#31a49d"/>
  32. <meta name="color:Post Background" content="#ffffff"/>
  33. <meta name="color:Question Background" content="#ffffff"/>
  34. <meta name="color:Quote Icon Color" content="#ffffff"/>
  35. <meta name="color:Scrollbar" content="#cc6622"/>
  36. <meta name="color:Text" content="#555555"/>
  37. <meta name="color:Tooltip Background" content="#000000"/>
  38. <meta name="color:Tooltip Color" content="#ffffff"/>
  39.  
  40. <meta name="select:Body Font" content="Karla" title="Karla"/>
  41. <meta name="select:Body Font" content="Montserrat" title="Montserrat"/>
  42. <meta name="select:Body Font" content="Muli" title="Muli"/>
  43. <meta name="select:Body Font" content="Open Sans" title="Open Sans"/>
  44. <meta name="select:Body Font" content="Poppins" title="Poppins"/>
  45. <meta name="select:Body Font" content="Raleway" title="Raleway"/>
  46. <meta name="select:Body Font" content="Work Sans" title="Work Sans"/>
  47.  
  48. <meta name="select:Body Font Size" content="1rem" title="1rem"/>
  49. <meta name="select:Body Font Size" content="0.9rem" title="0.9rem"/>
  50. <meta name="select:Body Font Size" content="0.8rem" title="0.8rem"/>
  51.  
  52. <meta name="select:Uppercase Font Size" content="0.9rem" title="0.9rem"/>
  53. <meta name="select:Uppercase Font Size" content="0.8rem" title="0.8rem"/>
  54.  
  55. <meta name="image:Background Image" content="https://i.imgur.com/nx8XAmj.png"/>
  56. <meta name="image:Sidebar Image" content="https://i.imgur.com/AKSvWZi.png"/>
  57. <meta name="image:Icon Image" content="https://i.imgur.com/c2bOnkE.png"/>
  58.  
  59. <meta name="text:Title" content="Sweetener"/>
  60. <meta name="text:Subtitle" content="Your Method Touches My Soul"/>
  61.  
  62. <meta name="text:Link 1 URL" content="/"/>
  63. <meta name="text:Link 1 Name" content="Link One"/>
  64. <meta name="text:Link 2 URL" content="/"/>
  65. <meta name="text:Link 2 Name" content="Link Two"/>
  66. <meta name="text:Link 3 URL" content="/"/>
  67. <meta name="text:Link 3 Name" content="Link Three"/>
  68. <meta name="text:Link 4 URL" content="/"/>
  69. <meta name="text:Link 4 Name" content="Link Four"/>
  70. <meta name="text:Link 5 URL" content="/"/>
  71. <meta name="text:Link 5 Name" content="Link Five"/>
  72. <meta name="text:Link 6 URL" content="/"/>
  73. <meta name="text:Link 6 Name" content="Link Six"/>
  74. <meta name="text:Link 7 URL" content="/"/>
  75. <meta name="text:Link 7 Name" content="Link Seven"/>
  76.  
  77. <meta name="if:Background Image" content="0"/>
  78.  
  79. <meta name="if:400px Text Post" content="1"/>
  80. <meta name="if:500px Text Post" content="0"/>
  81.  
  82. <meta name="if:Submit Link" content="1"/>
  83.  
  84. <meta name="if:Hide Tags" content="0"/>
  85. <meta name="if:Show Tags" content="1"/>
  86.  
  87. <!-- Google Fonts Script -->
  88.  
  89. <link href="https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&family=Muli:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display:wght@700&family=Poppins:ital,wght@0,400;0,700;1,400;1,700&family=Raleway: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">
  90.  
  91. <!-- jQuery Script -->
  92.  
  93. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
  94.  
  95. <!-- Styled Tooltips Script -->
  96.  
  97. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  98.  
  99. <script src="https://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  100.  
  101. <script>
  102. (function($){
  103. $(document).ready(function(){
  104. $("a[title]").style_my_tooltips({
  105. tip_follows_cursor:true,
  106. tip_delay_time:90,
  107. tip_fade_speed:600,
  108. attribute:"title"
  109. });
  110. });
  111. })(jQuery);
  112. </script>
  113.  
  114. <!-- Font Awesome Script -->
  115.  
  116. <link href="//use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
  117.  
  118. <!--✻✻✻✻✻✻  npf audio player by @glenthemes  ✻✻✻✻✻✻-->
  119.  
  120. <script src="//tmblr-npf-audio.gitlab.io/s/init.js"></script>
  121.  
  122. <link href="//tmblr-npf-audio.gitlab.io/s/base.css" rel="stylesheet">
  123.  
  124. <script>
  125. tumblr_npf_audio({
  126. emptyTitleText: "",
  127. emptyArtistText: "",
  128. emptyAlbumText: "",
  129. titleLabel: "",    
  130. artistLabel: "",
  131. albumLabel: "",
  132. });
  133. </script>
  134.  
  135. <!-- Hide & Show Script -->
  136.  
  137. <script src="//ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  138.  
  139. <script>
  140. $(document).ready(function(){
  141. $('.tags').hide();
  142. $('.tags-title').click(function() {
  143. $(this).closest('.entries').find('.tags').slideToggle(500);
  144. });
  145. });
  146. </script>
  147.  
  148. <!-- Unnest Captions Script -->
  149.  
  150. <script src="//code.jquery.com/jquery-2.2.4.min.js"></script>
  151.  
  152. <script src="https://static.tumblr.com/wgg6svp/OoTofxa0c/unnest.min.js"></script>
  153.  
  154. <script>
  155. $(function(){  $('.entries').unnest({
  156. yourCaption: ".text, .caption",
  157. wrapName: ".tumblr_parent",
  158. newCaptionUsername: false,
  159. originalPostCaptionUsername: false,
  160. tumblrAvatars: true,
  161. tumblrAvatarClass: ".tumblr_avatar",
  162. usernameColon: false
  163. });
  164. });
  165. </script>
  166.  
  167. <!--
  168.         NPF images fix v4.0 by @glenthemes [2023]
  169.         💌 gitlab.com/glen-npf/v4-beta
  170. --->
  171.  
  172. <link href="//glen-npf.gitlab.io/v4-beta/main.css" rel="stylesheet">
  173.  
  174. <script src="//glen-npf.gitlab.io/v4-beta/use.js"></script>
  175. <style>
  176. :root {
  177. --NPF-Images-Spacing:1px;
  178. --NPF-Caption-Spacing:1em;
  179. --NPF-Move-1st-Photoset:"no";
  180. --Text-Container-Selector:".caption";
  181. --Text-Reblogs-Selector:".tumblr_parent";
  182. }
  183. </style>
  184.  
  185. <!-- Inline Images Resizing Script -->
  186.  
  187. <script>
  188. $(".tmblr-full, figure").each(function(){
  189. var imgWidth = $(this).attr("data-orig-width"),
  190. img = $(this).find("img"),
  191. imgSrc = img.attr("src");
  192. $('figure').css({'margin-left':'0','margin-right':'0','display':'inline-block'});
  193. if (imgWidth >= 500){
  194. img.attr("src",imgSrc.replace("_500.","_1280."));
  195. $('.tmblr-full img, figure img').css({'width':'auto','height':'auto','vertical-align':'middle'});
  196. }
  197. });  
  198. </script>
  199.  
  200. <!-- PXU Script -->
  201.  
  202. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  203.  
  204. <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  205.  
  206. <script>
  207. $(document).ready(function(){
  208. $('.photo-slideshow').pxuPhotoset({
  209. lightbox: true,
  210. rounded: false,
  211. gutter: '1px',
  212. borderRadius: '0px',
  213. photoset: '.photo-slideshow',
  214. photoWrap: '.photo-data',
  215. photo: '.pxu-photo'
  216. });
  217. });
  218. </script>
  219.  
  220. <!-- Responsive Tumblr Videos Script -->
  221.  
  222. <script src="//cdn.jsdelivr.net/gh/robinpx/tumblr@master/scripts/flexibleFrames/flexibleFrames.min.js"></script>
  223.  
  224. <script>
  225. $(document).ready(function() {
  226. flexibleFrames($(".video"));  
  227. });
  228. </script>
  229.  
  230. <style type="text/css">
  231.  
  232. .tmblr-iframe--app-cta-button {
  233. display: none!important;
  234. }
  235.  
  236. ::-webkit-scrollbar-thumb:vertical {
  237. background: {color:Scrollbar};
  238. }
  239.  
  240. ::-webkit-scrollbar {
  241. width: 1px;
  242. }
  243.  
  244. ::selection {
  245. background: {color:Main Color};
  246. color: white;
  247. }
  248.  
  249. ::-moz-selection {
  250. background: {color:Main Color};
  251. color: white;
  252. }
  253.  
  254. #s-m-t-tooltip {
  255. background: {color:Tooltip Background};
  256. border-radius: 5px;
  257. color: {color:Tooltip Color};
  258. font-size: {select:Uppercase Font Size};
  259. margin-top: 30px;
  260. padding: 5px;
  261. text-align: center;
  262. text-transform: uppercase;
  263. z-index: 999999999999999999999999999999999999;
  264. }
  265.  
  266. body {
  267. background: {color:Background};
  268. {block:ifBackgroundImage}
  269. background-attachment: fixed;
  270. background-image: url('{image:Background Image}');
  271. background-repeat: repeat;
  272. {/block:ifBackgroundImage}
  273. color: {color:Text};
  274. cursor: url(https://i.imgur.com/lhPqll6.png), progress;
  275. font-family: '{select:Body Font}', sans-serif;
  276. font-size: {select:Body Font Size};
  277. font-style: normal;
  278. font-weight: 400;
  279. hyphens: auto;
  280. letter-spacing: 1px;
  281. margin: 0px;
  282. text-align: left;
  283. text-transform: none;
  284. word-wrap: break-word;
  285. }
  286.  
  287. a {
  288. color: {color:Link};
  289. text-decoration: none;
  290. -webkit-transition: all 0.5s ease;
  291. -moz-transition: all 0.5s ease;
  292. -o-transition: all 0.5s ease;
  293. }
  294.  
  295. a:hover {
  296. color: {color:Link Hover};
  297. }
  298.  
  299. b {
  300. font-weight: 700;
  301. }
  302.  
  303. h1 {
  304. font-size: 1.2rem;
  305. font-weight: bold;
  306. margin-block-start: 0em;
  307. text-transform: lowercase;
  308. }
  309.  
  310. h2 {
  311. font-size: 1rem;
  312. font-weight: bold;
  313. margin-block-start: 0em;
  314. }
  315.  
  316. blockquote {
  317. border-left: 1px solid {color:Border};
  318. margin: 5px;
  319. padding-left: 5px;
  320. }
  321.  
  322. blockquote img {
  323. height: auto;
  324. max-width: 100%;
  325. }
  326.  
  327. blockquote blockquote {
  328. border-left: 1px solid {color:Border};
  329. padding-left: 5px;
  330. }
  331.  
  332. pre {
  333. background: #f8f8f8;
  334. border-radius: 5px;
  335. padding: 10px;
  336. word-wrap: break-all;
  337. white-space: pre-wrap;
  338. }
  339.  
  340. #subtitle {
  341. background: {color:Main Color};
  342. color: {color:Post Background};
  343. font-family: 'Playfair Display', serif;
  344. font-size: {select:Uppercase Font Size};
  345. font-weight: bold;
  346. height: 20px;
  347. margin-left: 150px;
  348. padding: 20px 0px 17px 20px;
  349. position: fixed;
  350. text-transform: lowercase;
  351. top: 0px;
  352. vertical-align: middle;
  353. width: calc(100% - 170px);
  354. z-index: 1;
  355. }
  356.  
  357. #links {
  358. background: {color:Asker Background};
  359. font-size: {select:Uppercase Font Size};
  360. height: 100%;
  361. padding-top: 15px;
  362. position: fixed;
  363. text-align: center;
  364. text-transform: uppercase;
  365. top: 0px;
  366. width: 150px;
  367. }
  368.  
  369. #links a {
  370. background: {color:Post Background};
  371. border: 1px solid {color:Border};
  372. border-radius: 5px;
  373. display: inline-block;
  374. margin-bottom: 10px;
  375. margin-left: auto;
  376. margin-right: auto;
  377. padding: 10px;
  378. width: 100px;
  379. }
  380.  
  381. .link-border {
  382. background: {color:Border};
  383. height: 1px;
  384. margin-bottom: 10px;
  385. margin-top: 10px;
  386. width: 100%;
  387. }
  388.  
  389. #container {
  390. margin-bottom: 100px;
  391. margin-left: 150px;
  392. margin-top: 157px;
  393. width: calc(100% - 150px);
  394. }
  395.  
  396. #wrapper {
  397. margin-left: auto;
  398. margin-right: auto;
  399. {block:if400pxTextPost}
  400. width: 760px;
  401. {/block:if400pxTextPost}
  402. {block:if500pxTextPost}
  403. width: 860px;
  404. {/block:if500pxTextPost}
  405. }
  406.  
  407. #user-information {
  408. margin-bottom: 100px;
  409. {block:if400pxTextPost}
  410. margin-left: 490px;
  411. {/block:if400pxTextPost}
  412. {block:if500pxTextPost}
  413. margin-left: 590px;
  414. {/block:if500pxTextPost}
  415. position: absolute;
  416. width: 270px;
  417. }
  418.  
  419. .sidebar-image {
  420. height: 200px;
  421. width: 270px;
  422. }
  423.  
  424. .sidebar-image img {
  425. border-top-left-radius: 5px;
  426. border-top-right-radius: 5px;    
  427. height: 200px;
  428. width: 270px;
  429. }
  430.  
  431. .wrapper {
  432. background: {color:Post Background};
  433. border-bottom-left-radius: 5px;
  434. border-bottom-right-radius: 5px;
  435. border-top: none;
  436. padding: 20px;
  437. }
  438.  
  439. .icon-image {
  440. height: 100px;
  441. margin-left: auto;
  442. margin-right: auto;
  443. margin-top: -70px;
  444. width: 100px;
  445. }
  446.  
  447. .icon-image img {
  448. border-radius: 100%;
  449. height: 100px;
  450. width: 100px;
  451. }
  452.  
  453. .title {
  454. color: {color:Text};
  455. font-family: 'Playfair Display', serif;
  456. font-size: 1.2rem;
  457. font-weight: bold;
  458. margin-top: 15px;
  459. text-align: center;
  460. text-transform: lowercase;
  461. }
  462.  
  463. .description {
  464. font-size: {select:Uppercase Font Size};
  465. margin-top: 15px;
  466. text-align: center;
  467. text-transform: uppercase;
  468. }
  469.  
  470. .links {
  471. background: {color:Post Background};
  472. border-radius: 5px;
  473. font-size: {select:Uppercase Font Size};
  474. margin-top: 15px;
  475. padding: 20px;
  476. text-align: center;
  477. text-transform: uppercase;
  478. }
  479.  
  480. .links a {
  481. display: inline-block;
  482. margin: 5px;
  483. }
  484.  
  485. .links-alternate {
  486. background: {color:Post Background};
  487. border-radius: 5px;
  488. display: none;
  489. font-size: {select:Uppercase Font Size};
  490. margin-top: 15px;
  491. padding: 20px;
  492. text-align: center;
  493. text-transform: uppercase;
  494. }
  495.  
  496. .links-alternate a {
  497. display: inline-block;
  498. margin: 5px;
  499. }
  500.  
  501. #posts {
  502. {block:if400pxTextPost}
  503. width: 440px;
  504. {/block:if400pxTextPost}
  505. {block:if500pxTextPost}
  506. width: 540px;
  507. {/block:if500pxTextPost}
  508. }
  509.  
  510. .entries {
  511. background: {color:Post Background};
  512. border-radius: 5px;
  513. margin-bottom: 0px;
  514. {block:IndexPage}
  515. margin-bottom: 50px;
  516. {/block:IndexPage}
  517. padding: 20px;
  518. padding-top: 56px;
  519. {block:if400pxTextPost}
  520. width: 400px;
  521. {/block:if400pxTextPost}
  522. {block:if500pxTextPost}
  523. width: 500px;
  524. {/block:if500pxTextPost}
  525. }
  526.  
  527. .entries-icon {
  528. background: {color:Main Color};
  529. border: 1px solid {color:Border};
  530. border-bottom-right-radius: 5px;
  531. border-left: none;
  532. border-top: none;
  533. border-top-left-radius: 5px;
  534. color: {color:Entries Icon Color};
  535. display: inline-block;
  536. font-size: {select:Uppercase Font Size};
  537. margin-bottom: 20px;
  538. margin: -56px;
  539. margin-left: -20px;
  540. padding: 10px;
  541. position: absolute;
  542. }
  543.  
  544. .entries img {
  545. height: auto;
  546. max-width: 100%;
  547. }
  548.  
  549. .npf_row img {
  550. width: 100%;
  551. }
  552.  
  553. .tmblr-full {
  554. margin-bottom: 10px;
  555. }
  556.  
  557. .npf_inst {
  558. margin-bottom: 20px;
  559. }
  560.  
  561. .npf-wrapper {
  562. margin: 0px;
  563. }
  564.  
  565. .npf-wrapper .tmblr-full {
  566. display: flex;
  567. }
  568.  
  569. .text-wrapper {
  570. margin: 0px;
  571. }
  572.  
  573. .read_more {
  574. background: {color:Main Color};
  575. border: 1px solid {color:Border};
  576. border-radius: 5px;
  577. color: white;
  578. display: inline-block;
  579. font-size: {select:Uppercase Font Size};
  580. padding: 10px;
  581. text-align: center;
  582. text-transform: uppercase;
  583. width: calc(100% - 22px);
  584. }
  585.  
  586. .read_more:hover {
  587. background: white;
  588. color: {color:Main Color};
  589. }
  590.  
  591. .vignette, #vignette {
  592. opacity: 0;
  593. }
  594.  
  595. .lightbox-image, #tumblr_lightbox img {
  596. border-radius: 0!important;
  597. box-shadow: none!important;
  598. max-width: none;
  599. }
  600.  
  601. .tmblr-lightbox, #tumblr_lightbox {
  602. background-attachment: fixed;
  603. background-image: url('https://i.imgur.com/7wF2zbK.png');
  604. background-repeat: repeat;
  605. }
  606.  
  607. .lightbox-caption, #tumblr_lightbox_caption {
  608. visibility: hidden;
  609. }
  610.  
  611. .text p {
  612. margin-top: 0px;
  613. }
  614.  
  615. .caption {
  616. margin-top: 20px;
  617. }
  618.  
  619. .caption p {
  620. margin-top: 0px;
  621. }
  622.  
  623. blockquote.tumblr_parent {
  624. border: none;
  625. border-bottom: 1px solid {color:Border};
  626. margin: 0px;
  627. margin-bottom: 20px;
  628. padding: 0px;
  629. }
  630.  
  631. blockquote.tumblr_parent:last-child {
  632. border-bottom: 0px;
  633. }
  634.  
  635. blockquote.user-reblog {
  636. border: none;
  637. margin: 0px;
  638. padding: 0px;
  639. }
  640.  
  641. .tumblr_avatar {
  642. border-radius: 100px;
  643. height: 30px;
  644. margin-bottom: 20px;
  645. width: 30px;
  646. }
  647.  
  648. .tumblr_avatar img {
  649. height: 30px;
  650. width: 30px;
  651. }
  652.  
  653. .user-image img {
  654. height: 30px;
  655. width: 30px;
  656. }
  657.  
  658. a.tumblr_blog {
  659. font-size: {select:Body Font Size};
  660. font-weight: bold;
  661. margin-top: calc((30px - {select:Body Font Size}) / 4);
  662. display: inline-block;
  663. position: absolute;
  664. margin-left: 10px;
  665. text-align: center;
  666. text-transform: lowercase;
  667. }
  668.  
  669. .ask-wrapper {
  670. width: 100%;
  671. }
  672.  
  673. .asker {
  674. background: {color:Asker Background};
  675. border: 1px solid {color:Border};
  676. padding: 20px;
  677. }
  678.  
  679. .asker-url {
  680. font-size: {select:Uppercase Font Size};
  681. text-align: center;
  682. text-transform: uppercase;
  683. }
  684.  
  685. .asker-url a {
  686. border: none;
  687. background: none;
  688. padding: 0px;
  689. }
  690.  
  691. .question {
  692. background: {color:Question Background};
  693. border: 1px solid {color:Border};
  694. border-top: none;
  695. padding: 20px;
  696. text-align: center;
  697. }
  698.  
  699. .question p {
  700. margin-block-start: 0em;
  701. }
  702.  
  703. .question p:last-of-type {
  704. margin-block-end: 0em;
  705. }
  706.  
  707. .quote {
  708. background: {color:Asker Background};
  709. font-size: {select:Uppercase Font Size};
  710. padding: 10px;
  711. text-transform: uppercase;
  712. }
  713.  
  714. .quote-icon {
  715. background: {color:Main Color};
  716. display: inline-block;
  717. color: {color:Quote Icon Color};
  718. margin: -10px;
  719. padding: 10px;
  720. }
  721.  
  722. .quote-wrapper {
  723. margin-top: 20px;
  724. width: 100%;
  725. }
  726.  
  727. .quote a.tumblr_blog {
  728. font-size: {select:Uppercase Font Size};
  729. font-weight: normal;
  730. margin-top: 0px;
  731. margin-left: 0px;
  732. display: inline-block;
  733. position: relative;
  734. text-align: center;
  735. text-transform: uppercase;
  736. }
  737.  
  738. .website {
  739. background: {color:Main Color};
  740. color: {color:Quote Icon Color};
  741. font-size: {select:Uppercase Font Size};
  742. padding: 10px;
  743. text-transform: uppercase;
  744. }
  745.  
  746. .website a {
  747. color: {color:Quote Icon Color};
  748. }
  749.  
  750. .website a:hover {
  751. color: {color:Link Hover};
  752. }
  753.  
  754. .chat {
  755. font-size: {select:Uppercase Font Size};
  756. text-transform: uppercase;
  757. }
  758.  
  759. .chat li {
  760. list-style-type: none;
  761. }
  762.  
  763. .chat li:nth-child(odd) {
  764. background: {color:Main Color};
  765. color: {color:Quote Icon Color};
  766. padding: 10px;
  767. }
  768.  
  769. .chat li:nth-child(even) {
  770. background: {color:Asker Background};
  771. color: {color:Main Color};
  772. padding: 10px;
  773. }
  774.  
  775. .audio iframe {
  776. height: 85px;
  777. width: 100%;
  778. }
  779.  
  780. /** spotify fix by glenthemes **/
  781.  
  782. iframe[src*='open.spotify.com'][src*='track'], figure[data-npf*='open.spotify.com'][data-npf*='track']{
  783. height: 85px!important;
  784. margin-bottom: 0px;
  785. }
  786.  
  787. figure {
  788. display: flex;
  789. width: 100%;
  790. }
  791.  
  792. figcaption.npf-audio-wrapper {
  793. width: 100%;
  794. }
  795.  
  796. .npf-audio-wrapper {
  797. --NPF-Audio-Buttons-Size: 1.4rem;
  798. --NPF-Audio-Buttons-Color: #555555;
  799. --NPF-Audio-Buttons-Spacing: 1.3rem;
  800. --NPF-Audio-Image-Size: 85px;
  801. --NPF-Audio-Image-Spacing: 0px;
  802. }
  803.  
  804. span.npf-audio-title {
  805. font-weight: bold;
  806. }
  807.  
  808. .npf-audio-background {
  809. background-color: #f2f2f2;
  810. padding: 1.5rem;
  811. }
  812.  
  813. video {
  814. height: auto;
  815. width: 100%;
  816. }
  817.  
  818. .source {
  819. background: {color:Asker Background};
  820. border-radius: 5px;
  821. display: inline-block;
  822. font-size: {select:Uppercase Font Size};
  823. margin-top: 10px;
  824. padding: 5px;
  825. text-transform: uppercase;
  826. }
  827.  
  828. .entries-information {
  829. border-top: 1px solid {color:Border};
  830. font-size: {select:Uppercase Font Size};
  831. margin-top: 20px;
  832. padding-top: 20px;
  833. text-transform: uppercase;
  834. }
  835.  
  836. .border {
  837. background: {color:Main Color};
  838. height: 3px;
  839. margin-top: -22px;
  840. position: absolute;
  841. width: 30px;
  842. }
  843.  
  844. .like-b {
  845. display: inline-block;
  846. margin-right: 0px;
  847. position: relative;
  848. }
  849.  
  850. .like-b .like_button iframe {
  851. bottom: 0px;
  852. left: 0px;
  853. opacity: 0;
  854. position: absolute;
  855. right: 0px;
  856. top: 0px;
  857. }
  858.  
  859. .like-b .liked + .b {
  860. color: {color:Like};
  861. }
  862.  
  863. .like-b .liked + .b:after {
  864. content: 'd';
  865. }
  866.  
  867. .tags-title a {
  868. color: {color:Link};
  869. margin-top: 20px;
  870. margin-left: auto;
  871. margin-right: auto;
  872. margin-top: 20px;
  873. text-align: center;
  874. width: 70px;
  875. -webkit-transition: all 0.5s ease;
  876. -moz-transition: all 0.5s ease;
  877. -o-transition: all 0.5s ease;
  878. }
  879.  
  880. .tags-title:hover {
  881. color: {color:Link Hover};
  882. }
  883.  
  884. .tags {
  885. margin-top: 5px;
  886. }
  887.  
  888. .tags-alternate {
  889. margin-top: 5px;
  890. }
  891.  
  892. ol.notes {
  893. font-size: {select:Uppercase Font Size};
  894. margin: -10px;
  895. margin-top: 20px;
  896. padding: 0px;
  897. text-align: left;
  898. text-transform: uppercase;
  899. }
  900.  
  901. ol.notes li {
  902. list-style-type: none;
  903. margin: 10px;
  904. }
  905.  
  906. ol.notes li.note img.avatar {
  907. border-radius: 100px;
  908. vertical-align: -4px;
  909. height: 16px;
  910. margin-right: 10px;
  911. width: 16px;
  912. }
  913.  
  914. .more_notes_link {
  915. background: {color:Main Color};
  916. border-radius: 5px;
  917. color: white;
  918. display: inline-block;
  919. padding: 5px 10px 5px 10px;
  920. text-align: center;
  921. }
  922.  
  923. .pagination {
  924. font-size: {select:Uppercase Font Size};
  925. text-transform: uppercase;
  926. }
  927.  
  928. #credit {
  929. bottom: 15px;
  930. font-size: 0.7rem;
  931. position: fixed;
  932. right: 15px;
  933. text-transform: uppercase;
  934. }
  935.  
  936. #credit a {
  937. color: {color:Link};
  938. }
  939.  
  940. #credit a:hover {
  941. color: {color:Link Hover};
  942. }
  943.  
  944. @media only screen and (max-width: 1000px) {
  945.  
  946. #subtitle {
  947. margin-left: 0px;
  948. position: relative;
  949. width: calc(100% - 20px);
  950. }
  951.  
  952. #links {
  953. display: none;
  954. }
  955.  
  956. #user-information {
  957. margin-left: 0px;
  958. position: relative;
  959. width: 440px;
  960. }
  961.  
  962. .sidebar-image {
  963. display: none;
  964. }
  965.  
  966. .wrapper {
  967. border-radius: 5px;
  968. }
  969.  
  970. .links {
  971. display: none;
  972. }
  973.  
  974. .links-alternate {
  975. display: block;
  976. }
  977.  
  978. #container {
  979. margin-left: 0px;
  980. margin-top: 150px;
  981. width: 100%;
  982. }
  983.  
  984. #wrapper {
  985. width: 440px;
  986. }
  987.  
  988. #posts {
  989. width: 440px;
  990. }
  991.  
  992. .entries {
  993. width: 400px;
  994. }
  995.  
  996. .entries img {
  997. max-width: 100%;
  998. }
  999.  
  1000. .audio iframe {
  1001. width: 400px;
  1002. }
  1003.  
  1004. }
  1005.  
  1006. @media only screen and (max-width: 500px) {
  1007.  
  1008. #user-information {
  1009. width: 290px;
  1010. }
  1011.  
  1012. #wrapper {
  1013. width: 290px;
  1014. }
  1015.  
  1016. #posts {
  1017. width: 290px;
  1018. }
  1019.  
  1020. .entries {
  1021. width: 250px;
  1022. }
  1023.  
  1024. .entries img {
  1025. max-width: 100%;
  1026. }
  1027.  
  1028. .audio iframe {
  1029. width: 250px;
  1030. }
  1031.  
  1032. }
  1033.  
  1034. {CustomCSS}
  1035.    
  1036. </style>
  1037.    
  1038. </head>
  1039.  
  1040. <body>
  1041.  
  1042. <div id="subtitle">{text:Subtitle}</div>
  1043.  
  1044. <div id="links">
  1045. <a href="/"><i class="far fa-arrow-alt-circle-left" style="color: {color:Main Color};"></i><div class="link-border"></div>Home</a>
  1046. {block:AskEnabled}<a href="/ask"><i class="far fa-envelope" style="color: {color:Main Color};"></i><div class="link-border"></div>Ask</a>{/block:AskEnabled}
  1047. {block:SubmissionsEnabled}{block:IfSubmitLink}<a href="/submit"><i class="fas fa-file-import" style="color: {color:Main Color};"></i><div class="link-border"></div>Submit</a>{/block:IfSubmitLink}{/block:SubmissionsEnabled}
  1048. {block:ifLink1URL}<a href="{text:Link 1 URL}"><i class="far fa-circle" style="color: {color:Main Color};"></i><div class="link-border"></div>{text:Link 1 Name}</a>{/block:ifLink1URL}
  1049. <a href="/archive"><i class="far fa-calendar-plus" style="color: {color:Main Color};"></i><div class="link-border"></div>Archive</a>
  1050.  
  1051. </div>
  1052.  
  1053. <div id="container">
  1054.  
  1055. <div id="wrapper">
  1056.  
  1057. <div id="user-information">
  1058.  
  1059. <div class="sidebar-image"><img src="{image:Sidebar image}"/></div>
  1060.  
  1061. <div class="wrapper">
  1062.  
  1063. <div class="icon-image"><img src="{image:Icon Image}"/></div>
  1064.  
  1065. <div class="title"><span>{text:Title}</span></div>
  1066.  
  1067. {block:Description}<div class="description">{Description}</div>{/block:Description}
  1068.  
  1069. </div>
  1070.  
  1071. <div class="links">
  1072. {block:ifLink2URL}<a href="{text:Link 2 URL}">{text:Link 2 Name}</a>{/block:ifLink2URL}
  1073. {block:ifLink3URL}<a href="{text:Link 3 URL}">{text:Link 3 Name}</a>{/block:ifLink3URL}
  1074. {block:ifLink4URL}<a href="{text:Link 4 URL}">{text:Link 4 Name}</a>{/block:ifLink4URL}
  1075. {block:ifLink5URL}<a href="{text:Link 5 URL}">{text:Link 5 Name}</a>{/block:ifLink5URL}
  1076. {block:ifLink6URL}<a href="{text:Link 6 URL}">{text:Link 6 Name}</a>{/block:ifLink6URL}
  1077. {block:ifLink7URL}<a href="{text:Link 7 URL}">{text:Link 7 Name}</a>{/block:ifLink7URL}
  1078. </div>
  1079.  
  1080. <div class="links-alternate">
  1081. <a href="/">Home</a>
  1082. {block:AskEnabled}<a href="/ask">Ask</a>{/block:AskEnabled}
  1083. {block:SubmissionsEnabled}{block:IfSubmitLink}<a href="/submit">Submit</a>{/block:IfSubmitLink}{/block:SubmissionsEnabled}
  1084. {block:ifLink1URL}<a href="{text:Link 1 URL}">{text:Link 1 Name}</a>{/block:ifLink1URL}
  1085. {block:ifLink2URL}<a href="{text:Link 2 URL}">{text:Link 2 Name}</a>{/block:ifLink2URL}
  1086. {block:ifLink3URL}<a href="{text:Link 3 URL}">{text:Link 3 Name}</a>{/block:ifLink3URL}
  1087. {block:ifLink4URL}<a href="{text:Link 4 URL}">{text:Link 4 Name}</a>{/block:ifLink4URL}
  1088. {block:ifLink5URL}<a href="{text:Link 5 URL}">{text:Link 5 Name}</a>{/block:ifLink5URL}
  1089. {block:ifLink6URL}<a href="{text:Link 6 URL}">{text:Link 6 Name}</a>{/block:ifLink6URL}
  1090. {block:ifLink7URL}<a href="{text:Link 7 URL}">{text:Link 7 Name}</a>{/block:ifLink7URL}
  1091. <a href="/archive">Archive</a>
  1092. </div>
  1093.  
  1094. </div>
  1095.  
  1096. <div id="posts">
  1097.  
  1098. {block:Posts}
  1099.  
  1100. <div class="entries" id="{PostID}" post-type="{PostType}">
  1101.  
  1102. {block:Text}
  1103. {block:NotReblog}
  1104. <div class="entries-icon"><i class="far fa-file-alt"></i></div>
  1105. <div class="npf-wrapper">
  1106. {block:Title}
  1107. <h1>{Title}</h1>
  1108. {/block:Title}
  1109. {Body}
  1110. </div>
  1111. {/block:NotReblog}
  1112. {block:RebloggedFrom}
  1113. <div class="entries-icon"><i class="far fa-file-alt"></i></div>
  1114. <div class="text-wrapper">
  1115. {block:Title}
  1116. <h1>{Title}</h1>
  1117. {/block:Title}
  1118. <div class="text">
  1119. {Body}
  1120. </div>
  1121. </div>
  1122. {/block:RebloggedFrom}
  1123. {/block:Text}
  1124.  
  1125. {block:Answer}
  1126. <div class="entries-icon"><i class="far fa-envelope"></i></div>
  1127. <div class="ask-wrapper">
  1128. <div class="asker">
  1129. <div class="asker-url">
  1130. <i class="far fa-question-circle" style="background: {color:Main Color};border-radius: 100px;color: {color:Post Background};font-size: 0.9rem;padding: 10px;width: 0.9rem;"></i>
  1131. <br><br>
  1132. A Message From <a href="{AskerURL}">{Asker}</a>
  1133. </div>
  1134. </div>
  1135. <div class="question">
  1136. {Question}
  1137. </div>
  1138. </div>
  1139. <div class="caption">
  1140. {Answer}
  1141. </div>
  1142. {/block:Answer}
  1143.  
  1144. {block:Quote}
  1145. <div class="entries-icon"><i class="fas fa-quote-left"></i></div>
  1146. <div class="quote">
  1147. <div class="quote-icon"><i class="fas fa-quote-left"></i></div>
  1148. <div class="quote-wrapper">
  1149. "{Quote}</i>" {block:Source}— {Source}{/block:Source}
  1150. </div>
  1151. </div>
  1152. {/block:Quote}
  1153.  
  1154. {block:Link}
  1155. <div class="entries-icon"><i class="fas fa-globe-americas"></i></div>
  1156. {block:Thumbnail}
  1157. <img src="{Thumbnail}" style="margin-bottom: 10px;"/>
  1158. {/block:Thumbnail}
  1159. <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}
  1160. </a></div>
  1161. {block:Description}
  1162. <div class="caption">
  1163. {Description}
  1164. </div>
  1165. {/block:Description}
  1166. {/block:Link}
  1167.  
  1168. {block:Chat}
  1169. <div class="entries-icon"><i class="far fa-comment"></i></div>
  1170. <div class="chat">
  1171. {block:Title}
  1172. <h1>{Title}</h1>
  1173. {/block:Title}
  1174. {block:Lines}
  1175. <li>{block:Label}{Label}{/block:Label}
  1176. {Line}
  1177. </li>
  1178. {/block:Lines}
  1179. </div>
  1180. {/block:Chat}
  1181.  
  1182. {block:Audio}
  1183. <div class="entries-icon"><i class="fas fa-music"></i></div>
  1184. <div class="audio">
  1185. {AudioEmbed}
  1186. </div>
  1187. {block:Caption}
  1188. <div class="caption">{Caption}</div>
  1189. {/block:Caption}
  1190. {/block:Audio}
  1191.  
  1192. {block:Photo}
  1193. <div class="entries-icon"><i class="fas fa-image"></i></div>
  1194. <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>
  1195. {block:Caption}
  1196. <div class="text-wrapper">
  1197. <div class="caption">{Caption}</div>
  1198. </div>
  1199. {/block:Caption}
  1200. {/block:Photo}
  1201.  
  1202. {block:Photoset}
  1203. <div class="entries-icon"><i class="fas fa-images"></i></div>
  1204. <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>
  1205. {block:Caption}
  1206. <div class="text-wrapper">
  1207. <div class="caption">{Caption}</div>
  1208. </div>
  1209. {/block:Caption}
  1210. {/block:Photoset}
  1211.  
  1212. {block:Video}
  1213. <div class="entries-icon"><i class="fas fa-video"></i></div>
  1214. <div class="video">
  1215. {Video-500}
  1216. </div>
  1217. {block:Caption}
  1218. <div class="caption">{Caption}</div>
  1219. {/block:Caption}
  1220. {/block:Video}
  1221.  
  1222. {block:ContentSource}
  1223. <div class="source">
  1224. <i class="fas fa-paper-plane" style="color: {color:Main Color};margin-right: 5px;"></i><a href="{SourceURL}" title="{SourceTitle}">Source</a>
  1225. </div>
  1226. {/block:ContentSource}
  1227.  
  1228. {block:Date}
  1229. <div class="entries-information">
  1230. <div class="border"></div>
  1231. {block:PinnedPostLabel}
  1232. <font style="color: {color:Pin};"><i class="fas fa-thumbtack" style="margin-right: 5px;"></i>{PinnedPostLabel}</font>
  1233. <font style="color: {color:Main Color};margin-left: 5px;margin-right: 5px;">•</font>
  1234. {/block:PinnedPostLabel}
  1235. {block:NoteCount}<a href="{Permalink}">{NoteCountWithLabel}</a>
  1236. <font style="color: {color:Main Color};margin-left: 5px;margin-right: 5px;">•</font>{/block:NoteCount}
  1237. <a href="{Permalink}">{DayOfMonth} {ShortMonth} {Year}</a>
  1238. <font style="color: {color:Main Color};margin-left: 5px;margin-right: 5px;">•</font>
  1239. {block:RebloggedFrom} <a href="{ReblogParentURL}">Via</a> / {/block:RebloggedFrom}  
  1240. {block:ContentSource}{block:RebloggedFrom} <a href="{ReblogRootURL}">Source</a> / {/block:RebloggedFrom}{/block:ContentSource}
  1241. <a class="like-b" href="#">{LikeButton}<div class="b">Like</div></a> Or <a href="{ReblogURL}" target="_blank">Reblog</a>
  1242. {block:IfHideTags}
  1243. {block:HasTags}
  1244. <font style="color: {color:Main Color};margin-left: 5px;margin-right: 5px;">•</font>
  1245. <a class="tags-title">Show Tags</a>
  1246. <div class="tags">
  1247. {block:Tags}
  1248. <a href="{TagURL}" style="margin-right: 5px;"><font style="color: {color:Main Color};margin-right: 5px;">•</font>{Tag}</a>
  1249. {/block:Tags}
  1250. </div>
  1251. {/block:HasTags}
  1252. {/block:IfHideTags}
  1253. {block:IfShowTags}
  1254. {block:HasTags}
  1255. <div class="tags-alternate">
  1256. {block:Tags}
  1257. <a href="{TagURL}" style="margin-right: 5px;"><font style="color: {color:Main Color};margin-right: 5px;">•</font>{Tag}</a>
  1258. {/block:Tags}
  1259. </div>
  1260. {/block:HasTags}
  1261. {/block:IfShowTags}
  1262. {block:PostNotes}
  1263. {PostNotes}
  1264. {/block:PostNotes}
  1265. </div>
  1266. {/block:Date}
  1267.  
  1268. </div>
  1269.  
  1270. {/block:Posts}
  1271.  
  1272. {block:Pagination}
  1273. <div class="pagination">
  1274. {CurrentPage} Out Of {TotalPages}
  1275. <font style="float:right;">
  1276. {block:PreviousPage}
  1277. <a href="{PreviousPage}">Previous</a>
  1278. {/block:PreviousPage}
  1279. {block:NextPage}
  1280. Or <a href="{NextPage}">Next</a>
  1281. {/block:NextPage}
  1282. </font>
  1283. </div>
  1284. {/block:Pagination}
  1285.  
  1286. </div>
  1287.  
  1288. </div>
  1289.  
  1290. <div id="credit"><a href="http://ghcstfaec.tumblr.com/" title="ghcstfaec" target="_blank">GHCST</a></div>
  1291.  
  1292. </body>
  1293.  
  1294. </html>
Advertisement
Add Comment
Please, Sign In to add comment