kyoukaizumi

kyouka demands

Mar 10th, 2018
4,094
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.49 KB | None | 0 0
  1. <html>
  2. <!--
  3.  
  4.  
  5. kyouka demands theme
  6. by mila @55minutes
  7. base code by nezzi00
  8.  
  9.  
  10. please dont remove credit etc ty
  11. lmk if there are any bugs~❣
  12.  
  13.  
  14. -->
  15. <title>{Title}</title>
  16. <link rel="shortcut icon" href="{image:favicon}">
  17.  
  18. <meta name="image:favicon" content=""/>
  19. <meta name="image:icon" content=""/>
  20. <meta name="image:bg" content=""/>
  21. <meta name="image:pixel 1" content=""/>
  22. <meta name="image:pixel 2" content=""/>
  23. <meta name="image:pixel 3" content=""/>
  24. <meta name="image:pixel 4" content=""/>
  25. <meta name="image:pixel 5" content=""/>
  26.  
  27. <meta name="color:background" content="#fff"/>
  28. <meta name="color:text" content="#d3d3d3"/>
  29. <meta name="color:tooltip" content="#eee">
  30. <meta name="color:tooltip bg" content="#fff">
  31. <meta name="color:link" content="#ADD8E6"/>
  32. <meta name="color:link hover" content="#72bcd4"/>
  33. <meta name="color:link border" content="#fff"/>
  34. <meta name="color:link bg" content="#fff"/>
  35. <meta name="color:link bg hover" content="#fff"/>
  36. <meta name="color:text shadow" content="#eee">
  37.  
  38.  
  39. <meta name="if:circle icon" content="" />
  40. <meta name="if:desc" content="1"/>
  41. <meta name="if:pixels" content="1"/>
  42. <meta name="if:text shadow" content="0"/>
  43. <meta name="if:rainbow links" content="0"/>
  44. <meta name="if:link border" content="1"/>
  45. <meta name="if:caption" content="1">
  46. <meta name="if:full bg" content="0"/>
  47. <meta name="if:link bg" content="" />
  48.  
  49.  
  50. <meta name="select:post size" content="350px"/>
  51. <meta name="select:post size" content="400px"/>
  52. <meta name="select:post size" content="450px"/>
  53. <meta name="select:post size" content="500px"/>
  54.  
  55.  
  56. <meta name="select:text style" content="none" title="auto"/>
  57. <meta name="select:text style" content="uppercase"/>
  58. <meta name="select:text style" content="lowercase"/>
  59.  
  60. <meta name="text:font" content="arial"/>
  61. <meta name="text:font size" content="15"/>
  62. <meta name="text:link divider" content="/"/>
  63. <meta name="text:notes" content="!"/>
  64. <meta name="text:link 1" content=""/>
  65. <meta name="text:link 1 url" content="/"/>
  66. <meta name="text:link 2" content=""/>
  67. <meta name="text:link 2 url" content="/"/>
  68. <meta name="text:link 3" content=""/>
  69. <meta name="text:link 3 url" content="/"/>
  70.  
  71. <style>
  72.  
  73.  
  74. body {
  75.  
  76. font-size: {text:font size}px;
  77. text-transform:{select:text style};
  78. color: {color:text};
  79. background-image: url('{image:bg}');
  80. {block:ifnotfullbg}
  81. background-repeat: repeat;
  82. background-attachment: fixed;
  83. {/block:ifnotfullbg}
  84. {block:iffullbg}
  85. background-size: cover;
  86. background-attachment: fixed;
  87. {/block:iffullbg}
  88. background-color: {color:background};
  89. font-family: {text:font};
  90. {block:iftextshadow}
  91. text-shadow:0 0 3px {color:text shadow};
  92. {/block:iftextshadow}
  93. }
  94.  
  95. ul {
  96. list-style-type: dotted;
  97.  
  98. }
  99.  
  100. a, a:visited {
  101.  
  102.  
  103. {block:iflinkbg}
  104. background:{color:link bg};
  105. {/block:iflinkbg}
  106. text-decoration: none;
  107. color:{color:link};
  108. {block:iflinkborder}
  109. text-shadow: -1px 0 {color:link border}, 0 1px {color:link border}, 1px 0 {color:link border}, 0 -1px {color:link border};{/block:iflinkborder}
  110. -webkit-transition-duration: .3s;
  111. -moz-transition-duration: .3s;
  112. -o-transition-duration: .3s;
  113.  
  114. }
  115.  
  116. a:hover {
  117.  
  118. {block:iflinkbg}
  119. background:{color:link bg hover};
  120. {/block:iflinkbg}
  121. color:{color:link hover};
  122. transition-duration: .3s;
  123. -webkit-transition-duration: .3s;
  124. -moz-transition-duration: .3s;
  125. -o-transition-duration: .3s;
  126. }
  127.  
  128. #entries {
  129.  
  130. position: relative;
  131. padding: 15px;
  132. width: {select:post size};
  133. margin: auto 5px 20px 500px;
  134.  
  135. }
  136.  
  137. #entries blockquote {
  138.  
  139. color: {color:text};
  140. border-left: 1px dashed {color:text};
  141. padding: 0px 0px 0px 5px;
  142.  
  143. }
  144.  
  145. #sidebar {
  146.  
  147. position:fixed;
  148. margin-left: 170px;
  149. margin-top: 25px;
  150. width: 190px;
  151. height: 265px;
  152.  
  153. }
  154.  
  155.  
  156. #sidebar img {
  157.  
  158. margin-top: 10px;
  159. width:180px;
  160. {block:ifcircleicon}
  161. border-radius:100px;
  162. {/block:ifcircleicon}
  163. background:transparent;
  164.  
  165. }
  166.  
  167.  
  168.  
  169. #sidebar .clicky {
  170.  
  171. margin-top: 10px;
  172. }
  173.  
  174. }
  175. #sidebar .desc {
  176.  
  177. margin-top: 10px;
  178. width: 180px;
  179. }
  180.  
  181. #pipoca {
  182. margin-top:5px;
  183. }
  184.  
  185. #pipoca img {
  186. width: auto;
  187. border-radius:0px;
  188. }
  189.  
  190.  
  191. .ask {
  192. padding: 5px;
  193.  
  194. }
  195.  
  196. #credit {
  197.  
  198. font-size: 17px;
  199. position: fixed;
  200. padding: 7px;
  201. width: 10px;
  202. height: 7;
  203. line-height: 90%;
  204. bottom: 5px;
  205. left: 5px;
  206. }
  207.  
  208.  
  209. #pages {
  210. padding:5px;
  211. font-size: {text:font size}px;
  212. }
  213.  
  214.  
  215. .tooltip{
  216. display: inline;
  217. position: relative;
  218. }
  219.  
  220. #s-m-t-tooltip {
  221. max-width:230px;
  222. text-align:center;
  223. border-radius:5px;
  224. margin:20px 0 0 25px;
  225. background-color:{color:tooltip bg};
  226. color:{color:tooltip};
  227. letter-spacing:1px;
  228. word-wrap:break-word;
  229. z-index:999999999999999999999999999999999999;
  230. -webkit-transition:all 0.2s linear; -moz-transition:all 0.2s linear; -o -transition-duration:0.2s; transition:all 0.2s linear;
  231. -webkit-box-shadow: 0px 0px 8px 9px transparent;
  232. box-shadow: 0px 0px 5px 9px transparent;
  233. }
  234.  
  235. </style>
  236.  
  237. <head>
  238.  
  239.  
  240. <link href="https://fonts.googleapis.com/css?family=Short+Stack" rel="stylesheet">
  241.  
  242. <link href="https://fonts.googleapis.com/css?family=Karla" rel="stylesheet">
  243.  
  244. {block:ifrainbowlinks}
  245. <script type='text/javascript'>
  246. //<![CDATA[
  247. var rate = 50;
  248. if (document.getElementById)
  249. window.onerror=new Function("return true")
  250.  
  251. var objActive; // The object which event occured in
  252. var act = 0; // Flag during the action
  253. var elmH = 0; // Hue
  254. var elmS = 100; // Saturation
  255. var elmV = 255; // Value
  256. var clrOrg; // A color before the change
  257. var TimerID; // Timer ID
  258. if (document.all) {
  259. document.onmouseover = doRainbowAnchor;
  260. document.onmouseout = stopRainbowAnchor;
  261. }
  262. else if (document.getElementById) {
  263. document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
  264. document.onmouseover = Mozilla_doRainbowAnchor;
  265. document.onmouseout = Mozilla_stopRainbowAnchor;
  266. }
  267. function doRainbow(obj)
  268. {
  269. if (act == 0) {
  270. act = 1;
  271. if (obj)
  272. objActive = obj;
  273. else
  274. objActive = event.srcElement;
  275. clrOrg = objActive.style.color;
  276. TimerID = setInterval("ChangeColor()",100);
  277. }
  278. }
  279. function stopRainbow()
  280. {
  281. if (act) {
  282. objActive.style.color = clrOrg;
  283. clearInterval(TimerID);
  284. act = 0;
  285. }
  286. }
  287. function doRainbowAnchor()
  288. {
  289. if (act == 0) {
  290. var obj = event.srcElement;
  291. while (obj.tagName != 'A' && obj.tagName != 'BODY') {
  292. obj = obj.parentElement;
  293. if (obj.tagName == 'A' || obj.tagName == 'BODY')
  294. break;
  295. }
  296. if (obj.tagName == 'A' && obj.href != '') {
  297. objActive = obj;
  298. act = 1;
  299. clrOrg = objActive.style.color;
  300. TimerID = setInterval("ChangeColor()",100);
  301. }
  302. }
  303. }
  304. function stopRainbowAnchor()
  305. {
  306. if (act) {
  307. if (objActive.tagName == 'A') {
  308. objActive.style.color = clrOrg;
  309. clearInterval(TimerID);
  310. act = 0;
  311. }
  312. }
  313. }
  314. function Mozilla_doRainbowAnchor(e)
  315. {
  316. if (act == 0) {
  317. obj = e.target;
  318. while (obj.nodeName != 'A' && obj.nodeName != 'BODY') {
  319. obj = obj.parentNode;
  320. if (obj.nodeName == 'A' || obj.nodeName == 'BODY')
  321. break;
  322. }
  323. if (obj.nodeName == 'A' && obj.href != '') {
  324. objActive = obj;
  325. act = 1;
  326. clrOrg = obj.style.color;
  327. TimerID = setInterval("ChangeColor()",100);
  328. }
  329. }
  330. }
  331. function Mozilla_stopRainbowAnchor(e)
  332. {
  333. if (act) {
  334. if (objActive.nodeName == 'A') {
  335. objActive.style.color = clrOrg;
  336. clearInterval(TimerID);
  337. act = 0;
  338. }
  339. }
  340. }
  341. function ChangeColor()
  342. {
  343. objActive.style.color = makeColor();
  344. }
  345. function makeColor()
  346. {
  347. // Don't you think Color Gamut to look like Rainbow?
  348. // HSVtoRGB
  349. if (elmS == 0) {
  350. elmR = elmV; elmG = elmV; elmB = elmV;
  351. }
  352. else {
  353. t1 = elmV;
  354. t2 = (255 - elmS) * elmV / 255;
  355. t3 = elmH % 60;
  356. t3 = (t1 - t2) * t3 / 60;
  357. if (elmH < 60) {
  358. elmR = t1; elmB = t2; elmG = t2 + t3;
  359. }
  360. else if (elmH < 120) {
  361. elmG = t1; elmB = t2; elmR = t1 - t3;
  362. }
  363. else if (elmH < 180) {
  364. elmG = t1; elmR = t2; elmB = t2 + t3;
  365. }
  366. else if (elmH < 240) {
  367. elmB = t1; elmR = t2; elmG = t1 - t3;
  368. }
  369. else if (elmH < 300) {
  370. elmB = t1; elmG = t2; elmR = t2 + t3;
  371. }
  372. else if (elmH < 360) {
  373. elmR = t1; elmG = t2; elmB = t1 - t3;
  374. }
  375. else {
  376. elmR = 0; elmG = 0; elmB = 0;
  377. }
  378. }
  379. elmR = Math.floor(elmR).toString(16);
  380. elmG = Math.floor(elmG).toString(16);
  381. elmB = Math.floor(elmB).toString(16);
  382. if (elmR.length == 1) elmR = "0" + elmR;
  383. if (elmG.length == 1) elmG = "0" + elmG;
  384. if (elmB.length == 1) elmB = "0" + elmB
  385. elmH = elmH + rate;
  386. if (elmH >= 360)
  387. elmH = 0;
  388. return '#' + elmR + elmG + elmB;
  389. }
  390. //]]>
  391. </script>
  392. {/block:ifrainbowlinks}
  393.  
  394.  
  395. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script><script src="https://static.tumblr.com/rtrqcib/VGGnlh8rf/jquery.style-my-tooltips.min.js"></script><script>(function($){$(document).ready(function(){$("a[title]").style_my_tooltips({tip_follows_cursor:true,tip_delay_time:0,tip_fade_speed:0,attribute:"title"});});})(jQuery);</script>
  396.  
  397. </head>
  398.  
  399. <body>
  400.  
  401.  
  402. <div id="sidebar">
  403. <center>
  404.  
  405.  
  406. <a href="/" title="{title}"><img src="{image:icon}"></a>
  407.  
  408.  
  409. <div class="clicky">
  410. {block:iflink1}
  411. <a href="{text:link 1 url}">{text:link 1}</a>
  412. {/block:iflink1}
  413. {block:iflink2}
  414. {text:link divider} <a href="{text:link 2 url}">{text:link 2}</a>
  415. {/block:iflink2}
  416. {block:iflink3}
  417. {text:link divider} <a href="{text:link 3 url}">{text:link 3}</a>
  418. {/block:iflink3}
  419. </div>
  420.  
  421. {block:ifdesc}
  422. <div class="desc">
  423. {Description}
  424. </div>
  425. {/block:ifdesc}
  426.  
  427.  
  428. {block:ifpixels}
  429. <div id="pipoca"><center>
  430. <img src="{image:pixel 1}"><br>
  431. <img src="{image:pixel 2}"><br>
  432. <img src="{image:pixel 3}"><br>
  433. <img src="{image:pixel 4}"><br>
  434. <img src="{image:pixel 5}">
  435. </center>
  436. {/block:ifpixels}
  437.  
  438. <div id="pages"><center>
  439.  
  440. {block:PreviousPage}
  441. <a href="{PreviousPage}">back</a> {text:link divider}
  442. {/block:PreviousPage}
  443.  
  444. {block:NextPage}
  445. <a href="{NextPage}">next</a>
  446. {/block:NextPage}
  447. </div></center>
  448.  
  449. </div>
  450.  
  451. <div id="credit">
  452. <b><a href="http://55minutes.tumblr.com"> 55 </a></b>
  453. </div>
  454.  
  455.  
  456.  
  457. <!-- POSTS -->
  458.  
  459. <div id="content">
  460.  
  461. {block:Posts}
  462. <div id="entries">
  463.  
  464.  
  465.  
  466. {block:NoRebloggedFrom}
  467. {block:RebloggedFrom}
  468. {ReblogParentName}
  469. {/block:RebloggedFrom}
  470. {/block:NoRebloggedFrom}
  471.  
  472.  
  473. {block:ContentSource}
  474. <!-- {SourceURL}
  475. {block:SourceLogo}
  476. <img src="{BlackLogoURL}"width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  477. {/block:SourceLogo}
  478. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  479. {/block:ContentSource}
  480.  
  481.  
  482. {block:Text}
  483. {block:Title}
  484. <b>{Title}</b>
  485. {block:Title}
  486. {Body}
  487. {/block:Text}
  488.  
  489. {block:Photo}
  490. {LinkOpenTag}
  491. <center><img src="{PhotoURL-400}" alt="{PhotoAlt}" style="width: {select:post size};"></center>
  492. {LinkCloseTag}
  493. {block:Caption}
  494. {block:ifcaption}
  495. {Caption}
  496. {/block:ifcaption}
  497. {/block:Caption}
  498. <center>
  499. {/block:Photo}</center>
  500. {block:Photoset}
  501. {LinkOpenTag}
  502. <center>{Photoset}</center>
  503. {LinkCloseTag}
  504. {block:Caption}
  505. {block:ifcaption}
  506. {Caption}
  507. {/block:ifcaption}
  508. {/block:Caption}
  509. {/block:Photoset}
  510.  
  511. {block:Quote}
  512. {Quote}
  513. {block:Source}
  514. {Source}
  515. {/block:Source}
  516. {/block:Quote}
  517.  
  518. {block:Link}
  519. <a href="{URL}" target="_blank">{Name}</a>
  520. {block:Caption}
  521. {block:ifcaption}
  522. {Caption}
  523. {/block:ifcaption}
  524. {/block:Caption}
  525. {/block:Link}
  526.  
  527. {block:Chat}
  528. {block:Title}
  529. <b>{Title}</b>
  530. {/block:Title}
  531. {block:Lines}
  532. <div class="line {Alt}">
  533. {block:Label}
  534. <b>{Label}</b>
  535. {/block:Label}
  536. {Line}
  537. </div>
  538. {/block:Lines}
  539. {/block:Chat}
  540.  
  541. {block:Audio}
  542. {block:AudioPlayer}
  543. {AudioPlayer}
  544. {block:AudioPlayer}
  545. {block:TrackName}
  546. {TrackName}
  547. {/block:TrackName}
  548. {block:Artist}
  549. {Artist}
  550. {/block:Artist}
  551. {block:Caption}
  552. {block:ifcaption}
  553. {Caption}
  554. {/block:ifcaption}
  555. {/block:Caption}
  556. {/block:Audio}
  557.  
  558. {block:Video}
  559. <div style="overflow:hidden;">
  560. <center>{Video-400}</center>
  561. </div>
  562. {block:Caption}
  563. {block:ifcaption}
  564. {Caption}
  565. {/block:ifcaption}
  566. {block:Caption}
  567. {/block:Video}
  568.  
  569. {block:Answer}
  570. <div class="ask">
  571. {Asker} said:
  572. {Question}
  573. </div>
  574. {Answer}
  575. {block:Answerer}
  576. ({Answerer})
  577. {/block:Answerer}
  578. {/block:Answer}
  579.  
  580. <!-- PERMALINK -->
  581.  
  582. {block:Date}
  583. <div class="permalink" style="margin-top:5px;"><center>
  584. <a href="{Permalink}">{NoteCount}{text:notes}</a></center>
  585.  
  586.  
  587.  
  588. {block:PermalinkPage}
  589. <br><br><br>
  590. <div style="font-size:{text:font size}px;"><center>
  591. posted @ {ShortMonth}, {DayOfMonthwithSuffix}
  592.  
  593. {block:RebloggedFrom}<a href="{ReblogParentURL}">v</a>{/block:RebloggedFrom}{block:ContentSource} / <a href="{SourceURL}">s</a>{/block:ContentSource}
  594.  
  595. {block:HasTags}<br>{block:Tags}#<a href="{TagURL}">{tag} </a>{/block:Tags}{/block:HasTags}</div><br>
  596. {block:PostNotes}{PostNotes}{/block:PostNotes}</center>
  597. {/block:PermalinkPage}
  598. </a>
  599. </div></center>
  600. {/block:Date}
  601. </div>
  602. {/block:Posts}
  603.  
  604. </div>
  605. </div>
  606. </body>
  607. </html>
Advertisement
Add Comment
Please, Sign In to add comment