e-law-ise

A's Base Code

Apr 25th, 2014
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.58 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. <head>
  6.  
  7. <title>{title}</title>
  8. <link rel="shortcut icon" href="{Favicon}">
  9. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  10. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  11.  
  12. <!-------------------------------------------------------------------------
  13. ---------------Base Code by Adrienne Law (ladymirkwoods)-----------------
  14. --No credit required, as this is a base code, but it would be appreciated--
  15. -------Please like/reblog base code post so I know it's being used---------
  16. --------------------------------------------------------------------------->
  17.  
  18. <meta name="image:sidebar" content=""/>
  19. <meta name="color:Background" content=""/>
  20. <meta name="color:Title" content=""/>
  21. <meta name="color:Blockquote" content=""/>
  22. <meta name="color:Text" content=""/>
  23. <meta name="color:Border" content=""/>
  24. <meta name="color:Link" content=""/>
  25. <meta name="color:Linkhover" content=""/>
  26.  
  27. <meta name="text:link1" content="">
  28. <meta name="text:link1 url" content="/">
  29. <meta name="text:link2" content="">
  30. <meta name="text:link2 url" content="/">
  31. <meta name="text:link3" content="">
  32. <meta name="text:link3 url" content="/">
  33. <meta name="text:link4" content="">
  34. <meta name="text:link4 url" content="/">
  35.  
  36. <style type="text/css">
  37.  
  38.  
  39. /* BASIC PAGE INFO */
  40.  
  41. body {
  42. margin:0px;
  43. padding:0px;
  44. font-size:10px;
  45. font-family:trebuchet, sans-serif;
  46. font-weight:200;
  47. background:{color:background};
  48. line height:110%;
  49. letter-spacing:1px;
  50. color:{color:text};
  51. }
  52.  
  53. a {
  54. text-decoration:none;
  55. color:{color:link};
  56. }
  57.  
  58. a:hover {
  59. text-decoration:none;
  60. color:{color:linkhover};
  61. }
  62.  
  63. blockquote {
  64. padding-left:5px;
  65. border-left:2px solid;
  66. color:{color:blockquote};
  67. word-wrap: break-word;
  68. }
  69.  
  70.  
  71. /* SIDEBAR INFO */
  72.  
  73. #sidebar {
  74. position:fixed;
  75. left:175px;
  76. top:150px;
  77. width:200px;
  78. height:auto;
  79. }
  80. #title{
  81. width:200px;
  82. margin-right:auto;
  83. margin-left:auto;
  84. margin-top:5px;
  85. text-align:center;
  86. color:{color:title};
  87. font-size:14px;
  88. }
  89. #sidebar img {
  90. width:194px;
  91. margin-right:auto;
  92. margin-left:auto;
  93. margin-top:5px;
  94. text-align:center;
  95. padding:2px;
  96. border:1px solid gray;
  97. }
  98. #links {
  99. width:200px;
  100. margin-right:auto;
  101. margin-left:auto;
  102. margin-top:8px;
  103. text-align:center;
  104. }
  105. #links a{
  106. width:44px;
  107. padding:2px;
  108. margin:2px;
  109. }
  110. #description {
  111. width:200px;
  112. margin-right:auto;
  113. margin-left:auto;
  114. margin-top:10px;
  115. text-align:center;
  116. }
  117. #pagination {
  118. width:200px;
  119. margin-right:auto;
  120. margin-left:auto;
  121. margin-top:10px;
  122. text-align:center;
  123. }
  124.  
  125. /* POST INFO */
  126.  
  127. #container {
  128. margin-top:20px;
  129. margin-bottom:20px;
  130. margin-left:500px;
  131. width:500px;
  132. }
  133.  
  134. .entry {
  135. float:left;
  136. position:relative;
  137. width:500px;
  138. padding:10px;
  139. }
  140.  
  141. img {
  142. max-width:100%;
  143. }
  144.  
  145. h1 {
  146. text-align:center;
  147. font-size:12px;
  148. color:{color:title};
  149. }
  150.  
  151. #portrait img {
  152. float:left;
  153. margin-right:5px;
  154. }
  155.  
  156. #permalink {
  157. text-align:center;
  158. border-top:1px dotted {color:border};
  159. position:relative;
  160. margin-top:8px;
  161. padding-top:8px;
  162. }
  163.  
  164.  
  165. /* CREDIT INFO -- SINCE THIS IS A BASE CODE, YOU MAY REMOVE IF YOU WISH */
  166. /* I DO APPRECIATE ANY ACKNOWLEDGEMENT I RECEIVE, THOUGH */
  167.  
  168. #credit {
  169. position:fixed;
  170. bottom:8px;
  171. right:12px;
  172. }
  173.  
  174. </style>
  175.  
  176. </head>
  177.  
  178. <body>
  179.  
  180. <!--- SIDEBAR --->
  181.  
  182. <div id="sidebar">
  183. <div id="title">{Title}</div>
  184. <img src="{image:sidebar}">
  185. <div id="links">
  186. <a href="{text:link1 url}">{text:link1}</a>
  187. <a href="{text:link2 url}">{text:link2}</a>
  188. <a href="{text:link3 url}">{text:link3}</a>
  189. <a href="{text:link4 url}">{text:link4}</a>
  190. </div><!-- end of div "links" -->
  191. <div id="description">{Description}</div>
  192. <div id="pagination">
  193. {block:PreviousPage}<a href="{PreviousPage}">previous</a>{/block:PreviousPage}{block:NextPage} - <a href="{NextPage}">next</a>{/block:NextPage}
  194. </div><!-- end of div "pagination" -->
  195. </div><!-- end of div "sidebar" -->
  196.  
  197. <!--- POSTS --->
  198.  
  199. <div id="container">
  200. {block:posts}
  201. <div class="entry">
  202.  
  203. {block:text}
  204. <h1>{block:title}{title}{/block:title}</h1>
  205. {body}
  206. {/block:text}
  207.  
  208. {block:Photo}
  209. {LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}
  210. {block:Caption}{Caption}{/block:Caption}
  211. {/block:Photo}
  212.  
  213. {block:Photoset}
  214. {Photoset-500}
  215. {block:Caption}{Caption}{/block:Caption}
  216. {/block:Photoset}
  217.  
  218. {block:Quote}
  219. {Quote}
  220. {block:Source}<br>—{Source}{/block:Source}
  221. {/block:Quote}
  222.  
  223. {block:Link}
  224. <h1><a href="{URL}" {Target}>{Name}</a></h1>
  225. {block:Description}{Description}{/block:Description}
  226. {/block:Link}
  227.  
  228. {block:Chat}
  229. {block:Title}<h1>{Title}</h1>{/block:Title}
  230. {block:Lines}
  231. {block:Label}<b>{Label}</b>{/block:Label} {Line}<br>
  232. {/block:Lines}
  233. {/block:Chat}
  234.  
  235. {block:Audio}
  236. {AudioPlayerWhite}
  237. {block:Caption}{Caption}{/block:Caption}
  238. {/block:Audio}
  239.  
  240. {block:Video}
  241. {Video-500}
  242. {block:Caption}{Caption}{/block:Caption}
  243. {/block:Video}
  244.  
  245. {block:Answer}
  246. <div id="portrait"><img src="{AskerPortraitURL-40}"></div>
  247. {Asker}:<br>"{Question}"<p>{Answer}
  248. {/block:Answer}
  249.  
  250. <!--- POST INFO --->
  251.  
  252. <div id="permalink">
  253. {block:Date}{TimeAgo}{/block:Date} - <a href="{PermaLink}">{NoteCountWithLabel}</a> - <a href="{ReblogUrl}" target="_blank">➥ Reblog</a>
  254.  
  255. {block:rebloggedfrom}<br><a href="{reblogparenturl}" title="{reblogparentname}">Via</a> - <a href="{reblogrooturl}" title="{reblogrootname}">Source</a>
  256. {/block:rebloggedfrom}
  257.  
  258. <br>{block:hastags}{block:tags} #<a href="{tagurl}">{tag}</a>{/block:tags}
  259. {/block:hastags}
  260. </div><!-- end of div "permalink" -->
  261.  
  262. </div><!-- end of class "entry" -->
  263.  
  264. {/block:posts}
  265. {block:postnotes}{postnotes}{/block:postnotes}
  266. {/block:posts}
  267.  
  268. </div><!-- end of div "container" -->
  269.  
  270.  
  271.  
  272. <!------------------------------------------------------------------------------- SINCE THIS IS A BASE CODE, YOU MAY REMOVE THE CREDIT AFTER YOU'VE ----
  273. ----- EDITED, IF YOU WISH. I APPRECIATE ANY AND ALL ACKNOWLEDGEMENT YOU ----
  274. -------------- MAY GIVE ME FOR THE CREATION AND USE OF THIS CODE -----------
  275. --------------------------------------------------------------------------->
  276.  
  277. <div id="credit">base code by<br><a href="http://theleakycauldron.co.vu">ladymirkwoods</a></div>
  278.  
  279.  
  280. </body>
Advertisement
Add Comment
Please, Sign In to add comment