Advertisement
t-offee

Zayn Malik Theme (NEW)

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