Advertisement
ammetrine

Moonstone Theme by Ammetrine

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