Advertisement
t-offee

Miranda Kerr Theme (OLD)

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