Advertisement
ogaraster

Pear Theme

Mar 1st, 2014
31,854
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.44 KB | None | 0 0
  1. <!--
  2.  
  3. Pear Theme brough to you by Atlas Designs
  4. http://atlasdesigns.co/
  5.  
  6. Do not remove credits unless given permission to do so.
  7.  
  8. -->
  9.  
  10. <head>
  11.  
  12. <title>{Title}</title>
  13. <link rel="shortcut icon" href="{Favicon}">
  14. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  15. {block:Description}
  16. <meta name="description" content="{MetaDescription}" />
  17. {/block:Description}
  18.  
  19. <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:600' rel='stylesheet' type='text/css'>
  20.  
  21. <script type="text/javascript"
  22. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  23.  
  24. <script type="text/javascript">
  25. $(document).ready(function() {
  26. var stickyNavTop = $('.sidebar1').offset().top;
  27.  
  28. var stickyNav = function(){
  29. var scrollTop = $(window).scrollTop();
  30.  
  31. if (scrollTop > stickyNavTop) {
  32. $('.sidebar1').addClass('sticky');
  33. } else {
  34. $('.sidebar1').removeClass('sticky');
  35. }
  36. };
  37.  
  38. stickyNav();
  39.  
  40. $(window).scroll(function() {
  41. stickyNav();
  42. });
  43. });
  44. </script>
  45.  
  46. <script type="text/javascript">
  47. $(document).ready(function() {
  48. var stickyNavTop = $('.sidebar2').offset().top;
  49.  
  50. var stickyNav = function(){
  51. var scrollTop = $(window).scrollTop();
  52.  
  53. if (scrollTop > stickyNavTop) {
  54. $('.sidebar2').addClass('sticky');
  55. } else {
  56. $('.sidebar2').removeClass('sticky');
  57. }
  58. };
  59.  
  60. stickyNav();
  61.  
  62. $(window).scroll(function() {
  63. stickyNav();
  64. });
  65. });
  66. </script>
  67.  
  68. {block:IndexPage}
  69. <script type="text/javascript"
  70. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  71.  
  72. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  73.  
  74. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  75. <script type="text/javascript">
  76. $(window).load(function () {
  77. var $content = $('#content');
  78. $content.masonry({itemSelector: '.entry'}),
  79. $content.infinitescroll({
  80. navSelector : 'div#pagination',
  81. nextSelector : 'div#pagination a#nextPage',
  82. itemSelector : '.entry',
  83. loading: {
  84. finishedMsg: '',
  85. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  86. },
  87. bufferPx : 600,
  88. debug : false,
  89. },
  90. // call masonry as a callback.
  91. function( newElements ) {
  92. var $newElems = $( newElements );
  93. $newElems.hide();
  94. // ensure that images load before adding to masonry layout
  95. $newElems.imagesLoaded(function(){
  96. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );});});});</script>
  97. {/block:IndexPage}
  98.  
  99. <meta name="color:background" content="#ffffff" />
  100. <meta name="color:post background" content="#f2f2f2" />
  101. <meta name="color:text" content="#000" />
  102. <meta name="color:title" content="#000" />
  103. <meta name="color:link" content="#828282" />
  104. <meta name="color:link hover" content="#eee" />
  105. <meta name="color:scrollbar" content="#a3a3a3" />
  106.  
  107. <meta name="if:show banner" content="0">
  108. <meta name="if:show captions" content="0">
  109. <meta name="if:one column posts" content="0">
  110.  
  111. <meta name="text:home" content="Home">
  112. <meta name="text:message" content="Contact">
  113. <meta name="text:archive" content="Archive">
  114. <meta name="text:facebook url" content="http://">
  115. <meta name="text:pinterest url" content="http://">
  116. <meta name="text:instagram url" content="http://">
  117. <meta name="text:twitter url" content="http://">
  118. <meta name="text:tag 1" content="Tag1">
  119. <meta name="text:tag 2" content="Tag2">
  120. <meta name="text:tag 3" content="Tag3">
  121. <meta name="text:tag 4" content="Tag4">
  122. <meta name="text:tag 5" content="Tag5">
  123.  
  124.  
  125. <meta name="image:background" content="" />
  126. <meta name="image:header" content="">
  127. <meta name="image:banner" content="">
  128.  
  129. <style type="text/css">
  130.  
  131. ::-webkit-scrollbar {width: 8px; height: 0px; background:{color:background};}
  132. ::-webkit-scrollbar-thumb {background: {color:scrollbar};}
  133.  
  134. iframe#tumblr_controls {position:fixed; z-index:9999999999; top: 3px !Important; margin: 0 0 0 0; right:4px; -webkit-filter: invert(100%);}
  135.  
  136. body {
  137. background-color: {color:background};
  138. background-image:url({image:Background});
  139. background-attachment: fixed;
  140. background-repeat: repeat;
  141. font-size:12px;
  142. font-family:georgia;
  143. font-weight:400;
  144. line-height:18px;
  145. letter-spacing:1px;
  146. color: {color:text};
  147. }
  148.  
  149. #blogtitle{
  150. position:absolute;
  151. top:80px;
  152. {block:ifshowbanner}
  153. top:15px;
  154. {/block:ifshowbanner}
  155. left:0px;
  156. width:100%;
  157. height:100px;
  158. font-family:source sans pro;
  159. font-size:20px;
  160. letter-spacing:2px;
  161. text-align:center;
  162. text-transform:uppercase;
  163. z-index:99;
  164. }
  165.  
  166. #blogtitle a{
  167. color: {color:title};
  168. }
  169.  
  170. a {
  171. text-decoration:none;
  172. color:{color:link};
  173. -moz-transition: all 0.2s ease-in-out;
  174. -webkit-transition: all 0.2s ease-in-out;
  175. -o-transition: all 0.2s ease-in-out;
  176. -ms-transition: all 0.2s ease-in-out;
  177. transition: all 0.2s ease-in-out;
  178. }
  179.  
  180. a:link, a:active, a:visited{
  181. color: {color:link};
  182. }
  183.  
  184. a:hover{
  185. color: {color:link hover};
  186. }
  187.  
  188. .answer{
  189. width:90%;
  190. padding:5%;
  191. }
  192. .answer img {
  193. width:100%;
  194. height:auto;
  195. {block:permalinkpage}
  196. width:auto;
  197. height:auto;
  198. {/block:permalinkpage}
  199. }
  200.  
  201. #content {
  202. width:800px;
  203. left:50%;
  204. top:175px;
  205. margin-left:-400px;
  206. {block:ifonecolumnposts}
  207. width:700px;
  208. margin-left:-350px;
  209. {/block:ifonecolumnposts}
  210. float:left;
  211. position: absolute;
  212. z-index:-9;
  213. }
  214.  
  215. .entry{
  216. margin:10px;
  217. {block:IndexPage}
  218. width:246px;
  219. {block:ifonecolumnposts}
  220. width:700px;
  221. {/block:ifonecolumnposts}
  222. {/block:IndexPage}
  223. {block:PermalinkPage}
  224. width:400px;
  225. height:auto;
  226. {/block:PermalinkPage}
  227. }
  228.  
  229. .title{
  230. font-family:source sans pro;
  231. font-size:14px;
  232. line-height:20px;
  233. letter-spacing:2px;
  234. text-transform:uppercase;
  235. color:{color:title};
  236. }
  237. .title a{
  238. color:{color:title};
  239. }
  240.  
  241. .speclink{
  242. word-spacing:1px;
  243. }
  244.  
  245. .sidebar1{
  246. position:absolute;
  247. top:200px;
  248. width:200px;
  249. left:50%;
  250. margin-left:-600px;
  251. z-index:999;
  252. text-align:center;
  253. }
  254. .sidebar2{
  255. position:absolute;
  256. top:200px;
  257. width:200px;
  258. right:50%;
  259. margin-right:-600px;
  260. z-index:999;
  261. text-align:center;
  262. }
  263.  
  264. .sticky {
  265. position: fixed;
  266. top: 30px;
  267. }
  268.  
  269. h1{
  270. font-family:source sans pro;
  271. font-size:11px;
  272. letter-spacing:1px;
  273. line-height:14px;
  274. text-align:center;
  275. text-transform:uppercase;
  276. color:{color:title};
  277. }
  278.  
  279. h2{
  280. font-family:source sans pro;
  281. font-size:11px;
  282. letter-spacing:1px;
  283. text-transform:uppercase;
  284. }
  285.  
  286. .like_and_reblog_buttons {
  287. position:absolute;
  288. top:5px;
  289. left:-25px;
  290. list-style: none;
  291. opacity:0;
  292. -webkit-transition: all 0.2s linear;
  293. -webkit-transition: all 0.2s linear;
  294. -moz-transition: all 0.2s linear;
  295. transition: all 0.2s linear;
  296. }
  297. .entry:hover .like_and_reblog_buttons{
  298. top:0px;
  299. opacity:1;
  300. -webkit-transition: all 0.2s linear;
  301. -webkit-transition: all 0.2s linear;
  302. -moz-transition: all 0.2s linear;
  303. transition: all 0.2s linear;
  304. }
  305.  
  306. .like_and_reblog_buttons li {
  307. float: left;
  308. background-color:rgba(0,0,0,.1);
  309. border-radius:100%;
  310. padding:10px;
  311. height:14px;
  312. width:14px;
  313. }
  314.  
  315. .like_and_reblog_buttons li:first-child {
  316. margin-right:8px;
  317. }
  318.  
  319. .textbuttons ul{
  320. list-style:none;
  321. position:relative;
  322. }
  323. .textbuttons li {
  324. list-style:None;
  325. float: right;
  326. margin-top:7px;
  327. }
  328. .textbuttons li:first-child {
  329. margin-left:12px;
  330. }
  331.  
  332. .textnote{
  333. position:absolute;
  334. margin-left:0px;
  335. bottom:5px;
  336. {block:ifonecolumnposts}
  337. bottom:30px;
  338. {/block:ifonecolumnposts}
  339. font-weight:700;
  340. font-family:arial;
  341. }
  342. .textnote a{
  343. font-size:11px;
  344. color:#a3a3a3;
  345. }
  346.  
  347. .caption{
  348. background:{color:post background};
  349. margin-top:-3px;
  350. width:90%;
  351. padding:5%;
  352. }
  353.  
  354. .speclink{
  355. word-spacing:1px;
  356. }
  357.  
  358. .notess1{
  359. position:absolute;
  360. top:10px;
  361. left:430px;
  362. width:370px;
  363. padding:15px;
  364. background:{color:post background};
  365. height:auto;
  366. overflow-y:auto;
  367. }
  368. .notess2{
  369. position:absolute;
  370. top:115px;
  371. left:430px;
  372. width:370px;
  373. padding:15px;
  374. background:{color:post background};
  375. max-height:400px;
  376. overflow-y:auto;
  377. }
  378. .notess2 li{
  379. list-style-type:none;
  380. margin-left:-40px;
  381. line-height:30px;
  382. font-size:12px;
  383. }
  384. .notess2 img{
  385. display:none;
  386. }
  387.  
  388. .chat ul{
  389. list-style:none;
  390. margin-left:-40px;
  391. }
  392. .chat li{
  393. list-style:none;
  394. margin-left:-40px;
  395. border-bottom:1px solid #dddddd;
  396. padding-top:5px;
  397. padding-bottom:5px;
  398. }
  399.  
  400. .label{
  401. font-family:arial;
  402. font-weight:700;
  403. }
  404.  
  405. .play{
  406. position:absolute;
  407. left:50%;
  408. margin-left:-24px;
  409. top:50%;
  410. margin-top:-42px;
  411. border:10px solid white;
  412. height:27px;
  413. width:27px;
  414. border-radius:100%;
  415. overflow:hidden;
  416. }
  417.  
  418. .stype{
  419. outline:none;
  420. border:none;
  421. font-family:source sans pro;
  422. font-size:10px;
  423. letter-spacing:1px;
  424. text-transform:uppercase;
  425. background:rgba(0,0,0,.05);
  426. padding:7px;
  427. width:150px;
  428. }
  429.  
  430. #infscr-loading{
  431. opacity:0;
  432. }
  433.  
  434. {CustomCSS}
  435. </style>
  436.  
  437. <title>{title}</title>
  438.  
  439. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  440.  
  441. </head>
  442. <body>
  443.  
  444. <div id="blogtitle">
  445. {block:ifnotshowbanner}
  446. <a href="/">{Title}</a>{/block:ifnotshowbanner}
  447. {block:ifshowbanner}
  448. <img src="{image:banner}" alt="{title}" height="150px">
  449. {/block:ifshowbanner}
  450. </div>
  451.  
  452. <div class="sidebar1">
  453. <h1>About</h1>
  454. <p>{Description}</p>
  455. <br>
  456. <h1>Categories</h1>
  457. <p>
  458. <a href="/tagged/{text:tag 1}">{text:tag 1}</a><br>
  459. <a href="/tagged/{text:tag 2}">{text:tag 2}</a><br>
  460. <a href="/tagged/{text:tag 3}">{text:tag 3}</a><br>
  461. <a href="/tagged/{text:tag 4}">{text:tag 4}</a><br>
  462. <a href="/tagged/{text:tag 5}">{text:tag 5}</a>
  463. </p>
  464. <br>
  465. </div>
  466.  
  467. <div class="sidebar2">
  468. <span class="search">
  469. <form onsubmit="return tagSearch(this)">
  470. <input type="text" name="tag" class="stype" placeholder="Search . . ." onfocus="if (this.value == '{text:Search Label}') {this.value=''}" onblur="if (this.value == '') {this.value='{text:Search Label}'}" />
  471. </form>
  472. </span>
  473. <br>
  474. <h1>Links</h1>
  475. <p>
  476. <a href="/">{text:home}</a><br>
  477. <a href="/ask">{text:message}</a><br>
  478. <a href="/archive">{text:archive}</a><br>
  479. {block:HasPages}{block:Pages}<a href="{URL}"><span class="speclink">{Label}</span></a><br>{/block:Pages}{/block:HasPages}
  480. <a href="http://atlasdesigns.co/">Theme</a>
  481. </span>
  482. </p>
  483. <br>
  484. <h1>elsewhere</h1>
  485. <p><a href="{text:Twitter URL}"/>Twitter</a><br>
  486. <a href="{text:Pinterest URL}"/>Pinterest</a><br>
  487. <a href="{text:Instagram URL}"/>Instagram</a><br>
  488. <a href="{text:Facebook URL}"/>Facebook</a>
  489. </p>
  490. </div>
  491.  
  492. <div id="content">
  493. {block:Posts}
  494. <div class="entry">
  495.  
  496. {block:Text}
  497. <div class="answer">{block:Title}<span class="title">{Title}</span>{/block:Title}{Body}
  498. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  499. <ul class="textbuttons">
  500. <li>{ReblogButton color="gray" size=14}</li>
  501. <li>{LikeButton color="gray" size=14}</li>
  502. </ul><br>
  503. {/block:IndexPage}
  504. </div>
  505. {/block:Text}
  506.  
  507. {block:Link}
  508. <div class="answer"><a href="{URL}"><span class="title">{Name}</span></a>
  509. {block:Description}{Description}{/block:Description}
  510. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  511. <ul class="textbuttons">
  512. <li>{ReblogButton color="gray" size=14}</li>
  513. <li>{LikeButton color="gray" size=14}</li>
  514. </ul><br>
  515. {/block:IndexPage}
  516. </div>
  517. {block:Link}
  518.  
  519. {block:Photo}
  520. {block:IndexPage}{LinkOpenTag}<div class="photo"><a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=100%/></a></div>{LinkCloseTag}
  521. <ul class="like_and_reblog_buttons">
  522. <li>{ReblogButton color="white" size=14}</li>
  523. <li>{LikeButton color="white" size=14}</li>
  524. </ul>
  525. {block:ifshowcaptions}<div class="caption">{block:Caption}{Caption}{/block:caption}</div>{/block:ifshowcaptions}
  526. {/block:IndexPage}{block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=100%/>{LinkCloseTag}
  527. <div class="caption">{block:Caption}{Caption}{/block:caption}</div>
  528. {/block:PermalinkPage}
  529. {/block:Photo}
  530.  
  531. {block:Photoset}
  532. <center>
  533. {block:IndexPage}{Photoset-250}
  534. {block:Caption}{Caption}{/block:Caption}{/block:IndexPage}
  535. {block:PermalinkPage}{Photoset-400}{/block:PermalinkPage}
  536. </center>
  537. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  538. <ul class="textbuttons">
  539. <li>{ReblogButton color="gray" size=14}</li>
  540. <li>{LikeButton color="gray" size=14}</li>
  541. </ul><br>
  542. {/block:IndexPage}
  543. {/block:Photoset}
  544.  
  545. {block:Quote}
  546. <div class="answer"><div class="title">{Quote}</div>- {Source}
  547. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  548. <ul class="textbuttons">
  549. <li>{ReblogButton color="gray" size=14}</li>
  550. <li>{LikeButton color="gray" size=14}</li>
  551. </ul><br>
  552. {/block:IndexPage}
  553. </div>
  554. {/block:Quote}
  555.  
  556. {block:Chat}
  557. <div class="answer">
  558. <div style="margin-left:3px;">
  559. {block:Title}<span class="title">{Title}</span>{/block:Title}
  560. <ul class="chat">
  561. {block:Lines}
  562. <li class="user_{UserNumber}">
  563. {block:Label}
  564. <span class="label">{Label}</span>
  565. {/block:Label}
  566. {Line}
  567. </li>
  568. {/block:Lines}
  569. </ul>
  570. </div>
  571. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  572. <ul class="textbuttons">
  573. <li>{ReblogButton color="gray" size=14}</li>
  574. <li>{LikeButton color="gray" size=14}</li>
  575. </ul><br>
  576. {/block:IndexPage}
  577. </div>
  578. {/block:Chat}
  579.  
  580. {block:Audio}
  581. {block:AlbumArt}
  582. <center><a href="{Permalink}"><img src="{AlbumArtURL}" width="100%"></a></center>
  583. {/block:AlbumArt}
  584. <div class="play">{AudioPlayerWhite}</div>
  585. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  586. {/block:IndexPage}
  587. {/block:Audio}
  588.  
  589. {block:Answer}
  590. <div class="answer"><div style="font-size:11px;line-height:11px;font-style:italic;color:{color:links}"><i>{Asker} asked:</i></div><br><span class="title">{Question}</span><hr color={color:title}>{Answer}
  591. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  592. <ul class="textbuttons">
  593. <li>{ReblogButton color="gray" size=14}</li>
  594. <li>{LikeButton color="gray" size=14}</li>
  595. </ul><br>
  596. {/block:IndexPage}
  597. </div>
  598. {/block:Answer}
  599.  
  600. {block:Video}
  601. {block:IndexPage}
  602. <center>
  603. {Video-250}
  604. {block:Caption}{Caption}{/block:Caption}</center>
  605. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  606. <ul class="textbuttons">
  607. <li>{ReblogButton color="gray" size=14}</li>
  608. <li>{LikeButton color="gray" size=14}</li>
  609. </ul><br>
  610. {/block:IndexPage}
  611. {/block:IndexPage}
  612. {block:PermalinkPage}
  613. <center>
  614. {Video-400}</center>
  615. {/block:PermalinkPage}
  616. {block:Video}
  617.  
  618. {block:PostNotes}
  619. <div class="notess1"><span class="title">Share this post</span><br><!-- AddThis Button BEGIN -->
  620. <div class="addthis_toolbox addthis_default_style ">
  621. <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
  622. <a class="addthis_button_tweet"></a>
  623. <a class="addthis_button_pinterest_pinit" pi:pinit:layout="horizontal"></a>
  624. <a class="addthis_counter addthis_pill_style"></a>
  625. </div>
  626. <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-525054fe20c6e26c"></script>
  627. <!-- AddThis Button END --></div>
  628. <div class="notess2"><span class="title">{NoteCount} Notes</span><br>{PostNotes}</div>
  629. {/block:PostNotes}
  630.  
  631. </div>
  632.  
  633. {/block:Posts}
  634.  
  635. {block:IndexPage}
  636. {block:Pagination}
  637. <div id="pagination">
  638. {block:NextPage}
  639. <a id="nextPage" href="{NextPage}"></a>
  640. {/block:NextPage}
  641. {block:PreviousPage}
  642. <a href="{PreviousPage}"></a>
  643. {/block:PreviousPage}
  644. </div>
  645. {/block:Pagination}
  646. {/block:IndexPage}
  647. </div>
  648.  
  649. <div style="position:fixed;z-index:99999999999999999999999999999999999; !important;top:28px;right:6px;-webkit-filter:invert(100%);"><a href="http://atlasdesigns.tumblr.com/"><img src="http://static.tumblr.com/2w7y46r/wuvmba8c2/installtheme.png"></a></div>
  650.  
  651. </body>
  652. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement