Advertisement
ammetrine

Aventurine Theme by Ammetrine

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