Advertisement
Guest User

addictedtophotoshop's tumblr theme base code

a guest
May 11th, 2014
1,640
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.75 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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4.  
  5.  
  6. <head>
  7.  
  8. <!--
  9.  
  10. BASE CODE BY ADDICTEDTOPHOTOSHOP; YOU MAY MOVE OR DELETE THE CREDIT BUT PLEASE DON'T REPOST OR CLAIM IT AS YOUR OWN.
  11.  
  12. This theme is meant for beginner theme makers, which is why it doesn't have any customization options. I've done my best to clearly mark everything in the CSS and remove unnecessary coding which is sometimes present in my themes but if there are any glitches (or if you have questions about general coding) please message me!
  13.  
  14. -->
  15.  
  16. <title>{Title}</title> {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  17. <link rel="shortcut icon" href="{Favicon}" />
  18.  
  19. </style>
  20. <style type="text/css">
  21.  
  22. /* SCROLLBAR */
  23.  
  24. ::-webkit-scrollbar-thumb{
  25. background-color:#fff;
  26. height:auto;
  27. width:8px;
  28. }
  29.  
  30. ::-webkit-scrollbar {
  31. height:auto;
  32. width:8px;
  33. }
  34.  
  35. /* LINK STYLES */
  36.  
  37. a {
  38. color:#666;
  39. text-decoration:none;
  40. }
  41. a:hover {
  42. color:#bbb;
  43. text-decoration:none;
  44. }
  45.  
  46. /* THEME BODY */
  47.  
  48. body {
  49. font-family:arial;
  50. font-weight:normal;
  51. font-size:11px;
  52. }
  53.  
  54. /* HEADINGS */
  55.  
  56. h2 {
  57. font-weight:normal;
  58. font-size:10px;
  59. text-align:center;
  60. font-style:italic;
  61. line-height:50%;
  62. letter-spacing:1px;
  63. text-transform:normal;
  64. color:#000;
  65. }
  66. h1 {
  67. font-size:12px;
  68. text-align:center;
  69. line-height:100%;
  70. color:#000;
  71. font-weight:bold;
  72. text-transform:normal;
  73. padding:5px;
  74. padding-bottom:2px;
  75. }
  76. h1 a {
  77. color:#000;
  78. }
  79.  
  80. /* BLOCKQUOTE */
  81.  
  82. blockquote {
  83. border-left:2px solid #aaa;
  84. padding-left:5px;
  85. margin:5px;
  86. }
  87.  
  88. /* SIDEBAR */
  89.  
  90. #sidebar {
  91. position:fixed;
  92. width:auto;
  93. height:auto;
  94. margin-left:250px;
  95. opacity:1;
  96. z-index:92222;
  97. color:#000;
  98. margin-top:175px;
  99. }
  100. #sidebar img {
  101. width:200px;
  102. text-align:center;
  103. }
  104.  
  105. /* DESCRIPTION */
  106.  
  107. .description {
  108. margin-top:10px;
  109. text-align:justify;
  110. width:200px;
  111. line-height:120%;
  112. }
  113.  
  114. /* SIDEBAR LINKS */
  115.  
  116. .links {
  117. margin-top:12px;
  118. text-align:center;
  119. width:184px;
  120. font-family:arial;
  121. color:#000;
  122. line-height:120%;
  123. word-spacing:5px;
  124. padding:8px;
  125. background-color:#f3f3f3;
  126. }
  127.  
  128. /* PAGINATION */
  129.  
  130. .pagi {
  131. text-align:right;
  132. }
  133.  
  134. /* POSTS */
  135.  
  136. #postcontainer {
  137. float:left;
  138. margin-left:520px;
  139. width:500px;
  140. text-align:justify;
  141. color:#000;
  142. margin-bottom: 35px;
  143. }
  144. #posts {
  145. margin-top:50px;
  146. width:500px;
  147. text-align:justify;
  148. font-size:11px;
  149. line-height:90%;
  150. color:#000;
  151. outline-offset:20px;
  152. }
  153.  
  154. /* POST INFO */
  155.  
  156. #info {
  157. font-family:arial;
  158. margin-top:3px;
  159. padding:2px;
  160. font-size:7px;
  161. color:#666;
  162. text-transform:uppercase;
  163. font-style:normal;
  164. letter-spacing:1px;
  165. text-align:center;
  166. }
  167.  
  168. /* POST TYPES */
  169.  
  170. .question {
  171. padding-bottom:10px;
  172. text-align:left;
  173. color:#000;
  174. font-style:italic;
  175. border-bottom:1px solid #bbb;
  176. }
  177. .answer {
  178. text-align:right;
  179. padding:10px;
  180. color:#000;
  181. }
  182. .music {
  183. padding-bottom:10px;
  184. }
  185. .albumart {
  186. float:left;
  187. padding:0px 10px 10px 0px;
  188. }
  189. .albumart img {
  190. width:45px;
  191. height:45px;
  192. }
  193. .playercontainer {
  194. text-align:left;
  195. padding:10px;
  196. background-color:#ffffff;
  197. width:480px;
  198. }
  199. .musicinfo {
  200. padding:10px;
  201. color:#000;
  202. }
  203. .postnote {
  204. text-transform:uppercase;
  205. font-style:normal;
  206. letter-spacing:0px;
  207. font-size: 9px;
  208. text-align:left;
  209. line-height:90%;
  210. margin-left:-40px;
  211. }
  212. .postnote li {
  213. list-style-type:none;
  214. padding:10px 25px 10px 25px;
  215. text-align:left;
  216. margin:0px;
  217. }
  218.  
  219. /* TAGS */
  220.  
  221. .tags {
  222. font-family:arial;
  223. font-style:normal;
  224. text-transform:uppercase;
  225. font-style:normal;
  226. color:#000;
  227. letter-spacing:1px;
  228. line-height:120%;
  229. font-size:7px;
  230. text-align:center;
  231. padding:2px;
  232. }
  233.  
  234. /* CHAT POSTS */
  235.  
  236. ul.chat, .chat ol, .chat li {
  237. list-style:none;
  238. margin:0px;
  239. padding:2px;
  240. }
  241. .tab {
  242. text-decoration:underline;
  243. font-weight:700;
  244. background-color:#fff;
  245. margin-right:5px;
  246. }
  247.  
  248. /* CREDIT */
  249.  
  250. #credit {
  251. position:fixed;
  252. font-size:8px;
  253. letter-spacing:1px;
  254. right:10px;
  255. bottom:15px;
  256. }
  257. #credit a {
  258. padding:3px;
  259. color:#000;
  260. background-color:#ffffff;
  261. }
  262. #credit a:hover {
  263. color:#ffffff;
  264. background-color:#000;
  265. }
  266.  
  267. {CustomCSS}</style></head>
  268.  
  269. <body>
  270. <div id="sidebar">
  271. <a href="/"><img src="http://24.media.tumblr.com/5eaa3eb5b4959d6e1aac304f611c56b7/tumblr_n3jgswIedI1svrh8zo2_400.jpg"></a>
  272. <div class="links">
  273. <a href="/">inbox</a>
  274. <a href="/">about</a>
  275. <a href="/">tags</a>
  276. <a href="/">edits</a>
  277. <a href="/">codes</a>
  278. </div>
  279. <div class="description">{Description}<p>
  280. <div class="pagi">
  281. {block:Pagination}<p>
  282. {block:PreviousPage}
  283. <a href="{PreviousPage}">ยซ </a>
  284. {/block:PreviousPage}
  285. {CurrentPage} of {TotalPages}
  286. {block:NextPage}
  287. <a href="{NextPage}">ยป</a>
  288. {/block:NextPage}
  289. {/block:Pagination}
  290. </div>
  291. </div>
  292. </div>
  293.  
  294. <div id="postcontainer">
  295.  
  296. {block:Posts}
  297.  
  298. <div id="posts">
  299.  
  300. {block:Text}{block:Title}<h1>{Title}</h1>{/block:Title}{Body}{/block:Text}
  301.  
  302. {block:Quote}<h1>โ€œ{Quote}โ€</h1><h2>{Source}</h2>{/block:Quote}
  303.  
  304. {block:Link}<a href="{URL}"><h1>{Name}</h1></a>
  305. {block:Description}<p>{Description}</p>{/block:Description}{/block:Link}
  306. {block:Photo}<center><img src="{PhotoURL-500}"/></center>{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  307.  
  308. {block:Photoset}<center>{Photoset-500}</center>
  309. {block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  310.  
  311. {block:Chat}<ul class="chat">{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}<li>{block:Label}<span class="tab">{Label}</span>{/block:Label}&nbsp;{Line}</li>{/block:Lines}</ul>{/block:Chat}
  312.  
  313. {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  314. {block:Answer}<div class="question">{Asker} asked: {Question}</div><div class="answer">{Answer}</div>{/block:answer}
  315.  
  316. {block:Audio}<div class="music">{block:AlbumArt}<div class="albumart"><img src="{AlbumArtURL}"/></div>{/block:AlbumArt}
  317. <div class="musicinfo">{block:TrackName}<b>Title:</b> {TrackName}<br />{/block:TrackName}{block:Artist}<b>Artist:</b> {Artist}<br />{/block:Artist}
  318. {/block:ExternalAudio}<b>Played:</b> {PlayCount} times</div>
  319. <br><div class="playercontainer">{AudioPlayerWhite}</div></div>
  320. {block:Caption}{Caption}{/block:Caption}<br>{/block:Audio}
  321. {block:Date}<div id="info"><a href="{Permalink}">{TimeAgo} {block:NoteCount} WITH {NoteCountWithLabel}</a>{/block:NoteCount}{block:RebloggedFrom} VIA <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}
  322. {block:ContentSource} (Source: <a href="{SourceURL}">{SourceLink})</a>{/block:ContentSource}</div>{/block:Date}
  323. {block:HasTags}
  324. <div class="tags">
  325. {block:Tags} <a href="{TagURL}">#{Tag}</a> {/block:Tags} </div>
  326. {/block:HasTags}
  327. <div class="postnote">
  328. {block:PostNotes}{PostNotes}{/block:PostNotes}
  329. </div>
  330. </div>
  331. {/block:Posts}
  332. </div>
  333. </div>
  334. </div>
  335. <div id="credit"><a href="http://addictedtophotoshop.tumblr.com">THEME</a></div>
  336. </body>
  337. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement