Advertisement
haffalump

haffalump theme four

Aug 5th, 2012
3,212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.69 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. <!--theme four
  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.  
  12.  
  13.  
  14.  
  15. <link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>
  16.  
  17. <head>
  18.  
  19. <html>
  20.  
  21. <script type="text/javascript">
  22. $(window).load(function(){
  23. $("p").remove(":contains('Source:')”);
  24. $("p").remove(":contains('(via')");
  25. });
  26. </script>
  27.  
  28.  
  29.  
  30.  
  31. <link rel="shortcut icon" href="{Favicon}">
  32. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  33. {block:Description}
  34. <meta name="description" content="{MetaDescription}" />
  35. {/block:Description}
  36.  
  37.  
  38. <meta name="image:Background" content=""/>
  39.  
  40. <meta name="font:Body" content="'Droid Sans', georgia, lucida sans,"/>
  41. <meta name="color:Text" content="#9d9d9d"/>
  42. <meta name="color:Link" content="#c6c6c6"/>
  43. <meta name="color:Link Hover" content="#ffffff"/>
  44. <meta name="color:Scroll" content="#555555"/>
  45.  
  46. <meta name="text:Link1" content="Link 1"/>
  47. <meta name="text:Link1 URL" content="/"/>
  48. <meta name="text:Link2" content="Link 2"/>
  49. <meta name="text:Link2 URL" content="/"/>
  50. <meta name="text:Link3" content="Link 3"/>
  51. <meta name="text:Link3 URL" content="/"/>
  52.  
  53.  
  54.  
  55. <style type="text/css">
  56.  
  57.  
  58.  
  59.  
  60. body {
  61. background-color: #ffffff;
  62. font-family: {font:Body};
  63. font-size: 9px;
  64. color: {color:Text};
  65. letter-spacing: 1px;
  66. }
  67.  
  68.  
  69. .content {
  70. position: absolute;
  71. top: 0px;
  72. left: 100px;
  73. width: 500px;
  74. padding: 10 30 10 30px;
  75. padding-bottom: 50px;
  76. background-color: #ffffff;
  77. }
  78.  
  79.  
  80. .sidebar {
  81. font-family: 'Droid Sans', lucida sans, arial, sans-serif;
  82. font-size: 7px;
  83. letter-spacing: 2px;
  84. color: #777777;
  85. text-align: justify;
  86. text-transform: uppercase;
  87. width: 240px;
  88. padding: 40px 30px 40px 30px;
  89. padding-top: 10px;
  90. background-color: #ffffff;
  91. overflow: auto;
  92. letter-spacing: 0px;
  93. line-height: 130%;
  94.  
  95. }
  96.  
  97. .sidebar a:link, .sidebar a:visited, .sidebar a:active{
  98.  
  99. color: #555555;
  100. }
  101.  
  102.  
  103. .sidebar a:hover {
  104. color: #ffffff;
  105. text-decoration: none;
  106. }
  107.  
  108. .title {
  109. font-family: 'Droid Sans', lucida sans, arial, sans-serif;
  110. font-size: 8px;
  111. letter-spacing: 2px;
  112. color: #777777;
  113. text-align: center;
  114. text-transform: uppercase;
  115. font-weight: none;
  116. letter-spacing: 0px;
  117. padding: 15px 0px 15px 0px;
  118. font-style: none;
  119. }
  120.  
  121. a {
  122. font-weight: none;
  123. text-decoration: none;
  124. color:{color:Link};
  125.  
  126. }
  127.  
  128. a:hover {
  129. color: {color:Link Hover};
  130. text-decoration: none;
  131. }
  132.  
  133. a img {
  134. border: 0px;
  135. }
  136.  
  137.  
  138.  
  139. .post img {
  140. display: block;
  141. margin: 0 auto;
  142. }
  143.  
  144. .post {
  145. margin-top: 180px;
  146. text-align: justify;
  147.  
  148.  
  149. }
  150.  
  151. .notesandtags {
  152. padding: 5px;
  153. margin-bottom: 5px;
  154. margin-top: 30px;
  155. margin-left: -6px;
  156. }
  157.  
  158. .tags {
  159. font-size: 6px;
  160. float: right;
  161. text-transform: lowercase;
  162. margin-top: 2px;
  163. }
  164.  
  165. .tag {
  166. font-family: 'Droid Sans', arial, times new roman, sans-serif;
  167. font-size: 6px;
  168. letter-spacing: 1px;
  169. color: {color:Text};
  170. text-transform: uppercase;
  171. font-weight: none;
  172. width: 500px;
  173. margin-right: 3px;
  174.  
  175. }
  176.  
  177. .time {
  178. font-family: 'Droid Sans', arial, times new roman, sans-serif;
  179. font-size: 6px;
  180. letter-spacing: 1px;
  181. color: {color:Text};
  182. text-transform: uppercase;
  183. font-weight: none;
  184. width: 500px;
  185. }
  186.  
  187. h3 {
  188. font-family: 'Droid Sans', arial, times new roman, sans-serif;
  189. font-size: 8px;
  190. color: #9d9d9d;
  191. text-align: justify;
  192. letter-spacing: 1px;
  193. text-transform: uppercase;
  194. font-weight: none;
  195. font-style: none;
  196. margin-bottom: 30px;
  197. }
  198.  
  199. .h3 a:link, .h3 a:visited, .h3 a:active{
  200. color: #000000;}
  201.  
  202. blockquote {
  203. font-family: 'Droid Sans', arial, times new roman, sans-serif;
  204. font-size: 9px;
  205. color: {color:Text};
  206. text-align: justify;
  207. text-transform: lowercase;
  208. font-weight: none;
  209. font-style: none;
  210. padding: 5px;
  211. margin: 5px;
  212. }
  213.  
  214. .quote {
  215. font-family: 'Droid Sans', arial, times new roman, sans-serif;
  216. font-size: 8px;
  217. color: {color:Text};
  218. text-align: justify;
  219. letter-spacing: 1px;
  220. text-transform: uppercase;
  221. font-weight: none;
  222. font-style: none;
  223. }
  224.  
  225. .source {
  226. margin-left: 25px;
  227. font-family: 'Droid Sans', arial, times new roman, sans-serif;
  228. font-size: 6px;
  229. letter-spacing: 1px;
  230. color: {color:Text};
  231. text-transform: uppercase;
  232. font-weight: none;
  233. }
  234.  
  235. .link {
  236. font-family: 'Droid Sans', arial, times new roman, sans-serif;
  237. font-size: 8px;
  238. color: #9d9d9d;
  239. text-align: left;
  240. letter-spacing: 1px;
  241. text-transform: uppercase;
  242. font-weight: bold;
  243. font-style: none;
  244. }
  245.  
  246. .link:hover {
  247. color: #ffffff;
  248. }
  249.  
  250. ul.chat {
  251. margin: 0;
  252. padding: 0;
  253. }
  254.  
  255. .chat li {
  256. list-style-type: none;
  257. font-size: 8px;
  258. margin-left: 0px;
  259. padding: 3px;
  260. text-transform: uppercase;
  261. }
  262.  
  263. .chat li.odd {
  264. margin-bottom: 1px;
  265. color:{color:Text};
  266. font-size: 8px;
  267. text-transform: uppercase;
  268. }
  269.  
  270. .chat li.even {
  271. margin-bottom: 1px;
  272. color: {color:Text};
  273. font-size: 8px;
  274. text-transform: uppercase;
  275. }
  276.  
  277. .label {
  278. font-weight: none;
  279. }
  280.  
  281.  
  282.  
  283. #navcontainer
  284. {
  285. margin: 0px;
  286. padding: 0px;
  287. text-align: center;
  288. font-size: 10px;
  289. }
  290. #navcontainer { display: inline; }
  291. #navcontainer a
  292. {
  293. text-decoration: none;
  294. padding: .2em 1em;
  295. color: #fff;
  296. font-size: 10px;
  297. }
  298.  
  299.  
  300. #navcontainer a:hover
  301. {
  302. color: #fff;
  303. background-color: #369;
  304. font-size: 10px;
  305. }
  306.  
  307.  
  308. ::-webkit-scrollbar {
  309. height: 30px;
  310. width: 8px;
  311. background: #ffffff;
  312. }
  313. ::-webkit-scrollbar-thumb {
  314. background: {color:Scroll};
  315.  
  316. }
  317. ::-webkit-scrollbar-corner {
  318. background: #ffffff;
  319. }
  320.  
  321.  
  322. .box {width: 300px; height: 100px; margin:auto; z-index: 1; }
  323. .main {width: 300px; background-color: #ffffff; color: #000000; padding: 10 0 10 0px;}
  324. .b5 {;opacity: 0.0; height: 0px; width: 300px;margin-bottom: 0px; position: absolute; font-size: 7px; text-transform: uppercase; transition-duration: 0.6s; -moz-transition-duration: 0.6s; -webkit-transition-duration: 0.6s; -o-transition-duration: 0.6s;}
  325. .box:hover
  326. .b5 { opacity: 1.0; height: 20px; font-size: 7px; text-transform: uppercase; transition-duration: 0.6s; -moz-transition-duration: 0.6s; -webkit-transition-duration: 0.6s; -o-transition-duration: 0.6s;}
  327.  
  328. ol.notes {
  329. padding: 0px;
  330. margin: 25px 0px;
  331. font-size: 10px;
  332. list-style-type: none;
  333.  
  334. }
  335.  
  336. ol.notes li.note {
  337. padding: 2px;
  338. }
  339.  
  340. ol.notes li.note img.avatar {
  341. vertical-align: -4px;
  342. margin-right: 10px;
  343. width: 10px;
  344. height: 10px;
  345. }
  346.  
  347. ol.notes li.note span.action {
  348. font-weight: none;
  349. }
  350.  
  351. ol.notes li.note .answer_content {
  352. font-weight: normal;
  353. }
  354.  
  355. ol.notes li.note blockquote {
  356. border-color: none;
  357. padding: 4px 10px;
  358. margin: 5px 0px 0px 25px;
  359. }
  360.  
  361. ol.notes li.note blockquote a {
  362. text-decoration: none;
  363.  
  364.  
  365.  
  366.  
  367. {CustomCSS}
  368. </style>
  369.  
  370. <center><title>{Title}</title></center>
  371.  
  372. </head>
  373.  
  374.  
  375.  
  376. <body>
  377.  
  378.  
  379.  
  380. <div style=" position: fixed; right: 0px; top:0px; height: 670px; width: 500px; background-image: url({image:Background}); background-position: center center; ">
  381. </div>
  382.  
  383.  
  384.  
  385.  
  386. <div style="position: relative; left: 10px; bottom:5px; position: fixed; color: #000; "><a href="http://haffalump.tumblr.com/">theme</a></div>
  387.  
  388. <div class="content">
  389.  
  390.  
  391. {block:Posts}
  392.  
  393.  
  394.  
  395. {block:Text}
  396. <div class="post">
  397. {block:Title}
  398. <h3><a href="{Permalink}">{Title}</a></h3>
  399. {/block:Title}
  400. {Body}
  401. </div>
  402. {/block:Text}
  403.  
  404. {block:Photo}
  405. <div class="post">
  406. {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}
  407. {Caption}
  408. </div>
  409. {/block:Photo}
  410.  
  411. {block:Photoset}
  412. <div class="post">
  413. <center>{Photoset-500}</center>
  414. {Caption}
  415. </div>
  416. {/block:Photoset}
  417.  
  418. {block:Quote}
  419. <div class="post">
  420. <span class="quote">"{Quote}"</span>
  421. {block:Source}
  422. <div class="source">– {Source}</div>
  423. {/block:Source}
  424. </div>
  425. {/block:Quote}
  426.  
  427. {block:Link}
  428. <div class="post">
  429. <a href="{URL}" class="link" {Target}>{Name}</a>
  430. {block:Description}
  431. <div class="description">{Description}</div>
  432. {/block:Description}
  433. </div>
  434. {/block:Link}
  435.  
  436. {block:Chat}
  437. <div class="post">
  438. {block:Title}
  439. <h3><a href="{Permalink}">{Title}</a></h3>
  440. {/block:Title}
  441. <ul class="chat">
  442. {block:Lines}
  443. <li class="{Alt} user_{UserNumber}">
  444. {block:Label}
  445. <span class="label">{Label}</span>
  446. {/block:Label}
  447. {Line}
  448. </li>
  449. {/block:Lines}
  450. </ul>
  451. </div>
  452. {/block:Chat}
  453.  
  454. {block:Video}
  455. <div class="post">
  456. <center>{Video-500}</center>
  457. {block:Caption}
  458. {/block:Caption}
  459. </div>
  460. {/block:Video}
  461.  
  462.  
  463. {block:Audio}
  464. <div class="post">
  465. {AudioPlayerBlack}
  466. {Caption}
  467. </div>
  468. {/block:Audio}
  469.  
  470. <div class="notesandtags">
  471. <div class="time">{block:Date}Posted <a href="{Permalink}">{TimeAgo}</a>{/block:Date}
  472. <div class="tags">{block:Tags}<a href="{TagURL}" class="tag">{Tag}</a> {/block:Tags} {block:NoteCount}{NoteCount}{/block:NoteCount}</div>
  473. </div>
  474. </div>
  475.  
  476. {PostNotes}
  477. {/block:Posts}
  478. </div>
  479.  
  480. <div style=" position: fixed; right: 130px; bottom:225px; ">
  481. <div class="box">
  482.  
  483. <div class="main">
  484.  
  485. <center><div class="title">{Title}</div> </center>
  486.  
  487.  
  488. </div>
  489.  
  490. <div class="b5" style="text-align: center;">
  491.  
  492. <div class="sidebar">
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499. <center><p align="center">
  500. <div style="font-size: 7px; ">
  501. <a href="/ask">ask</a>
  502. <a href="/">home</a>
  503. <a href="/archive">archive</a>
  504. <a href="{text:Link1 URL}">{text:Link1}</a>
  505. <a href="{text:Link2 URL}">{text:Link2}</a>
  506. <a href="{text:Link3 URL}">{text:Link3}</a>
  507. </div></center>
  508.  
  509.  
  510.  
  511. <p>
  512. <center><div style="font-size: 7px; color: #000; width: 150px;"><div id=”navcontainer”>
  513. {block:HasPages}
  514. {block:Pages}
  515.  
  516. <a href={URL}>{Label}</a> -
  517.  
  518. {/block:Pages}
  519. {/block:HasPages}</div></div></center>
  520.  
  521.  
  522.  
  523. {block:Description}<p><div class="sidebartransition">{Description}</div>{/block:Description}
  524. </div>
  525.  
  526.  
  527.  
  528. </div>
  529.  
  530. <div style=" position: fixed; right: 70px; bottom:295px; width: 45px; background-color: #ffffff; color: #000000; padding: 10 0 10 0px; height: 20px; font-size: 6px; text-transform: uppercase; ">
  531. <p align="center">
  532.  
  533. {block:Pagination}
  534. {block:PreviousPage}
  535. <a href="{PreviousPage}">«</a>
  536. {/block:PreviousPage}
  537.  
  538. {block:JumpPagination length="3"}
  539. {block:CurrentPage}
  540. <span class="current_page">{PageNumber}</span>
  541. {/block:CurrentPage}
  542.  
  543. {block:JumpPage}
  544. <a class="jump_page" href="{URL}">{PageNumber}</a>
  545. {/block:JumpPage}
  546. {/block:JumpPagination}
  547.  
  548. {block:NextPage}
  549. <a href="{NextPage}">»</a>
  550. {/block:NextPage}
  551. {/block:Pagination}
  552.  
  553. </div>
  554.  
  555. </div>
  556. </div>
  557.  
  558.  
  559.  
  560. </div>
  561.  
  562. </body>
  563. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement