Advertisement
t-offee

Niall Horan Theme (OLD)

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