Advertisement
uchihaclan

VILLAGE THEME

May 26th, 2021 (edited)
1,954
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.69 KB | None | 0 0
  1. <html>
  2. <!---
  3.  
  4. Village Theme by Taylor @PS1
  5. - keep sb links short
  6. - pagination links can by whatever symbol you want it to be
  7. - you can change credit symbol but don't remove it <3
  8. - message for dem bugs
  9.  
  10. --->
  11.  
  12. <head>
  13.  
  14.  
  15.  
  16. <title>{Title}</title>
  17. <link rel="icon" href="{image:FavIcon}" type="image/gif" >
  18. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  19. {block:Description}
  20. <meta name="description" content="{MetaDescription}" />
  21. {/block:Description}
  22.  
  23. <!--- Add Custom Fonts Here (like Google Fonts) --->
  24.  
  25. <!--- Then add Font name to the 'Font Family' in Theme Options Area --->
  26.  
  27.  
  28.  
  29. <meta name="image:favicon" content=""/>
  30. <meta name="image:sidebar" content="https://i.imgur.com/2Te56l1.png"/>
  31. <meta name="image:background" content=""/>
  32. <meta name="image:footer img" content="https://i.imgur.com/FFCuAWu.png"/>
  33. <meta name="image:cursor" content="https://i.imgur.com/7LbphiL.png"/>
  34.  
  35. <meta name="color:sb" content="#fff">
  36. <meta name="color:sb border" content="#000">
  37. <meta name="color:title color" content="#000">
  38. <meta name="color:sb links" content="#ff0000">
  39. <meta name="color:sb links 1" content="#000">
  40. <meta name="color:sb links 2" content="#ff0000">
  41. <meta name="color:sb img border" content="#000">
  42. <meta name="color:bg" content="#fff">
  43. <meta name="color:posts" content="#fff">
  44. <meta name="color:font color" content="#000">
  45. <meta name="color:time color" content="#000">
  46. <meta name="color:links" content="#ff0000">
  47. <meta name="color:links 1" content="#ff0000">
  48. <meta name="color:links 2" content="#000">
  49. <meta name="color:links hover" content="#000">
  50. <meta name="color:desc color" content="#000">
  51. <meta name="color:asker bg" content="#000">
  52. <meta name="color:tooltip color" content="#000">
  53. <meta name="color:border" content="#000">
  54. <meta name="color:floating symbol" content="#000">
  55. <meta name="color:select bg" content="#000">
  56. <meta name="color:select text" content="#fff">
  57.  
  58.  
  59.  
  60. <meta name="select:sb size" content="200px"/>
  61. <meta name="select:sb size" content="250px"/>
  62. <meta name="select:sb size" content="300px"/>
  63.  
  64.  
  65. <meta name="select:border" content="solid"/>
  66. <meta name="select:border" content="dashed"/>
  67. <meta name="select:border" content="dotted"/>
  68. <meta name="select:border" content="double"/>
  69. <meta name="select:border" content="inset"/>
  70. <meta name="select:border" content="outset"/>
  71. <meta name="select:border" content="ridge"/>
  72. <meta name="select:border" content="groove"/>
  73.  
  74.  
  75. <meta name="text:border" content="1"/>
  76. <meta name="text:font family" content="arial">
  77. <meta name="text:title size" content="20">
  78. <meta name="text:desc size" content="12">
  79. <meta name="text:sb link size" content="20">
  80. <meta name="text:post font size" content="20">
  81. <meta name="text:title" content="TITLE">
  82. <meta name="text:sidebar" content="SIDEBAR TOOLTIP TEXT AY">
  83. <meta name="text:desc" content="DESCRIPTION">
  84.  
  85.  
  86. <meta name="if:dark scrollbar" content="0" />
  87. <meta name="if:tile background" content="0" />
  88. <meta name="if:sb img border" content="0"/>
  89. <meta name="if:round border" content="0"/>
  90. <meta name="if:rainbow links" content="0"/>
  91. <meta name="if:links bold" content="0"/>
  92. <meta name="if:links italic" content="0"/>
  93. <meta name="if:custom cursor" content="0" />
  94. <meta name="if:center sb text" content="0" />
  95. <meta name="if:rainbow title" content="0" />
  96. <meta name="if:hide title" content="0"/>
  97. <meta name="if:hide desc" content="0"/>
  98. <meta name="if:redirect" content="0" />
  99. <meta name="if:hide caption" content="0"/>
  100. <meta name="if:hide tags" content="0" />
  101. <meta name="if:floating symbol" content="0" />
  102.  
  103.  
  104. <meta name="text:next page" content="&plus;">
  105. <meta name="text:previous page" content="&minus;">
  106. <meta name="text:html entity" content="191">
  107. <meta name="text:redirect link" content="resident+evil">
  108. <meta name="text:link 1" content="1">
  109. <meta name="text:link 1 URL" content="/">
  110. <meta name="text:link 2" content="2">
  111. <meta name="text:link 2 URL" content="/">
  112. <meta name="text:link 3" content="3">
  113. <meta name="text:link 3 URL" content="/">
  114. <meta name="text:link 4" content="4">
  115. <meta name="text:link 4 URL" content="/">
  116.  
  117. <style type="text/css">
  118.  
  119. .tmblr-iframe-compact .tmblr-iframe--unified-controls {
  120.  
  121.  
  122. -webkit-filter: invert(100%);
  123. filter: invert(100%);
  124. }
  125.  
  126.  
  127. ::-moz-selection {
  128. background: {color:select bg};
  129. color: {color:select text};}
  130.  
  131. ::selection {
  132. background: {color:select bg};
  133. color: {color:select text};}
  134.  
  135. #s-m-t-tooltip {
  136. z-index: 999999999;
  137. background-color: rgba(0, 0, 0, 0.3);
  138. color: {color:tooltip color};
  139. font-size: {text:Font Size}px;
  140. {block:IfRoundBorder}
  141. border-radius: 4px;
  142. {/block:IfRoundBorder}
  143. padding: 3px 5px 5px 5px;
  144. text-align: center;
  145. transition: all 0.3s ease-out;
  146. -o-transition: all 0.3s ease-out;
  147. -webkit-transition: all 0.3s ease-out;
  148. -moz-transition: all 0.3s ease-out;
  149. text-transform: normal;
  150. max-width: 250px;
  151. display: block;
  152. word-wrap: break-word;
  153. margin: -30px 0px 10px 20px;}
  154.  
  155. body {
  156. background: {color:bg};
  157. background-image: url({image:background});
  158. background-attachment: fixed;
  159. {block:IfNotTileBackground}
  160. -webkit-background-size: cover;
  161. -moz-background-size: cover;
  162. -o-background-size: cover;
  163. background-size: cover;
  164. {/block:IfNotTileBackground}
  165. font-family: '{text:font family}';
  166. font-size: {text:post font size}px;
  167. color: {color:font color};
  168. line-height: 120%;
  169. word-wrap: break-word;
  170. overflow-x:hidden;}
  171.  
  172. {block:IfCustomCursor}
  173. body, *, a, a:hover { cursor:url({image:cursor}), auto;}{/block:IfCustomCursor}
  174.  
  175. p {margin: 0px;}
  176. ul {list-style: square;}
  177. img {max-width: 100%; max-height: 100%;}
  178. h1 {line-height: 130%;}
  179. h2 {line-height: 150%;}
  180.  
  181.  
  182.  
  183.  
  184. a:link, a:active, a:visited {
  185. {block:IfLinksBold}
  186. font-weight: bold;{/block:IfLinksBold}
  187. {block:IfLinksItalic}
  188. font-style: italic;{/block:IfLinksItalic}
  189. color: {color:links};
  190. text-decoration: none;
  191. background: linear-gradient(to left, {color:links 2}, {color:links 1} 100%);
  192. background-position: 0 100%;
  193. background-size: 100% 2px;
  194. background-repeat: repeat-x;
  195. transition: 500ms ease;
  196. {block:IfRainbowLinks}
  197. -webkit-animation:rainbow 1.2s infinite;
  198. -ms-animation:rainbow 1.2s infinite;
  199. -o-animation:rainbow 1.2s infinite;
  200. animation:rainbow 1.2s infinite;
  201. {/block:IfRainbowLinks}
  202. }
  203. {block:IfRainbowLinks}
  204. @-webkit-keyframes rainbow {
  205. 0% {color: #ff0000;}
  206. 10% {color: #ff8000;}
  207. 20% {color: #ffff00;}
  208. 30% {color: #80ff00;}
  209. 40% {color: #00ff00;}
  210. 50% {color: #00ff80;}
  211. 60% {color: #00ffff;}
  212. 70% {color: #0080ff;}
  213. 80% {color: #0000ff;}
  214. 90% {color: #8000ff;}
  215. 100% {color: #ff0080;}
  216. }
  217. {/block:IfRainbowLinks}
  218.  
  219.  
  220.  
  221.  
  222.  
  223. a:hover {
  224. transition: 500ms ease;
  225. letter-spacing: 2px;
  226. color: {color:links hover};
  227. background: linear-gradient(to left, {color:links 1}, {color:links 2} 100%);
  228. background-position: 0 100%;
  229. background-size: 100% 2px;
  230. background-repeat: repeat-x;
  231. }
  232.  
  233.  
  234. {block:IfNotDarkScrollbar}
  235. ::-webkit-scrollbar {
  236. width:15px; height:15px;} /* made by @ps1 */
  237. ::-webkit-scrollbar-track {
  238. background-image: url(https://i.imgur.com/n1kAWKU.png);}
  239. ::-webkit-scrollbar-thumb {
  240. background-image: url(https://i.imgur.com/KePIOiE.png);
  241. border-top: 1px solid #D4D0C8; border-bottom: 1px solid #808080;}
  242. ::-webkit-scrollbar-button:vertical:decrement {
  243. background-image: url(https://i.imgur.com/ZF6PC55.png);
  244. width: 15px; height: 15px;}
  245. ::-webkit-scrollbar-button:vertical:increment {
  246. background-image: url(https://i.imgur.com/sMOMkQ7.png);
  247. width: 15px; height: 15px;}
  248. {/block:IfNotDarkScrollbar}
  249.  
  250. {block:IfDarkScrollbar}
  251. ::-webkit-scrollbar {
  252. width:15px; height:15px;} /* made by @ps1 */
  253. ::-webkit-scrollbar-track {
  254. background-image: url(https://i.imgur.com/1wwyNgR.png);}
  255. ::-webkit-scrollbar-thumb {
  256. background-image: url(https://i.imgur.com/3twDfJb.png);
  257. border-top: 1px solid #111; border-bottom: 1px solid #000;}
  258. ::-webkit-scrollbar-button:vertical:decrement {
  259. background-image: url(https://i.imgur.com/pSpgQbq.png);
  260. width: 15px; height: 15px;}
  261. ::-webkit-scrollbar-button:vertical:increment {
  262. background-image: url(https://i.imgur.com/IzbYg9x.png);
  263. width: 15px; height: 15px;}
  264. {/block:IfDarkScrollbar}
  265.  
  266. #content {
  267. margin: 50px auto;
  268. width: 600px;
  269. }
  270.  
  271.  
  272. #sb {
  273. margin-left: 400px;
  274. line-height: 130%;
  275. position: fixed;
  276. width: {select:sb size};
  277. padding: 20px;
  278. background-color: {color:sb};
  279. {block:IfRoundBorder}
  280. border-radius: 4px;
  281. {/block:IfRoundBorder}
  282. filter:
  283. drop-shadow(0 0 2px {color:sb})
  284. drop-shadow(0 0 2px {color:sb})
  285. drop-shadow(0 0 4px {color:sb})
  286. drop-shadow(0 0 4px {color:sb});
  287. outline: 2px solid {color:sb};
  288. border: {text:border}px {select:border} {color:sb border};
  289.  
  290. }
  291.  
  292. #sb a:link, a:active, a:visited {
  293. font-size: {text:sb link size}px;
  294. color: {color:sb links};
  295. text-decoration: none;
  296. background: linear-gradient(to left, {color:sb links 2}, {color:sb links 1} 100%);
  297. background-position: 0 100%;
  298. background-size: 100% 2px;
  299. background-repeat: repeat-x;
  300. transition: 500ms ease;
  301. }
  302.  
  303. #sb a:hover {
  304. transition: 500ms ease;
  305. letter-spacing: 2px;
  306. color: {color:links hover};
  307. background: linear-gradient(to left, {color:sb links 1}, {color:sb links 2} 100%);
  308. background-position: 0 100%;
  309. background-size: 100% 2px;
  310. background-repeat: repeat-x;
  311. }
  312.  
  313. .icon {
  314.  
  315. {block:IfRoundBorder}
  316. border-radius: 4px;
  317. {/block:IfRoundBorder}
  318. {block:IfSbImgBorder}
  319. border: 1px {select:border} {color:sb img border};
  320. {/block:IfSbImgBorder}
  321. -webkit-transition: all 0.6s ease-in-out;
  322. -moz-transition: all 0.6s ease-in-out;
  323. -o-transition: all 0.6s ease-in-out;
  324. -ms-transition: all 0.6s ease-in-out;
  325. transition: all 0.6s ease-in-out;
  326. }
  327.  
  328. .icon:hover {
  329. filter:
  330. drop-shadow(0 0 2px {color:tooltip color})
  331. drop-shadow(0 0 4px {color:tooltip color})
  332. drop-shadow(0 0 10px {color:tooltip color});
  333.  
  334. }
  335.  
  336. .linkz a {margin-right: 5px;}
  337.  
  338. .title {
  339. {block:IfCenterSbText}text-align: center;{/block:IfCenterSbText}
  340. margin-top: 5px;
  341. font-size: {text:title size}px;
  342. color: {color:title color};
  343. }
  344.  
  345. .desc {
  346. {block:IfCenterSbText}text-align: center;{/block:IfCenterSbText}
  347. margin-top: 5px;
  348. line-height: 120%;
  349. font-size: {text:desc size}px;
  350. color: {color:desc color};
  351. }
  352.  
  353. .pagination {
  354. display: inline;
  355. float: right;
  356.  
  357. }
  358.  
  359.  
  360.  
  361. .posts {
  362. {block:IfRoundBorder}
  363. border-radius: 4px;
  364. {/block:IfRoundBorder}
  365. background-color: {color:posts};
  366. filter:
  367. drop-shadow(0 0 2px {color:posts})
  368. drop-shadow(0 0 2px {color:posts})
  369. drop-shadow(0 0 4px {color:posts})
  370. drop-shadow(0 0 4px {color:posts});
  371. outline: 2px solid {color:posts};
  372. margin-left: -150px;
  373. width: 400px;
  374. padding: 20px;
  375. position: relative;
  376. border: {text:border}px {select:border} {color:border};
  377.  
  378. }
  379.  
  380. blockquote {
  381. margin: 0 0 5px 20px;
  382. padding: 5px 0 0 5px;
  383. border-left: 1px solid {color:font color};
  384. word-wrap: break-word;
  385. word-break: break-word;
  386.  
  387. }
  388.  
  389. blockquote img {
  390. MAX-WIDTH:100%;
  391. HEIGHT:AUTO;
  392. }
  393.  
  394. .pic img { display: block;
  395. {block:IfRoundBorder}
  396. border-radius: 4px;
  397. {/block:IfRoundBorder}
  398. border: {text:border}px {select:border} {color:border};
  399. -moz-transition: all 1s ease-in-out 0s;
  400. -webkit-transition: all 1s ease-in-out 0s;
  401. -o-transition: all 1s ease-in-out 0s;
  402. transition: all 1s ease;
  403. }
  404.  
  405. .pic img:hover {
  406. filter: opacity(0.20);
  407. -moz-transition: all 1s ease-in-out 0s;
  408. -webkit-transition: all 1s ease-in-out 0s;
  409. -o-transition: all 1s ease-in-out 0s;
  410. transition: all 1s ease;
  411. }
  412.  
  413.  
  414.  
  415. .tags {
  416. max-height:0px;
  417. line-height:130%;
  418. text-align:left;
  419. opacity:0;
  420. -webkit-transition: all 0.7s ease;
  421. transition: all 0.7s ease;
  422. -moz-transition: all 0.7s ease;
  423. -o-transition: all 0.7s ease;
  424. }
  425.  
  426. .tags a:hover {color: {color:links hover};}
  427.  
  428. #notes:hover .tags{
  429. max-height: 200px;
  430. opacity:1;
  431. -webkit-transition: all 0.7s ease;
  432. transition: all 0.7s ease;
  433. -moz-transition: all 0.7s ease;
  434. -o-transition: all 0.7s ease;
  435. }
  436.  
  437. #c { position: fixed; bottom: 15px; left: 15px; font-size: 24px;}
  438.  
  439. #notes {
  440. color: {color:time color};
  441. text-align: right;
  442. width: 440px;
  443. margin-left: -150px;
  444. margin-top: 15px;
  445. margin-bottom: 100px;
  446. }
  447.  
  448. #notes a:hover {color: {color:links hover};}
  449.  
  450. #notes img {display: inline;}
  451.  
  452. #permanotes {
  453. margin-top: 20px;
  454. margin-bottom: 10px;
  455. overflow-x: auto;
  456. max-height: 300px;
  457. min-height: 100px;
  458. border: 1px solid {color:border};
  459. padding: 10px;
  460. }
  461.  
  462. #permanotes ol.notes {
  463. list-style-type: none;
  464. margin: 0;
  465. padding: 0;}
  466.  
  467. #permanotes img.avatar {
  468. margin-right: 10px;
  469. border: 1px solid {color:font color};
  470. display: inline;
  471. width: 16px;
  472. height: 16px;}
  473.  
  474. .quote {
  475. text-align: justify;
  476. font-style: italic;
  477. font-weight: bold;
  478. font-size: 140%;
  479. line-height: 130%;}
  480.  
  481. .source {
  482. text-align: right;}
  483.  
  484.  
  485. .spotify_audio_player {
  486. height:80px!important;
  487. width:100%!important;}
  488.  
  489. .soundcloud_audio_player {
  490. height:150px!important;
  491. width:100%!important;}
  492.  
  493. /* playbutton background */
  494.  
  495. .trackback {
  496. position: absolute;
  497. left: 20px;
  498. top: 20px;
  499. width: 19px;
  500. height: 19px;
  501. background-color: #fff;
  502. padding: 10px;
  503. opacity: .4;}
  504.  
  505. /* playbutton */
  506.  
  507. .pressplay{
  508. position: relative;
  509. width: 25px;
  510. height: 25px;
  511. overflow: hidden;
  512. left: -6px;
  513. top: -3px;}
  514.  
  515. /* album img container */
  516.  
  517. .albumpic {
  518. position: absolute;
  519. left: 0px;
  520. top: 0px;
  521. width: 79px;
  522. height: 79px;}
  523.  
  524. /* album img */
  525.  
  526. .albumpic img {
  527. width: 100%;
  528. height: auto;
  529. border: 1px solid {color:font color};}
  530.  
  531. /* track info ye */
  532.  
  533. .trackinfo {
  534. width: auto;
  535. display:inline-block;
  536. margin-left: 90px;
  537. min-height: 85px;}
  538.  
  539.  
  540. /* makes both audio player & track info inline */
  541.  
  542. .audiowrapper {
  543. position: relative; display:inline-block;}
  544.  
  545.  
  546. .video {
  547. position: relative;
  548. padding-bottom: 75%;
  549. height: 0;
  550. overflow: hidden;
  551. }
  552.  
  553. .video iframe, .video object, .video embed {
  554. position: absolute;
  555. top: 0;
  556. left: 0;
  557. width: 100%;
  558. height: 100%;
  559. }
  560.  
  561.  
  562. #askimg {
  563. margin-left: 1px;
  564. }
  565.  
  566. #askimg img {
  567. border: 2px solid {color:asker bg};
  568. display: block;
  569. {block:IfRoundBorder}
  570. border-radius: 4px;{/block:IfRoundBorder}
  571. }
  572.  
  573. #asker {
  574. {block:IfRoundBorder}border-radius: 4px 4px 0 0;{/block:IfRoundBorder}
  575. margin-top: -53px;
  576. padding: 3px 3px 3px 60px;
  577. background-color:{color:asker bg};
  578. }
  579.  
  580. #q {
  581. border: 1px solid {color:asker bg};
  582. border-top: 0;
  583. padding-left: 60px;
  584. padding-bottom: 5px;
  585. }
  586.  
  587. #a {
  588. border: 1px solid {color:asker bg};
  589. {block:IfRoundBorder}border-radius: 0 0 4px 4px;{/block:IfRoundBorder}
  590. border-top: 0;
  591. padding: 5px;
  592. padding-left: 60px;
  593. }
  594.  
  595.  
  596.  
  597. .tmblr-iframe-compact .tmblr-iframe--unified-controls {
  598. -webkit-filter: opacity(0);
  599. filter: opacity(0);
  600. transition: all 0.3s ease-out;
  601. -o-transition: all 0.3s ease-out;
  602. -webkit-transition: all 0.3s ease-out;
  603. -moz-transition: all 0.3s ease-out;
  604. }
  605.  
  606. .tmblr-iframe-compact .tmblr-iframe--unified-controls:hover {
  607. -webkit-filter: opacity(1);
  608. filter: opacity(1);
  609. transition: all 0.3s ease-out;
  610. -o-transition: all 0.3s ease-out;
  611. -webkit-transition: all 0.3s ease-out;
  612. -moz-transition: all 0.3s ease-out;
  613. }
  614.  
  615.  
  616.  
  617. </style>
  618.  
  619. {block:IfRedirect}
  620. <script>
  621. if(window.location.pathname == '/') location.replace('tagged/{text:Redirect Link}');
  622. </script>
  623. {block:IfRedirect}
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  634.  
  635. <script src="https://static.tumblr.com/uopakca/GVcnvdwbq/jquery.style-my-tooltips.js"></script>
  636.  
  637.  
  638. <script type="text/javascript" src="https://static.tumblr.com/7qjmkr5/IUmmdsy41/jquery.style-my-tooltips.js"></script>
  639. <script>(function($){
  640. $(document).ready(function(){
  641. $("a[title]").style_my_tooltips({
  642. tip_follows_cursor:true,
  643. tip_delay_time:0,
  644. tip_fade_speed:0,
  645. attribute:"title"
  646. });
  647. });
  648. })(jQuery);
  649. </script>
  650.  
  651.  
  652. {block:IfRainbowTitle}
  653. <script type="text/javascript">
  654. // <![CDATA[
  655. var speed=100; // speed colours change, 1 second = 1000
  656. var glow=3; // can be set from '0' for no glow, to 10
  657. var raincol=new Array("#ff0000", "#ff5500", "#ffaa00", "#ffff00", "#aaff00", "#55ff00", "#00ff00", "#00ff55", "#00ffaa", "#00ffff", "#00aaff", "#0055ff", "#0000ff", "#5500ff", "#aa00ff", "#ff00ff", "#ff00aa", "#ff0055"); // change the colours if you want to
  658. var alink="http://www.mf2fm.com/rv/"; // page to link text to (set to ="" for no link)
  659.  
  660. /****************************
  661. * Rainbow Text Effect *
  662. *(c)2003-13 mf2fm web-design*
  663. * http://www.mf2fm.com/rv *
  664. * DON'T EDIT BELOW THIS BOX *
  665. ****************************/
  666. var rainbow, raintxt, raincnt=0;
  667.  
  668. function addLoadEvent(funky) {
  669. var oldonload=window.onload;
  670. if (typeof(oldonload)!='function') window.onload=funky;
  671. else window.onload=function() {
  672. if (oldonload) oldonload();
  673. funky();
  674. }
  675. }
  676.  
  677. addLoadEvent(regenbogen);
  678.  
  679. function regenbogen() { if (document.getElementById) {
  680. var i, rainbeau;
  681. rainbow=document.getElementById("rainbow");
  682. raintxt=rainbow.firstChild.nodeValue;
  683. while (rainbow.childNodes.length) rainbow.removeChild(rainbow.childNodes[0]);
  684. for (i=0; i<raintxt.length; i++) {
  685. rainbeau=document.createElement("span");
  686. rainbeau.setAttribute("id", "rain"+i);
  687. rainbeau.appendChild(document.createTextNode(raintxt.charAt(i)));
  688. if (alink) {
  689. rainbeau.style.cursor="pointer";
  690. rainbeau.onclick=function() { top.location.href=alink; }
  691. }
  692. rainbow.appendChild(rainbeau);
  693. }
  694. rainbow=setInterval ("raining()", speed);
  695. }}
  696.  
  697. function raining() {
  698. var i, c;
  699. for (i=0; i<raintxt.length; i++) {
  700. c=raincol[(i+raincnt)%raincol.length];
  701. document.getElementById("rain"+i).style.color=c;
  702. if (glow) document.getElementById("rain"+i).style.textShadow=c+" 0px 0px "+glow+"px";
  703. }
  704. raincnt++;
  705. }
  706. // ]]>
  707. </script>
  708. {/block:IfRainbowTitle}
  709.  
  710.  
  711. {block:IfFloatingSymbol}
  712. <script type="text/javascript">
  713. // <![CDATA[
  714. var colour="{color:floating symbol}"; // what colour are the blobs
  715. var speed=80; // speed of animation, lower is faster
  716. var blobs=12; // how many blobs are in the jar
  717. var charc=String.fromCharCode({text:html entity}); // you must use HTML entity
  718.  
  719. /***************************\
  720. * Blobs in a Jar Effect *
  721. *(c)2012-13 mf2fm web-design*
  722. * http://www.mf2fm.com/rv *
  723. * DON'T EDIT BELOW THIS BOX *
  724. \***************************/
  725.  
  726. var div;
  727. var xpos=new Array();
  728. var ypos=new Array();
  729. var zpos=new Array();
  730. var dx=new Array();
  731. var dy=new Array();
  732. var dz=new Array();
  733. var blob=new Array();
  734. var swide=800;
  735. var shigh=600;
  736. var ie_version=(navigator.appVersion.indexOf("MSIE")!=-1)?parseFloat(navigator.appVersion.split("MSIE")[1]):false;
  737.  
  738. function addLoadEvent(funky) {
  739. var oldonload=window.onload;
  740. if (typeof(oldonload)!='function') window.onload=funky;
  741. else window.onload=function() {
  742. if (oldonload) oldonload();
  743. funky();
  744. }
  745. }
  746.  
  747. addLoadEvent(fill_the_jar);
  748.  
  749. function fill_the_jar() {
  750. var i, dvs;
  751. div=document.createElement('div');
  752. dvs=div.style;
  753. dvs.position='fixed';
  754. dvs.left='0px';
  755. dvs.top='0px';
  756. dvs.width='1px';
  757. dvs.height='1px';
  758. document.body.appendChild(div);
  759. set_width();
  760. for (i=0; i<blobs; i++) {
  761. add_blob(i);
  762. jamjar(i);
  763. }
  764. }
  765.  
  766. function add_blob(ref) {
  767. var dv, sy;
  768. dv=document.createElement('div');
  769. sy=dv.style;
  770. sy.position='absolute';
  771. sy.textAlign='center';
  772. if (ie_version && ie_version<10) {
  773. sy.fontSize="10px";
  774. sy.width="100px";
  775. sy.height="100px";
  776. sy.paddingTop="40px";
  777. sy.color=colour;
  778. dv.appendChild(document.createTextNode(charc));
  779. }
  780. else if (ie_version) {
  781. sy.fontSize="1px";
  782. sy.width="0px";
  783. sy.height="0px";
  784. }
  785. else {
  786. dv.appendChild(document.createTextNode(charc));
  787. sy.color='rgba(0,0,0,0)';
  788. }
  789. ypos[ref]=Math.floor(shigh*Math.random());
  790. dy[ref]=(0.5+Math.random())*(Math.random()>.5?2:-2);
  791. xpos[ref]=Math.floor(swide*Math.random());
  792. dx[ref]=(0.5+Math.random())*(Math.random()>.5?2:-2);
  793. zpos[ref]=Math.random()*20;
  794. dz[ref]=(0.5+Math.random())*(Math.random()>.5?.5:-.5);
  795. blob[ref]=dv;
  796. div.appendChild(blob[ref]);
  797. set_blob(ref);
  798. }
  799.  
  800. function rejig(ref, xy) {
  801. if (xy=='y') {
  802. dx[ref]=(0.5+Math.random())*sign(dx[ref]);
  803. dy[ref]=(0.5+Math.random())*-sign(dy[ref]);
  804. }
  805. else {
  806. dx[ref]=(0.5+Math.random())*-sign(dx[ref]);
  807. dy[ref]=(0.5+Math.random())*sign(dy[ref]);
  808. }
  809. }
  810.  
  811. function sign(a) {
  812. if (a<0) return (-2);
  813. else if (a>0) return (2);
  814. else return (0);
  815. }
  816.  
  817. function set_blob(ref) {
  818. var sy;
  819. sy=blob[ref].style;
  820. sy.top=ypos[ref]+'px';
  821. sy.left=xpos[ref]+'px';
  822. if (ie_version && ie_version<10) {
  823. sy.filter="glow(color="+colour+",strength="+zpos[ref]+")";
  824. sy.fontSize=30-zpos[ref]+"px";
  825. }
  826. else if (ie_version) {
  827. sy.boxShadow="0px 0px 40px "+zpos[ref]+"px "+colour;
  828. }
  829. else {
  830. sy.textShadow=colour+' 0px 0px '+zpos[ref]+'px';
  831. sy.fontSize=40+zpos[ref]+'px';
  832. }
  833. }
  834.  
  835. function jamjar(ref) {
  836. if (ypos[ref]+dy[ref]<-50 || ypos[ref]+dy[ref]>shigh) rejig(ref, 'y');
  837. ypos[ref]+=dy[ref];
  838. if (xpos[ref]+dx[ref]<-50 || xpos[ref]+dx[ref]>swide) rejig(ref, 'x');
  839. xpos[ref]+=dx[ref];
  840. if (zpos[ref]+dz[ref]<0 || zpos[ref]+dz[ref]>20) dz[ref]=-dz[ref];
  841. zpos[ref]+=dz[ref];
  842. set_blob(ref);
  843. setTimeout("jamjar("+ref+")", speed);
  844. }
  845.  
  846. window.onresize=set_width;
  847. function set_width() {
  848. var sw_min=999999;
  849. var sh_min=999999;
  850. if (document.documentElement && document.documentElement.clientWidth) {
  851. if (document.documentElement.clientWidth>0) sw_min=document.documentElement.clientWidth;
  852. if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight;
  853. }
  854. if (typeof(self.innerWidth)!="undefined" && self.innerWidth) {
  855. if (self.innerWidth>0 && self.innerWidth<sw_min) sw_min=self.innerWidth;
  856. if (self.innerHeight>0 && self.innerHeight<sh_min) sh_min=self.innerHeight;
  857. }
  858. if (document.body.clientWidth) {
  859. if (document.body.clientWidth>0 && document.body.clientWidth<sw_min) sw_min=document.body.clientWidth;
  860. if (document.body.clientHeight>0 && document.body.clientHeight<sh_min) sh_min=document.body.clientHeight;
  861. }
  862. if (sw_min==999999 || sh_min==999999) {
  863. sw_min=800;
  864. sh_min=600;
  865. }
  866. swide=sw_min;
  867. shigh=sh_min;
  868. }
  869. // ]]>
  870. </script>
  871. {/block:IfFloatingSymbol}
  872.  
  873.  
  874. </head>
  875.  
  876.  
  877.  
  878. <body>
  879. <div id="content">
  880.  
  881.  
  882.  
  883.  
  884. <div id="sb">
  885.  
  886. <a href="/" data-toggle="tooltip" title="{text:sidebar}"><div align="center"><img src="{image:sidebar}" class="icon" style="display: block;"></a></div>
  887.  
  888.  
  889.  
  890. {block:ifNotHideTitle}
  891. <div class="title"><span id="rainbow">{text:title}</span></div>
  892. {/block:ifNotHideTitle}
  893.  
  894. {block:ifNotHideDesc}
  895. <div class="desc">{text:desc}</div>
  896. {/block:ifNotHideDesc}
  897.  
  898.  
  899. <div class="linkz">
  900.  
  901.  
  902. <a href="{text:link 1 URL}">{text:link 1}</a>
  903. <a href="{text:link 2 URL}">{text:link 2}</a>
  904. <a href="{text:link 3 URL}">{text:link 3}</a>
  905. <a href="{text:link 4 URL}">{text:link 4}</a>
  906.  
  907. {block:IndexPage}{block:Pagination}
  908. <div class="pagination">
  909. {block:PreviousPage}<a href="{PreviousPage}">{text:previous page}</a>{/block:PreviousPage}
  910.  
  911. {block:NextPage}<a href="{NextPage}">{text:next page}</a>{/block:NextPage}</div>
  912. {/block:Pagination}{/block:IndexPage}
  913.  
  914.  
  915. </div>
  916.  
  917.  
  918.  
  919.  
  920. </div>
  921.  
  922.  
  923.  
  924. {block:Posts}
  925.  
  926.  
  927. <div class="posts">
  928.  
  929. {block:Text}
  930. {block:Title}<a href="{Permalink}">{Title}</a>{/block:Title}
  931. {Body}
  932. {/block:Text}
  933.  
  934. {block:Quote}
  935. <div class="quote">"{Quote}"</div>
  936. {block:Source}<div class="source">&mdash; {Source}</div>{/block:Source}
  937. {/block:Quote}
  938.  
  939. {block:Link}
  940. <big><a href="{URL}">{Name}</a></big>
  941. {block:Description}{Description}{/block:Description}
  942. {/block:Link}
  943.  
  944. {block:Chat}
  945. {block:Title}{Title}{/block:Title}
  946. {block:Lines}
  947. <div class="{Alt} user_{UserNumber}">
  948. {block:Label}{Label}{/block:Label} {Line}
  949. </div>
  950. {/block:Lines}
  951. {/block:Chat}
  952.  
  953.  
  954. {block:Answer}
  955. <div id="askimg"><img src="{AskerPortraitURL-48}"></div>
  956. <div id="asker">{Asker}:</div>
  957. <div id="q">{Question}</div>
  958. <div id="a">{Answer}</div>
  959. {/block:Answer}
  960.  
  961.  
  962.  
  963.  
  964. {block:Photo}
  965. <div class="pic">
  966. {block:IndexPage}<a href="{Permalink}"><img src="{PhotoURL-400}"></a>{/block:IndexPage}
  967.  
  968. {block:PermalinkPage}<a href="{LinkURL}"><img src="{PhotoURL-400}"></a>{/block:PermalinkPage}
  969. </div>
  970. {/block:Photo}
  971.  
  972. {block:Photoset}
  973. {Photoset}
  974. {/block:Photoset}
  975.  
  976. {block:Video}
  977. <div class="video">{Video-500}</div>
  978. {/block:Video}
  979.  
  980. {block:AudioPlayer}
  981. <div class="audiowrapper">
  982. {block:AlbumArt}
  983. <div class="albumpic"><img src="{AlbumArtURL}"></div>
  984. {/block:AlbumArt}
  985. <div class="trackback">
  986. <div class="pressplay">
  987. {AudioPlayer}
  988. </div></div>
  989. <div class="trackinfo">
  990. {block:TrackName}{TrackName}{/block:TrackName}<br>
  991. {block:Artist}<b>{Artist}</b>{/block:Artist}<br>
  992. {block:Album}<i>{Album}</i>{/block:Album}<br>
  993. </div></div>
  994. {/block:AudioPlayer}
  995.  
  996. {block:ifNotHideCaption}
  997. {block:Caption}<p style="margin-top: 5px;">{Caption}</p>{/block:Caption}
  998. {/block:ifNotHideCaption}
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004. {block:PermalinkPage}
  1005. {block:ifHideCaption}
  1006. {block:Caption}{Caption}{/block:Caption}
  1007. {/block:ifHideCaption}
  1008.  
  1009. <p>{block:NoteCount}<a href="{Permalink}">{NoteCount}N</a><br>{/block:NoteCount}
  1010. {block:HasTags}{block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}<br>{/block:HasTags}
  1011. {block:RebloggedFrom}
  1012. Via: <a href="{ReblogParentURL}">{ReblogParentName}</a>
  1013. <br>{/block:RebloggedFrom}{block:ContentSource}
  1014. Source: <a href="{SourceURL}">{SourceTitle}</a>
  1015. {/block:ContentSource}</p>
  1016.  
  1017. {block:NoteCount}<div id="permanotes">
  1018. {block:PostNotes}{PostNotes}{/block:PostNotes}
  1019. </div>{/block:NoteCount}
  1020. {/block:PermalinkPage}
  1021. </div>
  1022.  
  1023.  
  1024. {block:IndexPage}<div id="notes">
  1025.  
  1026. <div style="float: left;">{12Hour}:{Minutes}{CapitalAmPm}</div>
  1027.  
  1028. <a href="{Permalink}">{NoteCount}N</a>
  1029. <img src="{image:footer img}" style="vertical-align: middle; margin-left: 5px; margin-right: 5px; display: inline-block;">
  1030. <a href="{ReblogURL}" data-toggle="tooltip" title="Reblog?">RB</a>
  1031.  
  1032.  
  1033. {block:ifNotHideTags}
  1034. {block:HasTags}
  1035. <div class="tags">
  1036. # {block:Tags}<a href="{TagURL}">{Tag}</a>
  1037. {/block:Tags}</div>{/block:HasTags}
  1038. {/block:ifNotHideTags}
  1039.  
  1040.  
  1041. </div>
  1042.  
  1043. {/block:IndexPage}
  1044.  
  1045.  
  1046.  
  1047.  
  1048. {/block:Posts}
  1049.  
  1050.  
  1051.  
  1052. </div>
  1053. </div>
  1054.  
  1055. <div id="c">
  1056. <a href="https://ps1.tumblr.com/" style="text-decoration: none; font-style: normal;" data-toggle="tooltip" title="@ps1">&smashp;</a>
  1057. </div>
  1058.  
  1059.  
  1060.  
  1061. </body>
  1062. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement