quenma

theme 02: lua

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