Advertisement
haffalump

haffalump theme one

Apr 16th, 2012
1,615
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.24 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3.  
  4. <!--
  5. theme credit to hafsa (haffalump @ tumblr)
  6. the credit can not be removed or changed in any possible way.
  7. do not use this code as a base, and do not repost it/rehash it
  8. and use claim it as your own.
  9. -->
  10.  
  11. <html>
  12. <head>
  13.  
  14.  
  15. <link rel="shortcut icon" href="{Favicon}">
  16. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  17. {block:Description}
  18. <meta name="description" content="{MetaDescription}" />
  19. {/block:Description}
  20.  
  21. <meta name="color:Background" content ="#ffffff"/>
  22. <meta name="color:Border" content="#3a2e30"/>
  23. <meta name="color:Text" content="#2c2c2c"/>
  24. <meta name="color:Link" content="#454545"/>
  25. <meta name="color:Link Hover" content="#647e65"/>
  26. <meta name="font:Title" content="Baskerville, Arial, Helvetica Neue"/>
  27. <meta name="font:Body" content="Baskerville, Arial, Helvetica"/>
  28.  
  29. <style type="text/css">
  30.  
  31. body {
  32. background-color: "{color:Background}";
  33. border-left: 132px solid ebefdb;
  34. font-family: {font:Body};
  35. font-size: 9px;
  36. color: {color:Text};
  37. }
  38.  
  39.  
  40. .sidebar {
  41. font-family: {font:Body};
  42. font-size: 9px;
  43. color: {color:Text};
  44. text-align: justify;
  45. text-transform: lowercase;
  46. width: 120px;
  47. font-weight: 400;
  48. position: fixed;
  49. left: 50px;
  50. background-color: #eeeeee;
  51. padding: 20px;
  52. height: 500px;
  53. overflow: auto;
  54. margin-top: 48px;
  55.  
  56. }
  57.  
  58. a {
  59. color: {color:Link};
  60. font-weight: none;
  61. text-decoration: none;
  62. }
  63.  
  64. a:hover {
  65. color: {color:Link Hover};
  66. }
  67.  
  68. a img {
  69. border: 0px;
  70. }
  71.  
  72. .content {
  73. position: absolute;
  74. top: 10px;
  75. right: 146px;
  76. width: 500px;
  77. padding: 10px;
  78. padding-bottom: 50px;
  79. background-color: #ffffff;
  80. }
  81.  
  82.  
  83. .post img {
  84. display: block;
  85. margin: 0 auto;
  86. }
  87.  
  88. .post {
  89. margin-top: 60px;
  90.  
  91. }
  92.  
  93. .notesandtags {
  94. padding: 5px;
  95. margin-bottom: 5px;
  96. margin-top: 5px;
  97. margin-left: -6px;
  98. }
  99.  
  100. .tags {
  101. font-size: 7px;
  102. float: right;
  103. text-transform: lowercase;
  104. margin-top: -2px;
  105. }
  106.  
  107. .tag {
  108. font-family: {font:Body};
  109. font-size: 7px;
  110. color: #444444;
  111. text-transform: uppercase;
  112. font-weight: none;
  113. width: 500px;
  114. margin-right: 0px;
  115.  
  116. }
  117.  
  118. .time {
  119. font-family: {font:Body};
  120. font-size: 7px;
  121. color: #444444;
  122. text-transform: uppercase;
  123. font-weight: none;
  124. width: 500px;
  125. }
  126.  
  127. h3 {
  128. font-family: {font:Body};
  129. font-size: 11px;
  130. color: #444444;
  131. text-align: left;
  132. text-transform: lowercase;
  133. font-weight: bold;
  134. font-style: italic;
  135. }
  136.  
  137. blockquote {
  138. font-family: {font:Body};
  139. font-size: 9px;
  140. color: #444444;
  141. text-align: left;
  142. text-transform: lowercase;
  143. font-weight: bold;
  144. font-style: italic;
  145. padding: 5px;
  146. margin: 5px;
  147. }
  148.  
  149. .quote {
  150. font-family: {font:Body};
  151. font-size: 9px;
  152. color: #444444;
  153. text-align: center;
  154. text-transform: lowercase;
  155. font-weight: bold;
  156. font-style: italic;
  157. }
  158.  
  159. .source {
  160. margin-left: 25px;
  161. font-family: {font:Body};
  162. font-size: 7px;
  163. color: #444444;
  164. text-transform: uppercase;
  165. font-weight: none;
  166. }
  167.  
  168. .link {
  169. font-family: {font:Body};
  170. font-size: 11px;
  171. color: #444444;
  172. text-align: center;
  173. text-transform: lowercase;
  174. font-weight: bold;
  175. font-style: italic;
  176. text-transform: lowercase;
  177. }
  178.  
  179. .link:hover {
  180. color: #647e65;
  181. }
  182.  
  183. ul.chat {
  184. margin: 0;
  185. padding: 0;
  186. }
  187.  
  188. .chat li {
  189. list-style-type: none;
  190. font-size: 10px;
  191. margin-left: 0px;
  192. padding: 3px;
  193. }
  194.  
  195. .chat li.odd {
  196. margin-bottom: 1px;
  197. color: #454545;
  198. font-size: 10px;
  199. }
  200.  
  201. .chat li.even {
  202. margin-bottom: 1px;
  203. color: #454545;
  204. font-size: 10px;
  205. }
  206.  
  207. .label {
  208. font-weight: bold;
  209. }
  210.  
  211. .title {
  212. font-family: {font:Title};
  213. font-size: 9px;
  214. color: {color:Text};
  215. text-align: center;
  216. text-transform: lowercase;
  217. font-weight: bold;
  218. font-style: italic;
  219. }
  220.  
  221. #navcontainer
  222. {
  223. margin: 0px;
  224. padding: 0px;
  225. text-align: center;
  226. }
  227. #navcontainer { display: inline; }
  228. #navcontainer a
  229. {
  230. text-decoration: none;
  231. padding: .2em 1em;
  232. color: #fff;
  233. }
  234.  
  235.  
  236. #navcontainer a:hover
  237. {
  238. color: #fff;
  239. background-color: #369;
  240. }
  241.  
  242. ::-webkit-scrollbar {
  243. height: 12px;
  244. width: 10px;
  245. background: #ebefdb;
  246. }
  247. ::-webkit-scrollbar-thumb {
  248. background: #3a2e30;
  249.  
  250. }
  251. ::-webkit-scrollbar-corner {
  252. background: #ebefdb;
  253. }
  254.  
  255.  
  256. ol.notes {
  257. padding: 0px;
  258. margin: 25px 0px;
  259. font-size: 10px;
  260. list-style-type: none;
  261.  
  262. }
  263.  
  264. ol.notes li.note {
  265. padding: 2px;
  266. }
  267.  
  268. ol.notes li.note img.avatar {
  269. vertical-align: -4px;
  270. margin-right: 10px;
  271. width: 10px;
  272. height: 10px;
  273. }
  274.  
  275. ol.notes li.note span.action {
  276. font-weight: none;
  277. }
  278.  
  279. ol.notes li.note .answer_content {
  280. font-weight: normal;
  281. }
  282.  
  283. ol.notes li.note blockquote {
  284. border-color: none;
  285. padding: 4px 10px;
  286. margin: 5px 0px 0px 25px;
  287. }
  288.  
  289. ol.notes li.note blockquote a {
  290. text-decoration: none;
  291.  
  292. {CustomCSS}
  293. </style>
  294.  
  295. <title>{Title}</title>
  296.  
  297. </head>
  298.  
  299. <body>
  300. <div style=" background-color: {color:Border}; position: relative; left: 0px; top:0px; position: fixed; height: 655px; width: 320px; background-image: url(url to 655x320 graphic); background-position: right center; padding-left: 134px; background-repeat:no-repeat; border-right: 100px solid #ebefdb; "></div>
  301.  
  302. <div style=" border-right: 100px solid #ebefdb; position: relative; right: 0px; top:0px; position: fixed; height: 655px; width: 200px; "></div>
  303.  
  304. <div style="position: relative; right: 0px; bottom:5px; position: fixed; "><a href="http://haffalump.tumblr.com/">theme</a></div>
  305.  
  306. <div class="content">
  307.  
  308. {block:Posts}
  309.  
  310.  
  311.  
  312. {block:Text}
  313. <div class="post">
  314. {block:Title}
  315. <h3><a href="{Permalink}">{Title}</a></h3>
  316. {/block:Title}
  317. {Body}
  318. </div>
  319. {/block:Text}
  320.  
  321. {block:Photo}
  322. <div class="post">
  323. {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}
  324. {Caption}
  325. </div>
  326. {/block:Photo}
  327.  
  328. {block:Photoset}
  329. <div class="post">
  330. <center>{Photoset-500}</center>
  331. {Caption}
  332. </div>
  333. {/block:Photoset}
  334.  
  335. {block:Quote}
  336. <div class="post">
  337. <span class="quote">"{Quote}"</span>
  338. {block:Source}
  339. <div class="source">– {Source}</div>
  340. {/block:Source}
  341. </div>
  342. {/block:Quote}
  343.  
  344. {block:Link}
  345. <div class="post">
  346. <a href="{URL}" class="link" {Target}>{Name}</a>
  347. {block:Description}
  348. <div class="description">{Description}</div>
  349. {/block:Description}
  350. </div>
  351. {/block:Link}
  352.  
  353. {block:Chat}
  354. <div class="post">
  355. {block:Title}
  356. <h3><a href="{Permalink}">{Title}</a></h3>
  357. {/block:Title}
  358. <ul class="chat">
  359. {block:Lines}
  360. <li class="{Alt} user_{UserNumber}">
  361. {block:Label}
  362. <span class="label">{Label}</span>
  363. {/block:Label}
  364. {Line}
  365. </li>
  366. {/block:Lines}
  367. </ul>
  368. </div>
  369. {/block:Chat}
  370.  
  371. {block:Video}
  372. <div class="post">
  373. <center>{Video-500}</center>
  374. {Caption}
  375. </div>
  376. {/block:Video}
  377.  
  378.  
  379. {block:Audio}
  380. <div class="post">
  381. {AudioPlayerBlack}
  382. {Caption}
  383. </div>
  384. {/block:Audio}
  385.  
  386. <div class="notesandtags">
  387. <div class="time">{block:Date}Posted <a href="{Permalink}">{TimeAgo}</a>{/block:Date}
  388. <div class="tags">{block:Tags}<a href="{TagURL}" class="tag">{Tag}</a> {/block:Tags} {block:NoteCount}{NoteCount}{/block:NoteCount}</div>
  389. </div>
  390. </div>
  391.  
  392. {PostNotes}
  393. {/block:Posts}
  394. </div>
  395.  
  396.  
  397.  
  398.  
  399. <div class="sidebar">
  400.  
  401. <div style="height: 500px; ">
  402.  
  403. <center><div class="title">{Title}</div> </center>
  404.  
  405. <p align="center">
  406. {block:AskEnabled}<a href="/ask">ask</a> - {/block:AskEnabled} {block:SubmissionsEnabled}<a href="/submit">{SubmitLabel}</a> - {/block:SubmissionsEnabled} <a href="/">home</a> - <a href="/archive">Archive</a>
  407.  
  408. <center><div id=”navcontainer”>
  409. {block:HasPages}
  410. {block:Pages}
  411.  
  412. <a href={URL}>{Label}</a>
  413.  
  414. {/block:Pages}
  415. {/block:HasPages}</div>
  416. </center>
  417.  
  418.  
  419. {block:Description}<p>{Description}{/block:Description}
  420.  
  421. <p align="center">
  422.  
  423. {block:Pagination}
  424. {block:PreviousPage}
  425. <a href="{PreviousPage}">&#8592; Previous</a>
  426. {/block:PreviousPage}
  427.  
  428. {block:JumpPagination length="5"}
  429. {block:CurrentPage}
  430. <span class="current_page">{PageNumber}</span>
  431. {/block:CurrentPage}
  432.  
  433. {block:JumpPage}
  434. <a class="jump_page" href="{URL}">{PageNumber}</a>
  435. {/block:JumpPage}
  436. {/block:JumpPagination}
  437.  
  438. {block:NextPage}
  439. <a href="{NextPage}">Next &#8594;</a>
  440. {/block:NextPage}
  441. {/block:Pagination}
  442.  
  443. </div>
  444. </div>
  445.  
  446. </body>
  447. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement