quenma

theme 03: ameno

Aug 11th, 2015
2,826
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.50 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <!--
  4. |||||||| theme 03: ameno
  5. || by quenma.tumblr.com
  6.  
  7. don't redistribute
  8. don't copy any part of the code
  9. feel free to change fonts and colors
  10. message me if there is any bugs
  11. -->
  12.  
  13. <head>
  14.  
  15. <title>{title}{block:searchpage}, search results: {searchquery}{/block:searchpage}{block:postsummary} - {postsummary}{/block:postsummary}
  16. </title>
  17. <link href="{Favicon}" rel="shortcut icon"/>
  18.  
  19. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  20.  
  21. <meta name="description" content="{metadescription}" />
  22. <meta name="color:Links" content="#cccccc"/>
  23. <meta name="color:Links hover" content="#bce0f2"/>
  24. <meta name="color:Background" content="#fdfdfd"/>
  25. <meta name="color:Font" content="#aaaaaa"/>
  26. <meta name="color:Description font" content="#cccccc"/>
  27. <meta name="color:Post title" content="#dddddddd"/>
  28. <meta name="color:Top background" content="#bce0f2"/>
  29. <meta name="color:Entry" content="#ffffff"/>
  30. <meta name="color:Borders" content="#eeeeee"/>
  31. <meta name="color:Scrollbar" content="#bce0f2"/>
  32. <meta name="color:Permalink box" content="#fafafa"/>
  33. <meta name="color:Permalink text" content="#cccccc"/>
  34.  
  35. <meta name="color:Blockquote" content="#eeeeee"/>
  36. <meta name="color:Question font" content="#cccccc"/>
  37. <meta name="color:Chat background odd" content="#ffffff"/>
  38. <meta name="color:Chat background even" content="#ffffff"/>
  39.  
  40. <meta name="color:Bold text" content="#bce0f2"/>
  41. <meta name="color:Italic text" content="#aaaaaa"/>
  42.  
  43. <meta name="image:Background" content=""/>
  44. <meta name="image:Links avatar" content="http://goo.gl/U3MVmr"/>
  45. <meta name="image:Top background" content="http://goo.gl/ggY1KI"/>
  46.  
  47. <meta name="if:Show captions" content="1"/>
  48. <meta name="if:Show search bar" content="1"/>
  49. <meta name="if:Show blog title" content="1"/>
  50. <meta name="if:Bold titles" content="1"/>
  51. <meta name="if:Uppercase titles" content="1"/>
  52.  
  53. <meta name="text:Link 1 URL" content="#url"/>
  54. <meta name="text:Link 1 title" content="link#1"/>
  55. <meta name="text:Link 2 URL" content="#url"/>
  56. <meta name="text:Link 2 title" content="link#2"/>
  57. <meta name="text:Link 3 URL" content="#url"/>
  58. <meta name="text:Link 3 title" content="link#3"/>
  59. <meta name="text:Link 4 URL" content="#url"/>
  60. <meta name="text:Link 4 title" content="link#4"/>
  61. <meta name="text:Link 5 URL" content="#url"/>
  62. <meta name="text:Link 5 title" content="link#5"/>
  63. <meta name="text:Blog title" content="ameno"/>
  64.  
  65. <meta name="select:Posts width" content="250px">
  66. <meta name="select:Posts width" content="350px">
  67. <meta name="select:Posts width" content="400px">
  68. <meta name="select:Posts width" content="500px">
  69.  
  70. <meta name="select:Top background size" content="100% auto" title="Scale to fit width">
  71. <meta name="select:Top background size" content="auto 380px" title="Scale to fit height">
  72. <meta name="select:Top background size" content="cover" title="Cover">
  73. <meta name="select:Top background size" content="auto" title="Original">
  74.  
  75.  
  76. <link rel="stylesheet" href="//static.tumblr.com/vr9xgox/k5rniy4bm/main-min.css">
  77. <link rel="stylesheet" href="//static.tumblr.com/og8a5yf/G9Jnjxfhn/icomoon.css">
  78. <link rel="stylesheet" href="//static.tumblr.com/ev0x8sk/Rojnpjn1w/selectric.css">
  79.  
  80. <style>
  81. /* defaults */
  82. #tumblr_controls { z-index:9999999999!important;
  83. position:fixed; }
  84.  
  85. small, big, pre, sub, sup { font:10px calibri!important; }
  86.  
  87. a { color:{color:links};
  88. text-decoration:none;
  89. -webkit-transition:.4s;
  90. -moz-transition:.4s;
  91. -o-transition:.4s; }
  92.  
  93. a:hover { color:{color:links hover};
  94. /*cursor:url('//goo.gl/qsfNnn'), hand; */ }
  95.  
  96. body { font:10px calibri;
  97. color:{color:font};
  98. background:{color:background} url('{image:background}') fixed;
  99. margin:0;
  100. padding:0;
  101. min-height:calc(100vh + 381px);
  102. line-height:16px;
  103. /*cursor:url('//goo.gl/AJHdqF'), auto;*/
  104. cursor:auto; }
  105.  
  106. ::-webkit-scrollbar-thumb { background: {color:scrollbar}; }
  107.  
  108. ::-webkit-scrollbar-thumb:vertical {
  109. border-top:2px solid {color:entry};
  110. border-bottom:2px solid {color:entry}; }
  111.  
  112. ::-webkit-scrollbar-thumb:horizontal {
  113. border-left:2px solid {color:entry};
  114. border-right:2px solid {color:entry}; }
  115.  
  116. ::-webkit-scrollbar {
  117. height:5px;
  118. width:5px;
  119. background: {color:borders};
  120. border:2px solid {color:entry}; }
  121.  
  122. ::-webkit-scrollbar-button { background:{color:scrollbar};}
  123.  
  124. #cursor { width:150%;
  125. height:150%;
  126. position:fixed;
  127. /*cursor:url('//goo.gl/AJHdqF'), auto ;*/
  128. cursor:auto;
  129. z-index:-9999; }
  130.  
  131. blockquote { border-left:3px solid {color:blockquote};
  132. padding:0 6px;
  133. margin:3px 0 0 10px; }
  134.  
  135. #s-m-t-tooltip{
  136. max-width:230px;
  137. font:10px calibri;
  138. padding:3px 5px;
  139. margin-left:6px;
  140. z-index:999999999999;
  141. background-color:{color:entry}; }
  142.  
  143. b { font-weight:bold;
  144. color:{color:bold text}; }
  145.  
  146. i { font-style:italic;
  147. color:{color:italic text}; }
  148.  
  149. #credit { position:fixed;
  150. background:{color:scrollbar};
  151. bottom:12px;
  152. right:12px;
  153. color:{color:entry};
  154. width:10px;
  155. line-height:10px;
  156. padding:4px 4px;
  157. letter-spacing:1px;
  158. font:8px calibri;
  159. text-transform:uppercase;
  160. -webkit-transition:.4s;
  161. -moz-transition:.4s;
  162. -o-transition:.4s;}
  163.  
  164.  
  165.  
  166. /* posts alignments and fonts */
  167. #content { position:relative;
  168. display:block;
  169. left:50%;
  170. top:450px;
  171. margin-bottom:70px;
  172. width:800px;}
  173.  
  174. #content.pixels250px { margin-left: -355px;
  175. {block:permalinkpage}
  176. margin-left:-320px;
  177. {/block:permalinkpage} }
  178. #content.pixels350px { margin-left: -231px; }
  179. #content.pixels400px { margin-left: -256px; }
  180. #content.pixels500px { margin-left: -306px; }
  181.  
  182. .entry { opacity:.99999;
  183. text-align:justify;
  184. padding:15px;
  185. position:relative;
  186. float:left;
  187. z-index:95;
  188. margin:40px;
  189. background:{color:entry};
  190. border:1px solid {color:borders};
  191. width:{select:posts width};
  192. {block:PermalinkPage}
  193. width:500px;
  194. {/block:PermalinkPage}; }
  195.  
  196.  
  197. .entry .title {
  198. font:17px cambria;
  199. display:block;
  200. padding:20px 40px;
  201. text-align:center;
  202. margin-bottom:10px;
  203. line-height:120%;
  204. color:{color:post title};
  205. {block:ifboldtitles}
  206. font-weight:bold;
  207. {/block:ifboldtitles}
  208. {block:ifuppercasetitles}
  209. text-transform:uppercase;
  210. {/block:ifuppercasetitles} }
  211.  
  212. .entry .body img { max-width:100%; height:auto; }
  213.  
  214. .body { margin-top:10px; }
  215.  
  216. .entry .photopost { width:100%; }
  217.  
  218.  
  219. /* quote posts */
  220. .title.quotes:before { content:'“';
  221. color:{color:links hover};
  222. font:bold 60px georgia;
  223. position:absolute;
  224. margin:-15px;
  225. opacity:.2; }
  226.  
  227.  
  228.  
  229.  
  230. /* chat posts */
  231. .codd, .ceven { padding:8px;
  232. margin:2px;
  233. border-radius:3px;
  234. background:{color:chat background odd};}
  235.  
  236. .ceven { background:{color:chat background even}; }
  237.  
  238. .codd b, .ceven b { font-family:calibri; }
  239.  
  240.  
  241.  
  242. /* ask posts */
  243. .question { font:10px calibri;
  244. width:calc(100% - 70px);
  245. color:{color:question font};
  246. background:{color:entry};
  247. padding:15px;
  248. border-left: 40px solid {color:permalink box}; }
  249.  
  250. .question b {text-transform:uppercase; }
  251.  
  252. #askerimg { position:absolute;
  253. margin-left:-48px;
  254. border:3px solid {color:entry}; }
  255.  
  256.  
  257.  
  258.  
  259. /* post notes */
  260. .noul ul, .noul li, .noul ol { list-style-type:none; }
  261. .noul img { visibility:hidden; }
  262. .noul li { padding: 8px 10px;
  263. font: 10px calibri, sans-serif;
  264. color: {color:font};
  265. border-top: 0px solid transparent;
  266. width: 530px;
  267. background:transparent;
  268. text-transform: lowercase;
  269. margin: 3px 0; }
  270.  
  271. .avatar_frame { display: none; }
  272.  
  273. .noul blockquote { margin-left:20px; }
  274.  
  275. .p-notes { margin-bottom:60px; }
  276.  
  277.  
  278.  
  279. /* audio posts */
  280. .tumblr_audio_player { height:129px!important; }
  281.  
  282. .audio_controls { height:129px!important; }
  283.  
  284. .audio_player_container.has_art .album_art_container {
  285. max-width: 129px!important;
  286. max-height: 129px!imporant; }
  287.  
  288. .album_art.main {
  289. position: relative;
  290. width: 129px!important;
  291. height: 129px!important; }
  292.  
  293. .audio_player.white .audio_controls, .audio_player.white .audio_visualizer { border:1px solid {color:borders}!important; }
  294.  
  295.  
  296.  
  297. /* description */
  298. #desc { padding:10px;
  299. left:35px;
  300. position:fixed;
  301. z-index:1;
  302. width:170px;
  303. text-align:left;
  304. color:{color:description font};
  305. display:none;
  306. top:70px; }
  307.  
  308. #desc:before { content:'';
  309. position:fixed;
  310. border-left:1px solid {color:borders};
  311. border-top:1px solid {color:borders};
  312. width:20px;
  313. height:20px;
  314. margin:-10px -12px; }
  315.  
  316.  
  317.  
  318. /* top background */
  319. #sidebar { width:100%;
  320. height:380px;
  321. position:absolute;
  322. background:{color:top background} url('{image:top background}');
  323. background-position:center top;
  324. background-attachment:fixed;
  325. background-size:{select:top background size};
  326. top:0px;
  327. z-index:9;
  328. left:0; }
  329.  
  330. #sidebar h1 { font:italic bold 100px cambria;
  331. position:absolute;
  332. text-transform:uppercase;
  333. color:white;
  334. text-align:center;
  335. width:100%;
  336. top:65px; }
  337.  
  338. #links { width:100%;
  339. padding:14px 0 22px 0;
  340. text-align:left;
  341. background:{color:entry};
  342. top:380px;
  343. left:0;
  344. z-index:9999999;
  345. height:10px;
  346. border-bottom:1px solid {color:borders};
  347. font:8px calibri;
  348. text-transform:uppercase;
  349. position:absolute; }
  350.  
  351. #linksavatar {width:20px;
  352. height:20px;
  353. border-radius:4px;}
  354.  
  355. #links a, #links b { padding-left:10px;
  356. font:8px calibri;
  357. display:inline-block;
  358. letter-spacing:1px; }
  359.  
  360.  
  361.  
  362. /* permalink */
  363. #perma {
  364. text-align:center;
  365. width:calc({select:posts width} - 10px);
  366. padding:20px 20px;
  367. margin-top:15px;
  368. background:{color:permalink box};
  369. margin-left:-16px;
  370. margin-bottom:-16px;
  371. border:1px solid {color:borders};
  372. font:8px calibri;
  373. text-transform:uppercase;
  374. letter-spacing:1px;
  375. {block:PermalinkPage}
  376. width:490px;
  377. {/block:PermalinkPage} }
  378.  
  379. #perma a { padding:0 2px;
  380. color:{color:permalink text};}
  381.  
  382. .tag:before { content:'#'; }
  383. .tag:after { content:' '; }
  384.  
  385.  
  386.  
  387. /* search box */
  388. .searchbox {
  389. display: inline-block;
  390. white-space: nowrap;
  391. width:43px;
  392. text-align: left;
  393. line-height: 20px;
  394. color:{color:links};
  395. text-transform:uppercase;
  396. letter-spacing:1px;
  397. border:none;
  398. background:{color:entry};
  399. position: relative;
  400. margin-bottom:4px;
  401. margin-left:10px;
  402. font:8px calibri;
  403. outline:none;
  404. border-radius: 0px;
  405. -webkit-transition:.4s;
  406. -moz-transition:.4s;
  407. -o-transition:.4s;}
  408.  
  409. .searchbox:focus {color:{color:font};
  410. width:100px; }
  411.  
  412. #search { display:inline-block;
  413. background:{color:sidebar};
  414. border-radius:2px;
  415. padding:10px;}
  416.  
  417. #search input { background:transparent;
  418. color:{color:font};
  419. text-transform:uppercase;
  420. opacity:.3;
  421. padding:3px; }
  422.  
  423. form[onsubmit="return tagSearch(this)"] { display:inline; }
  424.  
  425. {CustomCSS}
  426. </style>
  427. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  428. <script src="//static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  429. <script src="//static.tumblr.com/ev0x8sk/3DPnpjn0q/jquery.selectric.min.js">
  430. </script>
  431.  
  432. <script type="text/javascript">
  433. function tagSearch(form) {
  434. if (form.tag.value.replace(/\s/g, '').length > 0) {
  435. window.location = "/search/" + form.tag.value; }
  436. return false; }
  437. </script>
  438.  
  439. <script>
  440. (function($){
  441. $(document).ready(function(){
  442. $("[title],a[title],img[title]").style_my_tooltips({
  443. tip_follows_cursor:true,
  444. tip_delay_time:35,
  445. tip_fade_speed:100,
  446. attribute:"title"
  447. });
  448. });
  449. })(jQuery);
  450. </script>
  451.  
  452. <script type='text/javascript'>
  453. $(window).scroll(function(e){
  454. $el = $('#links');
  455. if ($(this).scrollTop() > 380 ){
  456. $('#links').css({'position': 'fixed', 'top': '0px'});
  457. }
  458. if (380 > $(this).scrollTop() )
  459. {
  460. $('#links').css({'position': 'absolute', 'top': '380px'});
  461. }
  462. });
  463. </script>
  464.  
  465. <script>
  466. $(document).scroll(function() {
  467. var y = $(this).scrollTop();
  468. if (y > 380) {
  469. $('#desc').fadeIn();
  470. } else {
  471. $('#desc').fadeOut();
  472. }
  473. });
  474. </script>
  475.  
  476.  
  477. {block:IndexPage}
  478. <script src="http://static.tumblr.com/6hsqxdt/vmwm2rb4g/infinitescrolling.js"></script>
  479. <script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
  480. <script type="text/javascript">
  481. $(window).load(function () {
  482. $('#content').masonry(),
  483. $('.masonryWrap').infinitescroll({
  484. navSelector : "div#navigate",
  485. nextSelector : "div#navigate a#nextPage",
  486. itemSelector : ".entry",
  487. bufferPx : 10000,
  488. extraScrollPx: 11000,
  489. loadingImg : "",
  490. loadingText : "",
  491. },
  492. // call masonry as a callback.
  493. function() { $('#content').masonry({ appendedContent: $(this) }); }
  494. );
  495. });
  496. </script>
  497. {/block:IndexPage}
  498.  
  499. </head><body>
  500.  
  501. <div id="sidebar">{block:ifshowblogtitle}<h1>{text:blog title}</h1>{/block:ifshowblogtitle}</div>
  502.  
  503. <div id="links">
  504. <div style="float:left; margin-left:30px; display:block;">
  505. <img src="{image:links avatar}" id="linksavatar">
  506. <a href="/">index</a>
  507. <a href="/ask">message</a>
  508. <a href="/archive">archive</a>
  509. <a href="{text:link 1 url}">{text:link 1 title}</a>
  510. <a href="{text:link 2 url}">{text:link 2 title}</a>
  511. <a href="{text:link 3 url}">{text:link 3 title}</a>
  512. <a href="{text:link 4 url}">{text:link 4 title}</a>
  513. <a href="{text:link 5 url}">{text:link 5 title}</a>
  514. {block:ifshowsearchbar}
  515. <form onsubmit="return tagSearch(this)">
  516. <input type="text"
  517. class="searchbox"
  518. name="tag"
  519. value="search"
  520. onfocus="if (this.value == 'search') {this.value=''}"
  521. onblur="if (this.value == '') {this.value='search'}" />
  522. </form>
  523. {/block:ifshowsearchbar}
  524.  
  525. {block:Pagination}
  526. {block:PreviousPage}<a href="{PreviousPage}">«</a>{/block:PreviousPage}
  527. {/block:Pagination}
  528.  
  529. {block:JumpPagination length="5"}
  530. {block:CurrentPage}<b>{PageNumber}</b>{/block:CurrentPage}
  531. {block:JumpPage}<a href="{URL}">{PageNumber}</a>{/block:JumpPage}
  532. {/block:JumpPagination}
  533.  
  534. {block:Pagination}
  535. {block:NextPage}<a href="{NextPage}">»</a>{/block:NextPage}
  536. {/block:Pagination}
  537. </div>
  538. </div>
  539.  
  540. <div id="desc">{Description}</div>
  541.  
  542.  
  543.  
  544. <div id="content" class="pixels{select:posts width}">
  545. {block:Posts}
  546. <div class="entry">
  547.  
  548. <!------------------- //answer -->
  549. {block:Answer}
  550. <div class="question">
  551. <img src="{AskerPortraitURL-128}" width="20px" id="askerimg">
  552. <b>{Asker}</b><br>{Question}
  553. </div>
  554. <div class="body" style="padding-bottom:4px;">
  555. <blockquote>{Answer}</blockquote>
  556. </div>
  557. {/block:Answer}
  558.  
  559.  
  560. <!------------------- //text -->
  561. {block:Text}
  562. {block:Title}<div class="title">{Title}</div>{/block:Title}
  563. <div class="body">{Body}</div>
  564. {/block:Text}
  565.  
  566.  
  567. <!------------------- //quote -->
  568. {block:Quote}
  569. <div class="title quotes">{Quote}</div>
  570. <div style="text-align:center;">{Source}</div>
  571. {block:Source}{/block:Source}
  572. {/block:Quote}
  573.  
  574.  
  575. <!------------------- //photo -->
  576. {block:Photo}
  577. {block:IndexPage}
  578. <img src="{PhotoURL-HighRes}" class="photopost">
  579. {block:IfShowCaptions}
  580. {block:Caption}<div class="body">{Caption}</div>{/block:Caption}
  581. {/block:IfShowCaptions}
  582. {/block:IndexPage}
  583. {block:PermalinkPage}
  584. <img src="{PhotoURL-HighRes}" width="500px">
  585. {block:Caption}<div class="body">{Caption}</div>{/block:Caption}
  586. {/block:PermalinkPage}
  587. {/block:Photo}
  588.  
  589.  
  590. <!------------------- //photoset -->
  591. {block:Photoset}
  592. {block:IndexPage}
  593. {Photoset}
  594. {block:IfShowCaptions}
  595. {block:Caption}<div class="body">{Caption}</div>{/block:Caption}
  596. {/block:IfShowCaptions}
  597. {/block:IndexPage}
  598. {block:PermalinkPage}
  599. {Photoset}
  600. {block:Caption}<div class="body">{Caption}</div>{/block:Caption}
  601. {/block:PermalinkPage}
  602. {/block:Photoset}
  603.  
  604.  
  605. <!------------------- //video -->
  606. {block:Video}
  607. {block:IndexPage}
  608. {Video-400}
  609. {block:IfShowCaptions}
  610. {block:Caption}<div class="body">{Caption}</div>{/block:Caption}
  611. {/block:IfShowCaptions}
  612. {/block:IndexPage}
  613. {block:PermalinkPage}
  614. {Video-500}
  615. {block:Caption}<div class="body">{Caption}</div>{/block:Caption}
  616. {/block:PermalinkPage}
  617. {/block:Video}
  618.  
  619.  
  620. <!------------------- //links -->
  621. {block:Link}
  622. <a href="{URL}" class="title">{Name}</a>
  623. {/block:Link}
  624.  
  625.  
  626. <!------------------- //audios -->
  627. {block:Audio}
  628. {block:IndexPage}
  629. {AudioEmbed-400}
  630. {block:IfShowCaptions}
  631. {block:Caption}<div class="body">{Caption}</div>{/block:Caption}
  632. {/block:IfShowCaptions}
  633. {/block:IndexPage}
  634. {block:PermalinkPage}
  635. {AudioEmbed-500}
  636. {block:Caption}<div class="body">{Caption}</div>{/block:Caption}
  637. {/block:PermalinkPage}
  638. {/block:Audio}
  639.  
  640.  
  641. <!------------------- //chat -->
  642. {block:Chat}
  643. {block:Title}<div class="title">{Title}</div>{/block:Title}
  644. {block:Lines}<div class="c{Alt}">
  645. {block:Label}<b>{Label}</b>{/block:Label}
  646. {Line}
  647. </div>{/block:Lines}
  648. {/block:Chat}
  649.  
  650.  
  651. <!------------------- //hide source -->
  652. {block:ContentSource}
  653. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  654. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  655. {/block:SourceLogo}
  656. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  657. {/block:ContentSource}
  658. {block:ReblogParent}{/block:ReblogParent}
  659.  
  660.  
  661.  
  662. <!------------------- //left perma -->
  663. <div id="perma">
  664. <a href="{Permalink}">{NoteCountWithLabel}</a>
  665. <a href="{ReblogURL}">reblog</a>
  666.  
  667. {block:RebloggedFrom}
  668. <a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>
  669. <a href="{ReblogRootURL}" title="{ReblogRootName}">src</a>
  670. {/block:RebloggedFrom}
  671.  
  672. {block:HasTags}<br>
  673. {block:Tags}
  674. <a href="{TagURL}" class="tag">{Tag}</a>
  675. {/block:Tags}
  676. {/block:HasTags}
  677. </div>
  678.  
  679. </div> <!-- /entry -->
  680. {/block:Posts}
  681.  
  682.  
  683. <!------------------- //post notes -->
  684. {block:PermalinkPage}
  685. {block:PostNotes}
  686. <div class="entry noul p-notes">{PostNotes}</div>
  687. {/block:PostNotes}
  688. {/block:PermalinkPage}
  689.  
  690. </div> <!-- /content -->
  691.  
  692. <a href="//quenma.tumblr.com" id="credit" title="theme by quenma">qt</a>
  693.  
  694. </body>
  695. </html>
Advertisement
Add Comment
Please, Sign In to add comment