oph

are you cereal theme

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