Advertisement
hamibal

Theme #2 w sidebar

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