ammetrine

Sardonyx Theme by Ammetrine

Feb 10th, 2016
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.88 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3. <link href='https://fonts.googleapis.com/css?family=Raleway:300' rel='stylesheet' type='text/css'>
  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="#F5C5B5"/>
  49. <meta name="color:Description" content="#666666" />
  50. <meta name="color:Text" content="#666666"/>
  51. <meta name="color:Link" content="#F5C5B5"/>
  52. <meta name="color:Link Hover" content="#666666"/>
  53. <meta name="color:Scrollbar" content="#F5C5B5"/>
  54. <meta name="color:sidebar shadow" content="#f5c5b5"/>
  55. <meta name="color:post shadow" content="#f5c5b5"/>
  56. <meta name="color:sidebar border" content="#666666"/>
  57. <meta name="color:post border" content="#666666"/>
  58. <meta name="color:perma text" content="#ffffff"/>
  59. <meta name="color:perma text hover" content="#F5C5B5"/>
  60. <meta name="color:perma BG" content="#000000"/>
  61. <meta name="color:perma border" content="#ffffff"/>
  62. <meta name="color:question BG" content="#f5c5b5"/>
  63. <meta name="color:popup border" content="#f5c5b5"/>
  64. <meta name="color:popup shadow" content="#eee"/>
  65.  
  66. <meta name="if:Show Custom Link 1" content="1"/>
  67. <meta name="if:Show Custom Link 2" content="1"/>
  68. <meta name="if:Show Custom Link 3" content="1"/>
  69.  
  70.  
  71. <meta name="text:Link 1 URL" content="" />
  72. <meta name="text:Link 1 Title" content="" />
  73. <meta name="text:Link 2 URL" content="" />
  74. <meta name="text:Link 2 Title" content="" />
  75. <meta name="text:Link 3 URL" content="" />
  76. <meta name="text:Link 3 Title" content="" />
  77.  
  78.  
  79. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  80.  
  81.  
  82. <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  83. <script>
  84. (function($){
  85. $(document).ready(function(){
  86. $("[title]").style_my_tooltips({
  87. tip_follows_cursor:true,
  88. tip_delay_time:0,
  89. tip_fade_speed:0
  90. }
  91. );
  92. });
  93. })(jQuery);
  94. </script>
  95.  
  96.  
  97. <link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
  98.  
  99.  
  100. <style type="text/css">
  101.  
  102. ::-webkit-scrollbar-thumb{
  103. background-color:{color:scrollbar};
  104. border:1px solid {color:background};
  105. height:6px;
  106. }
  107.  
  108. ::-webkit-scrollbar {
  109. height:6px;
  110. width:4px;
  111. background-color:{color:background};
  112. }
  113.  
  114. #s-m-t-tooltip{
  115. position:absolute;
  116. margin-top: 15px;
  117. z-index:9999;
  118. background:{color:background};
  119. }
  120.  
  121.  
  122. body {
  123. background:{color:Background};
  124. color:{color:text};
  125. font-family: 'Raleway', sans-serif;amily:courier;
  126. font-size:11px;
  127. text-align:justify;
  128. margin:0;
  129. line-height:16px;
  130.  
  131.  
  132. background-color:{color:Background};
  133. background-image:url('{image:background}');
  134. background-attachment:fixed;
  135.  
  136. }
  137.  
  138.  
  139. a {
  140. color:{color:link};
  141. text-decoration:none;
  142. -webkit-transition: all 0.2s ease-in-out;
  143. -moz-transition: all 0.2s ease-in-out;
  144. -o-transition: all 0.2s ease-in-out;
  145. }
  146.  
  147.  
  148. #sidebar {
  149. border:solid 1px {color:sidebar border};
  150. text-align:left;
  151. position:fixed;
  152. right:89px;
  153. top:75px;
  154. width:260px;
  155. padding:7px;
  156. background:#fff;
  157. box-shadow: 6px 6px {color:sidebar shadow};
  158.  
  159.  
  160. }
  161.  
  162.  
  163. #blogt {
  164. font-size:22px;
  165. text-align:left;
  166. font-family: 'Raleway', sans-serif;
  167. text-transform:uppercase;
  168. color:{color:Blog Title};
  169. }
  170.  
  171.  
  172. .navlinks {
  173. top:20px;
  174. line-height:16px;
  175. text-transform:lowercase;
  176. position:relative;
  177. font-family: 'Raleway', sans-serif;
  178. text-align:left;
  179. }
  180.  
  181.  
  182. .navlinks a {
  183. margin-right:5px;
  184. margin-bottom:5px;
  185. display:inline-block;
  186. }
  187.  
  188.  
  189. .navlinks a:hover {
  190. color:{color:Link Hover};
  191. background:#fff;
  192. -webkit-transition:opacity 0.3s ease-in-out; opacity: 0.5;
  193. -webkit-transition:all 0.3s ease-in-out;
  194. -moz-transition:all 0.3s ease-in-out;
  195. transition:all 0.3s ease-in-out;
  196. }
  197.  
  198.  
  199. #description {
  200. margin-top:30px;
  201. margin-bottom:5px;
  202. color:{color:Description};
  203. font-family: 'Raleway', sans-serif;
  204. text-align:left;
  205. }
  206.  
  207.  
  208. #con {
  209. left:50%;
  210. margin-left:-250px;
  211. position:absolute;
  212. }
  213.  
  214.  
  215. #entries {
  216. width:900px;
  217. margin-top:50px;
  218. margin-left:-330px;
  219.  
  220. {block:PermalinkPage}
  221. width:500px;
  222. {/block:PermalinkPage}
  223. }
  224.  
  225.  
  226. .posts {
  227. width:230px;
  228. float:left;
  229. margin-right:40px;
  230. padding:7px 7px 3px 7px;
  231. border:solid 1px {color:post border};
  232. box-shadow: 6px 6px {color:post shadow};
  233. {block:IndexPage}
  234. margin-bottom:40px;
  235. {/block:IndexPage}
  236.  
  237. {block:PermalinkPage}
  238. width:500px;
  239. margin-bottom:30px;
  240. position:relative;
  241. float:left;
  242. {/block:PermalinkPage}
  243. }
  244.  
  245.  
  246. .posts img {
  247. max-width:250px;
  248. }
  249.  
  250. .posts img, .posts li, .posts blockquote {max-width: 100%;}
  251. .caption {width:100%;
  252. margin-top:10px;
  253.  
  254. }
  255.  
  256. #title {
  257. font-size:12px;
  258. line-height:18px;
  259. font-weight:bold;
  260. margin-bottom:10px;
  261. text-transform:uppercase;
  262. text-align:left;
  263. }
  264.  
  265.  
  266. .text {
  267. font-size:11px;
  268. font-family: 'Raleway', sans-serif;
  269. }
  270.  
  271.  
  272. .text a:hover {
  273. text-decoration:underline;
  274. -webkit-transition:opacity 0.3s ease-in-out; opacity: 0.5;
  275. -webkit-transition:all 0.3s ease-in-out;
  276. -moz-transition:all 0.3s ease-in-out;
  277. transition:all 0.3s ease-in-out;
  278. }
  279.  
  280.  
  281. #quote{
  282. text-align:left;
  283. font-size:14px;
  284. line-height:18px;
  285. font-weight:bold;
  286. }
  287.  
  288.  
  289. #quote a:hover {
  290. text-decoration:underline;
  291. -webkit-transition:opacity 0.3s ease-in-out; opacity: 0.5;
  292. -webkit-transition:all 0.3s ease-in-out;
  293. -moz-transition:all 0.3s ease-in-out;
  294. transition:all 0.3s ease-in-out;
  295. }
  296.  
  297.  
  298. #quotesource {
  299. margin-top:15px;
  300. margin-left:15px;
  301.  
  302. }
  303.  
  304.  
  305. .player {
  306. width:25px;
  307. height:25px;
  308. overflow:hidden;
  309. position:absolute;
  310. margin-left:12px;
  311. margin-top:12px;
  312. background:white;
  313. }
  314.  
  315.  
  316. .audioinfo {
  317. margin-left:70px;
  318. }
  319.  
  320.  
  321. .albumart {
  322. position:absolute;
  323. {block:IndexPage}
  324. width:60px;
  325. height:60px;
  326. {/block:IndexPage}
  327. {block:PermalinkPage}
  328. width:60px;
  329. height:60px;
  330. {/block:PermalinkPage}
  331. }
  332.  
  333.  
  334. .albumart img {
  335. float:left;
  336. {block:IndexPage}
  337. width:60px;
  338. height:60px;
  339. {/block:IndexPage}
  340. {block:PermalinkPage}
  341. width:60px;
  342. height:60px;
  343. {/block:PermalinkPage}
  344. }
  345.  
  346.  
  347. .question {
  348. padding:7px;
  349. background:{color:question BG};
  350. margin-bottom:10px;
  351. }
  352.  
  353. .asker {
  354. text-align:right;
  355. font-weight:bold;
  356. }
  357.  
  358.  
  359. .answer {
  360. margin-top:10px;
  361. }
  362.  
  363.  
  364. .chat ol {
  365. padding:0;
  366. list-style:none;
  367. }
  368.  
  369.  
  370. .line {
  371. padding:5px 0;
  372. }
  373.  
  374.  
  375. .label {
  376. font-weight:bold;
  377. }
  378.  
  379.  
  380. #permalink {
  381. margin:5px;
  382. font-size:11px;
  383. text-align:left;
  384. padding:5px;
  385. opacity:0;
  386. position:absolute;
  387. top:0px;
  388. right:0px;
  389. background:{color:perma BG};
  390. border:solid 1px {color:perma border};
  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}; /* if you want a solid white pop-up, delete this */
  425. float:left;
  426. position:fixed;
  427. top:50%;left:50%;
  428. z-index: 99999;
  429. -webkit-box-shadow: 0px 0px 20px {color:popup shadow}; /* delete for no glow */
  430. -moz-box-shadow: 0px 0px 20px {color:popup shadow}; /* delete for no glow */
  431. box-shadow: 0px 0px 20px {color:popup shadow}; /* delete for no glow */
  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:5px;
  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="sidebar">
  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. {Question}
  678. </div>
  679. <div class="asker"><i>Asked by: {Asker}</i></div>
  680. <div class="answer"><br>{Answer}</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>
Add Comment
Please, Sign In to add comment