hamibal

Theme #5

May 2nd, 2014
1,144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.13 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <!-- this is my HEROES theme, if you need help with anything feel free to message me @ hamibal.tumblr.com/ask.
  6.  
  7. If you're familiar with coding you may customise this but pLEASE DO NOT REMOVE MY CREDIT. Thank you!-->
  8.  
  9. {block:Description}
  10. <meta name="description" content="{MetaDescription}" />
  11. {/block:Description}
  12. <meta charset="utf-8">
  13. <meta name="viewport" content="initial-scale=1.0, width=device-width" />
  14. <title>{block:TagPage}{Tag} posts - {/block:TagPage} {block:SearchPage}{lang:Search results for SearchQuery} - {/block:SearchPage}{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}</title>
  15. <link rel="shortcut icon" href="{Favicon}">
  16. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  17. <link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
  18.  
  19.  
  20.  
  21. <meta name="color:scrollbar" content="#fff" />
  22. <meta name="color:scrollbar background" content="#000" />
  23. <meta name="color:background" content="#000"/>
  24. <meta name="color:text" content="#fff"/>
  25. <meta name="color:link" content="#fff"/>
  26. <meta name="color:link hover" content="#7b7b7b"/>
  27. <meta name="color:h1 color" content="#fff"/>
  28. <meta name="color:info" content="#000000"/>
  29. <meta name="color:info text" content="#ffffff"/>
  30. <meta name="color:title" content="#fff"/>
  31.  
  32. <meta name="if:Infinite Scrolling" content="1"/>
  33.  
  34. <meta name="text:nav title" content="navigation" />
  35. <meta name="text:Link1" content="" />
  36. <meta name="text:Link1" content="" />
  37. <meta name="text:Link1 text" content="" />
  38. <meta name="text:Link2" content="" />
  39. <meta name="text:Link2 text" content="" />
  40. <meta name="text:Link3" content="" />
  41. <meta name="text:Link3 text" content="" />
  42. <meta name="text:Link4" content="" />
  43. <meta name="text:Link4 text" content="" />
  44. <meta name="text:Link5" content="" />
  45. <meta name="text:Link5 text" content="" />
  46.  
  47.  
  48.  
  49. <script type="text/javascript" src="http://static.tumblr.com/bmdsqsc/8mXm7q8vn/jquery.js"></script>
  50. <script type="text/javascript" src="http://static.tumblr.com/bmdsqsc/ogWm7q8w1/lazyload.js"></script>
  51. <script type="text/javascript" charset="utf-8">
  52. var $j = jQuery.noConflict();
  53. $j(function() {
  54. if (navigator.platform == "iPad" || navigator.platform == "iPhone") return;
  55. $j("img").lazyload({
  56. placeholder : "http://static.tumblr.com/twte3d7/RSvlio0k5/grey.gif",
  57. effect: "fadeIn",
  58. });
  59. });
  60. </script>
  61.  
  62. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  63.  
  64. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  65.  
  66. <script>
  67.  
  68. (function($){
  69.  
  70. $(document).ready(function(){
  71.  
  72. $("a[title]").style_my_tooltips({
  73.  
  74. tip_follows_cursor:true,
  75.  
  76. tip_delay_time:30,
  77.  
  78. tip_fade_speed:300,
  79.  
  80. attribute:"title"
  81.  
  82. });
  83.  
  84. });
  85.  
  86. })(jQuery);
  87.  
  88. </script>
  89.  
  90.  
  91. <style>
  92.  
  93. #s-m-t-tooltip{
  94. position:absolute;
  95. margin-top: 15px;
  96. z-index:9999;
  97. background:{color:info};
  98. color:{color:info text};
  99. text-transform:lowercase;
  100. padding:3px 4px;
  101. line-height:10px;
  102. font-size:10px;
  103. font-family: helvetica;
  104. letter-spacing: -0.5px;
  105. -webkit-transition:all 0.3s;
  106. -moz-transition:all 0.3s;
  107. -ms-transition:all 0.3s;
  108. -o-transition:all 0.3s;
  109. transition:all 0.3s;
  110. }
  111.  
  112. ::-webkit-scrollbar {width: 5px; height: 3px; background:{color:scrollbar background};}
  113. ::-webkit-scrollbar-thumb {background-color:{color:scrollbar} ;}
  114.  
  115. body{
  116. background: {color:background};
  117. color: {color:text};
  118. font-family: 'helvetica';
  119. font-size: 10px;
  120. line-height: 96%;
  121. letter-spacing: 96%; }
  122.  
  123. #post .info {
  124. opacity: 0;
  125. height: 0;
  126. -webkit-transition: all 0.5s ease;
  127. -moz-transition: all 0.5s ease;
  128. -o-transition: all 0.5s ease;
  129. -ms-transition: all 0.5s ease;
  130. transition: all 0.5s ease;
  131. }
  132.  
  133. #post:hover .info {
  134. opacity: 1;
  135. height: auto;
  136. -webkit-transition: all 0.5s ease;
  137. -moz-transition: all 0.5s ease;
  138. -o-transition: all 0.5s ease;
  139. -ms-transition: all 0.5s ease;
  140. transition: all 0.5s ease;
  141. }
  142.  
  143. b{
  144. font-weight:bold;}
  145.  
  146.  
  147.  
  148. em, italic {
  149. font-style:italic;}
  150.  
  151. a {
  152. color:{color:link};
  153. text-decoration:none;
  154. -webkit-transition: all 0.5s ease;
  155. -moz-transition: all 0.5s ease;
  156. -o-transition: all 0.5s ease;
  157. -ms-transition: all 0.5s ease;
  158. transition: all 0.5s ease; }
  159.  
  160. a:hover {
  161. color:{color:link hover};
  162. text-decoration:none;}
  163.  
  164. h1 {
  165. font-family: 'helvetica';
  166. font-size: 13px;
  167. letter-spacing: 7px;
  168. text-transform: uppercase;
  169. color: {color:h1 color};}
  170.  
  171.  
  172. h2 {
  173. font-family: 'helvetica';
  174. font-size: 9px;
  175. letter-spacing: 5px;
  176. text-transform: uppercase;
  177. color: {color:h1 color};}
  178.  
  179. h3 {
  180. font-family: 'helvetica';
  181. font-size: 6px;
  182. letter-spacing: 3px;
  183. text-transform: uppercase;
  184. color: {color:h1 color};}
  185.  
  186. #content {
  187. position:relative;
  188. margin-left:auto;
  189. margin-right:auto;
  190. margin-top: -250px;
  191. width:400px;
  192. top:5px;
  193. text-align:justify;
  194. padding:0px;
  195. font-size: 11px;
  196. line-height: 12px;}
  197.  
  198. #post {
  199. margin-bottom:100px;
  200. margin-left:auto;
  201. margin-right:auto;
  202. width:400px;
  203. padding:0px;
  204. background-color: {color:background};
  205. padding: 10px;}
  206.  
  207.  
  208. #pagination {
  209. text-align:center;
  210. font-size:20px;
  211. margin-bottom:2px;
  212. margin-top: 2px;
  213. text-transform:none;
  214. font-style:none;
  215. text-transform: lowercase;
  216. }
  217.  
  218. #header {
  219. width:400px;
  220. margin-left:auto;
  221. margin-right:auto;
  222. margin-top:300px;
  223. background: {color:background}
  224. padding: 0px;
  225. }
  226.  
  227. #headertitle {
  228. font-family: 'helvetica';
  229. font-size: 13px;
  230. letter-spacing: 7px;
  231. color: {color:title};
  232. text-transform: uppercase;
  233. margin-top: 0px;
  234. margin-left: -130px;
  235. padding: 5px;
  236. width: 110px;
  237. text-align: right;
  238. line-height: 13px;
  239. font-weight: bold;}
  240.  
  241. bold {
  242. font-family: 'helvetica';
  243. font-size: 20px;
  244. letter-spacing: -1px;
  245. color: {color:h1 color};
  246. text-align: right;
  247. font-weight: bold;}
  248.  
  249. #fixed {
  250. position: fixed;
  251. margin-left: -100px;
  252. border-right: 1px solid {color:accent};
  253. }
  254.  
  255.  
  256. strong {
  257. font-weight: bold;}
  258.  
  259.  
  260. div.description {
  261. font-family: 'helvetica';
  262. font-size: 10px;
  263. padding: 5px;
  264. width: 100px;
  265. color: {color:title};
  266. margin-top: 10px;
  267. margin-left: -130px;
  268. text-align: right;
  269. margin-bottom: 5px;
  270. }
  271.  
  272. #pagination {
  273. font-family: 'helvetica';
  274. font-size: 15px;
  275. width: 100px;
  276. color: {color:title};
  277. margin-top: 10px;
  278. margin-left: -130px;
  279. font-weight: light;
  280. text-align: right;
  281. }
  282.  
  283. #nav {
  284. margin-left:-131px;
  285. width: 105px;
  286. margin-top: 10px;
  287. }
  288.  
  289.  
  290. #tags {
  291. margin-bottom:20px;
  292. margin-top: -40px;
  293. text-align:center;
  294. text-transform:none;
  295. font-size:9px;
  296. font-style:none;
  297. color:{color:link};
  298. -webkit-transition: all 0.8s ease;
  299. -moz-transition: all 0.8s ease;
  300. -o-transition: all 0.8s ease;
  301. -ms-transition: all 0.8s ease;
  302. transition: all 0.8s ease; }
  303.  
  304.  
  305. #tags a:hover {
  306. color:{color:linkhover};
  307. -webkit-transition: all 0.8s ease;
  308. -moz-transition: all 0.8s ease;
  309. -o-transition: all 0.8s ease;
  310. -ms-transition: all 0.8s ease;
  311. transition: all 0.8s ease; }
  312.  
  313. .info {
  314. color:{color:info text};
  315. text-align:left;
  316. margin-top:0px;
  317. padding:4px;
  318. position:absolute;
  319. font-size:8px;
  320. margin-left:415px;
  321. width: 100px;}
  322.  
  323. .infotext {
  324. color:{color:info text};;
  325. padding:10px; font-size:10px; font-style:none;
  326. text-align:center;
  327. text-transform:none; }
  328.  
  329. .infotext a{
  330. color:{color:link};}
  331.  
  332. #asker {
  333. float:left;
  334. margin-right:5px;}
  335.  
  336. #question {
  337. background:{color:info};
  338. color:{color:link};
  339. padding:15px;}
  340.  
  341.  
  342. #quote {
  343. font-family:'helvetica';
  344. line-height: 15px;
  345. letter-spacing: -1px;
  346. font-weight:bold;
  347. font-size:15px; }
  348.  
  349. #important {
  350. font-weight: bold;
  351. letter-spacing: -1px;
  352. bottom:20px;
  353. right:20px;
  354. position:fixed;}
  355.  
  356. </style>
  357. </head>
  358. <body>
  359.  
  360. <div id="important">
  361. <a href="http://hamibal.tumblr.com/">HM</a></div>
  362.  
  363.  
  364. <div id="header">
  365. <div id="fixed">
  366. <div id="headertitle">{Title}</div>
  367.  
  368.  
  369. <div id="nav">
  370. <select onchange='location=this.options[this.selectedIndex].value;' style='width:115px; font-family:helvetica; font-size:10px;' >
  371. <option>{text:nav title}</option>
  372. {block:ifLink1}<option value="{text:Link1}">{text:Link1 text}</option>{/block:ifLink1}
  373. {block:ifLink2}<option value="{text:Link2}">{text:Link2 text}</option>{/block:ifLink2}
  374. {block:ifLink3}<option value="{text:Link3}">{text:Link3 text}</option>{/block:ifLink3}
  375. {block:ifLink4}<option value="{text:Link4}">{text:Link4 text}</option>{/block:ifLink4}
  376. {block:ifLink5}<option value="{text:Link5}">{text:Link5 text}</option>{/block:ifLink5}
  377. </select></div>
  378.  
  379. <div class="description">
  380. {Description}
  381. </div>
  382.  
  383. {block:IfNotInfiniteScrolling}<div id="pagination">{block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">«</a>{/block:PreviousPage}{block:NextPage}<a href="{NextPage}">»</a>{/block:NextPage}{/block:Pagination}</div>{/block:IfNotInfiniteScrolling}
  384.  
  385. </div>
  386. <div id="sbimage"><center><a href="/"><img src="{image:sidebar}"></a></center></div>
  387. </div>
  388.  
  389.  
  390.  
  391. {block:IfInfiniteScrolling}
  392. <script type="text/javascript" src="http://static.tumblr.com/q0etgkr/ytzm5f1ke/infinitescrolling.js"></script>
  393. {/block:IfInfiniteScrolling}
  394.  
  395. </div>
  396.  
  397. </div>
  398.  
  399. <div id="content">{block:Posts}<div id="post">
  400. <div class="info">
  401. {block:NoteCount}+{NoteCount}<br>{/block:NoteCount}
  402. {block:Date}<a href="{Permalink}">{TimeAgo}</a>{/block:Date} <br />
  403. {block:HasTags}{block:Tags} <a href="{TagURL}" style="color:{color:tags};">{Tag}</a>{/block:Tags}{/block:HasTags}
  404. </div>
  405.  
  406. {block:ContentSource}
  407. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  408. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  409. {/block:SourceLogo}
  410. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  411. {/block:ContentSource}
  412.  
  413. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  414.  
  415. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-400}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  416.  
  417. {block:Photoset}{Photoset-400}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  418.  
  419. {block:Quote}<div id="quote">"{Quote}"</div>{block:Source} —{Source}{/block:Source}{/block:Quote}
  420.  
  421. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  422.  
  423. {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>{/block:Lines}{/block:Chat}
  424.  
  425. {block:Audio}{AudioPlayerWhite}{block:Caption}{Caption}{/block:Caption}{/block:Audio}
  426.  
  427. {block:Video}{Video-400}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  428.  
  429. {block:Answer}<div id="ask"></div>{Asker} asked:<br><div id="question">{Question}</div>{Answer}{/block:Answer}
  430.  
  431. </div>
  432.  
  433. {block:PermalinkPage}
  434. {block:RebloggedFrom}<a href="{ReblogParentURL}"
  435. title="{ReblogParentName}">source</a> / <a href="{ReblogRootURL}"title="{ReblogRootName}">via</a>{/block:RebloggedFrom}<br> {block:HasTags}{block:Tags}<small>/</small> <a href="{TagURL}"><small>{Tag} </small></a>{/block:Tags}{/block:HasTags}
  436. {block:PostNotes}{PostNotes-16}{/block:PostNotes}
  437. {/block:PermalinkPage}
  438.  
  439.  
  440. {/block:Posts}
  441.  
  442.  
  443.  
  444. {/block:Posts}
  445. </div>
  446. </div>
  447.  
  448. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment