Advertisement
hor4ny

idk what number theme this is w/ popups

Sep 4th, 2012
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.85 KB | None | 0 0
  1. <!--
  2. Theme by miserywishes.
  3. Keep credit or put it in your FAQ. OK
  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.  
  9.  
  10. 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.
  11.  
  12. -->
  13.  
  14. <html lang="en">
  15. <!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  16. <html xmlns="http://www.w3.org/1999/xhtml">
  17. <head>
  18.  
  19.  
  20. <script type="text/javascript">
  21. <!--
  22.  
  23. // Disable Right Click Script
  24.  
  25. function IE(e)
  26. {
  27. if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3"))
  28. {
  29. return false;
  30. }
  31. }
  32. function NS(e)
  33. {
  34. if (document.layers || (document.getElementById && !document.all))
  35. {
  36. if (e.which == "2" || e.which == "3")
  37. {
  38. return false;
  39. }
  40. }
  41. }
  42. document.onmousedown=IE;document.onmouseup=NS;document.oncontextmenu=new Function("return false");
  43.  
  44. //-->
  45. </script>
  46.  
  47.  
  48. <script type="text/javascript"
  49. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  50.  
  51. <!-- DEFAULT VARIABLES -->
  52. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  53. <meta name="color:background" content="#fff"/>
  54. <meta name="color:link" content="#777"/>
  55. <meta name="color:text" content="#777"/>
  56. <meta name="color:title" content="#333"/>
  57. <meta name="color:hover" content="#fff"/>
  58. <meta name="color:blogtitle" content="#fff" />
  59. <meta name="color:blogtitle shadow" content="#aaa" />
  60. <meta name="color:scrollbar" content="#ddd" />
  61. <meta name="image:sidebar" content=""/>
  62. <meta name="image:background" content="1"/>
  63. <meta name="if:show blog title" content="1"/>
  64. <meta name="if:scrollbar" content="1"/>
  65. <meta name="text:link separation" content="&middot;" />
  66. <meta name="text:blogtitle size" content="23" />
  67.  
  68. <meta name="text:link one title" content="home" />
  69. <meta name="text:link two title" content="inbox" />
  70. <meta name="text:link three title" content="links" />
  71. <meta name="text:link four" content="" />
  72. <meta name="text:link four title" content="" />
  73. <meta name="text:link five" content="" />
  74. <meta name="text:link five title" content="" />
  75.  
  76. <script type="text/javascript"
  77. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  78.  
  79.  
  80. <script>
  81. $(document).ready(function() {
  82. //
  83. $('a.poplight[href^=#]').click(function() {
  84. var popID = $(this).attr('rel'); //Get Popup Name
  85. var popURL = $(this).attr('href'); //Get Popup href to define size
  86. var query= popURL.split('?');
  87. var dim= query[1].split('&');
  88. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  89. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"></a>');
  90. var popMargTop = ($('#' + popID).height() + 80) / 2;
  91. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  92. //Apply Margin to Popup
  93. $('#' + popID).css({
  94. 'margin-top' : -popMargTop,
  95. 'margin-left' : -popMargLeft
  96. });
  97. $('body').append('<div id="fade"></div>');
  98. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  99. return false;
  100. });
  101. $('a.close, #fade').live('click', function() {
  102. $('#fade , .popup_block').fadeOut(function() {
  103. $('#fade, a.close').remove(); //fade them both out
  104. });
  105. return false;
  106. });
  107. });
  108. </script>
  109.  
  110. <style type="text/css">
  111.  
  112.  
  113.  
  114. {block:ifscrollbar}
  115. ::-webkit-scrollbar {width: 4px; height: 4px; border-left:0px solid #ccc; background:white;}
  116. ::-webkit-scrollbar-thumb { border-left:1px solid #ccc; background: {color:scrollbar};}
  117. {/block:ifscrollbar}
  118.  
  119. iframe#tumblr_controls {right:2px !important; position: fixed !important;-webkit-transition: opacity 0.7s linear;opacity: 0.2;-webkit-transition: all 0.8s ease-out;-moz-transition: all 0.8s ease-out;transition: all 0.8s ease-out;}
  120.  
  121. iframe#tumblr_controls:hover{-webkit-transition: opacity 0.7s linear;opacity: 1;-webkit-transition: all 0.4s ease-out;-moz-transition: all 0.4s ease-out;transition: all 0.4s ease-out;}
  122.  
  123.  
  124.  
  125. #fade { /*--Transparent background layer--*/
  126. display: none; /*--hidden by default--*/
  127. background: #000;
  128. position: fixed; left: 0; top: 0;
  129. width: 100%; height: 100%;
  130. opacity: .8;
  131. z-index: 9999;
  132. }
  133. .popup_block{
  134. display: none; /*--hidden by default--*/
  135. background: #ffffff;
  136. color:{color:text};
  137. padding: 10px;
  138. float: left;
  139. font-size: 10;
  140. position: fixed;
  141. top: 50%; left: 50%;
  142. z-index: 99999;
  143. -webkit-transition: all .7s ease;
  144. -moz-transition: all .7s ease;
  145. -o-transition: all .7s ease;
  146. transition: all .7s ease;
  147. /*--CSS3 Box Shadows--*/
  148. -webkit-box-shadow: 0px 0px 20px #000;
  149. -moz-box-shadow: 0px 0px 20px #000;
  150. box-shadow: 0px 0px 20px #000;
  151. /*--CSS3 Rounded Corners--*/
  152. -webkit-border-radius: 5px;
  153. -moz-border-radius: 5px;
  154. border-radius: 5px;
  155. }
  156.  
  157.  
  158. /*--Making IE6 Understand Fixed Positioning--*/
  159. *html #fade {
  160. position: absolute;
  161. }
  162. *html .popup_block {
  163. position: absolute;
  164. }
  165.  
  166.  
  167.  
  168. p {
  169. margin:0px;
  170. margin-top:0px;
  171. }
  172.  
  173.  
  174.  
  175. body {
  176. padding: 0px;
  177. margin: 0px;
  178. color:{color:text};
  179. font-family: dixel;
  180. line-height:7px;
  181. font-size:8px;
  182. background-color: {color:Background};
  183. background-image:url({image:Background});
  184. background-attachment: fixed;
  185. background-repeat: repeat;
  186. }
  187.  
  188.  
  189. a:link, a:active, a:visited{
  190. text-decoration: none;
  191. -webkit-transition: color 0.3s ease-out;
  192. -moz-transition: color 0.3s ease-out;
  193. transition: color 0.3s ease-out;
  194. color:{color:link};
  195. }
  196.  
  197. a:hover {
  198. text-decoration: none;
  199. font-style:;
  200. text-shadow:0px 0px 2px #000;
  201. color: {color:Hover};
  202. }
  203.  
  204. div#center{
  205. margin:auto;
  206. position:relative;
  207. width:1000px;
  208. background-color:;
  209. overflow:auto;
  210. overflow-y:hidden;
  211. }
  212.  
  213. .entry {
  214. float:left;
  215. display: block;
  216. margin:2px;
  217. line-height:7px;
  218. padding:3px;
  219. border:1px dotted #bbb;
  220. overflow:hidden;
  221. width:190px;
  222. opacity:0.9;
  223. {block:PermalinkPage}
  224. width:388px;
  225. text-align:left;
  226. line-height:10px;
  227. {/block:PermalinkPage}
  228. background:white;
  229. background-image:URL();
  230. transition: all 0.5s ease-out;
  231. -o-transition-transition: all 0.5s ease-out;
  232. -webkit-transition: all 0.5s ease-out;
  233. -moz-transition: all 0.5s ease-out;
  234. }
  235.  
  236.  
  237.  
  238. .entry .perma a{
  239. color:#444444;}
  240.  
  241.  
  242. .entry .perma{
  243. width:38px;
  244. height:30px;
  245. position: absolute;
  246. line-height: 33px;
  247. overflow:hidden;
  248. font-family:dixel;
  249. text-align:left;
  250. padding-left:6px;
  251. font-size:8px;
  252. left:-50px;
  253. bottom:2px;
  254. border-right:1px solid #f2f2f2;
  255. border-top:1px solid #f2f2f2;
  256. background:white;
  257. letter-spacing: 0px;
  258. opacity: 0.0;
  259. transition: all 0.7s ease-out;
  260. -o-transition-transition: all 0.7s ease-out;
  261. -webkit-transition: all 0.7s ease-out;
  262. -moz-transition: all 0.7s ease-out;
  263. border-top-right-radius:90px;
  264. -moz-border-top-right-radius:90px;
  265. -webkit-border-top-right-radius:90px;
  266.  
  267. }
  268.  
  269. .entry:hover .perma{
  270. margin-left: 0px;
  271. left:1px;
  272. overflow:visible;
  273. opacity:0.85;
  274. transition: all 0.7s ease-out;
  275. -o-transition-transition: all 0.7s ease-out;
  276. -webkit-transition: all 0.7s ease-out;
  277. -moz-transition: all 0.7s ease-out;
  278. }
  279.  
  280.  
  281. #posts {
  282. width:480px;
  283. margin-top:2px;
  284. margin-left:305px;
  285. right:auto;
  286. background:transparent;
  287. margin-right:auto;
  288. position:relative;
  289. overflow-y: hidden;
  290. }
  291.  
  292.  
  293. #sidebar img{
  294. width:165px;
  295. margin-left:0px;
  296. transition: all 0.7s ease-out;
  297. -o-transition-transition: all 0.7s ease-out;
  298. -webkit-transition: all 0.7s ease-out;
  299. -moz-transition: all 0.7s ease-out;
  300. }
  301.  
  302. #sidebar{
  303. position:fixed !important;
  304. width:165px;
  305. background-image:url('');
  306. background:white;
  307. height:auto;
  308. padding:3px;
  309. margin-top:200px;
  310. margin-left:126px;
  311. line-height:8px;
  312. text-align:center;
  313. z-index:999;
  314. opacity:0.9;
  315. border:1px dotted #bbb;
  316. transition: all 0.7s ease-out;
  317. -o-transition-transition: all 0.7s ease-out;
  318. -webkit-transition: all 0.7s ease-out;
  319. -moz-transition: all 0.7s ease-out;
  320. }
  321.  
  322.  
  323. #linksss{
  324. z-index:99;
  325. line-height:9px;
  326. width:165px;
  327. color:#555;
  328. opacity:0.9;
  329. margin-top:2px;
  330. border-top:1px dotted #bbb;
  331. padding-top:0px;
  332. transition: all 0.7s ease-out;
  333. -o-transition-transition: all 0.7s ease-out;
  334. -webkit-transition: all 0.7s ease-out;
  335. -moz-transition: all 0.7s ease-out;
  336. }
  337.  
  338.  
  339. #sidebarpic{
  340. opacity:1;
  341. transition: all 0.7s ease-out;
  342. -o-transition-transition: all 0.7s ease-out;
  343. -webkit-transition: all 0.7s ease-out;
  344. -moz-transition: all 0.7s ease-out;
  345. }
  346.  
  347.  
  348. @font-face { font-family: "rawengulksans"; src: url('http://static.tumblr.com/u37ad6e/i1rm8cst5/rawengulksans-094.ttf'); }
  349. .title{
  350. font-family:rawengulksans;
  351. font-size: 14px;
  352. line-height: 13px;
  353. color:{color:Title};
  354. letter-spacing: 1px;
  355. font-weight: normal;
  356. padding:0px 0px 0px 0px;
  357. }
  358.  
  359.  
  360. @font-face { font-family: "dixel"; src: url('http://static.tumblr.com/jdjsstr/8ovm78cbb/pf_arma_five_1_.ttf'); }
  361.  
  362.  
  363.  
  364. #blogtitle{
  365. width:165px;
  366. font-family: "rawengulksans";
  367. line-height:20px;
  368. text-shadow:1px 1px 2px {color:blogtitle shadow};
  369. font-size:{text:blogtitle size}px;
  370. text-align:center;
  371. margin-top:-20px;
  372. font-weight:;
  373. position:fixed;
  374. text-transform:uppercase;
  375. letter-spacing:1px; color:{color:blogtitle};
  376. transition: all 0.7s ease-out;
  377. -o-transition-transition: all 0.7s ease-out;
  378. -webkit-transition: all 0.7s ease-out;
  379. -moz-transition: all 0.7s ease-out;}
  380.  
  381.  
  382. .permalink{
  383. text-transform: normal;
  384. display: block;
  385. text-align: right;
  386. text-decoration: none;
  387. }
  388.  
  389. #infscr-loading{
  390. bottom: -70px;
  391. position: absolute;
  392. left: 50%;
  393. margin-left:-8px;
  394. width:16px;
  395. height:11px;
  396. overflow:hidden;
  397. margin-bottom: 50px;
  398. }
  399.  
  400. #postnotes{
  401. text-align: justify;}
  402.  
  403. #postnotes blockquote{
  404. border: 0px;}
  405.  
  406. blockquote{
  407. padding:0px 0px 2px 5px;
  408. margin:0px 0px 2px 10px;
  409. border-left: 1px dotted #555555;
  410. }
  411.  
  412. blockquote p, ul{
  413. margin:0px;
  414. padding:0px;
  415. }
  416.  
  417. a img{border: 0px;}
  418.  
  419.  
  420. ul, ol, li{list-style:none; margin:0px; padding:0px;}
  421.  
  422. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label,
  423. .user_7 .label, .user_8 .label, .user_9 .label {color:{color:text};}
  424.  
  425. .notes img{width:10px; position:relative; top:3px;}
  426. <--ses-->
  427. small{font-size: 90%;}
  428.  
  429. {CustomCSS}
  430.  
  431. </style>
  432.  
  433. {block:IndexPage}
  434. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  435. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  436.  
  437. <script type="text/javascript">
  438. $(window).load(function () {
  439. var $content = $('#posts');
  440. $content.masonry({itemSelector: '.entry'}),
  441. $content.infinitescroll({
  442. navSelector : 'div#pagination',
  443. nextSelector : 'div#pagination a#nextPage',
  444. itemSelector : '.entry',
  445. loading: {
  446. finishedMsg: '',
  447. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  448. },
  449. bufferPx : 600,
  450. debug : false,
  451. },
  452. // call masonry as a callback.
  453. function( newElements ) {
  454. var $newElems = $( newElements );
  455. $newElems.hide();
  456. // ensure that images load before adding to masonry layout
  457. $newElems.imagesLoaded(function(){
  458. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );
  459.  
  460.  
  461. });
  462. });
  463. });
  464. </script>
  465.  
  466. {/block:IndexPage}
  467.  
  468.  
  469. <title>{title}</title>
  470.  
  471. <link rel="shortcut icon" href="{Favicon}" />
  472. <meta name="viewport" content="width=820" />
  473. </head>
  474.  
  475. <body>
  476.  
  477.  
  478. <div class="wrapper">
  479. <div class="header">
  480. </div>
  481.  
  482. <div id="cage">
  483. <div id="center">
  484.  
  485. <div id="sidebar">
  486.  
  487. <center>
  488.  
  489. <div id="sidebarpic"><a href="/"><img src="{image:sidebar}"></a></div>
  490. {block:ifshowblogtitle}<div id="blogtitle">{title}</div>{/block:ifshowblogtitle}
  491. <div id="linksss">
  492. <a href="/">{text:link one title}</a> {text:link separation}
  493. <a href="#?w=360" rel="02" class="poplight">{text:link two title}</a> {text:link separation}
  494. <a href="#?w=320" rel="links" class="poplight">{text:link three title}</a>
  495. {block:iflinkfourtitle}
  496. {text:link separation}
  497. <a href="{text:link four}">{text:link four title}</a>
  498. {/block:iflinkfourtitle}
  499. {block:iflinkfivetitle}
  500. {text:link separation}
  501. <a href="{text:link five}">{text:link five title}</a>
  502. {/block:iflinkfivetitle}
  503. </div>
  504. </div>
  505. </center>
  506.  
  507.  
  508. <div class="left">
  509. <div id="posts">
  510. {block:Posts}
  511. <div class="entry">
  512.  
  513. {block:Answer}
  514. <div style="margin-top:2px; margin-bottom:0px; min-height:30px; padding: 3px; background-color: #eee;">
  515. <img src="{AskerPortraitURL-30}" width="30" align="left" style="margin-right:3px;"/>
  516. {Asker}: {Question}</div>
  517. <div style="margin-top:2px; margin-bottom:4px; background: transparent;">{Answer}</div>
  518. <div class="permalink"> <a href="{permalink}">{notecountwithlabel}</a> </div>
  519. {/block:Answer}
  520.  
  521. {block:Text}{block:Title}<span class="title">{Title}</span>{/block:Title}<span class="body">{Body}</span><p align=right><span class="permalink"><a href="{Permalink}"><a href="{Permalink}"><a href="{Permalink}">{notecountwithlabel}</a></a><br>{/block:HasTags}</span></align>
  522. {/block:Text}
  523.  
  524. {block:Link}<a href="{URL}" class="title">{Name}</a>{block:Description}<div class="body">{Description}</div>{/block:Description} <p align=right><span class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"></span></align>{block:Link}
  525.  
  526. {block:Photo}
  527. {block:IndexPage}
  528. <center>
  529. <div class="perma">
  530. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  531. <div class="photo"><a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="100%"/></a></div>
  532. {/block:IndexPage}
  533. {block:PermalinkPage}
  534. {LinkOpenTag}<div class="photo"><a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="100%"/></a></div>{LinkCloseTag}
  535. {/block:PermalinkPage}
  536. {/block:Photo}
  537.  
  538. {block:Photoset}
  539. {block:IndexPage}
  540. <center>
  541. <div class="perma">
  542. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  543. {Photoset-250}</center>
  544. {/block:IndexPage}
  545. {block:PermalinkPage}
  546. <center>
  547. {Photoset-500}</center>
  548. {/block:PermalinkPage}
  549. {/block:Photoset}
  550.  
  551. {block:Quote}<span class="title">"{Quote}"</span> — {block:Source}<b>{Source}</b>{/block:Source}<br><p align=right><span class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"> </span>{/block:Quote}
  552.  
  553. {block:Chat}{block:Title}<span class="title">{Title}</span>{/block:Title}
  554. <ul class="chat">
  555. {block:Lines}
  556. <li class="user_{UserNumber}">
  557. {block:Label}
  558. <span class="label">{Label}</span>
  559. {/block:Label}
  560.  
  561. {Line}
  562. </li>
  563. {/block:Lines}
  564. <p align=right><span class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}">
  565. {/block:Chat}
  566.  
  567. {block:Audio}
  568. <div style="width:190px; height:30px;">
  569. {AudioPlayerBlack}
  570. </div>
  571. {block:IndexPage}<span class="permalink">
  572. <p align=right><span class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"> </a>
  573. </span>{/block:IndexPage}
  574. {/block:Audio}
  575.  
  576. {block:Video}
  577. {block:IndexPage}
  578. <center>
  579.  
  580. <div class="perma">
  581. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  582. {Video-250}</center>
  583. {/block:IndexPage}
  584. {block:PermalinkPage}
  585. <center>
  586. {Video-400}</center>
  587. {/block:PermalinkPage}
  588. {block:Video}
  589.  
  590.  
  591. {block:PostNotes}<div align="middle">{caption}</div>
  592. <center>
  593.  
  594. {block:NoteCount}{NoteCountWithLabel}<br>{/block:NoteCount}
  595.  
  596. {block:HasTags}
  597. tags: {block:Tags}<a href="{TagURL}">{Tag}. </a>{/block:Tags}<br> {/block:HasTags}
  598. {block:RebloggedFrom}
  599. reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a><br>
  600. posted by <a href="{ReblogRootURL}">{ReblogRootName}</a>
  601.  
  602. {/block:RebloggedFrom}
  603. </center></span>
  604. <br>
  605. <div id="postnotes">{PostNotes}</div><br>
  606.  
  607. <center>{block:ContentSource}
  608. <br><a href="{SourceURL}">
  609. {lang:Source}:
  610. {block:SourceLogo}
  611. <img src="{BlackLogoURL}" width="{LogoWidth}"
  612. height="{LogoHeight}" alt="{SourceTitle}" />
  613. {/block:SourceLogo}
  614. {block:NoSourceLogo}
  615. {SourceLink}
  616. {/block:NoSourceLogo}
  617. </a>
  618. {/block:ContentSource}</center>
  619.  
  620. {/block:PostNotes}
  621. </div>
  622. {/block:Posts}
  623. </div></div>
  624.  
  625. {block:IndexPage}
  626. {block:Pagination}
  627. <div id="pagination">
  628. {block:NextPage}
  629. <a id="nextPage" href="{NextPage}"></a>
  630. {/block:NextPage}
  631. {block:PreviousPage}
  632. <a href="{PreviousPage}"></a>
  633. {/block:PreviousPage}
  634. </div>
  635. {/block:Pagination}
  636. {/block:IndexPage}
  637. </body>
  638. <div style="position:fixed;right:5px;bottom:5px;"><a href="http://miserywishes.tumblr.com">&hearts;</a></div>
  639.  
  640. <div id="links" class="popup_block">
  641. <center><div style="color:{color:blogtitle};font-family:rawengulksans;font-size:16px;line-height:18px; letter-spacing:1px;text-shadow:1px 1px 1px #555; "> LINKS </div>
  642. <div style="line-height:11px;">
  643. <P> links here ok </p>
  644. </div>
  645. </div>
  646. <div id="02" class="popup_block"><center>
  647. <div style="color:{color:blogtitle};font-family:rawengulksans;font-size:16px;line-height:18px; letter-spacing:1px;text-shadow:1px 1px 1px #555; ">FAQ & ASK</div>
  648. <div style="line-height:11px;">
  649. <p>faq here ok </p>
  650.  
  651. <iframe frameborder="0" scrolling="no" width="100%" height="150" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form"></center></iframe>
  652. </div>
  653.  
  654. </div></div></div></div></div></div></div></div></div></div>
  655.  
  656. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement