Advertisement
ammetrine

Pink Pearl Theme by Ammetrine

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