sashatheme

COD CLASSIC THEME

Mar 30th, 2023
689
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.76 KB | None | 0 0
  1. <html>
  2.  
  3. <!--CREDDDITS !!!
  4.  
  5. https://ps1.tumblr.com/post/616166839615176704/base-code-by-ps1-preview-code-a-simple-sidebar - THE AUDIO FIX THANKS 4 MY LIFE.
  6.  
  7. -->
  8.  
  9. <head>
  10.  
  11. <meta charset="UTF-8">
  12.  
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  14.  
  15. <script src="https://cpwebassets.codepen.io/assets/common/stopExecutionOnTimeout-2c7831bb44f98c1391d6a4ffda0e1fd302503391ca806e7fcc7b9b87197aec26.js"></script>
  16.  
  17. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
  18.  
  19. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
  20.  
  21. <!--METAS-->
  22.  
  23. <meta name="color:background" contents="" />
  24. <meta name="color:container background" contents="" />
  25. <meta name="color:back container background" contents="" />
  26. <meta name="color:container border" contents="" />
  27. <meta name="color:header border" contents="" />
  28. <meta name="color:post background" contents="" />
  29. <meta name="color:post border" contents="" />
  30.  
  31. <meta name="color:play button" contents="" />
  32. <meta name="color:song details" contents="" />
  33. <meta name="color:navigation" contents="" />
  34. <meta name="color:links" contents="" />
  35. <meta name="color:permalink" contents="" />
  36. <meta name="color:tags" contents="" />
  37. <meta name="color:pagination" contents="" />
  38.  
  39. <meta name="image:background" contents="" />
  40. <meta name="image:container background" contents="" />
  41. <meta name="image:header" contents="" />
  42. <meta name="image:post background" contents="" />
  43.  
  44. <meta name="if:repeat background" contents="" />
  45. <meta name="if:cover background" contents="" />
  46.  
  47. <meta name="if:repeat container background" contents="" />
  48. <meta name="if:cover container background" contents="" />
  49.  
  50. <meta name="if:repeat post background" contents="" />
  51. <meta name="if:cover post background" contents="" />
  52.  
  53. <meta name="select:container border" content="solid" />
  54. <meta name="select:container border" content="dashed" />
  55. <meta name="select:container border" content="double" />
  56. <meta name="select:container border" content="dotted" />
  57. <meta name="select:container border" content="groove" />
  58. <meta name="select:container border" content="ridge" />
  59. <meta name="select:container border" content="inset" />
  60. <meta name="select:container border" content="outset" />
  61.  
  62. <meta name="select:header border" content="solid" />
  63. <meta name="select:header border" content="dashed" />
  64. <meta name="select:header border" content="double" />
  65. <meta name="select:header border" content="dotted" />
  66. <meta name="select:header border" content="groove" />
  67. <meta name="select:header border" content="ridge" />
  68. <meta name="select:header border" content="inset" />
  69. <meta name="select:header border" content="outset" />
  70.  
  71. <meta name="select:post border" content="solid" />
  72. <meta name="select:post border" content="dashed" />
  73. <meta name="select:post border" content="double" />
  74. <meta name="select:post border" content="dotted" />
  75. <meta name="select:post border" content="groove" />
  76. <meta name="select:post border" content="ridge" />
  77. <meta name="select:post border" content="inset" />
  78. <meta name="select:post border" content="outset" />
  79.  
  80. <meta name="text:song details" contents="" />
  81. <meta name="text:mp3 link" contents="" />
  82.  
  83. <meta name="text:home title" contents="" />
  84. <meta name="text:ask title" contents="" />
  85. <meta name="text:archive title" contents="" />
  86. <meta name="text:iv title" contents="" />
  87. <meta name="text:v title" contents="" />
  88.  
  89. <meta name="text:iv link" contents="" />
  90. <meta name="text:v link" contents="" />
  91.  
  92. <style>
  93.  
  94. ::-webkit-scrollbar {
  95.  
  96. display: none;
  97.  
  98. }
  99.  
  100. body {
  101.  
  102. background-color: {color:background};
  103.  
  104. background-image: url("{image:background}");
  105.  
  106. background-attachment: fixed;
  107.  
  108. {block:ifrepeatbackground}
  109.  
  110. background-repeat: repeat;
  111.  
  112. {/block:ifrepeatbackground}
  113.  
  114. {block:ifcoverbackground}
  115.  
  116. background-size: cover;
  117.  
  118. {/block:ifcoverbackground}
  119.  
  120. font-family: ms gothic;
  121.  
  122. }
  123.  
  124. #credit {
  125.  
  126. position:fixed;
  127.  
  128. left:12px;
  129.  
  130. bottom:6px;
  131.  
  132. font-size:14px;
  133.  
  134. }
  135.  
  136. .center {
  137.  
  138. max-width: 600px;
  139.  
  140. margin: auto;
  141.  
  142. }
  143.  
  144. .container {
  145.  
  146. width: 500px;
  147.  
  148. height: 740px;
  149.  
  150. padding: 10px;
  151.  
  152. border: 1px {select:container border} {color:container border};
  153.  
  154. z-index: 20;
  155.  
  156. margin-top: 50px;
  157.  
  158. overflow: hidden;
  159.  
  160. position: absolute;
  161.  
  162. background-color: {color:container background};
  163.  
  164. background-image: url("{image:container background}");
  165.  
  166. background-attachment: fixed;
  167.  
  168. {block:ifrepeatcontainerbackground}
  169.  
  170. background-repeat: repeat;
  171.  
  172. {/block:ifrepeatcontainerbackground}
  173.  
  174. {block:ifcovercontainerbackground}
  175.  
  176. background-size: cover;
  177.  
  178. {/block:ifcovercontainerbackground}
  179.  
  180. scrollbar-width: none;
  181.  
  182. }
  183.  
  184. .header {
  185.  
  186. width: 498px;
  187.  
  188. height: 100px;
  189.  
  190. border: 1px {select:header border} {color:header border};
  191.  
  192. margin-bottom: 10px;
  193.  
  194. background-image: url("{image:header}");
  195.  
  196. background-size: cover;
  197.  
  198. }
  199.  
  200. .postwrap {
  201.  
  202. width: 500px;
  203.  
  204. height: 638px;
  205.  
  206. overflow: scroll;
  207.  
  208. scrollbar-width: none;
  209.  
  210. }
  211.  
  212. .posts {
  213.  
  214. padding: 10px;
  215.  
  216. text-align: justify;
  217.  
  218. border: 1px {select:post border} {color:post border};
  219.  
  220. background-color: {color:post background};
  221.  
  222. background-image: url("{image:post background}");
  223.  
  224. background-attachment: fixed;
  225.  
  226. {block:ifrepeatpostbackground}
  227.  
  228. background-repeat: repeat;
  229.  
  230. {/block:ifrepeatpostbackground}
  231.  
  232. {block:ifcoverpostbackground}
  233.  
  234. background-size: cover;
  235.  
  236. {/block:ifcoverpostbackground}
  237.  
  238. scrollbar-width: none;
  239.  
  240. }
  241.  
  242. .posts a {
  243.  
  244. color: {color:links};
  245.  
  246. }
  247.  
  248. .pagination {
  249.  
  250. width: 100px;
  251.  
  252. height: 20px;
  253.  
  254. border: 1px {select:container border} {color:container border};
  255.  
  256. position: absolute;
  257.  
  258. margin-left: -65px;
  259.  
  260. margin-top: 125px;
  261.  
  262. transform: rotate(270deg);
  263.  
  264. text-align: center;
  265.  
  266. padding-top: 2px;
  267.  
  268. padding-bottom: 2px;
  269.  
  270. padding-left: 5px;
  271.  
  272. padding-right: 5px;
  273.  
  274. background-color: {color:container background};
  275.  
  276. background-image: url("{image:container background}");
  277.  
  278. background-attachment: fixed;
  279.  
  280. {block:ifrepeatcontainerbackground}
  281.  
  282. background-repeat: repeat;
  283.  
  284. {/block:ifrepeatcontainerbackground}
  285.  
  286. {block:ifcovercontainerbackground}
  287.  
  288. background-size: cover;
  289.  
  290. {/block:ifcovercontainerbackground}
  291.  
  292. scrollbar-width: none;
  293.  
  294. }
  295.  
  296. .pagination a {
  297.  
  298. color: {color:pagination};
  299.  
  300. }
  301.  
  302. .backcontainer {
  303.  
  304. width: 440px;
  305.  
  306. height: 340px;
  307.  
  308. padding: 4px;
  309.  
  310. border: 1px {select:container border} {color:container border};
  311.  
  312. background-color: {color:back container background};
  313.  
  314. position: absolute;
  315.  
  316. margin-left: 99px;
  317.  
  318. text-align: center;
  319.  
  320. z-index: 1;
  321.  
  322. margin-top: 27px;
  323.  
  324. border-bottom-right-radius: 20%;
  325.  
  326. scrollbar-width: none;
  327.  
  328. }
  329.  
  330. ol {
  331.  
  332. text-align: justify;
  333.  
  334. line-height: 25px;
  335.  
  336. }
  337.  
  338. /*PS1 FIX*/
  339.  
  340. .trackback {
  341. position: absolute;
  342. left: 20px;
  343. top: 20px;
  344. width: 19px;
  345. height: 19px;
  346. background-color: #fff;
  347. padding: 10px;
  348. opacity: .4;}
  349.  
  350. .pressplay{
  351. position: relative;
  352. width: 25px;
  353. height: 25px;
  354. overflow: hidden;
  355. left: -6px;
  356. top: -3px;}
  357.  
  358. .albumpic {
  359. position: absolute;
  360. left: 0px;
  361. top: 0px;
  362. width: 79px;
  363. height: 79px;}
  364.  
  365. .albumpic img {
  366. width: 100%;
  367. height: auto;
  368. border: 1px solid {color:font color};}
  369.  
  370. .trackinfo {
  371. width: auto;
  372. display:inline-block;
  373. margin-left: 90px;
  374. min-height: 85px;}
  375.  
  376. .audiowrapper {
  377. position: relative; display:inline-block;}
  378.  
  379. </style>
  380.  
  381. </head>
  382.  
  383. <body>
  384.  
  385. <div class="center">
  386.  
  387. <div class="container">
  388.  
  389. <div class="header"></div> <!--HEADER-->
  390.  
  391. <div class="postwrap">
  392.  
  393. {block:posts}
  394.  
  395. <div class="posts">
  396.  
  397. {block:Text}
  398. {block:Title}<a href="{Permalink}">{Title}</a>{/block:Title}
  399. {Body}
  400. {/block:Text}
  401.  
  402. {block:Quote}
  403. <div class="quote"><h2 style="margin-top: 2px; margin-bottom: 2px;"><b>"</b> <i>{Quote}</i> <b>"</b></h2></div>
  404. {block:Source}<div class="source">&mdash; {Source}</div><br>{/block:Source}
  405. {/block:Quote}
  406.  
  407. {block:Link}
  408. <big><a href="{URL}">{Name}</a></big>
  409. {block:Description}{Description}{/block:Description}
  410. {/block:Link}
  411.  
  412. {block:Chat}
  413. {block:Title}{Title}{/block:Title}
  414. {block:Lines}
  415. <div class="{Alt} user_{UserNumber}">
  416. {block:Label}{Label}{/block:Label} {Line}
  417. </div>
  418. {/block:Lines}
  419. {/block:Chat}
  420.  
  421. {block:Answer}
  422. <span style="float: right;"><b>{Asker}</b></span><br>
  423. <div class="question" style="border-bottom: 1px dotted {color:post border};;"><i>{Question}</i></div><br>
  424. {Answer}
  425. {/block:Answer}
  426.  
  427. <center>
  428. {block:Photo}
  429. {LinkOpenTag}<img src="{PhotoURL-400}" alt="{Permalink}"/>{LinkCloseTag}
  430. </center>
  431.  
  432. {/block:Photo}
  433.  
  434. <center>
  435. {block:Photoset}
  436. {Photoset-400}</center>
  437.  
  438. {/block:Photoset}
  439.  
  440. {block:Video}
  441. {Video-400}
  442.  
  443. {/block:Video}
  444.  
  445. {block:AudioPlayer}
  446. <div class="audiowrapper">
  447. {block:AlbumArt}
  448. <div class="albumpic"><img src="{AlbumArtURL}"></div>
  449. {/block:AlbumArt}
  450. <div class="trackback">
  451. <div class="pressplay">
  452. {AudioPlayer}
  453. </div></div>
  454. <div class="trackinfo">
  455. {block:TrackName}{TrackName}{/block:TrackName}<br>
  456. {block:Artist}<b>{Artist}</b>{/block:Artist}<br>
  457. {block:Album}<i>{Album}</i>{/block:Album}<br>
  458. </div></div>
  459. {/block:AudioPlayer}
  460.  
  461. {block:Date}
  462.  
  463. {block:PermalinkPage}
  464. {/block:PermalinkPage}
  465.  
  466. {block:PermalinkPage}
  467. {block:NoteCount}
  468. {block:PostNotes}{PostNotes}{/block:PostNotes}
  469. {/block:NoteCount}
  470. {/block:PermalinkPage}
  471.  
  472. {/block:Date}
  473. <br>
  474. <div class="footer">
  475.  
  476. <div id="permalink" style="text-align: right;">
  477.  
  478. <a style="text-decoration: none; color:{color:permalink}" href="{Permalink}" title="{TimeAgo}">
  479.  
  480. {DayOfMonth} {ShortMonth}
  481.  
  482. </a>
  483.  
  484. {block:HasTags}
  485.  
  486. <div class="tags" style="text-align: left;">
  487.  
  488. {block:Tags}
  489.  
  490. <a href="{TagUrl}" style="text-decoration: none; color:{color:tags}" title="{Tag}">#{Tag}</a>
  491.  
  492. {/block:Tags}
  493. </div>
  494.  
  495. {/block:HasTags}
  496.  
  497. </div>
  498.  
  499. </div>
  500.  
  501. </div> <!--POSTS-->
  502.  
  503. <br>
  504.  
  505. {/block:Posts} <!--POSTS-->
  506.  
  507. </div> <!--POST WRAP-->
  508.  
  509. </div> <!--CONTAINER-->
  510.  
  511. <div class="backcontainer">
  512.  
  513. <!--MUSIC PLAYER-->
  514.  
  515. <div class="player" style="text-align: left; margin-left: 10px; margin-top: -1px;">
  516.  
  517. <a id="playme" class="playme fa fa-play" data-src="{text:mp3 link}" style="color:{color:play button}"></a>
  518.  
  519. <marquee scrolldelay="120" style="width: 410px; float:right; color: {color:song details}">
  520.  
  521. {text:song details}
  522.  
  523. </marquee>
  524.  
  525. </div>
  526.  
  527. <script src="https://cpwebassets.codepen.io/assets/common/stopExecutionOnTimeout-2c7831bb44f98c1391d6a4ffda0e1fd302503391ca806e7fcc7b9b87197aec26.js"></script>
  528.  
  529. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
  530.  
  531. <script id="rendered-js">
  532.  
  533. var clicked_id;
  534. var audio_var = new Audio();
  535.  
  536.  
  537. $('.playme').on("click", function () {
  538. var datasrc = $(this).attr('data-src');
  539. clicked_id = $(this).attr('id');
  540. console.log(clicked_id);
  541. audio_var.pause();
  542.  
  543. $('.playme').not(this).each(function () {
  544. $(this).removeClass('fa-pause');
  545. $(this).addClass('fa-play');
  546. });
  547.  
  548. if ($(this).hasClass('fa-play')) {
  549. console.log('play_click');
  550. audio_var.src = datasrc;
  551. $(this).removeClass('fa-play');
  552. $(this).addClass('fa-pause');
  553. console.log(audio_var);
  554. audio_var.play();
  555. } else {
  556. console.log('pause_click');
  557. $(this).removeClass('fa-pause');
  558. $(this).addClass('fa-play');
  559. console.log(audio_var);
  560. audio_var.pause();
  561. //audio_var.src='';
  562. //audio_var.load();
  563. console.log(audio_var);
  564. }
  565.  
  566. });
  567.  
  568. audio_var.onended = function () {
  569. $("#" + clicked_id).removeClass('fa-pause');
  570. $("#" + clicked_id).addClass('fa-play');
  571. };
  572.  
  573. </script>
  574.  
  575. <!--MUSIC PLAYER-->
  576.  
  577. <br>
  578.  
  579. <span style="float: right; font-size: 12px;">
  580.  
  581. <a href="/" title="{text:home title}" style="text-decoration: none; color: {color:navigation}">I</a>
  582.  
  583. <br><br>
  584.  
  585. <a href="/ask" title="{text:ask title}" style="text-decoration: none; color: {color:navigation}">II</a>
  586.  
  587. <br><br>
  588.  
  589. <a href="/archive" title="{text:archive title}" style="text-decoration: none; color: {color:navigation}">III</a>
  590.  
  591. <br><br>
  592.  
  593. <a href="/{text:iv link}" title="{text:iv title}" style="text-decoration: none; color: {color:navigation}">IV</a>
  594.  
  595. <br><br>
  596.  
  597. <a href="/{text:v link}" title="{text:v title}" style="text-decoration: none; color: {color:navigation}">V</a>
  598.  
  599. </span>
  600.  
  601. </div> <!--BACK CONTAINER-->
  602.  
  603. <div class="pagination">
  604.  
  605. {block:Pagination}
  606.  
  607. {block:NextPage}
  608.  
  609. <a href="{NextPage}" style="float: left; text-decoration: none; color: {color:pagination}">NEXT</a>
  610.  
  611. {block:PreviousPage}
  612.  
  613. <a href="{PreviousPage}" style="float: right; text-decoration: none; color: {color:pagination}">PREV</a>
  614.  
  615. {/block:PreviousPage}
  616.  
  617. {/block:Pagination}
  618.  
  619. </div> <!--PAGINATION-->
  620.  
  621. </div> <!--CENTER CLOSE-->
  622.  
  623. <div id="credit">
  624.  
  625. <a href="https://cod.tumblr.com/" target="_blank" title="CODED BY JOYBOY">🦩</a>
  626.  
  627. </div>
  628.  
  629. </body>
  630.  
  631. </html>
Advertisement
Add Comment
Please, Sign In to add comment