sashatheme

Unreleased Theme

Nov 11th, 2024 (edited)
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.69 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <!--
  4.  
  5. CREDITS:
  6.  
  7. -tooltip script + audio player code from SORRISM
  8.  
  9. -img fixes from git.io/JRBt7
  10.  
  11. -->
  12.  
  13. <head>
  14.  
  15. <meta charset="UTF-8">
  16.  
  17. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  18.  
  19. <title>{Title}</title>
  20.  
  21. <link rel="icon" type="image/x-icon" href="{image:favicon}">
  22.  
  23. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script><script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
  24.  
  25. <script src="//cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"></script>
  26.  
  27. <link rel="stylesheet" media="screen" href="//assets.tumblr.com/client/prod/standalone/blog-network-npf/index.build.css">
  28.  
  29. <!--
  30. NPF images fix v3.0 by @glenthemes [2021]
  31. 馃拰 git.io/JRBt7
  32. --->
  33. <script src="//npf-images-v3.github.io/script.js"></script>
  34. <link rel="stylesheet" href="//npf-images-v3.github.io/recon.css">
  35. <style tmblr-npf>
  36. :root {
  37. --NPF-Caption-Spacing:1em;
  38. --NPF-Image-Spacing:4px;
  39. }
  40. </style>
  41.  
  42. <!--METAS-->
  43.  
  44. <meta name="select:font" content="arial" />
  45. <meta name="select:font" content="times" />
  46. <meta name="select:font" content="ms gothic" />
  47. <meta name="select:font" content="tahoma" />
  48. <meta name="select:font" content="georgia" />
  49. <meta name="select:font" content="comic sans ms" />
  50.  
  51. <meta name="image:favicon" contents="" />
  52.  
  53. <meta name="image:background" contents="" />
  54. <meta name="color:background" contents="" />
  55. <meta name="select:background size" content="auto" />
  56. <meta name="select:background size" content="cover" />
  57. <meta name="select:background size" content="contain" />
  58.  
  59. <meta name="image:icon" contents="" />
  60.  
  61. <meta name="color:text" contents="" />
  62. <meta name="color:links" contents="" />
  63. <meta name="color:links hover" contents="" />
  64. <meta name="color:links highlight" contents="" />
  65.  
  66. <meta name="color:posts text" contents="" />
  67. <meta name="color:posts background" contents="" />
  68.  
  69. <meta name="color:tags" contents="" />
  70.  
  71. <meta name="color:tooltip background" contents="" />
  72. <meta name="color:tooltip text" contents="" />
  73. <meta name="color:tooltip border" contents="" />
  74.  
  75. <meta name="text:desc" contents="" />
  76.  
  77. <style>
  78.  
  79. ::-webkit-scrollbar {
  80.  
  81. display: none;
  82.  
  83. }
  84.  
  85. html {
  86.  
  87. display: table;
  88.  
  89. margin: auto;
  90.  
  91. }
  92.  
  93. body {
  94.  
  95. background: {color:background};
  96.  
  97. background-image: url("{image:background}");
  98.  
  99. background-size: {select:background size};
  100.  
  101. color: {color:text};
  102.  
  103. font-family: {select:font};
  104.  
  105. font-size: 16px;
  106.  
  107. word-wrap: break-word;
  108.  
  109. display: table-cell;
  110.  
  111. vertical-align: middle;
  112.  
  113. }
  114.  
  115. a {
  116.  
  117. color: {color:links};
  118.  
  119. text-decoration: none;
  120.  
  121. }
  122.  
  123. a:hover {
  124.  
  125. color: {color:links hover};
  126.  
  127. background-color: {color:links highlight};
  128.  
  129. }
  130.  
  131. img {
  132.  
  133. max-width: 100%;
  134.  
  135. height: auto;
  136.  
  137. display: inline-block;
  138.  
  139. }
  140.  
  141. blockquote {
  142.  
  143. padding-left: 5px;
  144.  
  145. margin-top: 5px;
  146.  
  147. margin-left: 0px;
  148.  
  149. border-left: 1px dotted {color:links};
  150.  
  151. }
  152.  
  153. .top {
  154.  
  155. width: 400px;
  156.  
  157. height: 100px;
  158.  
  159. margin-top: 50px;
  160.  
  161. }
  162.  
  163. .icon {
  164.  
  165. width: 100px;
  166.  
  167. height: 100px;
  168.  
  169. background-image: url("{image:icon}");
  170.  
  171. background-size: cover;
  172.  
  173. display: inline-block;
  174.  
  175. vertical-align: top;
  176.  
  177. margin-right: 5px;
  178.  
  179. }
  180.  
  181. .desc {
  182.  
  183. width: 290px;
  184.  
  185. height: 100px;
  186.  
  187. overflow: auto;
  188.  
  189. scrollbar-width: none;
  190.  
  191. display: inline-block;
  192.  
  193. text-align: justify;
  194.  
  195. font-size: 29px;
  196.  
  197. }
  198.  
  199. .postswrap {
  200.  
  201. width: 400px;
  202.  
  203. height: auto;
  204.  
  205. padding: 10px;
  206.  
  207. }
  208.  
  209. .posts {
  210.  
  211. width: 400px;
  212.  
  213. margin-bottom: 20px;
  214.  
  215. text-align: justify;
  216.  
  217. line-height: 20px;
  218.  
  219. background-color: {color:posts background};
  220.  
  221. color: {color:posts text};
  222.  
  223. }
  224.  
  225. .player {
  226.  
  227. display: inline-block;
  228.  
  229. width: 32px;
  230.  
  231. height: 34px;
  232.  
  233. margin-left: -4px;
  234.  
  235. position: absolute;
  236.  
  237. overflow: hidden;
  238.  
  239. }
  240.  
  241. .hold {
  242.  
  243. padding: 12px;
  244.  
  245. text-align: left;
  246.  
  247. position: relative;
  248.  
  249. display: block;
  250.  
  251. }
  252.  
  253. .audio_info {
  254.  
  255. vertical-align: middle;
  256.  
  257. line-height: 12px;
  258.  
  259. margin-left: 35px;
  260.  
  261. }
  262.  
  263. .audio_info span {
  264.  
  265. display: block;
  266.  
  267. }
  268.  
  269. .question {
  270.  
  271. text-align: justify;
  272.  
  273. }
  274.  
  275. .tags {
  276.  
  277. color: {color:tags};
  278.  
  279. margin-top: -20px;
  280.  
  281. }
  282.  
  283. .tags a {
  284.  
  285. color: {color:links};
  286.  
  287. display: inline;
  288.  
  289. }
  290.  
  291. .tags a:hover {
  292.  
  293. color: {color:links hover};
  294.  
  295. display: inline;
  296.  
  297. }
  298.  
  299. ol.notes {
  300.  
  301. padding: 0px;
  302.  
  303. margin: 25px 0px;
  304.  
  305. list-style-type: none;
  306.  
  307. }
  308.  
  309. ol.notes li.note {
  310.  
  311. padding: 10px;
  312.  
  313. }
  314.  
  315. ol.notes li.note img.avatar {
  316.  
  317. width: 12px;
  318.  
  319. height: 12px;
  320.  
  321. margin-right: 12px;
  322.  
  323. }
  324.  
  325. img.avatar {
  326.  
  327. border-radius: 50%;
  328.  
  329. }
  330.  
  331. ol.notes li.note blockquote {
  332.  
  333. border-color: #eee;
  334.  
  335. padding: 8px;
  336.  
  337. margin: 10px;
  338.  
  339. margin-top: 10px;
  340.  
  341. }
  342.  
  343. ol.notes li.note blockquote a {
  344.  
  345. text-decoration: none;
  346.  
  347. }
  348.  
  349. .ui-tooltip {
  350.  
  351. position: absolute;
  352.  
  353. z-index: 9999;
  354.  
  355. padding-top: -5px;
  356.  
  357. padding-left: 15px;
  358.  
  359. }
  360.  
  361. .ui-tooltip-content {
  362.  
  363. background: {color:tooltip background};
  364.  
  365. color: {color:tooltip text};
  366.  
  367. border: 1px solid {color:tooltip border};
  368.  
  369. padding: 5px;
  370.  
  371. text-transform: uppercase;
  372.  
  373. }
  374.  
  375. .npf_row {
  376.  
  377. margin: 0px !important;
  378.  
  379. }
  380.  
  381. .npf-post-source {
  382.  
  383. display: none !important;
  384.  
  385. }
  386.  
  387. {CustomCSS}
  388.  
  389. </style>
  390.  
  391. </head>
  392.  
  393. <body>
  394.  
  395. <div class="top">
  396.  
  397. <a href="/"><div class="icon"></div></a> <!--ICON-->
  398.  
  399. <div class="desc">{text:desc}</div> <!--DESC-->
  400.  
  401. </div> <!--TOP-->
  402.  
  403. <div class="postswrap">
  404.  
  405. {block:posts inlineMediaWidth="1280" inlineNestedMediaWidth="1280"}
  406.  
  407. <div class="posts" post-type="{PostType}">
  408.  
  409. {block:Photo}
  410.  
  411. <div class="media">
  412.  
  413. {LinkOpenTag}
  414.  
  415. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" />
  416.  
  417. {LinkCloseTag}
  418.  
  419. </div>
  420.  
  421. {block:Caption}
  422.  
  423. {Caption}
  424.  
  425. {/block:Caption}
  426.  
  427. {/block:Photo}
  428.  
  429. {block:Panorama}
  430.  
  431. <div class="media">
  432.  
  433. {LinkOpenTag}
  434.  
  435. <img src="{PhotoURL-Panorama}" alt="{PhotoAlt}" />
  436.  
  437. {LinkCloseTag}
  438.  
  439. </div>
  440.  
  441. {block:Caption}
  442.  
  443. {Caption}
  444.  
  445. {/block:Caption}
  446.  
  447. {/block:Panorama}
  448.  
  449. {block:Text}
  450.  
  451. {block:Title}
  452.  
  453. <div class="title">{Title}</div>
  454.  
  455. {/block:Title}
  456.  
  457. {Body}
  458.  
  459. {/block:Text}
  460.  
  461. {block:Photoset}
  462.  
  463. <div class="media">
  464.  
  465. {Photoset}
  466.  
  467. </div>
  468.  
  469. {block:Caption}
  470.  
  471. {Caption}
  472.  
  473. {/block:Caption}
  474.  
  475. {/block:Photoset}
  476.  
  477. {block:Chat}
  478.  
  479. {block:Title}
  480.  
  481. <div class="title">{Title}</div>
  482.  
  483. {/block:Title}
  484.  
  485. {block:Lines}
  486.  
  487. <div class="{Alt}">
  488.  
  489. {block:Label}
  490.  
  491. <span class="chatlabel">{Label}</span>
  492.  
  493. {/block:Label}
  494.  
  495. &nbsp;{Line}
  496.  
  497. </div>
  498.  
  499. {/block:Lines}
  500.  
  501. {/block:Chat}
  502.  
  503. {block:Quote}
  504.  
  505. <div class="quote {Length}">{Quote}</div>
  506.  
  507. {block:Source}
  508.  
  509. <div class="quotesrc">&mdash;{Source}</div>
  510.  
  511. {/block:Source}
  512.  
  513. {/block:Quote}
  514.  
  515. {block:Answer}
  516.  
  517. <div class="question">
  518.  
  519. <span style="text-transform: uppercase;">{asker}&nbsp;<b> 路 路 路 路路路 路路路 路 路 路 </b></span>
  520.  
  521. <blockquote> {question}
  522.  
  523. </div> </blockquote>
  524.  
  525. {block:Answerer}
  526.  
  527. <div class="user">{answerer}&nbsp;<b> 路 路路路 路 路 </b></div>
  528.  
  529. {answer}
  530.  
  531. {/block:Answerer}
  532.  
  533. {block:NotReblog}
  534.  
  535. {replies}
  536.  
  537. {/block:NotReblog}
  538.  
  539. {block:RebloggedFrom}
  540.  
  541. {block:Reblogs}
  542.  
  543.  
  544. <a {block:haspermalink}href="{permalink}"{/block:haspermalink} class="user" target="_blank">{username}</a>
  545.  
  546. {body}
  547.  
  548. {/block:Reblogs}
  549.  
  550. {/block:RebloggedFrom}
  551.  
  552. {/block:Answer}
  553.  
  554. {block:Link}
  555.  
  556. <div class="link">
  557.  
  558. <a href="{URL}" {Target}>{Name}</a>
  559.  
  560. </div>
  561.  
  562. {block:Description}
  563.  
  564. {Description}
  565.  
  566. {/block:Description}
  567.  
  568. {/block:Link}
  569.  
  570. {block:Audio}
  571.  
  572. {block:audioplayer}
  573.  
  574. <div class="hold">
  575.  
  576. <div class="player">{audioplayerwhite}</div>
  577.  
  578. <div class="audio_info">
  579.  
  580. {block:trackname}<span class="track">{trackname}</span>{/block:trackname}
  581.  
  582. {block:artist}<span class="artist">{artist}</span>{/block:artist}
  583.  
  584. </div>
  585.  
  586. </div>
  587.  
  588. {/block:audioplayer}
  589.  
  590. {/block:Audio}
  591.  
  592. {block:Video}
  593.  
  594. <div class="media">{Video-500}</div>
  595.  
  596. {block:Caption}
  597.  
  598. {Caption}
  599.  
  600. {/block:Caption}
  601.  
  602. {/block:Video}
  603.  
  604. <div class="timestamp"><b><a href="{Permalink}" title="{TimeAgo}">{12HourWithZero}:{Minutes}</a></b><br><br></div> <!--TIMESTAMP-->
  605.  
  606. {block:Date}
  607.  
  608. <div class="tags" style="margin-bottom: 4px;">
  609.  
  610. {block:HasTags}
  611. <b>路 路路路 路 路 路 </b>&nbsp;
  612. {block:Tags}
  613.  
  614. <a href="{TagURL}">#{Tag}</a> &nbsp;
  615.  
  616. {/block:Tags}
  617.  
  618. {/block:HasTags}
  619.  
  620. </div> <!--TAGS-->
  621.  
  622. {/block:Date}
  623.  
  624. {PostNotes}
  625.  
  626. </div> <!--POSTS-->
  627.  
  628. {/block:Posts}
  629.  
  630. </div> <!--POSTS WRAP-->
  631.  
  632. <div class="pagination">
  633.  
  634. {block:Pagination}
  635.  
  636. {block:JumpPagination length="5"}
  637.  
  638. {block:CurrentPage}
  639.  
  640. <span class="current_page" style="color: {color:pagination}; margin-top: -8px;">&nbsp;{PageNumber}&nbsp;</span>
  641.  
  642. {/block:CurrentPage}
  643.  
  644. {block:JumpPage}
  645.  
  646. <a class="jump_page" href="{URL}" style="color: {color:pagination}; margin-top: -8px;">&nbsp;{PageNumber}&nbsp;</a>
  647.  
  648. {/block:JumpPage}
  649.  
  650. {/block:JumpPagination}
  651.  
  652. {/block:Pagination}
  653.  
  654. </div> <!--PAGI-->
  655.  
  656. <!--TOOLTIP-->
  657.  
  658. <script>
  659. $(document).ready(function(){
  660. $('body').tooltip({track:true});
  661. $('iframe.tumblr_audio_player').load( function() {
  662. $('iframe.tumblr_audio_player').contents().find("head").append($("<style type='text/css'> .audio-player{background:{color:background} !important} </style>"));
  663. });
  664. var $container = $('section');
  665. $container.infinitescroll({
  666. itemSelector: 'article',
  667. navSelector: 'footer',
  668. nextSelector: 'footer a',
  669. loadingImg: '',
  670. loadingText: '<em></em>',
  671. bufferPx: 100
  672. },
  673. function( newElements ) {
  674. var $newElems = $( newElements );
  675. $newElems.find('iframe.tumblr_audio_player').load(function(){
  676. $('iframe.tumblr_audio_player').contents().find("head").append($("<style type='text/css'> .audio-player{background:{color:background}!important} </style>"));
  677. });
  678. });
  679. });
  680. </script>
  681.  
  682.  
  683.  
  684.  
  685. </body>
  686.  
  687. </html>
Advertisement
Add Comment
Please, Sign In to add comment