drunkblushed

physical (customizable) by drunkblushed

Feb 8th, 2020
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.88 KB | None | 0 0
  1. <!--
  2.  
  3. ♡ PHYSICAL BY DRUNKBLUSHED ♡
  4.  
  5. — do not combine with other themes.
  6. — do not take copy or take parts of this theme.
  7. — do not remove credits and redistribute as your own.
  8.  
  9.  
  10. -->
  11.  
  12. <html>
  13. <head>
  14.  
  15.  
  16.  
  17.  
  18. <meta name="color:background" content="#e7e7e7"/>
  19. <meta name="color:container" content="#f0f0f0"/>
  20. <meta name="color:posts" content="#fefefe"/>
  21. <meta name="color:accent" content="#93ad9d"/>
  22. <meta name="color:accent 2" content="#93ad9d"/>
  23. <meta name="color:bold" content="#93ad9d"/>
  24. <meta name="color:italic" content="#93ad9d"/>
  25. <meta name="color:text" content="#3c3c3c"/>
  26. <meta name="color:link" content="#93ad9d"/>
  27.  
  28.  
  29. <title>{title}</title>
  30.  
  31. <link href="https://fonts.googleapis.com/css?family=Roboto:400,900&display=swap" rel="stylesheet">
  32.  
  33. <link href="//dl.dropbox.com/s/vpi3f9s7nhpe7v7/honeybee.css" rel="stylesheet">
  34.  
  35. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  36. <script src="https://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  37. <script>
  38. (function($){
  39. $(document).ready(function(){
  40. $("a[title]").style_my_tooltips({
  41. tip_follows_cursor:true,
  42. tip_delay_time:90,
  43. tip_fade_speed:600,
  44. attribute:"title"
  45. });
  46. });
  47. })(jQuery);
  48. </script>
  49.  
  50. <style type="text/css">
  51.  
  52. /*----------------- FONTS -----------------*/
  53.  
  54. @font-face { font-family:"tokyo"; src: url('https://dl.dropbox.com/s/jgq18n62iha87v6/Tokyo-Regular.ttf'); }
  55.  
  56. @font-face { font-family: "creo"; src: url('https://dl.dropboxusercontent.com/s/uk7fcayvza8gd9t/Creo-ExtraBold.ttf') ;}
  57.  
  58. @font-face { font-family: "HeyAugust"; src: url('https://dl.dropboxusercontent.com/s/0382ld3skkgq97c/Hey%20August.ttf') ;}
  59.  
  60.  
  61.  
  62. /*----------------- TEXT STYLES -----------------*/
  63.  
  64. body{
  65. background-color: {color:background};
  66. font-family: "roboto";
  67. color:{color:text};
  68. letter-spacing:1px;
  69. }
  70.  
  71. a:link, a:active, a:visited{
  72. color: {color:Link};
  73. text-decoration:none;
  74. -webkit-transition: all 0.2s linear;
  75. -moz-transition: all 0.2s linear;
  76. transition: all 0.2s linear;
  77. text-transform:uppercase;
  78. }
  79.  
  80. a:hover {
  81. color:{color:Link Hover};
  82. -webkit-transition: all 0.2s linear;
  83. -moz-transition: all 0.2s linear;
  84. transition: all 0.2s linear;
  85. }
  86.  
  87. b,bold,strong{
  88. color:{color:bold};
  89. text-transform:uppercase;
  90. }
  91.  
  92. em,i,italic{
  93. color:{color:italic};
  94. }
  95.  
  96. big{
  97. font-size:12px;
  98. font-family: "roboto";
  99. }
  100.  
  101. small,sup, sub{
  102. font-size:9px;
  103. }
  104.  
  105.  
  106.  
  107. .p { padding-top: 5px;}
  108. .ol, ul { margin-left: 30px; padding: 5px; }
  109. .ul { list-style-type: square; }
  110.  
  111. ::-webkit-scrollbar-thumb {
  112. display: none;
  113. }
  114.  
  115. ::-webkit-scrollbar {
  116. display: none;
  117. }
  118.  
  119. #s-m-t-tooltip {
  120. z-index: 999999999999999999;
  121. background: #fff;
  122. font-size: 8px;
  123. line-height: 13px;
  124. letter-spacing: 1.5px;
  125. text-transform: uppercase;
  126. color: {color:text};
  127. font-weight:900;
  128. background-color:{color:posts};
  129. max-width: 150px;
  130. word-wrap: break-word;
  131. padding: 2px 5px 2px 6px;
  132. display: block;
  133. margin: 24px 14px 7px 12px;
  134. -webkit-transition: all 0.2s linear;
  135. -moz-transition: all 0.2s linear;
  136. transition: all 0.2s linear;
  137. }
  138.  
  139. ::-moz-selection { background: {color:accent}; }
  140. ::selection { background: {color:accent}; }
  141.  
  142. /*----------------- CONTAINERS & POSTS -----------------*/
  143.  
  144. #entries{
  145. padding:35px;
  146. z-index:99;
  147. margin: auto;
  148. left:0px;
  149. top:0px;
  150. bottom:0px;
  151. right:0px;
  152. width:750px;
  153. position:absolute;
  154. height:500px;
  155. overflow-y:scroll;
  156. background-color:{color:container};
  157. overflow-x:hidden;
  158. border-radius:10px;
  159. }
  160.  
  161.  
  162. /*----------------- CUSTOMIZATIONS -----------------*/
  163.  
  164. @import "compass/css3";
  165.  
  166. .topwave{
  167. width: 700px;
  168. position: absolute;
  169. height: 700px;
  170. margin-top:-10px;
  171. }
  172.  
  173. .topwavefill{
  174. fill:{color:accent};
  175. }
  176.  
  177. #topwave{
  178. margin-left:85px;
  179. margin-top:-35px;
  180. width: 700px;
  181. height:700px;
  182. overflow: hidden;
  183. position:fixed;
  184. border-radius:0px 10px 0px 0px;
  185. }
  186.  
  187. .bottomwave{
  188. width: 650px;
  189. position: absolute;
  190. height: 650px;
  191. margin-left:-35px;
  192. margin-top:5px;
  193. }
  194.  
  195. .bottomwavefill{
  196. fill:{color:accent 2};
  197. margin-left:-5px;
  198. }
  199.  
  200. #bottomwave{
  201. margin-left:-35px;
  202. margin-top:-115px;
  203. width: 650px;
  204. height:650px;
  205. overflow: hidden;
  206. position:fixed;
  207. border-radius:0px 0px 0px 10px;
  208. }
  209.  
  210. .sideimage {position:fixed;z-index:-9; width:200px; height:480px;margin-left:-35px; margin-top:-35px; }
  211.  
  212. .sideimage img {width:200px; height:480px; position:fixed; border-radius:10px 80px 0px 0px;}
  213.  
  214. #desc{
  215. width:210px; height:165px; padding:10px 20px 10px; font-size:8px; line-height:240%; text-transform:uppercase; text-align:justify; overflow:scroll;
  216. margin-top:285px; margin-left:0px; position:fixed; text-align-last:center;
  217. }
  218.  
  219. #maintitle{
  220. width:210px;
  221. height:80px;
  222. color:{color:link};
  223. position:fixed;
  224. font-family:"heyaugust";
  225. font-size:50px;
  226. text-align: center;
  227. padding:5px;
  228. overflow:auto;
  229. margin-top:430px;
  230. margin-left:-20px;
  231. z-index:99;
  232. }
  233.  
  234.  
  235. #sidelinks{
  236. width:200px;
  237. height:50px;
  238. padding:5px;
  239. margin-top:490px;
  240. margin-left:-20px;
  241. z-index:99;
  242. position:fixed;
  243. text-align:center;
  244. }
  245.  
  246. #sidelinks a{
  247. color:{color:text};
  248. letter-spacing:2px;
  249. font-size:8.5px;
  250. }
  251. /*----------------- NAVIGATION & PAGINATION -----------------*/
  252.  
  253. .tabs{
  254. width:235.5px;
  255. font-size:10px;
  256. z-index:999999999999999999999999999999;
  257. position:fixed;
  258. text-transform:uppercase;
  259. margin-left:0px;
  260. text-align:center;
  261. margin-top:240px;
  262. padding:7px 7px 12px;
  263. letter-spacing:2px;
  264. line-height:100%;
  265. background-color:{color:accent};
  266. font-family:"tokyo";
  267. border-radius:5px;
  268. }
  269.  
  270. .tabs a{
  271. color:{color:text};
  272. display:inline-block;
  273. margin:3px;
  274. }
  275.  
  276.  
  277. /*----------------- TABS STYLING -----------------*/
  278.  
  279. .tabcontent {
  280. margin: auto;
  281. left:210px;
  282. top:0px;
  283. bottom:0px;
  284. right:0px;
  285. position:absolute;
  286. width:560px;
  287. height:520px;
  288. padding:20px;
  289. color:{color:text};
  290. z-index:999;
  291. -webkit-animation: fadeEffect 0.8s;
  292. animation: fadeEffect 0.8s;
  293. border-radius:10px;
  294. }
  295.  
  296. /*----------------- MUSE FILTERING -----------------*/
  297.  
  298. .filterDiv {
  299. float: left;
  300. background-color:{color:posts};
  301. color: {color:text};
  302. width: 240px;
  303. height:120px;
  304. text-align: center;
  305. margin: 0px 10px 10px 0px;
  306. display: none;
  307. border-radius:10px;
  308. padding:15px;
  309. }
  310.  
  311. .show {
  312. display: block;
  313. }
  314.  
  315. .container {
  316. margin-top: 15px;
  317. margin-left:10px;
  318. overflow: scroll;
  319. width:560px;
  320. height:470px;
  321. border-radius:10px;
  322. }
  323.  
  324. .btn {
  325. border: none;
  326. outline: none;
  327. padding:7px 7px 12px;
  328. color:{color:text};
  329. font-size:10px;
  330. font-family:"tokyo";
  331. cursor: pointer;
  332. border-radius:10px;
  333. letter-spacing:2px;
  334. }
  335.  
  336. .btn.active {
  337. background-color: {color:bold};
  338. }
  339.  
  340. /*----------------- MUSES CODES -----------------*/
  341.  
  342. .musetitle{
  343. font-size:40px;
  344. color:{color:bold};
  345. font-family:"primetime";
  346. text-align:center;
  347. margin-top:-30px;
  348. margin-bottom:22px;
  349. }
  350.  
  351. .musename{
  352. font-size:18px;
  353. font-family:"creo";
  354. color:{color:bold};
  355. position:relative;
  356. padding:0px;
  357. text-align:center;
  358. line-height:20%;
  359. width:135px;
  360. height:10px;
  361. margin-left:105px;
  362. margin-top:5px;
  363. margin-bottom:5px;
  364. display:block;
  365. }
  366.  
  367.  
  368. .musedesc{
  369. width:135px;
  370. height:100px;
  371. font-size:8.5px;
  372. font-family:"roboto";
  373. text-align:justify;
  374. margin-left:105px;
  375. color:{color:text};
  376. margin-top:0px;
  377. overflow:scroll;
  378. line-height:200%;
  379. }
  380.  
  381. .musedesc b{
  382. background-color:{color:italic};
  383. color:{color:text};
  384. padding:3px;
  385. border-radius:2px;
  386. font-size:8px;
  387. letter-spacing:1px;
  388. }
  389.  
  390.  
  391. .muselinks{
  392. width:90px;
  393. height:30px;
  394. margin-left:0px;
  395. margin-top:-20px;
  396. text-align:Center;
  397. position:relative;
  398. display:block;
  399. }
  400.  
  401. .muselinks a{
  402. color:{color};
  403. font-size:14px;
  404. padding-top:14px;
  405. padding:5px;
  406. }
  407.  
  408. .museimg img{
  409. width:90px;
  410. height:90px;
  411. float:left;
  412. display:inline;
  413. border-radius:50%;
  414. }
  415.  
  416.  
  417. /*----------------- CREDITS / DO NOT TOUCH! -----------------*/
  418. #credits{
  419. position:fixed;
  420. bottom:0px;
  421. right:10px;
  422. width:35px;
  423. height:35px;
  424. text-align:center;
  425. }
  426.  
  427. #credits a{
  428. font-weight:bold;
  429. font-family:"creo";
  430. font-size:24px;
  431. -webkit-text-fill-color: {color:bold};
  432. }
  433.  
  434. #credits a:hover{
  435. font-family:"creo";
  436. -webkit-text-stroke: 1px {color:bold};
  437. -webkit-text-fill-color: rgba(0, 0, 0, 0);
  438. }
  439.  
  440.  
  441. {CustomCSS}
  442. </style>
  443.  
  444. <link rel="shortcut icon" href="{Favicon}">
  445. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" /><meta name="viewport" content="width=820" />
  446.  
  447.  
  448. </head>
  449.  
  450. <body>
  451.  
  452. <div id="tabsMuses" class="tabcontent" style="overflow:hidden;">
  453.  
  454. <div id="myBtnContainer" style="text-align:right;">
  455. <button class="btn active" onclick="filterSelection('all')">ALL</button>
  456. <button class="btn" onclick="filterSelection('homme')"> homme</button>
  457. <button class="btn" onclick="filterSelection('femme')"> femme</button>
  458. <button class="btn" onclick="filterSelection('nb')"> non-binary</button>
  459. <button class="btn" onclick="filterSelection('open')"> open</button>
  460. <button class="btn" onclick="filterSelection('closed')"> closed</button>
  461. </div>
  462.  
  463. <div class="container">
  464.  
  465.  
  466. <!--MUSE-->
  467. <div class="filterDiv homme open"><!--category-->
  468.  
  469. <div class="museimg">
  470. <img src="https://via.placeholder.com/90x90"></img>
  471. </div>
  472.  
  473. <div class="musename">red</div>
  474.  
  475. <div class="musedesc">muse details can go right here! it's okay, this overflows anyway, so type away! wow, look at all of this space for details! you can put stats or even a whole ass bio if you feel like it! isn't that cool?</div>
  476.  
  477. <div class="muselinks">
  478. <a href="/"><span class="th th-heart-1" title="musings"></span></a>
  479. <a href="/"><span class="th th-quote-down" title="interactions"></span></a>
  480. <a href="/"><span class="th th-pinterest" title="pinterest"></span></a>
  481. </div>
  482. </div><!--END MUSE-->
  483.  
  484.  
  485.  
  486.  
  487. <!--MUSE-->
  488. <div class="filterDiv femme closed"><!--category-->
  489.  
  490. <div class="museimg">
  491. <img src="https://via.placeholder.com/90x90"></img>
  492. </div>
  493.  
  494. <div class="musename">blue</div>
  495.  
  496. <div class="musedesc">
  497. <b>name</b> name goes here <br/>
  498. <b>age</b> xx years old </br/>
  499. muse details can go right here! it's okay, this overflows anyway, so type away! wow, look at all of this space for details! you can put stats or even a whole ass bio if you feel like it! isn't that cool?</div>
  500.  
  501. <div class="muselinks">
  502. <a href="/"><span class="th th-heart-1" title="musings"></span></a>
  503. <a href="/"><span class="th th-quote-down" title="interactions"></span></a>
  504. <a href="/"><span class="th th-pinterest" title="pinterest"></span></a>
  505. </div>
  506. </div><!--END MUSE-->
  507.  
  508.  
  509.  
  510. <!--MUSE-->
  511. <div class="filterDiv nonbinary open"><!--category-->
  512.  
  513. <div class="museimg">
  514. <img src="https://via.placeholder.com/90x90"></img>
  515. </div>
  516.  
  517. <div class="musename">yellow</div>
  518.  
  519. <div class="musedesc">
  520. <b>name</b> name goes here <br/>
  521. <b>age</b> xx years old </br/>
  522. muse details can go right here! it's okay, this overflows anyway, so type away! wow, look at all of this space for details! you can put stats or even a whole ass bio if you feel like it! isn't that cool?</div>
  523.  
  524. <div class="muselinks">
  525. <a href="/"><span class="th th-heart-1" title="musings"></span></a>
  526. <a href="/"><span class="th th-quote-down" title="interactions"></span></a>
  527. <a href="/"><span class="th th-pinterest" title="pinterest"></span></a>
  528. </div>
  529. </div><!--END MUSE-->
  530.  
  531.  
  532.  
  533.  
  534. <!--MUSE-->
  535. <div class="filterDiv femme closed"><!--category-->
  536.  
  537. <div class="museimg">
  538. <img src="https://via.placeholder.com/90x90"></img>
  539. </div>
  540.  
  541. <div class="musename">green</div>
  542.  
  543. <div class="musedesc">
  544. muse details can go right here! it's okay, this overflows anyway, so type away! wow, look at all of this space for details! you can put stats or even a whole ass bio if you feel like it! isn't that cool?</div>
  545.  
  546. <div class="muselinks">
  547. <a href="/"><span class="th th-heart-1" title="musings"></span></a>
  548. <a href="/"><span class="th th-quote-down" title="interactions"></span></a>
  549. <a href="/"><span class="th th-pinterest" title="pinterest"></span></a>
  550. </div>
  551. </div><!--END MUSE-->
  552.  
  553.  
  554.  
  555. <!--MUSE-->
  556. <div class="filterDiv homme open"><!--category-->
  557.  
  558. <div class="museimg">
  559. <img src="https://via.placeholder.com/90x90"></img>
  560. </div>
  561.  
  562. <div class="musename">violet</div>
  563.  
  564. <div class="musedesc">muse details can go right here! it's okay, this overflows anyway, so type away! wow, look at all of this space for details! you can put stats or even a whole ass bio if you feel like it! isn't that cool?</div>
  565.  
  566. <div class="muselinks">
  567. <a href="/"><span class="th th-heart-1" title="musings"></span></a>
  568. <a href="/"><span class="th th-quote-down" title="interactions"></span></a>
  569. <a href="/"><span class="th th-pinterest" title="pinterest"></span></a>
  570. </div>
  571. </div><!--END MUSE-->
  572.  
  573.  
  574.  
  575.  
  576. <!--MUSE-->
  577. <div class="filterDiv nonbinary closed"><!--category-->
  578.  
  579. <div class="museimg">
  580. <img src="https://via.placeholder.com/90x90"></img>
  581. </div>
  582.  
  583. <div class="musename">orange</div>
  584.  
  585. <div class="musedesc">
  586. <b>name</b> name goes here <br/>
  587. <b>age</b> xx years old </br/>
  588. muse details can go right here! it's okay, this overflows anyway, so type away! wow, look at all of this space for details! you can put stats or even a whole ass bio if you feel like it! isn't that cool?</div>
  589.  
  590. <div class="muselinks">
  591. <a href="/"><span class="th th-heart-1" title="musings"></span></a>
  592. <a href="/"><span class="th th-quote-down" title="interactions"></span></a>
  593. <a href="/"><span class="th th-pinterest" title="pinterest"></span></a>
  594. </div>
  595. </div><!--END MUSE-->
  596.  
  597.  
  598.  
  599. <!--MUSE-->
  600. <div class="filterDiv homme open"><!--category-->
  601.  
  602. <div class="museimg">
  603. <img src="https://via.placeholder.com/90x90"></img>
  604. </div>
  605.  
  606. <div class="musename">black</div>
  607.  
  608. <div class="musedesc">
  609. <b>name</b> name goes here <br/>
  610. <b>age</b> xx years old </br/>
  611. muse details can go right here! it's okay, this overflows anyway, so type away! wow, look at all of this space for details! you can put stats or even a whole ass bio if you feel like it! isn't that cool?</div>
  612.  
  613. <div class="muselinks">
  614. <a href="/"><span class="th th-heart-1" title="musings"></span></a>
  615. <a href="/"><span class="th th-quote-down" title="interactions"></span></a>
  616. <a href="/"><span class="th th-pinterest" title="pinterest"></span></a>
  617. </div>
  618. </div><!--END MUSE-->
  619.  
  620.  
  621.  
  622.  
  623. <!--MUSE-->
  624. <div class="filterDiv femme closed"><!--category-->
  625.  
  626. <div class="museimg">
  627. <img src="https://via.placeholder.com/90x90"></img>
  628. </div>
  629.  
  630. <div class="musename">white</div>
  631.  
  632. <div class="musedesc">muse details can go right here! it's okay, this overflows anyway, so type away! wow, look at all of this space for details! you can put stats or even a whole ass bio if you feel like it! isn't that cool?</div>
  633.  
  634. <div class="muselinks">
  635. <a href="/"><span class="th th-heart-1" title="musings"></span></a>
  636. <a href="/"><span class="th th-quote-down" title="interactions"></span></a>
  637. <a href="/"><span class="th th-pinterest" title="pinterest"></span></a>
  638. </div>
  639. </div><!--END MUSE-->
  640.  
  641.  
  642.  
  643. <!--MUSE-->
  644. <div class="filterDiv nonbinary open"><!--category-->
  645.  
  646. <div class="museimg">
  647. <img src="https://via.placeholder.com/90x90"></img>
  648. </div>
  649.  
  650. <div class="musename">teal</div>
  651.  
  652. <div class="musedesc">muse details can go right here! it's okay, this overflows anyway, so type away! wow, look at all of this space for details! you can put stats or even a whole ass bio if you feel like it! isn't that cool?</div>
  653.  
  654. <div class="muselinks">
  655. <a href="/"><span class="th th-heart-1" title="musings"></span></a>
  656. <a href="/"><span class="th th-quote-down" title="interactions"></span></a>
  657. <a href="/"><span class="th th-pinterest" title="pinterest"></span></a>
  658. </div>
  659. </div><!--END MUSE-->
  660.  
  661.  
  662.  
  663.  
  664. <!--MUSE-->
  665. <div class="filterDiv femme closed"><!--category-->
  666.  
  667. <div class="museimg">
  668. <img src="https://via.placeholder.com/90x90"></img>
  669. </div>
  670.  
  671. <div class="musename">purple</div>
  672.  
  673. <div class="musedesc">
  674. <b>name</b> name goes here <br/>
  675. <b>age</b> xx years old </br/>
  676. muse details can go right here! it's okay, this overflows anyway, so type away! wow, look at all of this space for details! you can put stats or even a whole ass bio if you feel like it! isn't that cool?</div>
  677.  
  678. <div class="muselinks">
  679. <a href="/"><span class="th th-heart-1" title="musings"></span></a>
  680. <a href="/"><span class="th th-quote-down" title="interactions"></span></a>
  681.  
  682.  
  683. </div>
  684. </div><!--END MUSE-->
  685. </div></div><!--do not touch-->
  686.  
  687. <!----------------------CONTAINER---------------------->
  688. <div id="entries">
  689.  
  690.  
  691.  
  692. <!--do not touch-->
  693. <div id="topwave">
  694. <svg version="1.1" id="Layer_1" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" viewBox="0 0 496.88 599.63" xml:space="preserve" class="topwave">
  695. <path class="topwavefill" d="M246.6,0.5c3.4,11.3,6.8,22.7,10.2,34c8,26.6,16,53.2,24,79.8c6.2,20.6,12.6,41.6,24.8,59.3
  696. c19,27.5,49.9,44.1,80.3,57.8c30.4,13.7,62.4,26.1,87.2,48.5c38,34.3,56.3,89.5,101.1,114.4c23.8,13.2,53.2,15.7,78.9,6.8
  697. l0.5-401.6L246.6,0.5z" transform="translate(-103.12)"/>
  698. </svg>
  699. </div>
  700.  
  701. <div id="bottomwave">
  702. <svg version="1.1" id="Layer_1" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" viewBox="0 0 496.88 599.63" xml:space="preserve" class="bottomwave">
  703. <path class="bottomwavefill" d="M-5.6,404.6c14.8,17.8,31.5,34.5,51.8,45.7c12.7,6.9,26.4,11.5,40.4,15.3c57.5,15.7,117.6,18.5,177.1,21.2
  704. s119.6,5.5,177.2,21c57.6,15.5,113.2,45,149.4,92.3L-6,600L-5.6,404.6z" transform="translate(-103.12)"/>
  705. </svg>
  706. </div>
  707. <!--do not touch-->
  708.  
  709.  
  710. <div id="maintitle">PHYSICAL</div>
  711.  
  712. <div id="sidelinks">
  713. <a href="/"><span class="th th-chevron-left"></span> GO BACK HOME</a>
  714. </div>
  715.  
  716. <div class="sideimage"><img src="https://66.media.tumblr.com/bedd495135c3f43fb9029a545b21581f/f433a51aaca12c66-79/s400x600/50cc839c77b1d5b0828b51db3bae6fb0a589f6d5.png" draggable="false"></div>
  717.  
  718.  
  719. </div><!----ENTRIES END---->
  720. </div>
  721.  
  722. <div id="credits">
  723. <a href="https://drunkblushed.tumblr.com/" title="made by dana">DB.</a></div>
  724.  
  725. </body>
  726.  
  727. <script>
  728. filterSelection("all")
  729. function filterSelection(c) {
  730. var x, i;
  731. x = document.getElementsByClassName("filterDiv");
  732. if (c == "all") c = "";
  733. for (i = 0; i < x.length; i++) {
  734. w3RemoveClass(x[i], "show");
  735. if (x[i].className.indexOf(c) > -1) w3AddClass(x[i], "show");
  736. }
  737. }
  738.  
  739. function w3AddClass(element, name) {
  740. var i, arr1, arr2;
  741. arr1 = element.className.split(" ");
  742. arr2 = name.split(" ");
  743. for (i = 0; i < arr2.length; i++) {
  744. if (arr1.indexOf(arr2[i]) == -1) {element.className += " " + arr2[i];}
  745. }
  746. }
  747.  
  748. function w3RemoveClass(element, name) {
  749. var i, arr1, arr2;
  750. arr1 = element.className.split(" ");
  751. arr2 = name.split(" ");
  752. for (i = 0; i < arr2.length; i++) {
  753. while (arr1.indexOf(arr2[i]) > -1) {
  754. arr1.splice(arr1.indexOf(arr2[i]), 1);
  755. }
  756. }
  757. element.className = arr1.join(" ");
  758. }
  759.  
  760. // Add active class to the current button (highlight it)
  761. var btnContainer = document.getElementById("myBtnContainer");
  762. var btns = btnContainer.getElementsByClassName("btn");
  763. for (var i = 0; i < btns.length; i++) {
  764. btns[i].addEventListener("click", function(){
  765. var current = document.getElementsByClassName("active");
  766. current[0].className = current[0].className.replace(" active", "");
  767. this.className += " active";
  768. });
  769. }
  770. </script>
  771.  
  772. </html>
Advertisement
Add Comment
Please, Sign In to add comment