Advertisement
singforabsolution

Base Code

Nov 17th, 2012
4,076
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.75 KB | None | 0 0
  1. <!--
  2. Base code made by tomkirk.tumblr.com
  3. -->
  4. <html>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml">
  7. <head>
  8.  
  9. <!--Default Variables-->
  10. <!--Colors-->
  11. <meta name="color:Background" content="#ffffff"/>
  12. <meta name="color:Text" content="#828282"/>
  13. <meta name="color:Link" content="#8ea089"/>
  14. <meta name="color:Link Hover" content="#e8e8e8"/>
  15. <meta name="color:Border" content="#4d4949"/>
  16.  
  17. <!--Images-->
  18. <meta name="image:Background" content""/>
  19. <meta name="image:Sidebar" content""/>
  20.  
  21. <!--Options-->
  22. <meta name="if:Infinite Scrolling" content=""/>
  23.  
  24. {block:ifInfiniteScrolling}
  25. <script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code"></script>
  26. {/block:ifInfiniteScrolling}
  27.  
  28. {block:Description}
  29. <meta name="description" content="{MetaDescription}" />{/block:Description}
  30. <title>
  31. {block:PostSummary}
  32. {PostSummary} - {/block:PostSummary}{Title}</title>
  33. </style>
  34.  
  35. <style type="text/css">
  36.  
  37. body{
  38. background-color: {color:Background};
  39. background-image: url({image:Background});
  40. background-attachment: fixed;
  41. background-repeat: repeat;
  42. background-position: center;
  43. font-family:helvetica;
  44. font-size:11px;
  45. line-height:12px;
  46. color:{color:Text};
  47. }
  48.  
  49. a:link, a:active, a:visited{
  50. color: {color:Link};
  51. text-decoration:none;
  52. }
  53.  
  54. a:hover{
  55. color: {color:Link Hover};
  56. }
  57.  
  58. #container {
  59. margin:auto;
  60. width:700px;
  61. }
  62.  
  63. #entry {
  64. width:500px;
  65. margin-left:180px;
  66. margin-top:45px;
  67. padding:3px;
  68. }
  69.  
  70. #permalink{
  71. position:relative;
  72. margin-top:5px;
  73. padding:2px;
  74. font-size:8px;
  75. text-transform:uppercase;
  76. }
  77.  
  78. #side {
  79. text-align:center;
  80. position:fixed;
  81. width:140px;
  82. margin-top:80px;
  83. margin-left:-20px;
  84. z-index:1;
  85. padding:4px;
  86. }
  87.  
  88. .navigate{
  89. font-size:10px;
  90. text-transform:uppercase;
  91. margin-top:4px;
  92. margin-bottom:4px;
  93. }
  94.  
  95. .blogtitle{
  96. font-size:20px;
  97. line-height:20px;
  98. }
  99.  
  100. .posttitle{
  101. font-size: 18px;
  102. line-height: 20px;
  103. }
  104.  
  105. blockquote{
  106. margin-left:10px;
  107. padding-left:4px;
  108. border-left: 3px solid {color:Text};
  109. }
  110.  
  111. .p { padding-top: 5px; }
  112. .ol, ul { margin-left: 10px; padding: 5px; }
  113. .ul { list-style-type: square; }
  114.  
  115. {CustomCSS}
  116. </style>
  117.  
  118. <link rel="shortcut icon" href="{Favicon}">
  119. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" /><meta name="viewport" content="width=820" />
  120.  
  121. </head>
  122. <body>
  123. <div id="container">
  124.  
  125. <div id="side">
  126. <div class="blogtitle"><a href="/">{Title}</a></div>
  127. <img src="{image:Sidebar}" width="130" style="border:6px solid {color:Border};">
  128.  
  129. <div class="navigate">
  130. <a href="/">home</a>
  131. <a href="/ask">ask</a>
  132. <a href="/archive">archive</a>
  133. </div>
  134.  
  135. {Description}
  136.  
  137. <br>
  138. {block:ifNotInfiniteScrolling}
  139. <div class="navigate">
  140. {block:Pagination}
  141. {block:PreviousPage}
  142. <a href="{PreviousPage}">ยซ prev</a>
  143. {/block:PreviousPage}
  144. {CurrentPage} out of {TotalPages}
  145. {block:NextPage}
  146. <a href="{NextPage}">next ยป</a>
  147. {/block:NextPage}
  148. {/block:Pagination}
  149. </div>
  150. {/block:ifNotInfiniteScrolling}
  151. </div>
  152.  
  153. {block:Posts}
  154. <div id="entry">
  155.  
  156. {block:Text}
  157. {block:Title}
  158. <div class="posttitle">{Title}</div>
  159. {/block:Title}
  160. {Body}
  161. {/block:Text}
  162.  
  163. {block:Link}
  164. <div class="posttitle">
  165. <a href="{URL}">{Name}</a>
  166. </div>
  167. {block:Description}{Description}{/block:Description}
  168. {/block:Link}
  169.  
  170. {block:Photo}
  171. <center>
  172. {LinkOpenTag}
  173. <a href="{permalink}">
  174. <img src="{PhotoURL-500}" alt="{PhotoAlt}" width="500"></a>
  175. {LinkCloseTag}
  176. </center>
  177. {block:Caption}{Caption}{/block:Caption}
  178. {block:ContentSource}
  179. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  180. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  181. {/block:SourceLogo}
  182. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  183. {/block:ContentSource}
  184. {block:ReblogParentURL}
  185. <!-- {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  186. {/block:ReblogParentURL}
  187. {/block:Photo}
  188.  
  189. {block:Photoset}
  190. {Photoset-500}
  191. {block:Caption}{Caption}{/block:Caption}
  192. {/block:Photoset}
  193.  
  194. {block:Quote}
  195. <div class="posttitle">"{Quote}"</div>
  196. {block:Source}
  197. - {Source}
  198. {/block:Source}
  199. {/block:Quote}
  200.  
  201. {block:Chat}
  202. {block:Title}
  203. <div class="posttitle">
  204. {Title}
  205. </div>
  206. {/block:Title}
  207. {block:Lines}
  208. {block:Label}
  209. <b>{Label} </b>
  210. {/block:Label}
  211. {Line}
  212. <br>
  213. {/block:Lines}
  214. {/block:Chat}
  215.  
  216. {block:Audio}
  217. {block:AudioPlayer}{AudioPlayerGrey}{/block:AudioPlayer}
  218.  
  219. {block:TrackName}
  220. <b>Title</b>:{TrackName}
  221. {/block:TrackName}
  222. <br>
  223. {block:Artist}
  224. <b>Artist:</b>{Artist}
  225. {/block:Artist}
  226. <br>
  227. {PlayCountWithLabel}
  228. <br>
  229. {block:Caption}{Caption}{/block:Caption}
  230. {/block:Audio}
  231.  
  232. {block:Video}
  233. {Video-500}
  234. {block:Caption}{Caption}{/block:Caption}
  235. {/block:Video}
  236.  
  237. {block:IndexPage}
  238. <div id="permalink">
  239. posted
  240. <a href="{Permalink}"> {TimeAgo}</a>
  241. with
  242. <a href="{Permalink}">{NoteCountWithLabel}</a>
  243. <br>
  244. {block:RebloggedFrom}
  245. VIA: <a href="{ReblogParentURL}">{ReblogParentName}</a>
  246. <br>
  247. Source: <a href="{ReblogRootURL}">{ReblogRootName}</a>
  248. {/block:RebloggedFrom}
  249. <br>
  250. <a href="{ReblogURL}" target="_blank" class="details">Reblog</a>
  251. <br>
  252. Tagged as:
  253. {block:Tags}<a href="{TagURL}">#{Tag}</a>
  254. {/block:Tags}
  255. {/block:HasTags}
  256. </div>
  257. {/block:IndexPage}
  258.  
  259. {block:PermalinkPage}
  260. <div id="permalink">
  261. posted
  262. <a href="{Permalink}"> {TimeAgo}</a>
  263. with
  264. <a href="{Permalink}">{NoteCountWithLabel}</a>
  265. <br>
  266. VIA: <a href="{ReblogParentURL}" target="_blank">{ReblogParentName}</a>
  267. <br>
  268. Source: <a href="{ReblogRootURL}" target="_blank">{ReblogRootURL}</a>
  269. <br>
  270. <a href="{ReblogURL}" target="_blank" class="details">Reblog</a>
  271. <br>
  272. Tagged as:
  273. {block:Tags}<a href="{TagURL}">#{Tag}</a>
  274. {/block:Tags}
  275. {/block:HasTags}
  276. </div>
  277. {/block:PermalinkPage}
  278.  
  279. {block:PostNotes}
  280. {PostNotes}
  281. {/block:PostNotes}
  282. </div>
  283. {/block:Posts}
  284.  
  285. </body>
  286. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement