Advertisement
hor4ny

serenity theme idk - miserywishes

Sep 22nd, 2012
1,165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.72 KB | None | 0 0
  1. <!--
  2. Theme by miserywishes.
  3. Keep credit or put it in your FAQ.
  4.  
  5.  
  6. IF YOU USE THIS THEME AS A BASECODE, PLEASE ASK ME BEFORE PUBLISHING! I'LL KNOW IF YOU USE MY THEME BECAUSE OF THE REBLOG BUTTON.
  7.  
  8. Make sure you have 15 posts per page or else the infinite scrolling might not work. To do this, go to custumize than it should be under advanced.
  9.  
  10.  
  11. -->
  12.  
  13. <html lang="en">
  14. <!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  15. <html xmlns="http://www.w3.org/1999/xhtml">
  16. <head>
  17.  
  18.  
  19.  
  20.  
  21.  
  22. <script type="text/javascript">
  23. <!--
  24.  
  25. // Disable Right Click Script
  26.  
  27. function IE(e)
  28. {
  29. if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3"))
  30. {
  31. return false;
  32. }
  33. }
  34. function NS(e)
  35. {
  36. if (document.layers || (document.getElementById && !document.all))
  37. {
  38. if (e.which == "2" || e.which == "3")
  39. {
  40. return false;
  41. }
  42. }
  43. }
  44. document.onmousedown=IE;document.onmouseup=NS;document.oncontextmenu=new Function("return false");
  45.  
  46. //-->
  47. </script>
  48.  
  49.  
  50. <script type="text/javascript"
  51. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  52.  
  53. <!-- DEFAULT VARIABLES -->
  54. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  55. <meta name="color:background" content="#fff"/>
  56. <meta name="color:link" content="#777"/>
  57. <meta name="color:text" content="#777"/>
  58. <meta name="color:title" content="#333"/>
  59. <meta name="color:hover" content="#fff"/>
  60. <meta name="color:blogtitle" content="#777" />
  61. <meta name="text:blogtitle size" content="35" />
  62. <meta name="text:blogtitle margin top" content="-16" />
  63. <meta name="color:scrollbar" content="#ddd" />
  64. <meta name="image:sidebar" content=""/>
  65. <meta name="image:background" content="1"/>
  66. <meta name="if:show blog title" content="0"/>
  67. <meta name="if:scrollbar" content="1"/>
  68. <meta name="text:link one" content="" />
  69. <meta name="text:link one title" content="" />
  70. <meta name="text:link two" content="" />
  71. <meta name="text:link two title" content="" />
  72. <meta name="text:link three" content="" />
  73. <meta name="text:link three title" content="" />
  74. <meta name="text:link four" content="" />
  75. <meta name="text:link four title" content="" />
  76. <meta name="text:link five" content="" />
  77. <meta name="text:link five title" content="" />
  78.  
  79.  
  80. <style type="text/css">
  81.  
  82.  
  83.  
  84. {block:ifscrollbar}
  85. ::-webkit-scrollbar {width: 4px; height: 4px; border-left:0px solid #ccc; background:white;}
  86. ::-webkit-scrollbar-thumb { border-left:0px solid #ccc; background: {color:scrollbar};}
  87. {/block:ifscrollbar}
  88.  
  89. iframe#tumblr_controls {right:2px !important; position: fixed !important;-webkit-transition: opacity 0.7s linear;opacity: 0.05;-webkit-transition: all 0.8s ease-out;-moz-
  90.  
  91. transition: all 0.8s ease-out;transition: all 0.8s ease-out;}
  92.  
  93. iframe#tumblr_controls:hover{-webkit-transition: opacity 0.7s linear;opacity: 0.8;-webkit-transition: all 0.4s ease-out;-moz-transition: all 0.4s ease-out;transition: all
  94.  
  95. 0.4s ease-out;}
  96.  
  97. p {
  98. margin:0px;
  99. margin-top:0px;
  100. }
  101.  
  102.  
  103.  
  104. body {
  105. padding: 0px;
  106. margin: 0px;
  107. color:{color:text};
  108. font-family: dixel;
  109. line-height:7px;
  110. font-size:8px;
  111. background-color: {color:Background};
  112. background-image:url({image:Background});
  113. background-attachment: fixed;
  114. background-repeat: repeat;
  115. }
  116.  
  117.  
  118. a:link, a:active, a:visited{
  119. text-decoration: none;
  120. -webkit-transition: color 0.3s ease-out;
  121. -moz-transition: color 0.3s ease-out;
  122. transition: color 0.3s ease-out;
  123. color:{color:link};
  124. }
  125.  
  126. a:hover {
  127. text-decoration: none;
  128. font-style:;
  129. text-shadow:0px 0px 2px #000;
  130. color: {color:Hover};
  131. }
  132.  
  133. div#center{
  134. margin:auto;
  135. position:relative;
  136. width:1000px;
  137. background-color:;
  138. overflow:auto;
  139. overflow-y:hidden;
  140. }
  141.  
  142. .entry {
  143. float:left;
  144. display: block;
  145. margin:3px;
  146. line-height:7px;
  147. padding:4px;
  148. border:1px dotted #bbb;
  149. overflow:hidden;
  150. width:200px;
  151. opacity:0.7;
  152. {block:PermalinkPage}
  153. width:415px;
  154. text-align:left;
  155. line-height:10px;
  156. {/block:PermalinkPage}
  157. background:white;
  158. background-image:URL();
  159. transition: all 0.5s ease-out;
  160. -o-transition-transition: all 0.5s ease-out;
  161. -webkit-transition: all 0.5s ease-out;
  162. -moz-transition: all 0.5s ease-out;
  163. }
  164.  
  165. .entry:hover{
  166. opacity:0.9;}
  167. .entry .perma a{
  168. color:#444444;}
  169.  
  170.  
  171. .entry .perma{
  172. width:38px;
  173. height:30px;
  174. position: absolute;
  175. line-height: 33px;
  176. overflow:hidden;
  177. font-family:dixel;
  178. text-align:left;
  179. padding-left:6px;
  180. font-size:8px;
  181. left:-50px;
  182. bottom:2px;
  183. border-right:1px solid #f2f2f2;
  184. border-top:1px solid #f2f2f2;
  185. background:white;
  186. letter-spacing: 0px;
  187. opacity: 0.0;
  188. transition: all 0.7s ease-out;
  189. -o-transition-transition: all 0.7s ease-out;
  190. -webkit-transition: all 0.7s ease-out;
  191. -moz-transition: all 0.7s ease-out;
  192. border-top-right-radius:90px;
  193. -moz-border-top-right-radius:90px;
  194. -webkit-border-top-right-radius:90px;
  195.  
  196. }
  197.  
  198. .entry:hover .perma{
  199. margin-left: 0px;
  200. left:2px;
  201. overflow:visible;
  202. opacity:0.85;
  203. transition: all 0.7s ease-out;
  204. -o-transition-transition: all 0.7s ease-out;
  205. -webkit-transition: all 0.7s ease-out;
  206. -moz-transition: all 0.7s ease-out;
  207. }
  208.  
  209. #posts {
  210. width:500px;
  211. margin-top:3px;
  212. margin-left:315px;
  213. right:auto;
  214. background:transparent;
  215. margin-right:auto;
  216. position:relative;
  217. overflow-y: hidden;
  218. }
  219.  
  220.  
  221. #sidebar{
  222. position:fixed !important;
  223. width:160px;
  224. background-image:url('');
  225. background:white;
  226. height:auto;
  227. padding:4px;
  228. margin-top:170px;
  229. margin-left:140px;
  230. text-align:center;
  231. z-index:999;
  232. opacity:0.8;
  233. border:0px dotted #bbb;
  234. transition: all 0.7s ease-out;
  235. -o-transition-transition: all 0.7s ease-out;
  236. -webkit-transition: all 0.7s ease-out;
  237. -moz-transition: all 0.7s ease-out;
  238. }
  239.  
  240.  
  241. #sidebar:hover{
  242. opacity:1;
  243. }
  244.  
  245. #linksss{
  246. width:50px;
  247. height:auto;
  248. padding-bottom:3px;
  249. padding-top:3px;
  250. background-color:;
  251. z-index:1;
  252. line-height:10px;
  253. position:fixed;
  254. margin-top:10px;
  255. text-align:right;
  256. margin-left:-58px;
  257. padding-right:3px;
  258. border-right:1px dotted #ccc;
  259. opacity:1;
  260. transition: all 0.7s ease-out;
  261. -o-transition-transition: all 0.7s ease-out;
  262. -webkit-transition: all 0.7s ease-out;
  263. -moz-transition: all 0.7s ease-out;
  264. }
  265.  
  266.  
  267. #sidebarpic{
  268. opacity:1;
  269. width:160px;
  270. transition: all 0.7s ease-out;
  271. -o-transition-transition: all 0.7s ease-out;
  272. -webkit-transition: all 0.7s ease-out;
  273. -moz-transition: all 0.7s ease-out;
  274. }
  275.  
  276. #sidebarpic img{
  277. width:160px;
  278. }
  279.  
  280. .title{
  281. font-family:swenson;
  282. font-size: 22px;
  283. line-height: 18px;
  284. color:{color:Title};
  285. text-transform:lowercase;
  286. letter-spacing: 1px;
  287. font-weight: normal;
  288. padding:0px 0px 0px 0px;
  289. }
  290.  
  291. @font-face { font-family: "dixel"; src: url('http://static.tumblr.com/jdjsstr/8ovm78cbb/pf_arma_five_1_.ttf'); }
  292.  
  293.  
  294. @font-face { font-family: "swenson"; src: url('http://static.tumblr.com/q54tzar/PHem21foh/swenson_1_.ttf'); }
  295.  
  296.  
  297. #blogtitle{
  298. color:{color:blogtitle};
  299. width:160px;
  300. letter-spacing:0px;
  301. text-align:right;
  302. position:fixed;
  303. font-family:swenson;
  304. font-size:{text:blogtitle size}px;
  305. margin-top:{text:blogtitle margin top}px;
  306. }
  307.  
  308.  
  309.  
  310. .permalink{
  311. text-transform: normal;
  312. display: block;
  313. text-align: right;
  314. text-decoration: none;
  315. }
  316.  
  317. #infscr-loading{
  318. bottom: -70px;
  319. position: absolute;
  320. left: 50%;
  321. margin-left:-8px;
  322. width:16px;
  323. height:11px;
  324. overflow:hidden;
  325. margin-bottom: 50px;
  326. }
  327.  
  328. #postnotes{
  329. text-align: justify;}
  330.  
  331. #postnotes blockquote{
  332. border: 0px;}
  333.  
  334. blockquote{
  335. padding:0px 0px 2px 5px;
  336. margin:0px 0px 2px 10px;
  337. border-left: 1px dotted #555555;
  338. }
  339.  
  340. blockquote p, ul{
  341. margin:0px;
  342. padding:0px;
  343. }
  344.  
  345. a img{border: 0px;}
  346.  
  347.  
  348. ul, ol, li{list-style:none; margin:0px; padding:0px;}
  349.  
  350. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label,
  351. .user_7 .label, .user_8 .label, .user_9 .label {color:{color:text};}
  352.  
  353. .notes img{width:10px; position:relative; top:3px;}
  354. <--ses-->
  355. small{font-size: 90%;}
  356.  
  357. {CustomCSS}
  358.  
  359. </style>
  360.  
  361. {block:IndexPage}
  362. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  363. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  364.  
  365. <script type="text/javascript">
  366. $(window).load(function(){
  367. var $wall = $('#posts');
  368. $wall.imagesLoaded(function(){
  369. $wall.masonry({
  370. itemSelector: '.entry, .entry_photo',
  371. isAnimated : false
  372. });
  373. });
  374.  
  375. $wall.infinitescroll({
  376. navSelector : '#pagination',
  377. nextSelector : '#pagination a',
  378. itemSelector : '.entry, .entry_photo',
  379. bufferPx : 2000,
  380. debug : false,
  381. errorCallback: function() {
  382. $('#infscr-loading').fadeOut('normal');
  383. }},
  384. function( newElements ) {
  385. var $newElems = $( newElements );
  386. $newElems.hide();
  387. $newElems.imagesLoaded(function(){
  388. $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
  389. });
  390. }); $('#posts').show(500);
  391. });
  392. </script>
  393.  
  394.  
  395. {/block:IndexPage}
  396.  
  397.  
  398. <title>{title}</title>
  399.  
  400. <link rel="shortcut icon" href="{Favicon}" />
  401. <meta name="viewport" content="width=820" />
  402. </head>
  403.  
  404. <body>
  405.  
  406. <div class="wrapper">
  407. <div class="header">
  408. </div>
  409.  
  410. <div id="cage">
  411. <div id="center">
  412. <div id="sidebar">{block:ifshowblogtitle}<div id="blogtitle">{title}</div>{/block:ifshowblogtitle}
  413.  
  414. <center>
  415. <div id="linksss">
  416. <a href="{text:link one}">{text:link one title}</a><br><a href="{text:link two}">{text:link two title}</a><br><a href="{text:link three}">{text:link three title}</a>{block:iflinkfourtitle}<br><a href="{text:link four}">{text:link four title}</a>{/block:iflinkfourtitle}{block:iflinkfivetitle}<br><a href="{text:link five}">{text:link five title}</a>
  417. {/block:iflinkfivetitle}</div>
  418. <div id="sidebarpic"><a href="/"><img src="{image:sidebar}"></a></div>
  419. {Description}
  420. </div>
  421. </center>
  422.  
  423.  
  424. <div class="left">
  425. <div id="posts">
  426. {block:Posts}
  427. <div class="entry">
  428.  
  429. {block:Answer}
  430. <div style="margin-top:2px; margin-bottom:0px; min-height:30px; padding: 3px; background-color: #eee;">
  431. <img src="{AskerPortraitURL-30}" width="30" align="left" style="margin-right:3px;"/>
  432. {Asker}: {Question}</div>
  433. <div style="margin-top:2px; margin-bottom:4px; background: transparent;">{Answer}</div>
  434. <div class="permalink"> <a href="{permalink}">{notecountwithlabel}</a> </div>
  435. {/block:Answer}
  436.  
  437. {block:Text}{block:Title}<span class="title">{Title}</span>{/block:Title}<span class="body">{Body}</span><p align=right><span class="permalink"><a
  438.  
  439. href="{Permalink}"><a href="{Permalink}"><a href="{Permalink}">{notecountwithlabel}</a></a><br>{/block:HasTags}</span></align>
  440. {/block:Text}
  441.  
  442. {block:Link}<a href="{URL}" class="title">{Name}</a>{block:Description}<div class="body">{Description}</div>{/block:Description} <p align=right><span
  443.  
  444. class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"></span></align>{block:Link}
  445.  
  446. {block:Photo}
  447. {block:IndexPage}
  448. <center>
  449. <div class="perma">
  450. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  451. <div class="photo"><a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="100%"/></a></div>
  452. {/block:IndexPage}
  453. {block:PermalinkPage}
  454. {LinkOpenTag}<div class="photo"><a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="100%"/></a></div>
  455.  
  456. {LinkCloseTag}
  457. {/block:PermalinkPage}
  458. {/block:Photo}
  459.  
  460. {block:Photoset}
  461. {block:IndexPage}
  462. <center>
  463. <div class="perma">
  464. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  465. {Photoset-250}</center>
  466. {/block:IndexPage}
  467. {block:PermalinkPage}
  468. <center>
  469. {Photoset-500}</center>
  470. {/block:PermalinkPage}
  471. {/block:Photoset}
  472.  
  473. {block:Quote}<span class="title">"{Quote}"</span> — {block:Source}<b>{Source}</b>{/block:Source}<br><p align=right><span class="permalink"><a
  474.  
  475. href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"> </span>{/block:Quote}
  476.  
  477. {block:Chat}{block:Title}<span class="title">{Title}</span>{/block:Title}
  478. <ul class="chat">
  479. {block:Lines}
  480. <li class="user_{UserNumber}">
  481. {block:Label}
  482. <span class="label">{Label}</span>
  483. {/block:Label}
  484.  
  485. {Line}
  486. </li>
  487. {/block:Lines}
  488. <p align=right><span class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}">
  489. {/block:Chat}
  490.  
  491. {block:Audio}
  492. <div style="width:200px; height:30px;">
  493. {AudioPlayerBlack}
  494. </div>
  495. {block:IndexPage}<span class="permalink">
  496. <p align=right><span class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"> </a>
  497. </span>{/block:IndexPage}
  498. {/block:Audio}
  499.  
  500. {block:Video}
  501. {block:IndexPage}
  502. <center>
  503. <div class="perma">
  504. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  505. {Video-250}</center>
  506. {/block:IndexPage}
  507. {block:PermalinkPage}
  508. <center>
  509. {Video-400}</center>
  510. {/block:PermalinkPage}
  511. {block:Video}
  512.  
  513.  
  514. {block:PostNotes}<div align="middle">{caption}</div>
  515. <center>
  516.  
  517. {block:NoteCount}{NoteCountWithLabel}<br>{/block:NoteCount}
  518.  
  519. {block:HasTags}
  520. tags: {block:Tags}<a href="{TagURL}">{Tag}. </a>{/block:Tags}<br> {/block:HasTags}
  521. {block:RebloggedFrom}
  522. reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a><br>
  523. posted by <a href="{ReblogRootURL}">{ReblogRootName}</a>
  524.  
  525. {/block:RebloggedFrom}
  526. </center></span>
  527. <br>
  528. <div id="postnotes">{PostNotes}</div><br>
  529.  
  530. <center>{block:ContentSource}
  531. <br><a href="{SourceURL}">
  532. {lang:Source}:
  533. {block:SourceLogo}
  534. <img src="{BlackLogoURL}" width="{LogoWidth}"
  535. height="{LogoHeight}" alt="{SourceTitle}" />
  536. {/block:SourceLogo}
  537. {block:NoSourceLogo}
  538. {SourceLink}
  539. {/block:NoSourceLogo}
  540. </a>
  541. {/block:ContentSource}</center>
  542.  
  543. {/block:PostNotes}
  544. </div>
  545. {/block:Posts}
  546. </div></div>
  547.  
  548. {block:IndexPage}
  549. {block:Pagination}
  550. <div id="pagination">
  551. {block:NextPage}
  552. <a id="nextPage" href="{NextPage}"></a>
  553. {/block:NextPage}
  554. {block:PreviousPage}
  555. <a href="{PreviousPage}"></a>
  556. {/block:PreviousPage}
  557. </div>
  558. {/block:Pagination}
  559. {/block:IndexPage}
  560. </body>
  561. <div style="position:fixed;right:5px;bottom:5px;"><a href="http://miserywishes.tumblr.com">&hearts;</a></div>
  562. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement