oph

kids in despair theme

oph
Nov 10th, 2017
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.31 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!-----
  5.  
  6. kids in despair theme by poisons
  7. base code by animecharacter
  8. do not steal, do not remove credit
  9. feel free to edit what you want when using
  10.  
  11. ----->
  12.  
  13. <meta charset="utf-8">
  14. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  15.  
  16. <meta name="image:sidebar" content=""/>
  17. <meta name="image:bg image" content=""/>
  18. <meta name="image:favicon" content=""/>
  19.  
  20. <meta name="color:background" content="fff"/>
  21. <meta name="color:text" content="fff"/>
  22. <meta name="color:link" content="fff"/>
  23. <meta name="color:link hover" content="fff"/>
  24. <meta name="color:cursor sparkles" content="fff"/>
  25. <meta name="color:blockquote" content="fff"/>
  26. <meta name="color:scrollbar" content="fff"/>
  27. <meta name="color:scrollbar thumb" content="fff"/>
  28. <meta name="color:border" content="fff" />
  29. <meta name="color:sidebar bg" content="fff" />
  30. <meta name="color:post bg" content="fff" />
  31.  
  32. <meta name="if:cursor sparkles" content="" />
  33. <meta name="if:circle sidebar img" content="" />
  34. <meta name="if:rounded sidebar img" content="" />
  35. <meta name="if:rounded posts" content="" />
  36. <meta name="if:links" content="" />
  37.  
  38. <meta name="select:font family" content="arial" />
  39. <meta name="select:font family" content="verdana" />
  40. <meta name="select:font family" content="comic sans ms" />
  41. <meta name="select:font family" content="consolas" />
  42. <meta name="select:font family" content="dotum" />
  43. <meta name="select:font family" content="times new roman" />
  44. <meta name="select:border type" content="solid" />
  45. <meta name="select:border type" content="dashed" />
  46. <meta name="select:border type" content="none" />
  47. <meta name="select:sidebar width" content="120"/>
  48. <meta name="select:sidebar width" content="150"/>
  49. <meta name="select:sidebar width" content="180"/>
  50. <meta name="select:sidebar width" content="200"/>
  51.  
  52. <meta name="text:font size" content="12"/>
  53. <meta name="text:sidebar margin top" content="100"/>
  54. <meta name="text:sidebar margin left" content="-100"/>
  55. <meta name="text:link 1" content=""/>
  56. <meta name="text:link 1 url" content=""/>
  57. <meta name="text:link 2" content=""/>
  58. <meta name="text:link 2 url" content=""/>
  59. <meta name="text:link 3" content=""/>
  60. <meta name="text:link 3 url" content=""/>
  61. <meta name="text:link divider" content=""/>
  62. <meta name="text:permalink divider" content=""/>
  63. <meta name="text:sidebar image hover" content="hehehehe"/>
  64.  
  65. {block:Description}
  66. <meta name="description" content="{MetaDescription}" />
  67. {/block:Description}
  68.  
  69. <title>{Title}</title>
  70.  
  71.  
  72. <link rel="shortcut icon" href="{favicon}">
  73. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  74. <link rel="stylesheet" href="http://static.tumblr.com/qxrkgx6/RWPmgn2qa/normalize.min.css">
  75.  
  76. <script src="http://static.tumblr.com/qxrkgx6/LuRmgn2rm/modernizr-2.6.2.min.js"></script>
  77.  
  78. <style type="text/css">
  79.  
  80.  
  81. /*
  82. general text styles, fonts and colours
  83. */
  84.  
  85. body {
  86. margin:0px;
  87. background:{color:background} url({image:bg image});
  88. font-family: {select:font family};
  89. font-size:{text:font size}px;
  90. line-height:140%;
  91. color: {color:text};
  92. }
  93.  
  94. p{
  95. margin:0 0 10px 0;
  96. padding:0;
  97. }
  98.  
  99. pre {
  100. white-space: pre-wrap;
  101. white-space: -moz-pre-wrap;
  102. white-space: -pre-wrap;
  103. white-space: -o-pre-wrap;
  104. word-wrap: break-word;
  105. }
  106.  
  107. a{
  108. color:{color:link};
  109. }
  110.  
  111. a:hover{
  112. color:{color:link hover};
  113. }
  114.  
  115. li{
  116. margin-left:-15px;
  117. }
  118.  
  119. /*
  120. containers etc
  121. */
  122. #wrapper{
  123. width:600px;
  124. margin:50px auto;
  125. }
  126.  
  127. #sidebar{
  128. width:{select:sidebar width}px;
  129. position:fixed;
  130. text-align:center;
  131. margin-top:{text:sidebar margin top}px;
  132. margin-left:{text:sidebar margin left}px;
  133. {block:ifroundedposts}-moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; {/block:ifroundedposts}
  134. border: 2px {select:border type} {color:border};
  135. background: {color:sidebar bg};
  136. padding:15px;
  137. }
  138.  
  139. #sidebar img{
  140. width:{text:sidebar image size}px;
  141. {block:ifcirclesidebarimg}
  142. border-radius:100%;
  143. {/block:ifcirclesidebarimg}
  144. {block:ifroundedsidebarimg}
  145. border-radius:7%;
  146. {/block:ifroundedsidebarimg}
  147. margin-top:10px;
  148. }
  149.  
  150. #content{
  151. width:400px;
  152. margin-left:200px;
  153. overflow:hidden;
  154. padding:45px;
  155. }
  156.  
  157. .post{
  158. width:400px;
  159. margin:0 0 50px 0;
  160. overflow:none;
  161. text-align:none;
  162. padding:10px;
  163. border: 2px {select:border type} {color:border}; padding:10px;
  164. {block:ifroundedposts}-moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; {/block:ifroundedposts}
  165. background:{color:post bg};
  166. }
  167.  
  168. #sidebar img, .post img{
  169. max-width:100%;
  170. }
  171.  
  172. #nav{
  173. margin:50px 0 0 0;
  174. }
  175.  
  176.  
  177.  
  178. /*
  179. content in the body of the posts - quotes, asks, etc
  180. "media" contains photos, photosets, videos, audio posts
  181. */
  182. .media{
  183. margin:0 0 10px 0;
  184. }
  185.  
  186. .title{
  187. font-weight:normal;
  188. font-size:18px;
  189. margin:0 0 10px 0;
  190. }
  191.  
  192. .quote{
  193. font-weight:normal;
  194. font-size:16px;
  195. font-style:italic;
  196. margin:0 0 10px 0;
  197. }
  198.  
  199. .question{
  200. margin-bottom:10px;
  201. }
  202.  
  203. .playerbuttonbg {
  204. position: absolute;
  205. left: 20px;
  206. top: 20px;
  207. width: 19px;
  208. height: 19px;
  209. background-color: #ffffff;
  210. padding: 10px;
  211. -webkit-border-radius: 40px;
  212. -moz-border-radius: 40px;
  213. border-radius: 40px;
  214. opacity: .4;
  215. filter: alpha(opacity=40);
  216. -moz-opacity: 0.4;
  217. -khtml-opacity: 0.4;
  218. transition: opacity .7s ease-in-out;
  219. -moz-transition: opacity .7s ease-in-out;
  220. -webkit-transition: opacity .7s ease-in-out;
  221. }
  222.  
  223. .newplayerbutton {
  224. position: relative;
  225. width: 19px;
  226. height: 19px;
  227. overflow: hidden;
  228. }
  229.  
  230. .playerbuttonhug {
  231. position: absolute;
  232. top: -18px;
  233. left: -7px;
  234. }
  235.  
  236. .tumblr_audio_player {
  237. height: 90px;
  238. width: 270px;
  239. -moz-transform: scale(0.60, 0.60);
  240. -webkit-transform: scale(0.60, 0.60);
  241. -o-transform: scale(0.60, 0.60);
  242. -ms-transform: scale(0.60, 0.60);
  243. transform: scale(0.60, 0.60);
  244. -moz-transform-origin: top left;
  245. -webkit-transform-origin: top left;
  246. -o-transform-origin: top left;
  247. -ms-transform-origin: top left;
  248. transform-origin: top left;
  249. }
  250.  
  251. .audioimgwrapper {
  252. position: absolute;
  253. left: 0px;
  254. top: 0px;
  255. -webkit-border-radius: 40px;
  256. -moz-border-radius: 40px;
  257. border-radius: 40px;
  258. overflow: hidden;
  259. width: 79px;
  260. height: 79px;
  261. }
  262.  
  263. .audioimgwrapper img {
  264. width: 100%;
  265. height: auto;
  266. -webkit-border-radius: 40px;
  267. -moz-border-radius: 40px;
  268. border-radius: 40px;
  269. }
  270.  
  271. .trackdetails {
  272. height:19px;
  273. width: auto;
  274. display:inline-block;
  275. margin-left: 90px;
  276. min-height: 85px;
  277. padding:5px;
  278. }
  279.  
  280. .audiowrapper {
  281. position: relative;
  282. display:inline-block;
  283. }
  284.  
  285. blockquote{
  286. margin:0 0 10px 10px;
  287. padding:0 0 0 10px;
  288. border-left:solid 1px {color:blockquote};
  289. }
  290.  
  291. #credit{
  292. padding:10px;
  293. width:15px;
  294. height:15px;
  295. position:fixed;
  296. border-radius:100%;
  297. bottom:5px;
  298. left:3px;
  299. font-size:18px;
  300. }
  301.  
  302. ::-webkit-scrollbar {
  303. width: 10px; /** width of total scrollbar **/
  304. background: {color:scrollbar}; /** background of scrollbar **/
  305. border: px solid #000; /** border around whole scrollbar **/
  306. }
  307.  
  308. ::-webkit-scrollbar-thumb {
  309. background: {color:scrollbar thumb}; /** color of the moving part of the scrollbar (thumb) **/
  310. border: px solid #000; /** border around moving part of scrollbar (overlaps with border of total scrollbar) **/
  311. }
  312.  
  313. /*
  314. post footers - date, tags, via and source
  315. */
  316. #info {
  317. font-size:{text:font-size};
  318. width:auto;
  319. text-transform:normal;
  320. text-align:center;
  321. }
  322. /*
  323. post notes
  324. */
  325. ol.notes{
  326. list-style-type:none;
  327. padding:0;
  328. margin:0;
  329. }
  330.  
  331. ol.notes li.note img{
  332. width:16px;
  333. height:16px;
  334. }
  335.  
  336. ol.notes li.note{
  337. margin:0px;
  338. }
  339.  
  340. {CustomCSS}
  341. </style>
  342.  
  343. {block:ifcursorsparkles}
  344. <script type="text/javascript">
  345. // <![CDATA[
  346. var colour="{color:cursor sparkles}";
  347. var sparkles=120;
  348.  
  349. /****************************
  350. * Tinkerbell Magic Sparkle *
  351. * (c) 2005 mf2fm web-design *
  352. * http://www.mf2fm.com/rv *
  353. * DON'T EDIT BELOW THIS BOX *
  354. ****************************/
  355. var x=ox=400;
  356. var y=oy=300;
  357. var swide=800;
  358. var shigh=600;
  359. var sleft=sdown=0;
  360. var tiny=new Array();
  361. var star=new Array();
  362. var starv=new Array();
  363. var starx=new Array();
  364. var stary=new Array();
  365. var tinyx=new Array();
  366. var tinyy=new Array();
  367. var tinyv=new Array();
  368.  
  369. window.onload=function() { if (document.getElementById) {
  370. var i, rats, rlef, rdow;
  371. for (var i=0; i<sparkles; i++) {
  372. var rats=createDiv(3, 3);
  373. rats.style.visibility="hidden";
  374. document.body.appendChild(tiny[i]=rats);
  375. starv[i]=0;
  376. tinyv[i]=0;
  377. var rats=createDiv(5, 5);
  378. rats.style.backgroundColor="transparent";
  379. rats.style.visibility="hidden";
  380. var rlef=createDiv(1, 5);
  381. var rdow=createDiv(5, 1);
  382. rats.appendChild(rlef);
  383. rats.appendChild(rdow);
  384. rlef.style.top="2px";
  385. rlef.style.left="0px";
  386. rdow.style.top="0px";
  387. rdow.style.left="2px";
  388. document.body.appendChild(star[i]=rats);
  389. }
  390. set_width();
  391. sparkle();
  392. }}
  393.  
  394. function sparkle() {
  395. var c;
  396. if (x!=ox || y!=oy) {
  397. ox=x;
  398. oy=y;
  399. for (c=0; c<sparkles; c++) if (!starv[c]) {
  400. star[c].style.left=(starx[c]=x)+"px";
  401. star[c].style.top=(stary[c]=y)+"px";
  402. star[c].style.clip="rect(0px, 5px, 5px, 0px)";
  403. star[c].style.visibility="visible";
  404. starv[c]=50;
  405. break;
  406. }
  407. }
  408. for (c=0; c<sparkles; c++) {
  409. if (starv[c]) update_star(c);
  410. if (tinyv[c]) update_tiny(c);
  411. }
  412. setTimeout("sparkle()", 40);
  413. }
  414.  
  415. function update_star(i) {
  416. if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  417. if (starv[i]) {
  418. stary[i]+=1+Math.random()*3;
  419. if (stary[i]<shigh+sdown) {
  420. star[i].style.top=stary[i]+"px";
  421. starx[i]+=(i%5-2)/5;
  422. star[i].style.left=starx[i]+"px";
  423. }
  424. else {
  425. star[i].style.visibility="hidden";
  426. starv[i]=0;
  427. return;
  428. }
  429. }
  430. else {
  431. tinyv[i]=50;
  432. tiny[i].style.top=(tinyy[i]=stary[i])+"px";
  433. tiny[i].style.left=(tinyx[i]=starx[i])+"px";
  434. tiny[i].style.width="2px";
  435. tiny[i].style.height="2px";
  436. star[i].style.visibility="hidden";
  437. tiny[i].style.visibility="visible"
  438. }
  439. }
  440.  
  441. function update_tiny(i) {
  442. if (--tinyv[i]==25) {
  443. tiny[i].style.width="1px";
  444. tiny[i].style.height="1px";
  445. }
  446. if (tinyv[i]) {
  447. tinyy[i]+=1+Math.random()*3;
  448. if (tinyy[i]<shigh+sdown) {
  449. tiny[i].style.top=tinyy[i]+"px";
  450. tinyx[i]+=(i%5-2)/5;
  451. tiny[i].style.left=tinyx[i]+"px";
  452. }
  453. else {
  454. tiny[i].style.visibility="hidden";
  455. tinyv[i]=0;
  456. return;
  457. }
  458. }
  459. else tiny[i].style.visibility="hidden";
  460. }
  461.  
  462. document.onmousemove=mouse;
  463. function mouse(e) {
  464. set_scroll();
  465. y=(e)?e.pageY:event.y+sdown;
  466. x=(e)?e.pageX:event.x+sleft;
  467. }
  468.  
  469. function set_scroll() {
  470. if (typeof(self.pageYOffset)=="number") {
  471. sdown=self.pageYOffset;
  472. sleft=self.pageXOffset;
  473. }
  474. else if (document.body.scrollTop || document.body.scrollLeft) {
  475. sdown=document.body.scrollTop;
  476. sleft=document.body.scrollLeft;
  477. }
  478. else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
  479. sleft=document.documentElement.scrollLeft;
  480. sdown=document.documentElement.scrollTop;
  481. }
  482. else {
  483. sdown=0;
  484. sleft=0;
  485. }
  486. }
  487.  
  488. window.onresize=set_width;
  489. function set_width() {
  490. if (typeof(self.innerWidth)=="number") {
  491. swide=self.innerWidth;
  492. shigh=self.innerHeight;
  493. }
  494. else if (document.documentElement && document.documentElement.clientWidth) {
  495. swide=document.documentElement.clientWidth;
  496. shigh=document.documentElement.clientHeight;
  497. }
  498. else if (document.body.clientWidth) {
  499. swide=document.body.clientWidth;
  500. shigh=document.body.clientHeight;
  501. }
  502. }
  503.  
  504. function createDiv(height, width) {
  505. var div=document.createElement("div");
  506. div.style.position="absolute";
  507. div.style.height=height+"px";
  508. div.style.width=width+"px";
  509. div.style.overflow="hidden";
  510. div.style.backgroundColor=colour;
  511. return (div);
  512. }
  513. // ]]>
  514. </script>
  515. {/block:ifcursorsparkles}
  516. </head>
  517.  
  518. <body>
  519. <div id="wrapper">
  520.  
  521.  
  522. <div id="sidebar">
  523. <img src="{image:sidebar}" title="{text:sidebar image hover}">
  524. {block:Description}
  525. <p>{Description}</p>
  526. {/block:Description}
  527. {block:iflinks}
  528. <div id="links">
  529. <a href="{text:link 1 url}">{text:link 1}</a> {text:link divider}
  530. <a href="{text:link 2 url}">{text:link 2}</a> {text:link divider}
  531. <a href="{text:link 3 url}">{text:link 3}</a>
  532. </div>
  533. {/block:iflinks}
  534. {block:SubmissionsEnabled}
  535. <a href="/ask">{SubmitLabel}</a><br>
  536. {/block:SubmissionsEnabled}
  537. {block:HasPages}
  538. {block:Pages}
  539. <a href="{URL}">{Label}</a><br>
  540. {/block:Pages}
  541. {/block:HasPages}
  542. </div>
  543.  
  544.  
  545.  
  546. <div id="content">
  547. {block:Posts}
  548.  
  549. <div class="post">
  550.  
  551. {block:Text}
  552. {block:Title}
  553. <div class="title">{Title}</div>
  554. {/block:Title}
  555. {Body}
  556. {/block:Text}
  557.  
  558. {block:Photo}
  559. <div class="media">{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</div>
  560. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  561. {/block:Photo}
  562.  
  563. {block:Photoset}
  564. <div class="media">{Photoset-400}</div>
  565. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  566. {/block:Photoset}
  567.  
  568. {block:Quote}
  569. <div class="quote">"{Quote}"</div>
  570. {block:Source}
  571. <div class="quotesource">{Source}</div>
  572. {/block:Source}
  573. {/block:Quote}
  574.  
  575. {block:Link}
  576. <div class="title"><a href="{URL}">{Name}</a></div>
  577. {block:Description}
  578. <div class="description">{Description}</div>
  579. {/block:Description}
  580. {/block:Link}
  581.  
  582. {block:Chat}
  583. {block:Title}
  584. <div class="title">{Title}</div>
  585. {/block:Title}
  586.  
  587. {block:Lines}
  588. <div class="{Alt} user_{UserNumber}">
  589. {block:Label}
  590. <b>{Label}</b>{/block:Label}
  591. &nbsp;{Line}
  592. </div>
  593. {/block:Lines}
  594. {/block:Chat}
  595.  
  596. {block:Video}
  597. <div class="media">{Video-400}</div>
  598. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  599. {/block:Video}
  600.  
  601. {block:AudioPlayer}
  602. <div class="audiowrapper">
  603. {block:AlbumArt}
  604. <div class="audioimgwrapper"><img src="{AlbumArtURL}"></div>
  605. {/block:AlbumArt}
  606. <div class="playerbuttonbg">
  607. <div class="newplayerbutton">
  608. <div class="playerbuttonhug">
  609. {AudioPlayerWhite}
  610. </div>
  611. </div>
  612. </div>
  613. <div class="trackdetails">
  614. {block:TrackName}{TrackName}{/block:TrackName}<br/>
  615. {block:Artist}Artist: {Artist}{/block:Artist}<br/>
  616. </div>
  617. </div>
  618. {block:Caption}{Caption}{/block:Caption}
  619. {/block:AudioPlayer}
  620.  
  621. {block:Answer}
  622. <div class="question">{Asker}: {Question}</div>
  623. <div class="caption">{Answer}</div>
  624. {/block:Answer}
  625.  
  626. <div id="info">
  627. <br>
  628. {block:RebloggedFrom}<a href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}
  629. {text:permalink divider} {block:ContentSource}<a href="{SourceURL}">src</a>{/block:ContentSource}</p>
  630.  
  631. {block:HasTags}{block:Tags}<a href="{TagURL}"> {Tag} </a>
  632. {/block:Tags}{/block:HasTags}
  633.  
  634. {block:PermalinkPage}
  635. {block:NoteCount}
  636. {block:PostNotes}{PostNotes}{/block:PostNotes}
  637. {/block:NoteCount}
  638. {/block:PermalinkPage}
  639. {/block:Date}
  640.  
  641. </div>
  642.  
  643. </div>
  644. {/block:Posts}
  645.  
  646. {block:Pagination}
  647. <div id="nav">
  648. {block:PreviousPage}<a href="{PreviousPage}">prev</a>{/block:PreviousPage}
  649.  
  650. {block:NextPage}<a href="{NextPage}">next</a>{/block:NextPage}
  651. </div>
  652. {/block:Pagination}
  653. </div>
  654. </div>
  655.  
  656. <div id="credit">
  657. <a title="theme by ophie!" href="http://poisons.tumblr.com"><img src="http://78.media.tumblr.com/ff9471f2bfcdc1c599d1cd8319e25624/tumblr_inline_n3k81xKlug1rd8m3k.gif"></a>
  658. </div>
  659.  
  660. </div>
  661.  
  662. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  663. <script>window.jQuery || document.write('<script src="http://static.tumblr.com/qxrkgx6/q6kmgn2w2/jquery-1.8.3.min.js"><\/script>')</script>
  664.  
  665. </body>
  666. </html>
Advertisement
Add Comment
Please, Sign In to add comment