ammetrine

Sunstone Theme by Ammetrine

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