Advertisement
ammetrine

Jadeite Theme by Ammetrine

Jan 9th, 2016
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.34 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <script type="text/javascript"
  5. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  6. <script>
  7. $(document).ready(function() {
  8. //
  9. $('a.poplight[href^=#]').click(function() {
  10. var popID = $(this).attr('rel'); //Get Popup Name
  11. var popURL = $(this).attr('href'); //Get Popup href to define size
  12. var query= popURL.split('?');
  13. var dim= query[1].split('&');
  14. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  15. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"></a>');
  16. var popMargTop = ($('#' + popID).height() + 80) / 2;
  17. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  18. //Apply Margin to Popup
  19. $('#' + popID).css({
  20. 'margin-top' : -popMargTop,
  21. 'margin-left' : -popMargLeft
  22. });
  23. $('body').append('<div id="fade"></div>');
  24. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  25. return false;
  26. });
  27. $('a.close, #fade').live('click', function() {
  28. $('#fade , .popup_block').fadeOut(function() {
  29. $('#fade, a.close').remove(); //fade them both out
  30. });
  31. return false;
  32. });
  33. });
  34. </script>
  35.  
  36.  
  37.  
  38.  
  39. <title>{Title}</title>
  40.  
  41. <link rel="shortcut icon" href="{Favicon}">
  42. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  43. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  44.  
  45.  
  46. <meta name="image:Background" content=""/>
  47. <meta name="color:Background" content="#ffffff"/>
  48. <meta name="color:Blog Title" content="#000000"/>
  49. <meta name="color:Description" content="#000000" />
  50. <meta name="color:Text" content="#000000"/>
  51. <meta name="color:Link" content="#B4DBC5"/>
  52. <meta name="color:Link Hover" content="#000000"/>
  53. <meta name="color:Scrollbar" content="#B4DBC5"/>
  54. <meta name="color:post border" content="#000000"/>
  55. <meta name="color:perma BG" content="#000000"/>
  56. <meta name="color:perma text" content="#ffffff"/>
  57. <meta name="color:perma text hover" content="#B4DBC5"/>
  58. <meta name="color:border BG" content="#B4DBC5"/>
  59. <meta name="color:popup border" content="#B4DBC5"/>
  60.  
  61. <meta name="if:Show Custom Link 1" content="1"/>
  62. <meta name="if:Show Custom Link 2" content="1"/>
  63. <meta name="if:Show Custom Link 3" content="1"/>
  64.  
  65.  
  66. <meta name="text:Link 1 URL" content="" />
  67. <meta name="text:Link 1 Title" content="" />
  68. <meta name="text:Link 2 URL" content="" />
  69. <meta name="text:Link 2 Title" content="" />
  70. <meta name="text:Link 3 URL" content="" />
  71. <meta name="text:Link 3 Title" content="" />
  72.  
  73.  
  74. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  75.  
  76.  
  77. <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  78. <script>
  79. (function($){
  80. $(document).ready(function(){
  81. $("[title]").style_my_tooltips({
  82. tip_follows_cursor:true,
  83. tip_delay_time:0,
  84. tip_fade_speed:0
  85. }
  86. );
  87. });
  88. })(jQuery);
  89. </script>
  90.  
  91.  
  92. <link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
  93.  
  94.  
  95. <style type="text/css">
  96.  
  97. ::-webkit-scrollbar-thumb{
  98. background-color:{color:scrollbar};
  99. border:1px solid {color:background};
  100. height:6px;
  101. }
  102.  
  103. ::-webkit-scrollbar {
  104. height:6px;
  105. width:4px;
  106. background-color:{color:background};
  107. }
  108.  
  109. #s-m-t-tooltip{
  110. position:absolute;
  111. margin-top: 15px;
  112. z-index:9999;
  113. background:{color:background};
  114. }
  115.  
  116.  
  117. body {
  118. background:{color:Background};
  119. color:{color:text};
  120. font-family:courier;mily:'Lato',serif;
  121. font-size:11px;
  122. text-align:justify;
  123. margin:0;
  124. line-height:16px;
  125.  
  126.  
  127. background-color:{color:Background};
  128. background-image:url('{image:background}');
  129. background-attachment:fixed;
  130.  
  131. }
  132.  
  133.  
  134. a {
  135. color:{color:link};
  136. text-decoration:none;
  137. -webkit-transition: all 0.2s ease-in-out;
  138. -moz-transition: all 0.2s ease-in-out;
  139. -o-transition: all 0.2s ease-in-out;
  140. }
  141.  
  142.  
  143. #header {
  144. text-align:left;
  145. position:fixed;
  146. left:343px;
  147. top:50px;
  148. width:510px;
  149. padding:7px;
  150. background:#fff;
  151.  
  152. }
  153.  
  154.  
  155. #blogt {
  156. padding-top:10px;
  157. font-size:22px;
  158. text-align:left;
  159. font-family:courier;
  160. text-transform:normal;
  161. color:{color:Blog Title};
  162. }
  163.  
  164.  
  165. .navlinks {
  166. top:10px;
  167. font-size:12px;
  168. line-height:16px;
  169.  
  170. text-transform:lowercase;
  171. position:relative;
  172. font-family:courier;
  173. text-align:left;
  174. }
  175.  
  176.  
  177. .navlinks a {
  178. margin-right:5px;
  179. margin-bottom:5px;
  180. display:inline-block;
  181. }
  182.  
  183.  
  184. .navlinks a:hover {
  185. color:{color:Link Hover};
  186. background:#fff;
  187. -webkit-transition:opacity 0.3s ease-in-out; opacity: 0.5;
  188. -webkit-transition:all 0.3s ease-in-out;
  189. -moz-transition:all 0.3s ease-in-out;
  190. transition:all 0.3s ease-in-out;
  191. }
  192.  
  193.  
  194. #description {
  195. font-size:12px;
  196. width:330px;
  197. margin:15px 0;
  198. color:{color:Description};
  199. font-family:courier;
  200. text-align:left;
  201. }
  202.  
  203.  
  204. #con {
  205. left:50%;
  206. margin-left:-250px;
  207. position:absolute;
  208. }
  209.  
  210.  
  211. #entries {
  212. width:900px;
  213. margin-top:200px;
  214. margin-left:-100px;
  215.  
  216. {block:PermalinkPage}
  217. width:500px;
  218. {/block:PermalinkPage}
  219. }
  220.  
  221.  
  222. .posts {
  223. width:200px;
  224. border:1px solid {color:post border};
  225. background:{color:border BG};
  226. float:left;
  227. margin-right:40px;
  228. padding:7px 7px 3px 7px;
  229. {block:IndexPage}
  230. margin-bottom:40px;
  231. {/block:IndexPage}
  232.  
  233.  
  234. {block:PermalinkPage}
  235. width:500px;
  236. margin-bottom:30px;
  237. position:relative;
  238. float:left;
  239. {/block:PermalinkPage}
  240. }
  241.  
  242.  
  243. .posts img {
  244. max-width:250px;
  245. }
  246.  
  247. .posts img, .posts li, .posts blockquote {max-width: 100%;}
  248. .caption {width:100%;
  249. margin-top:10px;
  250.  
  251. }
  252.  
  253. #title {
  254. font-size:12px;
  255. line-height:18px;
  256. font-weight:bold;
  257. margin-bottom:10px;
  258. text-transform:uppercase;
  259. text-align:left;
  260. }
  261.  
  262.  
  263. .text {
  264. font-size:11px;
  265. font-family:courier;
  266. }
  267.  
  268. .text a {
  269. color:#000000;
  270. text-decoration:underline;
  271. }
  272.  
  273. .text a:hover {
  274. text-decoration:underline;
  275. -webkit-transition:opacity 0.3s ease-in-out; opacity: 0.5;
  276. -webkit-transition:all 0.3s ease-in-out;
  277. -moz-transition:all 0.3s ease-in-out;
  278. transition:all 0.3s ease-in-out;
  279. }
  280.  
  281.  
  282. #quote{
  283. text-align:left;
  284. font-size:14px;
  285. line-height:18px;
  286. font-weight:bold;
  287. }
  288.  
  289.  
  290. #quote a:hover {
  291. text-decoration:underline;
  292. -webkit-transition:opacity 0.3s ease-in-out; opacity: 0.5;
  293. -webkit-transition:all 0.3s ease-in-out;
  294. -moz-transition:all 0.3s ease-in-out;
  295. transition:all 0.3s ease-in-out;
  296. }
  297.  
  298.  
  299. #quotesource {
  300. margin-top:15px;
  301. margin-left:15px;
  302.  
  303. }
  304.  
  305.  
  306. .player {
  307. width:25px;
  308. height:25px;
  309. overflow:hidden;
  310. position:absolute;
  311. margin-left:12px;
  312. margin-top:12px;
  313. background:white;
  314. }
  315.  
  316.  
  317. .audioinfo {
  318. margin-left:70px;
  319. }
  320.  
  321.  
  322. .albumart {
  323. position:absolute;
  324. {block:IndexPage}
  325. width:60px;
  326. height:60px;
  327. {/block:IndexPage}
  328. {block:PermalinkPage}
  329. width:60px;
  330. height:60px;
  331. {/block:PermalinkPage}
  332. }
  333.  
  334.  
  335. .albumart img {
  336. float:left;
  337. {block:IndexPage}
  338. width:60px;
  339. height:60px;
  340. {/block:IndexPage}
  341. {block:PermalinkPage}
  342. width:60px;
  343. height:60px;
  344. {/block:PermalinkPage}
  345. }
  346.  
  347.  
  348. .question {
  349. background:#fff;
  350. padding:10px;
  351. }
  352.  
  353. .asker {
  354. font-weight:bold;
  355. }
  356.  
  357.  
  358. .answer {
  359. background:#fff;
  360. padding:10px;
  361. margin-bottom:5px;
  362. }
  363.  
  364.  
  365. .chat ol {
  366. padding:0;
  367. list-style:none;
  368. }
  369.  
  370.  
  371. .line {
  372. padding:5px 0;
  373. }
  374.  
  375.  
  376. .label {
  377. font-weight:bold;
  378. }
  379.  
  380.  
  381. #permalink {
  382. margin:5px;
  383. font-size:11px;
  384. text-align:left;
  385. padding:5px;
  386. opacity:0;
  387. position:absolute;
  388. top:2.5px;
  389. right:2.5px;
  390. background:{color:perma BG};
  391. }
  392.  
  393. .posts:hover #permalink {
  394. opacity:0.5;
  395. }
  396.  
  397.  
  398. #permalink a {
  399. margin-left:10px;
  400. color:{color:perma text};
  401. padding:3px;
  402. }
  403.  
  404.  
  405. #permalink a:hover {
  406. padding:3px;
  407. color:{color:perma text hover};
  408. -webkit-transition:opacity 0.3s ease-in-out; opacity: 0.5;
  409. -webkit-transition:all 0.3s ease-in-out;
  410. -moz-transition:all 0.3s ease-in-out;
  411. transition:all 0.3s ease-in-out;
  412. }
  413.  
  414.  
  415. .pagination {
  416. display:none;
  417. }
  418.  
  419.  
  420. .popup_block{
  421. display:none;
  422. background:#fff;
  423. padding:20px;
  424. border:10px solid {color:popup border};
  425. float:left;
  426. position:fixed;
  427. top:50%;left:50%;
  428. z-index: 99999;
  429. -webkit-box-shadow: 0px 0px 20px #000; /* delete for solid white */
  430. -moz-box-shadow: 0px 0px 20px #000; /* delete for solid white */
  431. box-shadow: 0px 0px 20px #000; /* delete for solid white */
  432. }
  433.  
  434. *html #fade {position: absolute;}
  435. *html .popup_block {position: absolute;}
  436. #fade {
  437. display:none;
  438. position:fixed;
  439. left:0px;
  440. top:0px;
  441. width:100%;
  442. height:100%;
  443. z-index:9999;
  444. background:#000; /* change to #fff for solid white */
  445. opacity:0.5; /* change to opacity:1; */
  446. }
  447.  
  448.  
  449. .notes {
  450. padding-left:20px;
  451. font-size:11px;
  452. }
  453.  
  454. .pagination {
  455. display: none;
  456. }
  457.  
  458.  
  459. #credit {
  460. position:fixed;
  461. right:10px;
  462. z-index:9999;
  463. bottom:5px;
  464. }
  465.  
  466.  
  467. {CustomCSS}
  468. </style>
  469.  
  470. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  471.  
  472. <script src="http://static.tumblr.com/6hsqxdt/vmwm2rb4g/infinitescrolling.js"></script><script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
  473.  
  474. <script>
  475. $(function(){
  476. var $container = $('#entries');
  477. $container.imagesLoaded(function(){
  478. $container.masonry({
  479. itemSelector: '.posts',
  480. });
  481. });
  482. $container.infinitescroll({
  483. itemSelector : ".posts",
  484. navSelector : "div.pagination",
  485. nextSelector : ".pagination a#next",
  486. loadingImg : "",
  487. loadingText : "<em></em>",
  488. bufferPx : 10000,
  489. extraScrollPx: 12000,
  490. },
  491. // trigger Masonry as a callback
  492. function( newElements ) {
  493. var $newElems = $( newElements ).css({ opacity: 0 });
  494. // ensure that images load before adding to masonry layout
  495. $newElems.imagesLoaded(function(){
  496. $newElems.animate({ opacity: 1 });
  497. $container.masonry( 'appended', $newElems, true );
  498. });
  499. }
  500. );
  501. });
  502. </script>
  503.  
  504.  
  505. </head>
  506.  
  507. <body>
  508.  
  509. <div id="con">
  510.  
  511. <div id="credit"><a href="http://ammetrine.tumblr.com/" target="_blank" title="ammetrine's themes"><img src="http://38.media.tumblr.com/tumblr_lu2de5CqUh1qfoi4t.gif"></a></div>
  512.  
  513. <div id="header">
  514. <div id="blogt">{Title}</div>
  515. <div class="navlinks">
  516. <a href="/">home</a>
  517. <a href="#?w=400" rel="box1" class="poplight">inbox</a>
  518. <a href="/archive">archive</a>
  519. {block:ifShowCustomlink1}<a href="{text:Link 1 URL}">{text:Link 1 Title}</a>
  520. {/block:ifShowCustomLink1}
  521. {block:ifShowCustomlink2}<a href="{text:Link 2 URL}" >{text:Link 2 Title}</a>{/block:ifShowCustomLink2}
  522. {block:ifShowCustomlink3}<a href="{text:Link 3 URL}">{text:Link 3 Title}</a>{/block:ifShowCustomLink3}
  523. <a href="http://ammetrine.tumblr.com" target="_blank">theme</a>
  524. </div>
  525. <div id="description">{Description}</div>
  526. </div>
  527.  
  528.  
  529. <div id="entries">
  530.  
  531. {block:Posts}
  532.  
  533. <div class="posts">
  534.  
  535. {block:Quote}
  536. <div class="quote">
  537. '<strong><i>{Quote}</i></strong>'
  538. </div>
  539. {block:Source}
  540. <br><div class="quotesource">— {Source}</div>
  541. {/block:Source}
  542.  
  543. {block:IndexPage}
  544. <div id="permalink">
  545. <a href="{Permalink}" >{NoteCount}</a>
  546. <a href="{ReblogURL}">reblog</a>
  547. </div>
  548. {/block:IndexPage}
  549. {/block:Quote}
  550.  
  551.  
  552. {block:Text}
  553. {block:Title}
  554. <div id="title">{Title}</div>
  555. {/block:Title}
  556. <div class="text">
  557. {Body}
  558. </div>
  559.  
  560. {block:IndexPage}
  561. <div id="permalink">
  562. <a href="{Permalink}" >{NoteCount}</a>
  563. <a href="{ReblogURL}">reblog</a>
  564. </div>
  565. {/block:IndexPage}
  566. {/block:Text}
  567.  
  568.  
  569. {block:Link}
  570. <div id="title">
  571. <a href="{URL}">{Name}</a>
  572. </div>
  573. {block:Description}{Description}{/block:Description}
  574.  
  575. {block:IndexPage}
  576. <div id="permalink">
  577. <a href="{Permalink}" >{NoteCount}</a>
  578. <a href="{ReblogURL}">reblog</a>
  579. </div>
  580. {/block:IndexPage}
  581. {/block:Link}
  582.  
  583.  
  584. {block:Chat}
  585. {block:Title}
  586. <h1>{Title}</h1>
  587. {/block:Title}
  588. <div class="chat">
  589. <ol>{block:Lines}
  590. <li class="line {Alt}">
  591. {block:Label}
  592. <span class="label">
  593. {Label}</span>
  594. {/block:Label}{Line}</li>
  595. {/block:Lines}
  596. </ol>
  597. </div>
  598.  
  599. {block:IndexPage}
  600. <div id="permalink">
  601. <a href="{Permalink}" >{NoteCount}</a>
  602. <a href="{ReblogURL}"</a>
  603. </div>
  604. {/block:IndexPage}
  605. {/block:Chat}
  606.  
  607.  
  608. {block:Photo}
  609. {block:IndexPage}
  610. <a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/></a>
  611.  
  612. <div id="permalink">
  613. <a href="{Permalink}" >{NoteCount}</a>
  614. <a href="{ReblogURL}">reblog</a>
  615. </div>
  616. {/block:IndexPage}
  617.  
  618. {block:PermalinkPage}
  619. <img src="{PhotoURL-500}" alt="{PhotoAlt}"/>
  620. <br>
  621. {/block:PermalinkPage}
  622. {/block:Photo}
  623.  
  624.  
  625. {block:Photoset}
  626. {block:IndexPage}
  627. {Photoset}
  628.  
  629. <div id="permalink">
  630. <a href="{Permalink}" >{NoteCount}</a>
  631. <a href="{ReblogURL}">reblog</a>
  632. </div>
  633. {/block:IndexPage}
  634. {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
  635. {/block:Photoset}
  636.  
  637.  
  638. {block:Video}
  639. {Video-250}
  640.  
  641. {block:IndexPage}
  642. <div id="permalink">
  643. <a href="{Permalink}" >{NoteCount}</a>
  644. <a href="{ReblogURL}">reblog</a>
  645. </div>
  646. {/block:IndexPage}
  647. {/block:Video}
  648.  
  649.  
  650. {block:Audio}
  651. {block:AlbumArt}
  652. <div class="albumart">
  653. <img src="{AlbumArtURL}">
  654. </div>
  655. {/block:AlbumArt}
  656. <div class="player">{AudioPlayerWhite}</div>
  657.  
  658. <div class="audioinfo">
  659. Title: {block:TrackName}{TrackName}{/block:TrackName}<br>
  660.  
  661. Artist: {block:Artist}{Artist}{/block:Artist}<br>
  662.  
  663. Plays: {block:PlayCount}{FormattedPlayCount}{/block:PlayCount}
  664.  
  665. {block:IndexPage}
  666. <div id="permalink">
  667. <a href="{Permalink}" >{NoteCount}</a>
  668. <a href="{ReblogURL}">reblog</a>
  669. </div>
  670. {/block:IndexPage}
  671. </div>
  672. {/block:Audio}
  673.  
  674.  
  675. {block:Answer}
  676. <div class="question">
  677. <div class="asker">{Asker} asked: </div>
  678. {Question}
  679. </div>
  680. <div class="answer"><br> <b>{Name} Replied:</b> <i></i> {Answer}</i></div>
  681.  
  682. {block:IndexPage}
  683. <div id="permalink">
  684. <a href="{Permalink}" >{NoteCount}</a>
  685. <a href="{ReblogURL}">reblog</a>
  686. </div>
  687. {/block:IndexPage}
  688. {/block:Answer}
  689.  
  690.  
  691.  
  692. {block:PermalinkPage}
  693. <div class="notes">
  694. {block:Date}{Caption} posted {TimeAgo}{/block:Date}
  695. {block:NoteCount} with {NoteCount} notes {/block:NoteCount}
  696. {block:RebloggedFrom}
  697. via <a href="{ReblogParentURL}">{ReblogParentName}</a>,
  698. {/block:RebloggedFrom}
  699. {block:ContentSource}originally from <a href="{SourceURL}">{SourceTitle} </a>{/block:ContentSource}
  700. <br>{block:hastags}{block:tags}#<a href="/tagged/{Tag}">{Tag}</a> &nbsp;&nbsp; {/block:tags}{/block:hastags}
  701. <br>{PostNotes}
  702. </div>
  703. {/block:PermalinkPage}
  704.  
  705. </div>
  706. {/block:Posts}
  707.  
  708. <div class="pagination">
  709. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">previous</a> &middot;{/block:PreviousPage} {block:NextPage}<a href="{NextPage}" id="next">next</a>{/block:NextPage}{/block:Pagination}
  710. </div>
  711.  
  712.  
  713.  
  714. </div>
  715.  
  716. </div>
  717.  
  718. </body>
  719.  
  720. <div id="box1" class="popup_block">
  721. <iframe frameborder="0" height="200" id="ask_form" scrolling="yes" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" width="100%"></iframe>
  722.  
  723. </div>
  724.  
  725.  
  726. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement