Advertisement
harreyeh

hardziam's base code

Mar 20th, 2014
6,012
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.73 KB | None | 0 0
  1. <!-- base code theme, by hardziam // themesbyzsu.tumblr.com-->
  2.  
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4.  
  5. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  6.  
  7. <head>
  8.  
  9. <title>{Title}</title>
  10. <link rel="shortcut icon" href="{Favicon}">
  11. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  12.  
  13.  
  14. <meta name="font:Body" content="Helvetica" />
  15. <meta name="color:Background" content="#fff" />
  16. <meta name="color:Body" content="#333" />
  17. <meta name="color:Link" content="#8d8c8d" />
  18. <meta name="color:Link Hover" content="#c48e8e" />
  19. <meta name="image:Sidebar" content="" />
  20. <meta name="image:Background" content="" />
  21. <meta name="text:Link1" content="link" />
  22. <meta name="text:Link1 URL" content="/" />
  23. <meta name="text:Link2" content="link" />
  24. <meta name="text:Link2 URL" content="/" />
  25. <meta name="text:Link3" content="link" />
  26. <meta name="text:Link3 URL" content="/" />
  27. <meta name="text:Link4" content="link" />
  28. <meta name="text:Link4 URL" content="/" />
  29. <meta name="text:Link5" content="link" />
  30. <meta name="text:Link5 URL" content="/" />
  31.  
  32.  
  33. <style type="text/css">
  34.  
  35. body {
  36. background: {color:Background};
  37. background-image: url('{image:Background}');
  38. position:absolute;
  39. font-size:12px;
  40. font-family: {font:Body};
  41. width:100%;height:100%;
  42. margin:0;padding:0;
  43. color:{color:Body};
  44. }
  45.  
  46. blockquote {
  47. border-left:1px solid #eee;
  48. padding:5px;
  49. margin:0;margin-left:10px;
  50. padding-left:10px;
  51. text-align: justify;
  52. }
  53.  
  54. blockquote img {
  55. max-width: 100%;
  56. display: block;
  57. margin-bottom: 5px;
  58. }
  59.  
  60. blockquote blockquote {
  61. margin: 10px;
  62. padding: 10px;
  63. }
  64.  
  65. a {
  66. text-decoration:none;
  67. outline:none;
  68. color:{color:Link};
  69. -webkit-transition: all 0.5s ease-in-out;
  70. -moz-transition: all 0.5s ease-in-out;
  71. -o-transition: all 0.5s ease-in-out;
  72. }
  73.  
  74. a:hover {
  75. color:{color:Link Hover};
  76. -webkit-transition: all 0.5s ease-in-out;
  77. -moz-transition: all 0.5s ease-in-out;
  78. -o-transition: all 0.5s ease-in-out;
  79. }
  80.  
  81. h1 {
  82. font-family:{font:Body};
  83. text-align:center;
  84. }
  85.  
  86. h2 {
  87. font-family:tahoma;
  88. text-transform:uppercase;
  89. padding:5px;
  90. color:{color:Link};
  91. }
  92.  
  93. #title {
  94. font-family:{font:Title};
  95. color:{color:Body};
  96. font-style:italic;
  97. font-weight:bold;
  98. font-size:17px;
  99. text-align:center;
  100. text-decoration:none;
  101. -webkit-transition: all 0.5s ease-in-out;
  102. -moz-transition: all 0.5s ease-in-out;
  103. -o-transition: all 0.5s ease-in-out;
  104. }
  105.  
  106. #sidebar {
  107. position:fixed;
  108. top:80px;
  109. left:100px;
  110. width:190px;
  111. padding:5px;
  112. }
  113.  
  114. #sidebar img {
  115. width:190px;
  116. height:auto;
  117. text-align:center;
  118. }
  119.  
  120. #description {
  121. padding:10px;
  122. color:{color:Description};
  123. font-size:11px;
  124. text-align:justify;
  125. font-family:{font:Body};
  126. }
  127.  
  128. #pagination {
  129. background:black;
  130. color:white;
  131. }
  132.  
  133. #links {
  134. text-align:center;
  135. }
  136.  
  137.  
  138. #links a{
  139. display:inline-block;
  140. background:white;
  141. padding:3px;
  142. color:{color:Link};
  143. -webkit-transition: all 0.2s ease-in-out;
  144. -moz-transition: all 0.2s ease-in-out;
  145. -o-transition: all 0.2s ease-in-out;
  146. }
  147.  
  148. #links a:hover{
  149. color:{color:Background};
  150. background:{color:Link Hover};
  151. -webkit-transition: all 0.5s ease-in-out;
  152. -moz-transition: all 0.5s ease-in-out;
  153. -o-transition: all 0.5s ease-in-out;
  154. }
  155.  
  156.  
  157. #entries {
  158. position:absolute;
  159. left:50%;
  160. margin-left:-260px;
  161. }
  162.  
  163. #post {
  164. font-size:10px;
  165. padding: 10px;
  166. margin-bottom:30px;
  167. width: 500px;
  168. color:{color:Body};
  169. text-align: left;
  170. overflow:hidden;
  171. }
  172.  
  173. #info {
  174. padding: 10px;
  175. background:#fafafa;
  176. margin-top:10px;
  177. }
  178.  
  179.  
  180.  
  181.  
  182.  
  183. /* CHAT POSTS */
  184.  
  185. .chat li{
  186. display:block;
  187. padding:8px;
  188. }
  189.  
  190. /* QUOTE POSTS */
  191.  
  192. .quote h3{
  193. text-align:left;
  194. font-weight:bold;
  195. font-size:14px;
  196. line-height:1.7;
  197. }
  198.  
  199. .quote .source{
  200. text-align:right;
  201. }
  202.  
  203.  
  204.  
  205. #credit a{
  206. position:fixed;
  207. right:10px;
  208. bottom:10px;
  209. padding:4px;
  210. background:white;
  211. font-size:11px;
  212. color:black;
  213. -moz-transition-duration:1s;
  214. -webkit-transition-duration:1s;
  215. -o-transition-duration:1s;
  216. }
  217.  
  218. #credit a:hover {
  219. opacity:1;
  220. color:white;
  221. background:black;
  222. -moz-transition-duration:1s;
  223. -webkit-transition-duration:1s;
  224. -o-transition-duration:1s;
  225. }
  226.  
  227.  
  228. </style>
  229. <style type="text/css">{CustomCSS}</style>
  230. </head>
  231.  
  232. <body>
  233.  
  234. <!---
  235. <div id="sidebar">
  236. <div id="title">{Title}</div>
  237. <a href="/"><img src="{image:Sidebar}"/></a>
  238. <div id="description">
  239. {block:Description}{Description}{/block:Description}
  240. </div>
  241.  
  242. <center>
  243. {block:PreviousPage}<a href="{PreviousPage}">previous</a>{/block:PreviousPage} // {block:NextPage} <a href="{NextPage}">next</a>{/block:NextPage}</center>
  244.  
  245. <div id="links">
  246. <a href="{text:Link1 URL}">{text:Link1}</a>
  247. <a href="{text:Link2 URL}">{text:Link2}</a>
  248. <a href="{text:Link3 URL}">{text:Link3}</a>
  249. <a href="{text:Link4 URL}">{text:Link4}</a>
  250. <a href="{text:Link5 URL}">{text:Link5}</a>
  251. </div>
  252. </div>
  253. ------>
  254.  
  255.  
  256. <div id="entries">
  257. {block:Posts}
  258. <div id="post">
  259.  
  260. <!----- TEXT POSTS ---->
  261. {block:Text}<h1>{title}</h1>{Body}{/block:Text}
  262.  
  263.  
  264. <!----- QUOTE POSTS ---->
  265. {block:Quote}
  266. <div class="quote">
  267. <h3>“{Quote}”</h3>
  268. <div class="source">— {Source}</div>
  269. </div>
  270. {/block:Quote}
  271.  
  272.  
  273. <!----- LINK POSTS ---->
  274. {block:Link}
  275. <a href="{URL}" class="link" {Target}><h2>{Name}</h2></a>
  276. {block:Description}<p>{Description}</p>{/block:Description}{/block:Link}
  277.  
  278.  
  279. <!----- PHOTO POSTS ---->
  280. {block:Photo}
  281. <center>{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</center>
  282. {block:Caption}{Caption}{/block:Caption}
  283. {/block:Photo}
  284.  
  285.  
  286. <!----- PHOTOSET POSTS ---->
  287. {block:Photoset}
  288. <center>{Photoset-500}</center>
  289. {block:Caption}{Caption}{/block:Caption}
  290. {/block:Photoset}
  291.  
  292.  
  293. <!----- CHAT POSTS ---->
  294. {block:Chat}
  295. <div class="chat">
  296. {block:Title}<h1>{Title}</h1>{/block:Title}
  297. {block:Lines}<li>{block:Label}<b>{Label}</b>{/block:Label} {Line}</li>{/block:Lines}
  298. </div>
  299. {/block:Chat}
  300.  
  301.  
  302. <!----- VIDEO POSTS ---->
  303. {block:Video}
  304. {Video-500}
  305. {block:Caption}{Caption}{/block:Caption}
  306. {/block:Video}
  307.  
  308.  
  309. <!----- AUDIO POSTS ---->
  310. {block:Audio}
  311. {block:AudioPlayer}
  312. {AudioPlayerWhite}
  313. {/block:AudioPlayer}
  314. {block:AlbumArt}
  315. <img src="{AlbumArtURL}" width="200px"/>
  316. {/block:AlbumArt}
  317. <br>
  318. {block:TrackName}Track: {TrackName}{/block:TrackName}<br>
  319. {block:Artist}Artist: {Artist}{/block:Artist}<br>
  320. {block:Album}Album: {Album}{/block:Album}<br>
  321. {block:Playcount}Play count: {FormattedPlayCount}{/block:Playcount}
  322. {block:Caption}{Caption}{/block:Caption}
  323. {/block:Audio}
  324.  
  325. <!----- QUESTION POSTS ---->
  326. {block:Answer}
  327. <img src="{AskerPortraitURL-30}">
  328. {Asker} asked: {Question}<br>
  329. {Answer}
  330. {/block:Answer}
  331.  
  332.  
  333.  
  334. <div id="info">
  335. {block:Date}
  336. <a href="{Permalink}">{TimeAgo}</a><br>
  337. {block:NoteCount}<a href="{Permalink}">{NoteCountWithLabel}</a><br>{/block:NoteCount}
  338. {block:RebloggedFrom}via: <a href="{ReblogParentURL}">{ReblogParentName}</a>{block:ContentSource} / source: <a href="{ReblogRootURL}">{ReblogRootName}</a>{/block:ContentSource}<br>{/block:RebloggedFrom}
  339. {block:HasTags}{block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}{/block:HasTags}
  340.  
  341. {/block:Date}</div>
  342.  
  343. </div>
  344. {/block:Posts}
  345.  
  346. {block:PostNotes}{PostNotes}{/block:PostNotes}
  347.  
  348. </div>
  349.  
  350.  
  351.  
  352. <!----- put in your url here! ---->
  353. <div id="credit"><a href="http://hardziam.tumblr.com">HZ</a></div>
  354. </body>
  355. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement