Advertisement
tobemarissa

TBM Theme 26: Essential

Oct 18th, 2013
1,635
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.66 KB | None | 0 0
  1. <!--You cannot remove credit! If you absolutely NEED to move it, I expect it to be placed somewhere else on the theme, preferably on the main page. If you remove credit, I will report you :) I take a lot of time on these theme so please respect that. If you have any questions or problems, just let me know and I'll be happy to help you! :)-->
  2.  
  3. <html>
  4.  
  5. <head>
  6.  
  7. <meta name="color:links" content="#929292" />
  8. <meta name="color:linkshover" content="#868484" />
  9. <meta name="color:sidebar" content="#ffffff" />
  10. <meta name="color:background" content="#dbc9bd" />
  11. <meta name="image:background" content="" />
  12. <meta name="image:sidebar" content="" />
  13. <meta name="text:link1" content=""/>
  14. <meta name="text:link1url" content="" />
  15.  
  16.  
  17.  
  18. <link rel="shortcut icon" href="http://media.tumblr.com/tumblr_lm6pl0WOW91qfoi4t.gif">
  19.  
  20. {block:Description}
  21. <meta name="description" content="{MetaDescription}" />
  22. {/block:Description}
  23.  
  24. <title>{Title}</title>
  25.  
  26.  
  27. <style type="text/css">
  28.  
  29. @font-face {font-family:"arma";src:url('http://static.tumblr.com/7glhdxz/B3Mmgevme/pf_arma_five.ttf');}
  30.  
  31. @font-face {font-family:"Bebas Neue";src:url('http://static.tumblr.com/cvlbtjz/cnsln9tpp/bebasneue.otf');}
  32.  
  33.  
  34. /*GENERAL*/
  35.  
  36. body{
  37. background-image:url('{image:background}');
  38. background-color:{color:background};
  39. background-attachment: fixed;
  40. font-family:"arma";
  41. font-size:8px;
  42. }
  43.  
  44. a:link, a:active, a:visited{
  45. color: {color:links};
  46. text-decoration: none;}
  47.  
  48. a:hover {
  49. color:{color:linkshover};
  50. text-decoration: none;}
  51.  
  52. b, strong{
  53. letter-spacing: 1px;
  54. color: #b1b1b1;
  55. text-transform: none;
  56. text-shadow: 1px 1px 2px #e1dad4;
  57. text-decoration: none;
  58. font-weight: normal;
  59. }
  60.  
  61.  
  62.  
  63. /*SIDEBAR*/
  64.  
  65. div#sidebar{
  66. margin-left:120px;
  67. width:175px;
  68. height:auto;
  69. background:{color:sidebar};
  70. margin-top:220px;
  71. font-family:"arma";
  72. font-size:8px;
  73. padding:5px;
  74. position:fixed;
  75. border: 1px solid #ccc;
  76. }
  77.  
  78. div#title{
  79. margin-left:120px;
  80. width:175px;
  81. text-align:center;
  82. font-size:30px;
  83. position:fixed;
  84. margin-top:190px;
  85. background:transparent;
  86. font-family:"Bebas Neue";
  87. z-index:1;
  88.  
  89. }
  90.  
  91. /*POSTS*/
  92.  
  93. div#posts{
  94. margin-left: 400px;
  95. margin-top:10px;
  96. width:900px;
  97. height:110%;
  98. background: transparent;
  99.  
  100. }
  101.  
  102. .entry {
  103. margin:7px;
  104. padding:5px;
  105. float:left;
  106. background-color: white;
  107. overflow: hidden;
  108. border:1px solid #ddd;
  109. {block:IndexPage}
  110. width:200px;
  111. {/block:IndexPage}
  112. {block:PermalinkPage}
  113. width:500px;
  114. line-height:14px;
  115. padding:3px;
  116. padding-bottom:1px;
  117. margin-left: 298px;
  118. {/block:PermalinkPage}
  119. }
  120.  
  121.  
  122.  
  123. .img {
  124. {block:IndexPage}
  125. opacity:0.4;
  126. filter:alpha(opacity=40);
  127. {/block:IndexPage}
  128. -webkit-transition-duration:0.4s;
  129. }
  130.  
  131. .img:hover {
  132. opacity:1;
  133. filter:alpha(opacity=100);
  134. }
  135.  
  136. #audiostats {display:block; height:auto; position:relative; min-height:80px;}
  137.  
  138. .audioentry {width:200px; background-color:#ffffff; position:relative; padding:5px; {block:IndexPage}overflow:hidden;{/block:IndexPage}; min-height:80px;}
  139.  
  140. .audio {top: 15px; left: 15px; -webkit-border-radius: 50px; -moz-border-radius: 50px; position: absolute; z-index: 3; background: white; opacity: .5; filter:alpha(opacity=50)}
  141.  
  142. .audioplayer {width: 20px; height: 30px; overflow: hidden; margin: 17px 24px 13px 16px;}
  143.  
  144. .perms {
  145. border-bottom: 1px solid {color:border};
  146. color:#777;
  147. font-size:10px;
  148. opacity: 0;
  149. -webkit-transition-duration: .75s;top:0px;
  150. width:200px;
  151. height:15px;
  152. padding-bottom:4px;
  153. background-color: #fff;
  154. position: absolute;
  155. margin-top:6px;
  156. text-align:center;
  157. text-transform:uppercase;
  158. font-family:consolas;
  159. letter-spacing:1px;
  160. display:block;
  161. }
  162.  
  163. .entry:hover .perms {
  164. opacity:0.8;
  165. z-index:999999;
  166. padding-top:4px;}
  167.  
  168. .permalinktext{
  169. text-align:center;
  170. }
  171.  
  172. .img {
  173. {block:IndexPage}
  174. opacity:0.8;
  175. filter:alpha(opacity=80);
  176. {/block:IndexPage}
  177. -webkit-transition-duration:0.4s;
  178. }
  179.  
  180. .img:hover {
  181. opacity:1;
  182. filter:alpha(opacity=100);
  183. }
  184.  
  185.  
  186.  
  187. /*NAVIGATION*/
  188.  
  189. div#navi{
  190. margin-top:400px;
  191. margin-left:121px;
  192. width:185px;
  193. background:{color:sidebar};
  194. font-size:8px;
  195. text-align:center;
  196. position:fixed;
  197. }
  198.  
  199. /*EXTRAS*/
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207. </style>
  208.  
  209.  
  210.  
  211. </head>
  212.  
  213. <body>
  214.  
  215. <div id="title">{Title}</div>
  216.  
  217.  
  218. <div id="sidebar">
  219. <img src="{image:sidebar}" width=175px height=175;>
  220. <br><br>
  221. <center>{Description}</center>
  222.  
  223.  
  224. </div>
  225.  
  226. <div id="navi">
  227. <b>
  228. <a href="/">home</a>
  229.  
  230. </b>
  231.  
  232. |
  233.  
  234. <b>
  235. <a href="/ask">ask</a>
  236. </b>
  237.  
  238.  
  239.  
  240. |
  241.  
  242. <b>
  243.  
  244. <a href="{text:link1url}">{text:link1}</a>
  245.  
  246. </b>
  247.  
  248.  
  249.  
  250.  
  251. |
  252.  
  253. <b>
  254.  
  255. <a href="http://tobemarissa.tumblr.com">credit</a>
  256.  
  257. </b>
  258.  
  259. </div>
  260.  
  261.  
  262.  
  263.  
  264. <div id="posts">
  265.  
  266. {block:Posts}
  267. <div class="entry">
  268.  
  269.  
  270.  
  271.  
  272. {block:Text}
  273. <div class="text">
  274. <div style="text-transform:uppercase">{block:Title}
  275. <a href="{Permalink}">{Title}</a>
  276. {/block:Title}</div>
  277. {Body}
  278. {block:IndexPage}
  279. <div class="permalinktext">
  280. ______________________________________________
  281. posted on {shortmonth} {dayofmonth} with <a href="{permalink}">{notecountwithlabel}</a>
  282. </div>
  283. {/block:IndexPage}
  284.  
  285. </div>
  286. {/block:Text}
  287.  
  288.  
  289. {block:Link}
  290. <div class="text">
  291. <span style="text-transform:uppercase;"><a href="{URL}" class="link" {Target}>{Name}</a></span>
  292. {block:Description}
  293. <div class="description">{Description}</div>
  294. {/block:Description}
  295. {block:IndexPage}
  296. <div class="permalinktext">
  297. ______________________________________________
  298. posted on {shortmonth} {dayofmonth} with <a href="{permalink}">{notecountwithlabel}</a>
  299. </div>
  300. {/block:IndexPage}
  301. </div>{/block:Link}
  302.  
  303. {block:Photo}
  304. <div class="img">
  305. {block:IndexPage}<div class="perms">
  306. <a href="{permalink}">{notecountwithlabel}</a> / <a href="{ReblogURL}" target="_blank">reblog</a>
  307. </div> {/block:IndexPage}
  308. {block:IndexPage}<img src="{PhotoURL-500}" alt="{PhotoAlt}" width=
  309. "200px"/></a>{/block:IndexPage}</div>
  310.  
  311. {block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}" style="opacity:1" width="500px"/>{LinkCloseTag}{/block:PermalinkPage}
  312. {block:ifshowcaption}{caption}{/block:ifshowcaption}
  313. {/block:Photo}
  314.  
  315. {block:Photoset}
  316. {block:IndexPage}<div class="perms">
  317. posted on {DayOfWeek} <br> with <a href="{permalink}">{notecountwithlabel}</a> / <a href="{ReblogURL}" target="_blank">reblog</a>
  318. </div> {/block:IndexPage}
  319. {block:IndexPage}<center>{Photoset-250}</center>{/block:IndexPage}
  320. <center>{block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}</center>
  321. {/block:Photoset}
  322.  
  323.  
  324. {block:Quote}
  325. <div class="text">
  326. <div class="quote">&#10077;</div>
  327. <div style="margin-top:2px;;margin-bottom:0px;min-height:30px; padding: 4px; background-color:#fafafa;border:1px dotted #eee; letter-spacing:1px;text-transform:uppercase; font-size:8px; font-family: consolas; border-radius:5px;">
  328. {Quote} </div>
  329. {block:Source}
  330. <div class="source"><div style="text-align:right; color:{color:link};padding-top:5px;"> • {Source}</div></div>
  331. {/block:Source}
  332. {block:IndexPage}
  333. <div class="permalinktext">
  334. ______________________________________________
  335. posted on {shortmonth} {dayofmonth} with <a href="{permalink}">{notecountwithlabel}</a>
  336. </div>
  337. {/block:IndexPage}
  338. </div>{/block:Quote}
  339. {block:Chat}
  340. <div class="text">
  341. {block:Title}
  342. <a href="{Permalink}">{Title}</a>
  343. {/block:Title}
  344. <ul class="chat">
  345. {block:Lines}
  346. <li class="{Alt} user_{UserNumber}"> {block:Label} <span class="label">{Label}</span> {/block:Label}
  347.  
  348. {Line} </li>
  349. {/block:Lines}
  350. </ul>
  351. {block:IndexPage}
  352. <div class="permalinktext">
  353. ______________________________________________
  354. posted on {shortmonth} {dayofmonth} with <a href="{permalink}">{notecountwithlabel}</a>
  355. </div>
  356. {/block:IndexPage}
  357. </div>{/block:Chat}
  358.  
  359.  
  360.  
  361. {block:Audio}
  362.  
  363. <div id="audiostats">
  364. <div class="audioentry">
  365.  
  366. <img src="http://static.tumblr.com/2lqtwbf/coolyqooj/untitled-1.png" alt="default album art" width="80" height="80" style="position:absolute; vertical-align:middle;" />
  367.  
  368. {block:AlbumArt}<img width="80" height="80" src="{AlbumArtURL}" style="position:absolute;" />{/block:AlbumArt}
  369.  
  370. <div class="audio"><div class="audioplayer">{AudioPlayerWhite}</div></div>
  371.  
  372. <div style="margin-left:90px; line-height:12px">{block:TrackName}<b>Song:</b> {TrackName}<br>{/block:TrackName}
  373. {block:Artist}<b>Artist:</b> {Artist}<br>{/block:Artist}
  374. {block:Album}<b>Album:</b> {Album}<br>{/block:Album}
  375. {FormattedPlayCount} plays{block:Caption}{Caption}{/block:Caption}</div>
  376. </div>
  377. <div class="permalinktext">
  378. ______________________________________________
  379. posted on {shortmonth} {dayofmonth} with <a href="{permalink}">{notecountwithlabel}</a></span></div>
  380. {/block:IndexPage}
  381. {/block:Audio}
  382.  
  383. {block:Video}
  384. {block:IndexPage}<div class="perms">
  385. posted on {DayOfWeek} <br> with <a href="{permalink}">{notecountwithlabel}</a> / <a href="{ReblogURL}" target="_blank">reblog</a>
  386. </div> {/block:IndexPage}
  387. <center>
  388. {block:IndexPage}
  389. {Video-250}
  390. {/block:IndexPage}
  391. </center>
  392. {block:PermalinkPage}
  393. <center>{Video-500}</center>
  394. {/block:PermalinkPage}
  395. {block:Video}
  396.  
  397. {block:Answer}
  398. <div style="padding:13px;text-align:left;">
  399. <strong><i>{asker}:</i> {question}</strong>
  400. <div class="caption" style="margin-top:3px;">
  401. {Answer}</div>
  402. {block:indexpage}
  403. <div align="right" style="padding-right:10px; padding-top:3px;padding-bottom:0px;"><a href="{Permalink}">{block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}
  404. </a>&nbsp;&nbsp;-&nbsp;&nbsp;<a href="{Permalink}">{DayOfMonth} {Month}
  405. </a></div>{/block:indexpage}
  406. </div>
  407. {/block:Answer}
  408.  
  409. {block:IndexPage}<div style="display:none;">{block:ContentSource}<a href="{SourceURL}">{SourceTitle}</a> {block:RebloggedFrom}<a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}{/block:ContentSource}</div>{/block:IndexPage}
  410.  
  411. {block:PermalinkPage}
  412. {block:caption}{caption}<br>{/block:caption}
  413. <center>{block:Date}Posted on {DayOfWeek}, {Month} {DayOfMonth}, {Year} with {NoteCountWithLabel}{/block:Date}
  414. {block:RebloggedFrom}<br><b>via</b>: <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}{block:ContentSource} | <b>source</b>: <a href="{SourceURL}">{SourceTitle}</a> {/block:ContentSource}
  415. </center>
  416. {/block:PermalinkPage}
  417.  
  418. <div style="text-align:left;">
  419. {block:PostNotes}{PostNotes}
  420. {/block:PostNotes}</div>
  421. </div>
  422.  
  423.  
  424.  
  425. {/block:Posts}
  426. </div>
  427. </div>
  428. {block:IndexPage}<br>
  429. {block:Pagination}
  430. <div id="pagination">
  431. {block:NextPage}
  432. <a id="nextPage" href="{NextPage}">next</a>
  433. {/block:NextPage}
  434. {block:PreviousPage}
  435. <a href="{PreviousPage}">back</a>
  436. {/block:PreviousPage}
  437. </div>
  438. {/block:Pagination}
  439. {/block:IndexPage}
  440. </div>
  441. </body>
  442.  
  443. {block:indexpage}
  444. {block:NextPage}<div id="page-nav"><a href="{NextPage}"></a></div>{/block:NextPage}
  445. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
  446. <script type="text/javascript" src="http://static.tumblr.com/bswe8t6/UFVlryaq2/jquerymsnryv2.js"></script>
  447. <script type="text/javascript">
  448. $(window).load(function(){
  449. var $wall = $('#posts');
  450. $wall.imagesLoaded(function(){
  451. $wall.masonry({
  452. itemSelector: '.entry, .entry_photo',
  453. isAnimated : false
  454. });
  455. });
  456.  
  457. $wall.infinitescroll({
  458. navSelector : '#page-nav',
  459. nextSelector : '#page-nav a',
  460. itemSelector : '.entry, .entry_photo',
  461. bufferPx : 2000,
  462. debug : false,
  463. errorCallback: function() {
  464. $('#infscr-loading').fadeOut('normal');
  465. }},
  466. function( newElements ) {
  467. var $newElems = $( newElements );
  468. $newElems.hide();
  469. $newElems.imagesLoaded(function(){
  470. $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
  471. });
  472. }); $('#content').show(500);
  473. });
  474. </script>
  475. {/block:indexpage}
  476.  
  477. <script type="text/javascript">
  478. $(function() {
  479. $("#topDivA").click(function(){
  480. var target = $("html");
  481. $('html, body').animate({
  482. scrollTop: target.offset().top
  483. }, 1000);
  484. });
  485.  
  486. });</script>
  487.  
  488.  
  489. </body>
  490.  
  491. <hmtl>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement