Advertisement
Cuddly-Themes

Simplicity

Dec 21st, 2012
716
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.24 KB | None | 0 0
  1. <html>
  2. <head>
  3.  
  4. <script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code"></script>
  5.  
  6. <script type="text/javascript"
  7. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  8. <script>
  9. $(document).ready(function() {
  10. //
  11. $('a.poplight[href^=#]').click(function() {
  12. var popID = $(this).attr('rel'); //Get Popup Name
  13. var popURL = $(this).attr('href'); //Get Popup href to define size
  14. var query= popURL.split('?');
  15. var dim= query[1].split('&');
  16. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  17. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://png.findicons.com/files/icons/1714/dropline_neu/24/dialog_close.png" class="btn_close" title="Close" alt="Close" /></a>');
  18. var popMargTop = ($('#' + popID).height() + 80) / 2;
  19. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  20. //Apply Margin to Popup
  21. $('#' + popID).css({
  22. 'margin-top' : -popMargTop,
  23. 'margin-left' : -popMargLeft
  24. });
  25. $('body').append('<div id="fade"></div>');
  26. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  27. return false;
  28. });
  29. $('a.close, #fade').live('click', function() {
  30. $('#fade , .popup_block').fadeOut(function() {
  31. $('#fade, a.close').remove(); //fade them both out
  32. });
  33. return false;
  34. });
  35. });
  36. </script>
  37.  
  38. <style type="text/css">
  39.  
  40. @font-face {font-family: "handy"; src: url('http://static.tumblr.com/8ls1oxv/AfJlyd5ev/handy00.ttf');}
  41. @font-face {font-family: "tinytots";src: url('http://static.tumblr.com/rmj06l2/Usellxb4i/tinytots.ttf');}
  42.  
  43. body{
  44. color:black;
  45. font-family:tinytots;
  46. font-size:8px;
  47. color:#bbb;
  48. background:url(http://media.tumblr.com/tumblr_lpwovn6XPC1qcn2vb.png);
  49. }
  50.  
  51. a:link, a:active, a:visited{
  52. color: #5f5f5f;
  53. text-decoration: none;
  54. -webkit-transition: all 0.6s ease-out;-moz-transition: all 0.6s ease-out;-o-transition: all 0.6s ease-out;transition: all 0.6s ease-out;
  55. }
  56.  
  57. a:hover{
  58. color:#fff;
  59. text-decoration: none;
  60. -webkit-transition: all 0.3s ease-out;-moz-transition: all 0.3s ease-out;-o-transition: all 0.3s ease-out;transition: all 0.3s ease-out;
  61. text-shadow:0px 0px 2px #999;
  62. cursor: url(http://i.imgur.com/2qleX.jpg), auto;
  63. }
  64.  
  65. #fade { /*--Transparent background layer--*/
  66. display: none; /*--hidden by default--*/
  67. background: #000;
  68. position: fixed; left: 0; top: 0;
  69. width: 100%; height: 100%;
  70. opacity: .80;
  71. z-index: 9999;
  72. }
  73. .popup_block{
  74. display: none; /*--hidden by default--*/
  75. background-image:url(http://static.tumblr.com/jdjsstr/nzFmdcmva/tumblr_m15diud8ke1qe92a9.png);
  76. padding: 20px;
  77. border: 1px solid #aaa;
  78. float: left;
  79. font-size: 8px;
  80. font-family:'handy';
  81. position: fixed;
  82. top: 50%; left: 50%;
  83. z-index: 99999;
  84. /*--CSS3 Box Shadows--*/
  85. -webkit-box-shadow: 0px 0px 20px #000;
  86. -moz-box-shadow: 0px 0px 20px #000;
  87. box-shadow: 0px 0px 20px #000;
  88. /*--CSS3 Rounded Corners--*/
  89. -webkit-border-radius: 10px;
  90. -moz-border-radius: 10px;
  91. border-radius: 10px;
  92. }
  93. img.btn_close {
  94. float: right;
  95. margin: -5px -5px 0 0;
  96. }
  97. /*--Making IE6 Understand Fixed Positioning--*/
  98. *html #fade {
  99. position: absolute;
  100. }
  101. *html .popup_block {
  102. position: absolute;
  103. }
  104.  
  105. #posts{
  106. float:center;
  107. {block:indexpage}
  108. width:700px;
  109. {/block:indexpage}
  110. {block:permalinkpage}
  111. width:900px;
  112. {/block:permalinkpage}
  113. margin-left: 500px;
  114. margin-top: 0px;
  115. }
  116.  
  117. #entry{
  118. font-family: tinytots;
  119. text-transform:uppercase;
  120. font-size: 8px;
  121. line height: 11px;
  122. text-align:center;
  123. float:left;
  124. width: 330px;
  125. height: auto;
  126. {block:PermalinkPage}
  127. width: 600px;
  128. height: auto;
  129. {/block:PermalinkPage}
  130. line-height:8px;
  131. background-color:#fff;
  132. padding:3px;
  133. padding-bottom:2px;
  134. margin-right:10px;
  135. overflow:hidden;
  136. margin-bottom:10px;
  137. border: 1px dotted #999;
  138. opacity:0.8;
  139. box-shadow: 0px 0px 5px #ddd;
  140. -o-transition-transition: all 1.0s ease-out;
  141. -webkit-transition: all 1.0s ease-out;
  142. -moz-transition: all 1.0s ease-out;
  143. }
  144.  
  145. #entry:hover{
  146. opacity: 1.0;
  147. transition: all 1.0s ease-out;
  148. -o-transition-transition: all 1.0s ease-out;
  149. -webkit-transition: all 1.0s ease-out;
  150. -moz-transition: all 1.0s ease-out;
  151. }
  152.  
  153. #entry .perma a{
  154. color:;}
  155.  
  156. #entry .permalinktext {
  157. width:100px;
  158. height: auto;
  159. padding:2px;
  160. font-family: 'handy';
  161. text-transform:uppercase;
  162. position: absolute;
  163. font-size: 8px;
  164. line-height: 11px;
  165. text-align: center;
  166. overflow:hidden;
  167. border: 1px dotted #999;
  168. opacity: 0.0;
  169. background-color:#fff;
  170. letter-spacing:0px;
  171. margin-top:5px;
  172. margin-left: -5px;
  173. border-radius: 0px;
  174. -webkit-transition: opacity 0.5s linear; opacity: 0.0;
  175. -webkit-transition: all 0.5s linear;
  176. -moz-transition: all 0.5s linear;
  177. transition: all 0.5s linear;
  178. }
  179.  
  180. #entry:hover .permalinktext {
  181. margin-top: 5px;
  182. opacity: 0.8;
  183. margin-left: 5px;
  184. width: 100px;
  185. text-transform:uppercase;
  186. overflow:visible;
  187. -webkit-transition: all 0.5s linear;
  188. -webkit-transition: all 0.5s linear;
  189. -moz-transition: all 0.5s linear;
  190. transition: all 0.5s linear;
  191. }
  192.  
  193. #entry .perma a{
  194. color:;
  195. -webkit-transition: color 0.9s ease-out;
  196. -moz-transition: color 0.9s ease-out;
  197. }
  198.  
  199. #entry .perma{
  200. width:100px;
  201. height: auto;
  202. padding:2px;
  203. font-family: 'handy';
  204. text-transform:uppercase;
  205. position: absolute;
  206. font-size: 8px;
  207. line-height: 11px;
  208. text-align: center;
  209. overflow:hidden;
  210. border: 1px dotted #999;
  211. opacity: 0.0;
  212. background-color:#fff;
  213. letter-spacing:0px;
  214. margin-top:5px;
  215. margin-left: -5px;
  216. border-radius: 0px;
  217. -webkit-transition: opacity 0.5s linear; opacity: 0.0;
  218. -webkit-transition: all 0.5s linear;
  219. -moz-transition: all 0.5s linear;
  220. transition: all 0.5s linear;
  221. }
  222.  
  223. #entry:hover .perma{
  224. margin-top: 5px;
  225. opacity: 0.8;
  226. margin-left: 5px;
  227. width: 100px;
  228. text-transform:uppercase;
  229. overflow:visible;
  230. -webkit-transition: all 0.5s linear;
  231. -webkit-transition: all 0.5s linear;
  232. -moz-transition: all 0.5s linear;
  233. transition: all 0.5s linear;
  234. }
  235.  
  236. #sidebar{
  237. border:1px dotted #aaa;
  238. background:white;
  239. width:300px;
  240. height:200px;
  241. margin-top:160px;
  242. margin-left:50px;
  243. position:fixed;
  244. padding:5px;
  245. -box-shadow: 0px 0px 5px #ffbfbf;
  246. }
  247.  
  248. #sidebottom{
  249. border:1px dotted #aaa;
  250. background:white;
  251. width:300px;
  252. position:fixed;
  253. padding:5px;
  254. margin-top:380px;
  255. margin-left:50px;
  256. }
  257.  
  258. .top{
  259. position:fixed;
  260. font-family:'Lobster';
  261. font-size:50px;
  262. color:#CF864A;
  263. margin-top:100px;
  264. margin-left:50px;
  265. border-bottom:5px dotted #ddd;
  266. }
  267.  
  268. h2{
  269. font-family:'Lobster';
  270. font-size:30px;
  271. line-height:20px;
  272. text-transform:none;
  273. color:#aaa;
  274. }
  275.  
  276. h3{
  277. width:306px;
  278. background:white;
  279. margin-left:-5px;
  280. margin-top:-30px;
  281. padding:1px;
  282. z-index:9;
  283. opacity:.9;
  284. border:1px dotted #ddd;
  285. }
  286.  
  287. #links{
  288. margin-left:370px;
  289. margin-top:180px;
  290. position:fixed;
  291. }
  292.  
  293. .chicken{
  294. width: 50px;
  295. overflow:hidden;
  296. border:3px solid #transp;
  297. background-color:#transp;}
  298.  
  299. .pot{
  300. padding-top:-5px;
  301. text-align:center;
  302. width:50px;
  303. font-family:calibri;
  304. text-transform:uppercase;
  305. letter-spacing:1px;
  306. font-size:8px;
  307. background-color:#transp;}
  308.  
  309. .pot a{
  310. color:#aaa;
  311. -webkit-transition: all 0.5s ease;
  312. -moz-transition: all 0.5s ease;
  313. -o-transition: all 0.5s ease;
  314. }
  315.  
  316. .pot a:hover {
  317. color:#aaa;
  318. -webkit-transition: all 0.5s ease;
  319. -moz-transition: all 0.5s ease;
  320. -o-transition: all 0.5s ease;
  321. }
  322.  
  323. #string{
  324. margin-left:-50px;
  325. -webkit-transition: all 0.8s ease-out;-moz-transition: all 0.8s ease-out;transition: all 0.8s ease-out;}
  326.  
  327. #string:hover{
  328. margin-left:0px;}
  329.  
  330. {CustomCSS}
  331. </style>
  332.  
  333. </head>
  334.  
  335. <link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
  336.  
  337. <body>
  338.  
  339. <div class="top">{Title}</div>
  340.  
  341. <div id="links">
  342.  
  343. <div class="chicken">
  344. <table border="0" cellpadding="0" cellspacing="0" id="string"><tr>
  345. <td><div class="pot"><font size="3"><a href="/">Home</a></font></div></td><td><a href="/"><img src="http://static.tumblr.com/ejm8w78/lhflz2pxj/home.png" style="padding-bottom:0px;" width="30px"></a></td></tr></table></div><br><br><br>
  346.  
  347. <div class="chicken">
  348. <table border="0" cellpadding="0" cellspacing="0" id="string"><tr>
  349. <td><div class="pot"><font size="3"><a href="#?w=500" rel="mailbox" class="poplight">Ask</a></font></div></td><td><a href="#?w=390" rel="ask" class="poplight"><img src="http://static.tumblr.com/ejm8w78/w3Qlz2pzs/email.png" style="padding-bottom:0px;" width="30px"></a></td></tr></table></div><br><br><br>
  350.  
  351. <div class="chicken">
  352. <table border="0" cellpadding="0" cellspacing="0" id="string"><tr>
  353. <td><div class="pot"><font size="3"><a href="#?w=500" rel="more" class="poplight">More</a></font></div></td><td><a href="#?w=390" rel="ask" class="poplight"><a href="#?w=330" rel="link" class="poplight"><img src="http://static.tumblr.com/ejm8w78/onElz2rsp/folder.png" style="padding-bottom:0px;" width="30px"></a></td></tr></table></div><br><br><br>
  354.  
  355. <div class="chicken">
  356. <table border="0" cellpadding="0" cellspacing="0" id="string"><tr>
  357. <td><div class="pot"><font size="3"><a href="#?w=500" rel="credits" class="poplight">Cred</a></font></div></td><td><a href="#?w=390" rel="ask" class="poplight"><a href="http://themesmadebybrianna.tumblr.com/" target="_blank"><img src="http://static.tumblr.com/ejm8w78/5j5lz2s6p/heart.png" width="30px"></a></td></tr></table></div><br><br><br>
  358. </div>
  359.  
  360.  
  361. <div id="sidebar">
  362. <img src="http://25.media.tumblr.com/018e5788f0993a7deaf85908e83ef1fa/tumblr_mfadatDTjv1qd8q7fo1_500.jpg" width="300" class="description">
  363. <h3><center><a href="/">Link</a> &middot; <a href="/">Link</a> &middot; <a href="/">Link</a> &middot; <a href="/">Link</a></center></h3>
  364. </div>
  365.  
  366. <div id="sidebottom">
  367. {Description}<br><br>
  368. Themed By Flatte-Cafe<br>
  369. Based Codes from Z4yner
  370. </div>
  371.  
  372. <div id="posts">
  373.  
  374. {block:Posts}
  375. <div id="entry">
  376.  
  377. {block:IndexPage}
  378. <div class="perma">
  379. <a href="{permalink}">{NoteCountWithLabel}</a> &middot <a> <a href="{ReblogURL}" target="_blank"> reblog </a></span></div>
  380. {/block:IndexPage}
  381.  
  382. {block:Text}
  383. {block:Title}<h2>{Title}</h2>{/block:Title}
  384. <span class="entrytext">{Body}</span>
  385. {/block:Text}
  386.  
  387. {block:Link}
  388. <a href="{URL}" class="title"><h2>{Name}</h2></a>
  389. {block:Description}{Description}{/block:Description}
  390. {block:Link}
  391.  
  392. {block:Photo}
  393. {block:IndexPage}<img src="{PhotoURL-500}" alt="{PhotoAlt}" width="330" /></a>{/block:IndexPage}{block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=460px/>{LinkCloseTag}{/block:PermalinkPage}
  394. {/block:Photo}
  395.  
  396.  
  397. {block:Quote}
  398. <span class="entrytext"><h2>{Quote}</h2></span>
  399. {block:Source}<b><a href="{Permalink}">{Source}</a></b>{/block:Source}
  400. {/block:Quote}
  401.  
  402. {block:Chat}
  403. {block:Title}<span class="title"><h2>{Title}</span>{/block:Title}
  404. <ul class="chat">
  405. {block:Lines}
  406. <li class="user_{UserNumber}">
  407. {block:Label}
  408. <span class="label">{Label}</span>
  409. {/block:Label}
  410.  
  411. {Line}
  412. </li>
  413. {/block:Lines}
  414. </ul>
  415. {/block:Chat}
  416.  
  417.  
  418. {block:Audio}
  419. <center><div style="width:300px; height:28px;"><div style="float:left">{AudioPlayerGrey}</div><div style="margin-top:10px; float:left;">
  420. {block:ExternalAudio}{/block:ExternalAudio}</div></div></center><br>
  421. {/block:Audio}
  422.  
  423. {block:Video}<center>
  424. <div style="padding-top:0px; padding-bottom:2px;">
  425. {Video-250}</div>
  426. <div style="padding-bottom:5px;">{block:Caption}{/block:Caption}</div>
  427. {block:Video}
  428.  
  429. {block:Answer}
  430. <br>
  431. <div style="border-radius:5px; border: 3px double #dddddd; margin: 3px; margin-top: -2px; height:30px; overflow:auto; padding: 3px; background: white; box-shadow: 0px 0px 5px 3px #eee;">
  432. <img src="{AskerPortraitURL-30}" width="30" align="left" style="margin-right:3px; box-shadow: 0px 0px 0px 2px #E6DFDF; border-radius: 3px;"/>
  433. <askk>{Asker}</askk>: {Question}<br></div>
  434. <div style="font-family: arma; font-size: 8px;">
  435. {Answer}
  436. </div>
  437. {/block:Answer}
  438.  
  439. {block:PostNotes}<div align="middle">{caption}</div>
  440. <center>
  441.  
  442. {block:NoteCount}{NoteCountWithLabel}<br>{/block:NoteCount}
  443.  
  444. {block:HasTags}
  445. tags: {block:Tags}<a href="{TagURL}">{Tag}. </a>{/block:Tags}<br> {/block:HasTags}
  446. {block:RebloggedFrom}
  447. reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a><br>
  448. posted by <a href="{ReblogRootURL}">{ReblogRootName}</a>
  449.  
  450. {/block:RebloggedFrom}
  451. </center></span>
  452. <br>
  453. <div id="postnotes">{PostNotes}</div><br>
  454.  
  455. <center>{block:ContentSource}
  456. <br><a href="{SourceURL}">
  457. {lang:Source}:
  458. {block:SourceLogo}
  459. <img src="{BlackLogoURL}" width="{LogoWidth}"
  460. height="{LogoHeight}" alt="{SourceTitle}" />
  461. {/block:SourceLogo}
  462. {block:NoSourceLogo}
  463. {SourceLink}
  464. {/block:NoSourceLogo}
  465. </a>
  466. {/block:ContentSource}</center>
  467.  
  468. {/block:PostNotes}
  469. </div>
  470. {/block:Posts}
  471. </div></div>
  472.  
  473. {block:indexpage}
  474. {block:NextPage}<div id="page-nav"><a href="{NextPage}"></a></div>{/block:NextPage}
  475. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
  476. <script type="text/javascript" src="http://static.tumblr.com/bswe8t6/UFVlryaq2/jquerymsnryv2.js"></script>
  477. <script type="text/javascript">
  478. $(window).load(function(){
  479. var $wall = $('#posts');
  480. $wall.imagesLoaded(function(){
  481. $wall.masonry({
  482. itemSelector: '#entry, #entry_photo',
  483. isAnimated : false
  484. });
  485. });
  486.  
  487. $wall.infinitescroll({
  488. navSelector : '#page-nav',
  489. nextSelector : '#page-nav a',
  490. itemSelector : '#entry, #entry_photo',
  491. bufferPx : 2000,
  492. debug : false,
  493. errorCallback: function() {
  494. $('#infscr-loading').fadeOut('normal');
  495. }},
  496. function( newElements ) {
  497. var $newElems = $( newElements );
  498. $newElems.hide();
  499. $newElems.imagesLoaded(function(){
  500. $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
  501. });
  502. }); $('#content').show(500);
  503. });
  504. </script>
  505. {/block:indexpage}
  506.  
  507. </body>
  508.  
  509. <div id="more" class="popup_block">
  510. <center><font size="5" color="#aaa" face="Lobster">More Links<p></font>*ADD MORE LINKS HERE*
  511. </center></div>
  512.  
  513. <div id="mailbox" class="popup_block">
  514. <center><font size="5" color="#aaa" face="Lobster">Ask Me Anything<p></font><iframe frameborder="0" scrolling="yes" width="100%" height="150" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form">
  515. </center></div>
  516.  
  517. <div id="credits" class="popup_block">
  518. <center><font size="5" color="#aaa" face="Lobster">Thanks to<p></font>
  519. <center>Themed by <a href="http://flatte-cafe.tumblr.com/">Flatte-Cafe</a><br>Based Codes from <a href="http://z4yner.tumblr.com/">Z4yner</a><br>Optimized for Gooogle Chrome<br>Powered by Tumblr.</center>
  520. </div>
  521.  
  522.  
  523. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement