Advertisement
jenncassandra

Theme (27) Base Code

Jul 8th, 2016
605
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head><title>{Title}</title>
  4. <link rel="shortcut icon" href="{Favicon}">
  5. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  6. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  7.  
  8. <!---- BASE CODE by tumblr user Ricekiss. ONLY REDISTRIBUTE AND OR RECREDIT IF YOU CHANGE THE THEME BEYOND BEING A BASE CODE. ENJOY. --->
  9.  
  10. <meta name="color:background" content="#ffffff"/>
  11. <meta name="color:text" content="#000"/>
  12. <meta name="color:desc" content="#fff"/>
  13. <meta name="color:link" content="#e89e8c"/>
  14. <meta name="color:postborder" content="#000"/>
  15. <meta name="color:postbackground" content="#fff"/>
  16.  
  17. <meta name="image:sidebar1" content=""/>
  18. <meta name="image:sidebar2" content=""/>
  19.  
  20. <meta name="text:title" content="title"/>
  21. <meta name="text:titlesize" content="14"/>
  22.  
  23. <meta name="text:link1url" content="/"/>
  24. <meta name="text:link1name" content="link one"/>
  25. <meta name="text:link2url" content="/"/>
  26. <meta name="text:link2name" content="link two"/>
  27. <meta name="text:link3url" content="/"/>
  28. <meta name="text:link3name" content="link three"/>
  29. <meta name="text:link4url" content="/"/>
  30. <meta name="text:link4name" content="link four"/>
  31. <meta name="text:link5url" content="/"/>
  32. <meta name="text:link5name" content="link five"/>
  33.  
  34.  
  35.  
  36. <style type="text/css">
  37.  
  38. #s-m-t-tooltip {
  39. max-width:300px;
  40. opacity:1;
  41. padding:3px 4px 5px 4px;
  42. margin:-35px 0px -10px 30px;
  43. background-color:{color:text};
  44. border: 1px solid black;
  45. font-size:9px;
  46. letter-spacing:2px;
  47. text-transform:uppercase;
  48. color:{color:background};
  49. z-index:1000;
  50.  
  51. }
  52.  
  53. body {
  54. background:{color:background};
  55. margin:0px;
  56. color:{color:text};
  57. font-size:10px;
  58. line-height:100%;
  59. font-family: helvetica;
  60. }
  61.  
  62. a {
  63. text-decoration:none;
  64. outline:none;
  65. -moz-outline-style:none;
  66. color:{color:link};
  67. }
  68.  
  69. img {
  70. border:none;
  71. }
  72.  
  73. blockquote {
  74. padding-left:5px;
  75. border-left:2px solid;
  76. }
  77.  
  78. blockquote blockquote {
  79. padding-left:5px;
  80. border-left:2px solid;
  81. }
  82.  
  83. all {
  84. font-size:15px;
  85. }
  86.  
  87. #entries {
  88. padding:10px;
  89. width:400px;
  90. margin-left:600px;
  91. margin-top:40px;
  92. }
  93.  
  94. #post {
  95. width:400px;
  96. padding-bottom:20px;
  97. background: {color:postbackground};
  98. padding: 20px;
  99. border: 1px solid {color:postborder};
  100. }
  101.  
  102. #title {
  103. position: fixed;
  104. top: 360px;
  105. left: 110px;
  106. font-size: {text:titlesize}px;
  107. text-align: center;
  108. font-family: helvetica;
  109. font-weight: bold;
  110. font-style: italic;
  111. letter-spacing: -1px;
  112. text-transform: uppercase;
  113. width: 100px;
  114.  
  115. }
  116.  
  117. #sidebarimage {
  118. width: 250px;
  119. z-index: 0;
  120. }
  121.  
  122. #sidebarimage1 img {
  123. position: fixed;
  124. top: 200px;
  125. left: 100px;
  126. width: 120px;
  127. height: 120px;
  128. z-index: 0;
  129. }
  130.  
  131. #sidebarimage2 img {
  132. position: fixed;
  133. top: 0px;
  134. left: 0px;
  135. width: 120px;
  136. height: 120px;
  137. z-index: 0;
  138. }
  139.  
  140. #description {
  141. position: fixed;
  142. color: {color:desc};
  143. margin-top: 160px;
  144. margin-left: 230px;
  145. width: 130px;
  146. text-align: left;
  147. font-weight: bold;
  148. line-height: 15px;
  149. z-index: 0;
  150.  
  151.  
  152. }
  153.  
  154. #links {
  155. position: fixed;
  156. top: 380px;
  157. left: 120px;
  158. text-transform: uppercase;
  159. letter-spacing: .5px;
  160. }
  161.  
  162. #pagination {
  163. position: fixed;
  164. top: 450px;
  165. left: 150px;
  166. font-size:26px;
  167. text-align:center;
  168. }
  169.  
  170. #info {
  171. text-align: right;
  172. margin-top:11px;
  173. margin-left: 0px;
  174. width: 400px;
  175. }
  176.  
  177. #asker {
  178. float:left;
  179. margin-right:5px;
  180. }
  181.  
  182. #quote{
  183. font-size: 15px;
  184. font-style: italic;
  185. font-weight: bold;
  186. letter-spacing: .5px;
  187. text-transform: uppercase;
  188. line-height: 15px;
  189. }
  190.  
  191. #cred {
  192. border: 1px solid black;
  193. position: fixed;
  194. bottom: 10px;
  195. right: 10px;
  196. padding: 3px;
  197. font-size: 10px;
  198. background: black;
  199. }
  200.  
  201. #cred:hover {
  202. font-style: italic;
  203. background: black;
  204. -o-transition:color .2s ease-out, background 1s ease-in;
  205. -ms-transition:color .2s ease-out, background 1s ease-in;
  206. -moz-transition:color .2s ease-out, background 1s ease-in;
  207. -webkit-transition:color .2s ease-out, background 1s ease-in;}
  208.  
  209. hr.separator {
  210. height: 10px;
  211. border: none;
  212. border-bottom: {color:text} solid 1px; margin: .5em 0 .5em; }
  213.  
  214. #asker2 {
  215. text-transform: uppercase;
  216. font-weight: bold;
  217. }
  218.  
  219. #question {
  220. background: #eee;
  221. padding: 3px;
  222. margin-left: -5px;
  223. }
  224.  
  225.  
  226.  
  227.  
  228. {CustomCSS}</style></head><script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  229.  
  230. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  231.  
  232. <script>
  233.  
  234. (function($){
  235.  
  236. $(document).ready(function(){
  237.  
  238. $("a[title]").style_my_tooltips({
  239.  
  240. tip_follows_cursor:true,
  241.  
  242. tip_delay_time:90,
  243.  
  244. tip_fade_speed:600,
  245.  
  246. attribute:"title"
  247.  
  248. });
  249.  
  250. });
  251.  
  252. })(jQuery);
  253.  
  254. </script><body>
  255.  
  256.  
  257.  
  258. <div id="title">{text:Title}</div>
  259.  
  260. <div id="description">{Description}</div>
  261.  
  262. </div>
  263.  
  264. <div id="sidebarimage1"><img src="{image:sidebar1}"></div>
  265. <div id="sidebarimage2"><img src="{image:sidebar2}"></div>
  266.  
  267. <div id="links">
  268. <a title ="{text:link1name}" a href="{text:link1url}">{text:link1name}</a> <br>
  269. <a title ="{text:link2name}" a href="{text:link2url}">{text:link2name}</a> <br>
  270. <a title ="{text:link3name}" a href="{text:link3url}">{text:link3name}</a> <br>
  271. <a title ="{text:link4name}" a href="{text:link4url}">{text:link4name}</a> <br>
  272. <a title ="{text:link5name}" a href="{text:link5url}">{text:link5name}</a> <br>
  273. </div>
  274.  
  275.  
  276.  
  277. <div id="pagination">{block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">←</a>{/block:PreviousPage}<br><br>
  278. {block:NextPage}<a href="{NextPage}"> →</a>{/block:NextPage}{/block:Pagination}
  279.  
  280. </div>
  281. </div>
  282.  
  283. <div id="entries">{block:Posts}<div id="post">
  284. {block:Text}<all>{block:Title}{Title}{/block:Title}</all>{Body}{/block:Text}
  285. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-400}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  286. {block:Photoset}{Photoset-400}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  287. {block:Quote}<div id="quote">❝ {Quote} ❞</div>{block:Source}<br><blockquote> —{Source}</blockquote>{/block:Source}{/block:Quote}
  288.  
  289. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  290.  
  291. {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>{/block:Lines}{/block:Chat}
  292.  
  293. {block:Audio}{AudioPlayerWhite}{block:Caption}{Caption}{/block:Caption}{/block:Audio}
  294.  
  295. {block:Video}{Video-400}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  296.  
  297. {block:Answer}
  298. <div id="asker">
  299. <img src="{AskerPortraitURL-30}"></div>
  300. <div id="asker2">{Asker} ;</div><br>
  301. <div id="question">{Question}</div>
  302. <br><br><div id="answer">{Answer}</div>
  303. {/block:Answer}
  304.  
  305. <hr class="separator">
  306. <div id="info">
  307. {block:Date}<b>{TimeAgo}</b>{/block:Date}<br><br><a href="{Permalink}">
  308. {NoteCountWithLabel}</a>{block:RebloggedFrom}<br> <a href="{ReblogRootURL}"title="{ReblogRoottitle}">source</a>{/block:RebloggedFrom}<br> {block:HasTags}{block:Tags} #<a href="{TagURL}">{Tag}</a>{/block:Tags}{/block:HasTags}</div>
  309.  
  310. </div>
  311. {block:PostNotes}{PostNotes}{/block:PostNotes}<br><br>
  312. {/block:Posts}</div>
  313.  
  314. <div id="cred"><a href="http://tumblr.com" a title="Cred">Credit</a></div>
  315.  
  316. <!---- ONLY INSERT YOUR OWN CREDIT IF YOU'VE EDITED THE THEME BEYOND BEING A BASE CODE. . ------>
  317.  
  318. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement