Advertisement
ammetrine

Sapphire Theme by Ammetrine

Dec 8th, 2016
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.69 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:Blog Title Border" content="#C5CDE3"/>
  52. <meta name="color:Description" content="#000000" />
  53. <meta name="color:Text" content="#000000"/>
  54. <meta name="color:Link" content="#C5CDE3"/>
  55. <meta name="color:Link Hover" content="#000000"/>
  56. <meta name="color:Navlink" content="#C5CDE3"/>
  57. <meta name="color:Navlink Hover" content="#000000"/>
  58. <meta name="color:Scrollbar" content="#C5CDE3"/>
  59. <meta name="color:Credit BG" content="#C5CDE3"/>
  60. <meta name="color:Perma Background" content="#ffffff"/>
  61. <meta name="color:Perma Border" content="#C5CDE3"/>
  62. <meta name="color:Perma Text" content="#C5CDE3"/>
  63. <meta name="color:Perma Text Hover" content="#000000"/>
  64. <meta name="color:Text Post Title Border" content="#C5CDE3"/>
  65. <meta name="color:Question Border" content="#C5CDE3"/>
  66.  
  67.  
  68. <meta name="if:Show Custom Link 1" content="1"/>
  69. <meta name="if:Show Custom Link 2" content="1"/>
  70. <meta name="if:Show Custom Link 3" content="1"/>
  71.  
  72.  
  73. <meta name="text:Link 1 URL" content="" />
  74. <meta name="text:Link 2 URL" content="" />
  75. <meta name="text:Link 3 URL" content="" />
  76.  
  77.  
  78. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  79.  
  80.  
  81. <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  82. <script>
  83. (function($){
  84. $(document).ready(function(){
  85. $("[title]").style_my_tooltips({
  86. tip_follows_cursor:true,
  87. tip_delay_time:0,
  88. tip_fade_speed:0
  89. }
  90. );
  91. });
  92. })(jQuery);
  93. </script>
  94.  
  95.  
  96. <link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
  97.  
  98.  
  99. <style type="text/css">
  100.  
  101. ::-webkit-scrollbar-thumb{
  102. background-color:{color:scrollbar};
  103. border:1px solid {color:background};
  104. height:6px;
  105. }
  106.  
  107. ::-webkit-scrollbar {
  108. height:6px;
  109. width:4px;
  110. background-color:{color:background};
  111. }
  112.  
  113. #s-m-t-tooltip{
  114. position:absolute;
  115. margin-top: 15px;
  116. z-index:9999;
  117. background:{color:background};
  118. }
  119.  
  120.  
  121. body {
  122. background:{color:Background};
  123. color:{color:text};
  124. font-family: 'Raleway', sans-serif;family:courier;
  125. font-size:11px;
  126. text-align:justify;
  127. margin:0;
  128. line-height:16px;
  129.  
  130.  
  131. background-color:{color:Background};
  132. background-image:url('{image:background}');
  133. background-attachment:fixed;
  134.  
  135. }
  136.  
  137.  
  138. a {
  139. color:{color:link};
  140. text-decoration:none;
  141. -webkit-transition: all 0.2s ease-in-out;
  142. -moz-transition: all 0.2s ease-in-out;
  143. -o-transition: all 0.2s ease-in-out;
  144. }
  145.  
  146.  
  147. #header {
  148. position:fixed;
  149. right:0px;
  150. top:0px;
  151. width:430px;
  152. height:100%;
  153. padding:7px;
  154. background:#fff;
  155. border-left:dashed 1px {color:Blog Title Border};
  156. }
  157.  
  158.  
  159. #blogt {
  160. font-size:30px;
  161. margin-top:330px;
  162. margin-left:65px;
  163. width:300px;
  164. text-align:center;
  165. font-family: 'Raleway', sans-serif;
  166. text-transform:normal;
  167. color:{color:Blog Title};
  168. border-bottom:dashed 1px {color:Blog Title Border};
  169. padding-bottom:15px;
  170. }
  171.  
  172.  
  173. #description {
  174. margin-top:15px;
  175. color:{color:Description};
  176. font-family: 'Raleway', sans-serif;
  177. text-align:center;
  178. }
  179.  
  180.  
  181. .navlinks {
  182. top:15px;
  183. font-size:12px;
  184. text-transform:lowercase;
  185. position:relative;
  186. font-family: 'Raleway', sans-serif;
  187. text-align:center;
  188. }
  189.  
  190.  
  191. .navlinks a {
  192. margin-right:5px;
  193. margin-bottom:5px;
  194. display:inline-block;
  195. }
  196.  
  197.  
  198. .navlinks a:hover {
  199. color:{color:Link Hover};
  200. background:#fff;
  201. -webkit-transition:opacity 0.3s ease-in-out; opacity: 0.5;
  202. -webkit-transition:all 0.3s ease-in-out;
  203. -moz-transition:all 0.3s ease-in-out;
  204. transition:all 0.3s ease-in-out;
  205. }
  206.  
  207.  
  208. #con {
  209. left:50%;
  210. margin-left:-250px;
  211. position:absolute;
  212. }
  213.  
  214.  
  215. #entries {
  216. width:800px;
  217. margin-top:50px;
  218. margin-left:-325px;
  219.  
  220. {block:PermalinkPage}
  221. width:500px;
  222. {/block:PermalinkPage}
  223. }
  224.  
  225.  
  226. .posts {
  227. width:200px;
  228. float:left;
  229. margin-right:40px;
  230. padding:7px 7px 0px 7px;
  231. {block:IndexPage}
  232. margin-bottom:40px;
  233. {/block:IndexPage}
  234.  
  235.  
  236. {block:PermalinkPage}
  237. width:500px;
  238. margin-bottom:30px;
  239. position:relative;
  240. float:left;
  241. {/block:PermalinkPage}
  242. }
  243.  
  244.  
  245. .posts img {
  246. max-width:250px;
  247. }
  248.  
  249. .posts img, .posts li, .posts blockquote {max-width: 100%;}
  250. .caption {width:100%;
  251. margin-top:10px;
  252.  
  253. }
  254.  
  255. #title {
  256. font-size:14px;
  257. line-height:18px;
  258. font-weight:bold;
  259. margin-bottom:10px;
  260. text-transform:uppercase;
  261. text-align:left;
  262. border-bottom:solid 1px {color:Text Post Title Border};
  263. padding-bottom:5px;
  264. }
  265.  
  266.  
  267. .text {
  268. font-size:11px;
  269. font-family: 'Raleway', sans-serif;
  270. }
  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. margin-bottom:0px;
  350. border-bottom:solid 1px {color:Question Border};
  351. padding-bottom:5px;
  352. }
  353.  
  354. .asker {
  355. font-weight:normal;
  356. }
  357.  
  358.  
  359. .answer {
  360. margin-top:0px;
  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. font-size:12.5px;
  382. text-align:center;
  383. opacity:0;
  384. position:absolute;
  385. padding-top:15px;
  386. padding-right:5.5px;
  387. margin-top:-25px;
  388. margin-left:-60px;
  389. top:50%;
  390. left:50%;
  391. width:110px;
  392. height:30px;
  393. background:{color:Perma Background};
  394. border:dashed 1px {color:Perma Border};
  395. -webkit-transition: all .3s ease-in-out;
  396. -moz-transition: all .3s ease-in-out;
  397. -ms-transition: all .3s ease-in-out;
  398. -o-transition: all .3s ease-in-out;
  399. transition: all .3s ease-in-out;
  400.  
  401. }
  402.  
  403. .posts:hover #permalink {
  404. opacity:1;
  405. }
  406.  
  407.  
  408. #permalink a {
  409. margin-left:10px;
  410. color:{color:Perma Text};
  411. padding:3px;
  412. }
  413.  
  414.  
  415. #permalink a:hover {
  416. padding:3px;
  417. color:{color:Perma Text Hover};
  418. -webkit-transition:opacity 0.3s ease-in-out; opacity: 0.5;
  419. -webkit-transition:all 0.3s ease-in-out;
  420. -moz-transition:all 0.3s ease-in-out;
  421. transition:all 0.3s ease-in-out;
  422. }
  423.  
  424.  
  425. .pagination {
  426. display:none;
  427. }
  428.  
  429.  
  430. .popup_block{
  431. display:none;
  432. background:#fff;
  433. padding:20px;
  434. border:1px solid #eee; /* if you want a solid white pop-up, delete this */
  435. float:left;
  436. position:fixed;
  437. top:50%;left:50%;
  438. z-index: 99999;
  439. -webkit-box-shadow: 0px 0px 20px #000; /* delete for solid white */
  440. -moz-box-shadow: 0px 0px 20px #000; /* delete for solid white */
  441. box-shadow: 0px 0px 20px #000; /* delete for solid white */
  442. }
  443.  
  444. *html #fade {position: absolute;}
  445. *html .popup_block {position: absolute;}
  446. #fade {
  447. display:none;
  448. position:fixed;
  449. left:0px;
  450. top:0px;
  451. width:100%;
  452. height:100%;
  453. z-index:9999;
  454. background:#000; /* change to #fff for solid white */
  455. opacity:0.5; /* change to opacity:1; */
  456. }
  457.  
  458.  
  459. .notes {
  460. padding-left:20px;
  461. font-size:11px;
  462. }
  463.  
  464. .pagination {
  465. display: none;
  466. }
  467.  
  468.  
  469. #credit {
  470. position:fixed;
  471. right:5px;
  472. bottom:5px;
  473. background:{color:Credit BG};
  474. padding-top:5px;
  475. padding-right:5px;
  476. padding-left:5px;
  477. padding-bottom:2px;
  478. font-size:12px;
  479. font-family: 'Raleway', sans-serif;
  480. z-index:9999;
  481. }
  482.  
  483. #credit a{
  484. color:#666;
  485. }
  486.  
  487. {CustomCSS}
  488. </style>
  489.  
  490. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  491.  
  492. <script src="http://static.tumblr.com/6hsqxdt/vmwm2rb4g/infinitescrolling.js"></script><script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
  493.  
  494. <script>
  495. $(function(){
  496. var $container = $('#entries');
  497. $container.imagesLoaded(function(){
  498. $container.masonry({
  499. itemSelector: '.posts',
  500. });
  501. });
  502. $container.infinitescroll({
  503. itemSelector : ".posts",
  504. navSelector : "div.pagination",
  505. nextSelector : ".pagination a#next",
  506. loadingImg : "",
  507. loadingText : "<em></em>",
  508. bufferPx : 10000,
  509. extraScrollPx: 12000,
  510. },
  511. // trigger Masonry as a callback
  512. function( newElements ) {
  513. var $newElems = $( newElements ).css({ opacity: 0 });
  514. // ensure that images load before adding to masonry layout
  515. $newElems.imagesLoaded(function(){
  516. $newElems.animate({ opacity: 1 });
  517. $container.masonry( 'appended', $newElems, true );
  518. });
  519. }
  520. );
  521. });
  522. </script>
  523.  
  524.  
  525. </head>
  526.  
  527. <body>
  528.  
  529. <div id="con">
  530.  
  531. <div id="credit"><a href="http://ammetrine.tumblr.com/">AT</a></div>
  532.  
  533. <div id="header">
  534. <div id="blogt">{Title}</div>
  535. <div id="description">{Description}</div>
  536.  
  537. <div class="navlinks">
  538. <a href="/"><i class="fa fa-home" aria-hidden="true"></i></a>
  539. <a href="#?w=400" rel="box1" class="poplight"><i class="fa fa-envelope-o" aria-hidden="true"></i></a>
  540. <a href="/archive"><i class="fa fa-file-archive-o" aria-hidden="true"></i></a>
  541. {block:ifShowCustomlink1}<a href="{text:Link 1 URL}"><i class="fa fa-tag" aria-hidden="true"></i></a>{/block:ifShowCustomLink1}
  542. {block:ifShowCustomlink2}<a href="{text:Link 2 URL}" ><i class="fa fa-user-o" aria-hidden="true"></i></a>{/block:ifShowCustomLink2}
  543. {block:ifShowCustomlink3}<a href="{text:Link 3 URL}"><i class="fa fa-bookmark" aria-hidden="true"></i></a>{/block:ifShowCustomLink3}
  544. <a href="http://ammetrine.tumblr.com" target="_blank"><i class="fa fa-copyright"></i></a>
  545. </div>
  546.  
  547. </div>
  548.  
  549.  
  550. <div id="entries">
  551.  
  552. {block:Posts}
  553.  
  554. <div class="posts">
  555.  
  556. {block:Quote}
  557. <div class="quote">
  558. '<strong><i>{Quote}</i></strong>'
  559. </div>
  560. {block:Source}
  561. <br><div class="quotesource">— {Source}</div>
  562. {/block:Source}
  563.  
  564. {block:IndexPage}
  565. <div id="permalink">
  566. <a href="{Permalink}" >{NoteCount}</a>
  567. <a href="{ReblogURL}">reblog</a>
  568. </div>
  569. {/block:IndexPage}
  570. {/block:Quote}
  571.  
  572.  
  573. {block:Text}
  574. {block:Title}
  575. <div id="title">{Title}</div>
  576. {/block:Title}
  577. <div class="text">
  578. {Body}
  579. </div>
  580.  
  581. {block:IndexPage}
  582. <div id="permalink">
  583. <a href="{Permalink}" >{NoteCount}</a>
  584. <a href="{ReblogURL}">reblog</a>
  585. </div>
  586. {/block:IndexPage}
  587. {/block:Text}
  588.  
  589.  
  590. {block:Link}
  591. <div id="title">
  592. <a href="{URL}">{Name}</a>
  593. </div>
  594. {block:Description}{Description}{/block:Description}
  595.  
  596. {block:IndexPage}
  597. <div id="permalink">
  598. <a href="{Permalink}" >{NoteCount}</a>
  599. <a href="{ReblogURL}">reblog</a>
  600. </div>
  601. {/block:IndexPage}
  602. {/block:Link}
  603.  
  604.  
  605. {block:Chat}
  606. {block:Title}
  607. <h1>{Title}</h1>
  608. {/block:Title}
  609. <div class="chat">
  610. <ol>{block:Lines}
  611. <li class="line {Alt}">
  612. {block:Label}
  613. <span class="label">
  614. {Label}</span>
  615. {/block:Label}{Line}</li>
  616. {/block:Lines}
  617. </ol>
  618. </div>
  619.  
  620. {block:IndexPage}
  621. <div id="permalink">
  622. <a href="{Permalink}" >{NoteCount}</a>
  623. <a href="{ReblogURL}"</a>
  624. </div>
  625. {/block:IndexPage}
  626. {/block:Chat}
  627.  
  628.  
  629. {block:Photo}
  630. {block:IndexPage}
  631. <a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/></a>
  632.  
  633. <div id="permalink">
  634. <a href="{Permalink}" >{NoteCount}</a>
  635. <a href="{ReblogURL}">reblog</a>
  636. </div>
  637. {/block:IndexPage}
  638.  
  639. {block:PermalinkPage}
  640. <img src="{PhotoURL-500}" alt="{PhotoAlt}"/>
  641. <br>
  642. {/block:PermalinkPage}
  643. {/block:Photo}
  644.  
  645.  
  646. {block:Photoset}
  647. <center>
  648. {block:Photos}
  649. {block:indexpage}
  650. <a href="{permalink}"><img src="{PhotoURL-500}" width="468px"/></a>
  651. {/block:indexpage}
  652. {block:permalinkpage}
  653. <img src="{PhotoURL-500}"/>
  654. {/block:permalinkpage}
  655. {/block:Photos}
  656. </center>
  657. <div id="permalink">
  658. <a href="{Permalink}">{NoteCount}</a>
  659. <a href="{ReblogURL}">reblog</a>
  660. </div>
  661. {/block:Photoset}
  662.  
  663.  
  664. {block:Video}
  665. {Video-250}
  666.  
  667. {block:IndexPage}
  668. <div id="permalink">
  669. <a href="{Permalink}" >{NoteCount}</a>
  670. <a href="{ReblogURL}">reblog</a>
  671. </div>
  672. {/block:IndexPage}
  673. {/block:Video}
  674.  
  675.  
  676. {block:Audio}
  677. {block:AlbumArt}
  678. <div class="albumart">
  679. <img src="{AlbumArtURL}">
  680. </div>
  681. {/block:AlbumArt}
  682. <div class="player">{AudioPlayerWhite}</div>
  683.  
  684. <div class="audioinfo">
  685. Title: {block:TrackName}{TrackName}{/block:TrackName}<br>
  686.  
  687. Artist: {block:Artist}{Artist}{/block:Artist}<br>
  688.  
  689. Plays: {block:PlayCount}{FormattedPlayCount}{/block:PlayCount}
  690.  
  691. {block:IndexPage}
  692. <div id="permalink">
  693. <a href="{Permalink}" >{NoteCount}</a>
  694. <a href="{ReblogURL}">reblog</a>
  695. </div>
  696. {/block:IndexPage}
  697. </div>
  698. {/block:Audio}
  699.  
  700.  
  701. {block:Answer}
  702. <div class="question">
  703. <div class="asker">{Asker} asked: </div>
  704. {Question}
  705. </div>
  706. <div class="answer">{Answer}</div>
  707.  
  708. {block:IndexPage}
  709. <div id="permalink">
  710. <a href="{Permalink}" >{NoteCount}</a>
  711. <a href="{ReblogURL}">reblog</a>
  712. </div>
  713. {/block:IndexPage}
  714. {/block:Answer}
  715.  
  716.  
  717.  
  718. {block:PermalinkPage}
  719. <div class="notes">
  720. {block:Date}{Caption} posted {TimeAgo}{/block:Date}
  721. {block:NoteCount} with {NoteCount} notes {/block:NoteCount}
  722. {block:RebloggedFrom}
  723. via <a href="{ReblogParentURL}">{ReblogParentName}</a>,
  724. {/block:RebloggedFrom}
  725. {block:ContentSource}originally from <a href="{SourceURL}">{SourceTitle} </a>{/block:ContentSource}
  726. <br>{block:hastags}{block:tags}#<a href="/tagged/{Tag}">{Tag}</a> &nbsp;&nbsp; {/block:tags}{/block:hastags}
  727. <br>{PostNotes}
  728. </div>
  729. {/block:PermalinkPage}
  730.  
  731. </div>
  732. {/block:Posts}
  733.  
  734. <div class="pagination">
  735. {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}
  736. </div>
  737.  
  738.  
  739.  
  740. </div>
  741.  
  742. </div>
  743.  
  744. </body>
  745.  
  746. <div id="box1" class="popup_block">
  747. <iframe frameborder="0" height="200" id="ask_form" scrolling="yes" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" width="100%"></iframe>
  748.  
  749. </div>
  750.  
  751.  
  752. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement