oftenwrongthemes

Base Code #1

Jan 25th, 2015
4,029
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.78 KB | None | 0 0
  1. <html>
  2. <head>
  3.  
  4. <title>{Title}</title>
  5. <link rel="shortcut icon" href="{Favicon}">
  6. <link rel="altertnate" type="application/rss+xml" href="{RSS}">
  7. <meta name="description" content="" />
  8. <meta http-equiv="x-dns-prefetch-control" content="off"/>
  9.  
  10. <!---META TAGS--->
  11.  
  12. <meta name="image:Sidebar" content=""/>
  13. <meta name="color:Background" content="#fff"/>
  14. <meta name="color:Text" content="#555"/>
  15. <meta name="color:Links" content="#000"/>
  16. <meta name="color:Links hover" content="#eee"/>
  17. <meta name="text:Link 1" content=""/>
  18. <meta name="text:Link 1 url" content=""/>
  19. <meta name="text:Link 2" content=""/>
  20. <meta name="text:Link 2 url" content=""/>
  21. <meta name="text:Link 3" content=""/>
  22. <meta name="text:Link 3 url" content=""/>
  23.  
  24. <!---BASE CODE BY BISEXUALAMY - YOU MUST CREDIT ME IN YOUR THEME POST--->
  25.  
  26. <style type="text/css">
  27.  
  28. /*EDIT MAIN FONT AND BACKGROUND COLOR*/
  29.  
  30. body {
  31. font-size: 11px;
  32. font-family: Arial, Calibri, sans-serif;
  33. color: {color:text};
  34. background-color: {color:background};
  35. }
  36.  
  37. /*EDIT MAIN LINKS*/
  38.  
  39. a {
  40. color: {color:links};
  41. text-decoration: none;
  42. -moz-transition-duration: 0.5s;
  43. -o-transition-duration: 0.5s;
  44. -webkit-transition-duration: 0.5s;
  45. transition-duration: 0.5s;
  46. }
  47.  
  48. /*EDIT MAIN LINKS HOVER*/
  49.  
  50. a:hover {
  51. color: {color:links hover};
  52. -moz-transition-duration: 0.5s;
  53. -o-transition-duration: 0.5s;
  54. -webkit-transition-duration: 0.5s;
  55. transition-duration: 0.5s;
  56. }
  57.  
  58. /*EDIT THEME CONTAINER*/
  59.  
  60. .container {
  61. width: 800px;
  62. margin: auto;
  63. }
  64.  
  65. /*EDIT SIDEBAR CONTAINER*/
  66.  
  67. .sidebar {
  68. width: 250px;
  69. position: fixed;
  70. margin-top: 10%;
  71. }
  72.  
  73. /*EDIT TITLE*/
  74.  
  75. .title {
  76. font-family: serif;
  77. font-size: 25px;
  78. text-align: right;
  79. font-style: italic;
  80. text-transform: lowercase;
  81. font-weight: bold;
  82. }
  83.  
  84. /*EDIT SIDEBAR IMAGE*/
  85.  
  86. .sidebar img {
  87. width: 250px;
  88. }
  89.  
  90. /*EDIT SIDEBAR LINKS*/
  91.  
  92. .sblinks {
  93. padding-top: 10px;
  94. padding-bottom: 5px;
  95. text-transform: uppercase;
  96. text-align: center;
  97. font-size: 10px;
  98. }
  99.  
  100. /*EDIT DESCRIPTION*/
  101.  
  102. .desc {
  103. width: 230px;
  104. text-align: center;
  105. padding-left: 10px;
  106. }
  107.  
  108. /*EDIT PAGINATION*/
  109.  
  110. .pagi {
  111. text-align: center;
  112. }
  113.  
  114. .pagi a {
  115. font-size: 15px;
  116. width: 270px;
  117. text-align: center;
  118. position: relative;
  119. top: 10px;
  120. }
  121.  
  122. /*EDIT POST CONTAINERS*/
  123.  
  124. .postcon {
  125. width: 500px;
  126. margin-left: 300px;
  127. }
  128.  
  129. .posts {
  130. margin-bottom: 20px;
  131. padding: 20px;
  132. }
  133.  
  134. /*EDIT POST TITLES*/
  135.  
  136. h1 {
  137. text-align: center;
  138. text-transform: lowercase;
  139. font-family: serif;
  140. font-style: italic;
  141. }
  142.  
  143. /*EDIT QUOTE POSTS*/
  144.  
  145. h2 {
  146. text-align: center;
  147. text-transform: lowercase;
  148. font-family: serif;
  149. font-style: italic;
  150. font-size: 20px;
  151. }
  152.  
  153. .source {
  154. text-align: center;
  155. }
  156.  
  157. /*EDIT TEXT POST DETAILS*/
  158.  
  159. .posts li {
  160. list-style: disc;
  161. }
  162.  
  163. .posts blockquote {
  164. border-left: 1px solid {color:text};
  165. padding-left: 10px;
  166. }
  167.  
  168. /*EDIT QUESTION POSTS*/
  169.  
  170. .question {
  171. font-weight: bold;
  172. }
  173.  
  174. .answer {
  175. width: 500px;
  176. }
  177.  
  178. /*EDIT CHAT POSTS*/
  179.  
  180. .convo {
  181. list-style: none;
  182. line-height: 120%;
  183. }
  184.  
  185. .label {
  186. text-transform: uppercase;
  187. padding-right: 2px;
  188. font-weight: bold;
  189. }
  190.  
  191. /*EDIT AUDIO POSTS*/
  192.  
  193. .playbutton {
  194. width: 25px;
  195. height: 28px;
  196. padding: 5px;
  197. overflow: hidden;
  198. position: relative;
  199. z-index: 1000
  200. }
  201.  
  202. .playbox {
  203. background-color: #fff;
  204. position: absolute;
  205. z-index: 1000;
  206. margin-top: 17px;
  207. margin-left: 17px;
  208. opacity: .7;
  209. }
  210.  
  211. .audiodesc {
  212. position: relative;
  213. left: 5px;
  214. top: -12px;
  215. font-size: 11px;
  216. }
  217.  
  218. /*EDIT POST INFO*/
  219.  
  220. .postinfo {
  221. text-align: center;
  222. text-transform: lowercase;
  223. padding-top: 10px;
  224. }
  225.  
  226. /*EDIT TAGS*/
  227.  
  228. .tags {
  229. text-align: center;
  230. padding-top: 5px;
  231. }
  232.  
  233. /*EDIT POSTNOTES*/
  234.  
  235. .postnotes {
  236. line-height: 200%;
  237. text-align: center;
  238. margin-top: 20px;
  239. list-style: none;
  240. margin-left: -25px
  241. }
  242.  
  243. .postnotes ol.notes {
  244. list-style-type: none;
  245. }
  246.  
  247. .postnotes li {
  248. list-style-type: none;
  249. }
  250.  
  251. .postnotes img.avatar {
  252. width: 0px;
  253. height: 0px;
  254. }
  255.  
  256. /*EDIT CREDIT - YOU MUST CREDIT ME IN THE POST OF YOUR THEME*/
  257.  
  258. .credit a {
  259. position: fixed;
  260. bottom: 10px;
  261. right: 10px;
  262. }
  263.  
  264. </style>
  265. </head>
  266.  
  267. <body>
  268.  
  269. <div class="container">
  270.  
  271. <!---SIDEBAR--->
  272.  
  273. <div class="sidebar">
  274.  
  275. <div class="title">{Title}</div>
  276.  
  277. <img src="{image:sidebar}">
  278.  
  279. <div class="sblinks">
  280.  
  281. <a href="/" style="padding-right: 10px;">home</a>
  282. <a href="/ask" style="padding-right: 10px;">ask</a>
  283. <a href="{text:link 1 url}" style="padding-right: 10px;">{text:link 1}</a>
  284. <a href="{text:link 2 url}" style="padding-right: 10px;">{text:link 2}</a>
  285. <a href="{text:link 3 url}" style="padding-right: 10px;">{text:link 3}</a>
  286.  
  287. </div>
  288.  
  289. <div class="desc">{Description}</div>
  290.  
  291. <div class="pagi">
  292. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">←</a>{/block:PreviousPage}
  293. {block:NextPage}<a href="{NextPage}">→</a>{/block:NextPage}{/block:Pagination}
  294. </div>
  295.  
  296. </div>
  297.  
  298. <!---END SIDEBAR--->
  299.  
  300. <!---POSTS--->
  301.  
  302. <div class="postcon">
  303. {block:Posts}
  304. <div class="posts">
  305.  
  306. {block:Text}
  307. {block:Title}<h1>{Title}</h1>{/block:Title}
  308. {Body}
  309. {/block:Text}
  310.  
  311. {block:Answer}
  312. <div class="question">{Asker} asked: {Question}</div>
  313. <div class="answer">{Answer}</div>
  314. {/block:Answer}
  315.  
  316. {block:Quote}
  317. <h2>{Quote}</h2>
  318. {block:Source}<div class="source">{Source}</div>{/block:Source}
  319. {/block:Quote}
  320.  
  321. {block:Link}
  322. <h1><a href="{URL}">{Name}</a></h1>
  323. {block:Description}{Description}{/block:Description}
  324. {/block:Link}
  325.  
  326. {block:Chat}
  327. {block:Title}<h1>{Title}</h1>{/block:Title}
  328. <div class="convo">{block:Lines}<div class="line">{block:Label}<span class="label">{Label}</span>{/block:Label}
  329. {Line}</div>{/block:Lines}</div>
  330. {/block:Chat}
  331.  
  332. {block:Photo}
  333. {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}">{LinkCloseTag}
  334.  
  335. {block:Caption}{Caption}{/block:Caption}
  336. {/block:Photo}
  337.  
  338. {block:Photoset}
  339. {Photoset-500}
  340. {block:Caption}{Caption}{/block:Caption}
  341. {/block:Photoset}
  342.  
  343. {block:Audio}
  344. <table><tr><td><div class="playbox"><div class="playbutton">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div></div>
  345. {block:AlbumArt}<img src="{AlbumArtURL}" height="70" width="70">{/block:AlbumArt}</td>
  346. <td><div class="audiodesc">{block:TrackName}<b>Title:</b> {TrackName}<br>{/block:TrackName}{block:Artist}<b>Artist:</b> {Artist}<br>{/block:Artist} {block:Album}<b>Album:</b> {Album}<br>{/block:Album}</div></td></tr></table>{block:Caption}{Caption}{/block:Caption}
  347. {/block:Audio}
  348.  
  349. {block:Video}
  350. {Video-500}
  351. {block:Caption}{Caption}{/block:Caption}
  352. {/block:Video}
  353.  
  354. <!---END POSTS--->
  355.  
  356. <!---POST INFO--->
  357.  
  358. <div class="postinfo">
  359.  
  360. <a href="{Permalink}" style="padding-left: 5px; padding-right; 5px;">{block:Date} {ShortMonth} {DayOfMonthWithZero}{/block:Date}</a>
  361.  
  362. <a href="{Permalink}" style="padding-left: 5px; padding-right; 5px;">{block:NoteCount}+{NoteCount}{/block:NoteCount}</a>
  363.  
  364. {block:RebloggedFrom}<a href="{ReblogParentURL}" style="padding-left: 5px; padding-right; 5px;">via</a>
  365.  
  366. <a href="{ReblogRootURL}" style="padding-left: 5px; padding-right; 5px;">source</a>{/block:RebloggedFrom}
  367.  
  368. <a href="{ReblogURL}" target="_blank" style="padding-left: 5px; padding-right; 5px;">reblog</a>
  369.  
  370. <div class="tags">{block:HasTags} {block:Tags} <a href="/tagged/{TAG}" style="margin-right: 3px;">#{TAG}</a> {/block:Tags} {/block:HasTags}</div>
  371.  
  372. {block:PostNotes}<div class="postnotes">{PostNotes}</div>{/block:PostNotes}
  373.  
  374. </div>
  375.  
  376. </div>
  377. {/block:Posts}
  378. </div>
  379.  
  380. <!---END POST INFO--->
  381.  
  382. </div>
  383.  
  384. </body>
  385. <!---CREDIT--->
  386. <div class="credit"><a href="http://bisexualamy.tumblr.com/">▲▲▲</a></div>
  387. </html>
Advertisement
Add Comment
Please, Sign In to add comment