Advertisement
hamibal

Theme #2

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