oftenwrongthemes

Base Code #2

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