Advertisement
Guest User

theme i edited to have a banner n stuff

a guest
Jul 23rd, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.25 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!-----
  5. toothache theme by negg
  6. base code by animecharacter
  7. dont touch the credit
  8. ----->
  9.  
  10. <meta charset="utf-8">
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  12. {block:Description}
  13. <meta name="description" content="{MetaDescription}" />
  14. {/block:Description}
  15.  
  16.  
  17. <title>{Title}</title>
  18.  
  19. <link rel="shortcut icon" href="{image:favicon}">
  20. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  21. <link rel="stylesheet" href="http://static.tumblr.com/qxrkgx6/RWPmgn2qa/normalize.min.css">
  22.  
  23. <script src="http://static.tumblr.com/qxrkgx6/LuRmgn2rm/modernizr-2.6.2.min.js"></script>
  24.  
  25. <meta name="image:banner" content=""/>
  26. <meta name="image:sidebar img" content=""/>
  27. <meta name="image:bg" content=""/>
  28. <meta name="image:permalink" content=""/>
  29. <meta name="image:favicon" content="">
  30.  
  31. <meta name="color:bg" content="#fff"/>
  32. <meta name="color:text color" content=""/>
  33. <meta name="color:link color" content=""/>
  34. <meta name="color:link border" content=""/>
  35. <meta name="color:link hover" content=""/>
  36. <meta name="color:post bg" content=""/>
  37.  
  38. <meta name="text:font size" content="13" />
  39.  
  40. <meta name="if:show title" content="" />
  41. <meta name="if:circle sidebar img" content="" />
  42. <meta name="if:show description" content="" />
  43. <meta name="if:full bg" content="" />
  44. <meta name="if:post bg" content="" />
  45.  
  46. <meta name="text:link divider" content="🌟"/>
  47.  
  48. <meta name="text:link 1" content=""/>
  49. <meta name="text:link 1 URL" content="" />
  50. <meta name="text:link 2" content=""/>
  51. <meta name="text:link 2 URL" content="" />
  52.  
  53. <style type="text/css">
  54.  
  55. body {
  56. color:{color:text color};
  57. background-color:{color:bg};
  58. background-image:url('{image:bg}');
  59. {block:iffullbg}background-size:100%; background-attachment: fixed;{/block:iffullbg}
  60. font-size:{text:font size}px;
  61. line-height:16px;
  62. text-align:justify
  63. }
  64.  
  65. p{
  66. margin:0 0 10px 0;
  67. padding:0;
  68. }
  69.  
  70. pre {
  71. white-space: pre-wrap;
  72. white-space: -moz-pre-wrap;
  73. white-space: -pre-wrap;
  74. white-space: -o-pre-wrap;
  75. word-wrap: break-word;
  76. }
  77.  
  78. a{
  79. color:{color:link color};
  80. text-shadow: -1px 0 {color:link border}, 0 1px {color:link border}, 1px 0 {color:link border}, 0 -1px {color:link border};
  81. text-decoration:none;
  82. letter-spacing:1px;
  83. font-size:{text:font size};
  84. }
  85.  
  86. a:hover{
  87. color:{color:link hover};
  88. }
  89.  
  90. li{
  91. margin-left:-15px;
  92. }
  93.  
  94. /*
  95. containers etc
  96. */
  97. #wrapper{
  98. width:600px;
  99. margin:50px auto;
  100. height:100%;
  101. }
  102.  
  103.  
  104. #sidebar{
  105. width:180px;
  106. position:fixed;
  107. margin-top:20px;
  108. margin-left:-90px;
  109. padding:25px;
  110. text-align:center;
  111. }
  112.  
  113. #sidebar img, .post img{
  114. max-width:100%;
  115. }
  116.  
  117. #banner{
  118. width:100%;
  119. height:110px;
  120. background: url('{image:banner}') top fixed repeat-x;
  121. position:fixed;
  122. margin-top:-60px;
  123. opacity:0.8;
  124. }
  125.  
  126.  
  127. #links {
  128. margin-top:10px;
  129. font-size:{text:font size};
  130. width:100%;
  131. text-align:center;
  132. }
  133.  
  134. #shit{position:fixed; bottom:10px; left:10px; font-family:{select:font};}
  135.  
  136. #content{
  137. width:500px;
  138. margin-left:200px;
  139. overflow:hidden;
  140. }
  141.  
  142.  
  143. .post{
  144. <font color:{color:text color};>text</font>
  145. width:400px;
  146. margin:0 50px 50px 0;
  147. text-align:justify;
  148. overflow:visible;
  149. padding:20px;
  150. border-radius:7px;
  151. {block:ifpostbg}background:{color:post bg};{/block:ifpostbg}
  152.  
  153.  
  154. }
  155.  
  156. #sidebar img, .post img{
  157. max-width:100%;
  158. }
  159.  
  160.  
  161. #nav{
  162. margin:50px 0 0 0;
  163. }
  164.  
  165.  
  166.  
  167. #footer{
  168. text-align: center;
  169. margin-left: auto;
  170. margin-right: auto;
  171. }
  172.  
  173.  
  174. /*
  175. content in the body of the posts - quotes, asks, etc
  176. "media" contains photos, photosets, videos, audio posts
  177. */
  178.  
  179.  
  180.  
  181. .media{
  182. margin:0 0 10px 0;
  183. }
  184.  
  185. #audio {
  186. width:100%;
  187. height:50px;
  188. margin-bottom:10px;
  189. display:block;
  190. padding:5px;
  191. }
  192.  
  193. #ask_form{ height: 255px!important;}
  194.  
  195.  
  196. #audio .player{background:#FFF;height:25px;width:25px;padding:2px;overflow:hidden;position:absolute;margin-top:8px;margin-left:8px;border:2px solid #fff;opacity:0.8;z-index:2;}
  197.  
  198.  
  199. .art{width:55px;height:55px; position:absolute;display:block;z-index:1;}
  200. .art img{width:50px;height:50px;}
  201.  
  202. .songtitle{margin-left:60px;height:40px;padding:5px 10px;line-height:13px;overflow:auto;font-size:{text:font size}px;}
  203.  
  204. .title{
  205. font-weight:normal;
  206. font-size:18px;
  207. margin:0 0 10px 0;
  208. }
  209.  
  210.  
  211. .quote{
  212. font-weight:normal;
  213. font-size:16px;
  214. font-style:italic;
  215. margin:0 0 10px 0;
  216. }
  217.  
  218. .question{
  219. margin-bottom:10px;
  220. }
  221.  
  222. blockquote{
  223. margin:0 0 10px 10px;
  224. padding:0 0 0 10px;
  225. border-left:solid 1px #000;
  226. }
  227.  
  228. /*
  229. post footers - date, tags, via and source
  230. */
  231. .post .footer{
  232. margin:0;
  233. text-align:center;
  234. }
  235.  
  236. /*
  237. post notes
  238. */
  239. ol.notes{
  240. list-style-type:none;
  241. padding:0;
  242. margin:0;
  243. }
  244.  
  245. ol.notes li.note img{
  246. width:16px;
  247. height:16px;
  248. }
  249.  
  250. ol.notes li.note{
  251. margin:0px;
  252. }
  253.  
  254. {CustomCSS}
  255. </style>
  256. </head>
  257.  
  258. <body>
  259. <div id="banner"></div>
  260.  
  261. <body>
  262. <div id="wrapper">
  263.  
  264.  
  265.  
  266.  
  267. <div id="sidebar">
  268. {block:ifshowtitle}<div id="title"><div class="title"><a href="/"><h2>{Title}</h2></a></div></div>{block:ifshowtitle}
  269. <a href="/">
  270. <img src="{image:sidebar img}"></a>
  271.  
  272. {block:ifshowdescription}<div id="description">{Description}</div> {/block:ifshowdescription}
  273.  
  274. <div id="links">
  275. <a href="{text:link 1 url}" title="{text:link 1}">{text:link 1}</a> {text:link symbol} {text:link divider} <a href="{text:link 2 url}" title="{text:link 2}">{text:link 2} </a>
  276. </div> </div>
  277.  
  278.  
  279.  
  280.  
  281. <div id="content">
  282. {block:Posts}
  283. <div class="post">
  284.  
  285. {block:Text}
  286. {block:Title}
  287. <div class="title">{Title}</div>
  288. {/block:Title}
  289. {Body}
  290. {/block:Text}
  291.  
  292.  
  293.  
  294. {block:Photo}
  295. <div class="media">{linkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{linkCloseTag}</div>
  296. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  297. {/block:Photo}
  298.  
  299. {block:Photoset}
  300. <div class="media">{Photoset-400}</div>
  301. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  302. {/block:Photoset}
  303.  
  304. {block:Quote}
  305. <div class="quote">"{Quote}"</div>
  306. {block:Source}
  307. <div class="quotesource">{Source}</div>
  308. {/block:Source}
  309. {/block:Quote}
  310.  
  311. {block:link}
  312. <div class="title"><a href="{URL}">{Name}</a></div>
  313. {block:Description}
  314. <div class="description">{Description}</div>
  315. {/block:Description}
  316. {/block:link}
  317.  
  318. {block:Chat}
  319. {block:Title}
  320. <div class="title">{Title}</div>
  321. {/block:Title}
  322.  
  323. {block:Lines}
  324. <div class="{Alt} user_{UserNumber}">
  325. {block:Label}
  326. <b>{Label}</b>{/block:Label}
  327. &nbsp;{Line}
  328. </div>
  329. {/block:Lines}
  330. {/block:Chat}
  331.  
  332. {block:Video}
  333. <div class="media">{Video-500}</div>
  334. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  335. {/block:Video}
  336.  
  337. {block:Audio}
  338. <div id="audio">
  339. <div class="art">{block:AlbumArt}<img src="{AlbumArtURL}">{/block:AlbumArt}</div>
  340. <div class="player">{AudioPlayerWhite}</div>
  341. <div class="songtitle">
  342. {block:TrackName}<i>{TrackName}</i>{/block:TrackName}<br>
  343. {block:Artist}{Artist}{/block:Artist}<br>
  344. {block:Album}{Album}{/block:Album}</div></div>
  345. {block:Caption}{Caption}{/block:Caption}
  346. {/block:Audio}
  347.  
  348.  
  349. {block:Answer}{Asker} asked: {Question}<br> <br>{Answer}{/block:Answer}
  350.  
  351.  
  352.  
  353.  
  354. {block:Date}
  355. <div class="footer">
  356. <a href="{Permalink}"> {block:NoteCount} {NoteCountWithLabel}{/block:NoteCount}</a>
  357.  
  358. <img src="{image:permalink}"/> <a href="{ReblogURL}" target="_blank" class="details">reblog</a>{block:HasTags}<br></text>{block:Tags}#<a href="{TagURL}">{Tag}</a> {/block:Tags}{/block:HasTags}<br>{TimeAgo}
  359.  
  360. </div>
  361.  
  362. {block:PermalinkPage}
  363. {block:NoteCount}
  364. {block:PostNotes}{PostNotes}{/block:PostNotes}
  365. {/block:NoteCount}
  366. {/block:PermalinkPage}
  367. {/block:Date}
  368.  
  369. </div>
  370. {/block:Posts}
  371.  
  372. <div id="shit"><a href="http://negg.tumblr.com/" title="toothache theme">💔</a></div>
  373.  
  374. {block:Pagination}
  375. <div id="nav">
  376. {block:PreviousPage}<a href="{PreviousPage}"> << </a>{/block:PreviousPage}
  377. {block:NextPage}<a href="{NextPage}"> >> </a>{/block:NextPage}
  378. </div>
  379. {/block:Pagination}
  380. </div>
  381. </div>
  382. </div>
  383.  
  384. </div>
  385.  
  386. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  387. <script>window.jQuery || document.write('<script src="http://static.tumblr.com/qxrkgx6/q6kmgn2w2/jquery-1.8.3.min.js"><\/script>')</script>
  388.  
  389. </body>
  390. </html>
  391.  
  392. </body>
  393. </html>
  394.  
  395. <script language="JavaScript">
  396. // FHS Tumblr follower counter and tracker
  397. var height = '76';
  398. var fhsf = document.createElement('script');
  399. fhsf.src = "//tc.freehostedscripts.net/tcounter.php?url=teddyhearted.tumblr.com&name=followers&a=1&s=1&h="+height+"";
  400. document.head.appendChild(fhsf);document.write("<span id='f_counter'></span>");
  401. </script>
  402.  
  403.  
  404. <script language="JavaScript">
  405. // FHS Tumblr Online Counter
  406. var height = '28';
  407. var fhs = document.createElement('script');var fhs_id = "5413534";
  408. var ref = (''+document.referrer+'');var pn = window.location;var w_h = window.screen.width + " x " + window.screen.height;
  409. fhs.src = "//s1.freehostedscripts.net/ocounter.php?site="+fhs_id+"&e1=💘 online&e2=💘s online&r="+ref+"&wh="+w_h+"&a=1&pn="+pn+"&s=1&a=1&h=&h="+height+"";
  410. document.head.appendChild(fhs);document.write("<span id='o_"+fhs_id+"'></span>");
  411. </script>
  412.  
  413. <script language="JavaScript">
  414. // FHS Text Counter
  415. var height = '52';
  416. var fhsh = document.createElement('script');var fhs_id_h = "3208353";
  417. fhsh.src = "//s1.freehostedscripts.net/ocount.php?site="+fhs_id_h+"&name=views&a=1&s=1&h="+height+"";
  418. document.head.appendChild(fhsh);document.write("<span id='h_"+fhs_id_h+"'></span>");
  419. </script>
  420.  
  421.  
  422.  
  423.  
  424.  
  425. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement