teruteru

One-X - 【 THEME 20v2 by Anomaly ☽】

May 17th, 2017
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.67 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <!--
  6.  
  7. THEME #20 v2 by Anomaly ☾ tumblr user xollyx ☽ : ONE-X !!
  8.  
  9. - i made the base code
  10. - all in one code by neonbikethemes
  11. - please abide by all the rules
  12.  
  13. 【 All themes and pages can be found here : http://xollyx.tumblr.com/thm 】
  14.  
  15. Thank you for using! Or just looking at the code. Whatever you're here for. Either way, it's appreciated!
  16. Feel free to message me if you need any help, my ask box is always open!
  17.  
  18. -->
  19.  
  20. <script src="http://assets.tumblr.com/assets/scripts/tumblelog_post_message_queue.js?_v=ae06d1ab69efc6f29297bf2b7a4160af"></script>
  21. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  22. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  23. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  24.  
  25. <script>
  26. (function($){
  27. $(document).ready(function(){
  28. $("a[title]").style_my_tooltips({
  29. tip_follows_cursor:true,
  30. tip_delay_time:90,
  31. tip_fade_speed:600,
  32. attribute:"title"
  33. });
  34. });
  35. })(jQuery);
  36. </script>
  37.  
  38. <title>{Title}</title>
  39.  
  40. <link rel="shortcut icon" href="{image:favicon}">
  41. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  42. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  43.  
  44. <!--default variables-->
  45.  
  46. <meta name="color:background" content="">
  47. <meta name="color:container" content="">
  48. <meta name="color:posts" content="">
  49. <meta name="color:blockquote" content="">
  50. <meta name="color:ask" content="">
  51. <meta name="color:text" content="">
  52. <meta name="color:link" content="">
  53. <meta name="color:hover" content="">
  54. <meta name="color:title shadow" content="">
  55. <meta name="color:selection" content="">
  56. <meta name="color:selection text" content="">
  57. <meta name="color:tooltip" content="">
  58. <meta name="color:tooltip text" content="">
  59. <meta name="color:scrollbar" content="">
  60.  
  61. <meta name="image:favicon" content="">
  62. <meta name="image:background" content="">
  63. <meta name="image:cursor" content="">
  64. <meta name="image:sidebar" content="">
  65. <meta name="image:render" content="">
  66.  
  67. <meta name="text:title" content="">
  68. <meta name="text:ask text" content="asked">
  69. <meta name="text:tab 3 title" content="tab 3">
  70. <meta name="text:tab 4 title" content="tab 4">
  71. <meta name="text:tab 5 title" content="tab 5">
  72. <meta name="text:tab 1 symbol" content="">
  73. <meta name="text:tab 2 symbol" content="">
  74. <meta name="text:tab 3 symbol" content="">
  75. <meta name="text:tab 4 symbol" content="">
  76. <meta name="text:tab 5 symbol" content="">
  77. <meta name="text:permalink symbol" content="">
  78. <meta name="text:back title" content="⇠">
  79. <meta name="text:next title" content="⇢">
  80.  
  81. <meta name="if:bg cover" content="">
  82. <meta name="if:cursor" content="">
  83. <meta name="if:blurry title" content="">
  84. <meta name="if:blurry pagi" content="">
  85. <meta name="if:render" content="">
  86.  
  87. <meta name="text:render left" content="">
  88. <meta name="text:render bottom" content="">
  89. <meta name="text:render width" content="">
  90.  
  91. <style type="text/css">
  92.  
  93. @font-face { font-family: "astigma"; src: url('https://dl.dropboxusercontent.com/s/ypfikpgk6qygr6q/ASS.TTF?dl=0'); format("truetype");}
  94.  
  95. @font-face { font-family:"avant"; src: url('https://dl.dropboxusercontent.com/s/11icl382vxmy46n/avant_pixel.ttf?dl=1'); format(“truetype”);}
  96.  
  97. ::-webkit-scrollbar {
  98. width: 9px;
  99. height: 4px;
  100. background:{color:scrollbar};
  101. border:4px solid {color:container};
  102. }
  103.  
  104. ::-webkit-scrollbar-thumb {
  105. background-color:{color:scrollbar};
  106. border-radius:5px;
  107. }
  108.  
  109. #s-m-t-tooltip {
  110. max-width:300px;
  111. margin:10px 0px 0px 10px;
  112. background-color:{color:tooltip};
  113. font-family:avant;
  114. font-size:8px;
  115. padding:3px;
  116. color:{color:tooltip text};
  117. z-index:999999999999999999999999999999999999;
  118. }
  119.  
  120. #s-m-t-tooltip:after {
  121. position: absolute;
  122. display: block; content: "";
  123. border-color: transparent {color:tooltip} transparent transparent ;
  124. border-style: solid;
  125. border-width: 5px;
  126. height:0;
  127. width:0;
  128. position:absolute;
  129. top:3px;
  130. left:-10px;
  131. }
  132.  
  133. ::selection {
  134. background: {color:selection};
  135. color: {color:selection text};
  136. }
  137.  
  138. ::-moz-selection {
  139. background: {color:selection};
  140. color: {color:selection text};
  141. }
  142.  
  143. ::-webkit-selection {
  144. background: {color:selection};
  145. color: {color:selection text};
  146. }
  147.  
  148. {block:ifcursor}body, a, a:hover {cursor: url('{image:cursor}'), progress;}{/block:ifcursor}
  149.  
  150. body {
  151. margin:0px;
  152. background:{color:background};
  153. background-image:url('{image:background}');
  154. background-attachment:fixed;
  155. {block:ifbgcover}
  156. background-repeat:no-repeat;
  157. background-size:cover;
  158. {/block:ifbgcover}
  159. color:{color:text};
  160. font-family:consolas;
  161. font-size:11px;
  162. }
  163.  
  164. a {
  165. color:{color:link};
  166. text-decoration:none;
  167. }
  168.  
  169. a:hover {
  170. color:{color:hover};
  171. -webkit-transition: all 0.7s ease;
  172. -moz-transition: all 0.7s ease;
  173. -o-transition: all 0.7s ease;
  174. transition: all 0.7s ease;
  175. }
  176.  
  177. blockquote {
  178. border-left:1px solid {color:blockquote};
  179. padding-left:10px;
  180. }
  181.  
  182. blockquote img {
  183. max-width:100%;
  184. height:auto;
  185. }
  186.  
  187. iframe, img, embed, object, video {
  188. }
  189.  
  190. img {
  191. max-width:auto;
  192. height:auto;
  193. }
  194.  
  195. article {
  196. float:left;
  197. position:relative;
  198. padding:10px;
  199. width:500px;
  200. background-color:{color:posts};
  201. border-radius:10px;
  202. margin-top:50px;
  203. margin-left:50px;
  204. margin-bottom:25px;
  205. }
  206.  
  207. .posts:blockquote {
  208. border-left:1px solid {color:blockquote};
  209. padding-left:5px;
  210. }
  211.  
  212. .posts img {
  213. max-width:100%;
  214. }
  215.  
  216. #tit {
  217. left:calc(35% - 210px);
  218. position:fixed;
  219. width:600px;
  220. top:20px;
  221. font-family:astigma;
  222. font-style:italic;
  223. font-weight:bold;
  224. font-size:60px;
  225. {block:ifblurrytitle}
  226. -webkit-filter: blur(.8px);
  227. {/block:ifblurrytitle}
  228. text-shadow: 4px 4px 10px {color:title shadow};
  229. }
  230.  
  231. #wrapper {
  232. left:35%;
  233. position:fixed;
  234. width:600px;
  235. height:85%;
  236. padding:10px;
  237. top:100px;
  238. overflow-y:scroll;
  239. overflow-x:none;
  240. background:{color:container};
  241. border-radius:5px;
  242. }
  243.  
  244. #sidebar {
  245. position:fixed;
  246. width:200px;
  247. height:85%;
  248. left:calc(35% - 213px);
  249. top:100px;
  250. background-color:{color:container};
  251. padding:10px;
  252. border-radius:5px;
  253. }
  254.  
  255. .tabs {
  256. width:100%;
  257. margin-left:0px;
  258. display:inline-block;
  259. }
  260.  
  261. .tab-links:after {
  262. display:block;
  263. clear:both;
  264. content:'';
  265. }
  266.  
  267. .tab-links li {
  268. display:inline-block;
  269. list-style:none;
  270. }
  271.  
  272. .tab-links a {
  273. text-align:center;
  274. position:relative;
  275. }
  276.  
  277. .tab-links a:hover {
  278. }
  279.  
  280. .tab-content {
  281. }
  282.  
  283. .tabcontent {
  284. position:static;
  285. background:{color:posts};
  286. border-radius:10px;
  287. width: 500px;
  288. height: 100%;
  289. padding: 10px;
  290. margin-top:50px;
  291. }
  292.  
  293. .tab {
  294. display:none;
  295. }
  296.  
  297. .tab.active {
  298. display:block;
  299. }
  300.  
  301. #blot1, #blot2, #blot3, #blot4, #blot5 {
  302. position:fixed;
  303. font-size:48px;
  304. }
  305.  
  306. #blot1 a:hover, #blot2 a:hover, #blot3 a:hover, #blot4 a:hover, #blot5 a:hover {
  307. text-shadow:0 0 20px {color:hover};
  308. -webkit-filter: blur(3px);
  309. -moz-filter: blur(3px);
  310. -ms-filter: blur(3px);
  311. -webkit-transition: all 0.5s ease;
  312. -moz-transition: all 0.5s ease;
  313. -o-transition: all 0.5s ease;
  314. transition: all 0.5s ease;
  315. }
  316.  
  317. #blot1 {
  318. left:calc(35% + 575px);
  319. top:30px;
  320. -ms-transform: rotate(20deg); /* IE 9 */
  321. -webkit-transform: rotate(20deg); /* Chrome, Safari, Opera */
  322. transform: rotate(20deg);
  323. }
  324.  
  325. #blot2 {
  326. left:calc(35% + 635px);
  327. top:80px;
  328. -ms-transform: rotate(-20deg); /* IE 9 */
  329. -webkit-transform: rotate(-20deg); /* Chrome, Safari, Opera */
  330. transform: rotate(-20deg);
  331. }
  332.  
  333. #blot3 {
  334. left:calc(35% + 655px);
  335. top:140px;
  336. -ms-transform: rotate(20deg); /* IE 9 */
  337. -webkit-transform: rotate(20deg); /* Chrome, Safari, Opera */
  338. transform: rotate(20deg);
  339. }
  340.  
  341. #blot4 {
  342. left:calc(35% + 685px);
  343. top:200px;
  344. -ms-transform: rotate(-20deg); /* IE 9 */
  345. -webkit-transform: rotate(-20deg); /* Chrome, Safari, Opera */
  346. transform: rotate(-20deg);
  347. }
  348.  
  349. #blot5 {
  350. left:calc(35% + 630px);
  351. top:260px;
  352. -ms-transform: rotate(20deg); /* IE 9 */
  353. -webkit-transform: rotate(20deg); /* Chrome, Safari, Opera */
  354. transform: rotate(20deg);
  355. }
  356.  
  357.  
  358. .title{
  359. font-weight:normal;
  360. font-size:16px;
  361. margin:0 0 10px 0;
  362. text-align:center;
  363. }
  364.  
  365. .quote{
  366. font-weight:normal;
  367. font-size:16px;
  368. font-style:italic;
  369. margin:0 0 10px 0;
  370. text-align:center;
  371. }
  372.  
  373. .quotesource {
  374. margin:0 0 10px 0;
  375. text-align:right;
  376. }
  377.  
  378. #ask{
  379. font-family:consolas;
  380. font-size:11px;
  381. line-height:13px;
  382. padding:5px;
  383. color:{color:Title};
  384. }
  385.  
  386. .bubble {
  387. align:right;
  388. background: {color:ask};
  389. margin:7px 0px 5px 66px;
  390. padding:10px;
  391. position: relative;
  392. -moz-border-radius:5px;
  393. -webkit-border-radius:5px;
  394. border-radius:5px;
  395. }
  396.  
  397. .bubble p {
  398. margin:1px 0px;
  399. }
  400.  
  401. .bubble span {
  402. position:absolute;
  403. width:1px;
  404. height:1px;
  405. font-size: 0;
  406. line-height: 1px;
  407. left:-10px;
  408. top:10px;
  409. border-top:7px solid transparent;
  410. border-bottom:7px solid transparent;
  411. border-right:10px solid {color:ask};
  412. }
  413.  
  414. #perma {
  415. margin-top:10px;
  416. font-family:avant;
  417. font-size:8px;
  418. -webkit-transition: all 0.5s ease;
  419. -moz-transition: all 0.5s ease;
  420. -o-transition: all 0.5s ease;
  421. transition: all 0.5s ease;
  422. }
  423.  
  424. #perma a:hover {
  425. text-shadow:0 0 5px {color:hover};
  426. -webkit-filter: blur(.8px);
  427. }
  428.  
  429. .nrb {
  430. float:left;
  431. font-size:11px;
  432. }
  433.  
  434. .tags {
  435. float:right;
  436. }
  437.  
  438. #back {
  439. position:fixed;
  440. bottom:25px;
  441. font-size:48px;
  442. font-family:astigma;
  443. left:calc(35% - 250px);
  444. font-style:italic;
  445. {block:ifblurrypagi}
  446. -webkit-filter: blur(.8px);
  447. {/block:ifblurrypagi}
  448. text-shadow: 2px 2px 5px {color:title shadow};
  449. }
  450.  
  451. #next {
  452. position:fixed;
  453. bottom:25px;
  454. font-size:48px;
  455. font-family:astigma;
  456. left:calc(35% + 675px);
  457. font-style:italic;
  458. {block:ifblurrypagi}
  459. -webkit-filter: blur(.8px);
  460. {/block:ifblurrypagi}
  461. text-shadow: 2px 2px 5px {color:title shadow};
  462. }
  463.  
  464. #back a:hover, #next a:hover {
  465. -webkit-filter: blur(2px);
  466. -moz-filter: blur(2px);
  467. -ms-filter: blur(2px);
  468. -webkit-transition: all 0.5s ease;
  469. -moz-transition: all 0.5s ease;
  470. -o-transition: all 0.5s ease;
  471. transition: all 0.5s ease;
  472. }
  473.  
  474. .credit {
  475. position:fixed;
  476. bottom:4px;
  477. left:8px;
  478. font: 9px consolas;
  479. text-transform:uppercase;
  480. letter-spacing: 0px;
  481. padding: 2px;
  482. }
  483.  
  484. </style>
  485. </head>
  486. <body>
  487.  
  488. <div id="tit">{text:title}</div>
  489.  
  490. <div id="sidebar">
  491. <center><img style="width:100px; height:100px; border-radius:100%; padding:3px; border:1px solid {color:blockquote}" src="{image:sidebar}"></center>
  492. {block:Description}{Description}{/block:Description}
  493. </div>
  494.  
  495. <div class="tabs">
  496. <ul class="tab-links">
  497. <div id="blot1"><li class="active"><a href="#tab1" title="home">{text:tab 1 symbol}</a></li></div>
  498. <div id="blot2"><li><a href="#tab2" title="ask">{text:tab 2 symbol}</a></li></div>
  499. <div id="blot3"><li><a href="#tab3" title="{text:tab 3 title}">{text:tab 3 symbol}</a></li></div>
  500. <div id="blot4"><li><a href="#tab4" title="{text:tab 4 title}">{text:tab 4 symbol}</a></li></div>
  501. <div id="blot5"><li><a href="#tab5" title="{text:tab 5 title}">{text:tab 5 symbol}</a></li></div>
  502. </ul>
  503. </div>
  504.  
  505. <div id="wrapper">
  506.  
  507. <div class="tabs">
  508. <div class="tab-content">
  509. <div id="tab1" class="tab active">
  510.  
  511.  
  512. {block:Posts}
  513. <article>
  514.  
  515. {block:Text}
  516. {block:Title}<div class="title">{Title}</div>{/block:Title}
  517. {Body}
  518. {/block:Text}
  519.  
  520. {block:Photo}
  521. <center>{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</center>
  522. {block:Caption}{Caption}{/block:Caption}
  523. {/block:Photo}
  524.  
  525. {block:Photoset}
  526. {Photoset-500}
  527. {block:Caption}{Caption}{/block:Caption}
  528. {/block:Photoset}
  529.  
  530. {block:Quote}
  531. <div class="quote">"{Quote}"</div>
  532. {block:Source}<div class="quotesource">{Source}</div>{/block:Source}
  533. {/block:Quote}
  534.  
  535. {block:Link}
  536. <div class="title"><a href="{URL}">{Name}</a></div>
  537. {block:Description}<div class="description">{Description}</div>{/block:Description}
  538. {/block:Link}
  539.  
  540. {block:Chat}
  541. {block:Title}<div class="title">{Title}</div>{/block:Title}
  542. {block:Lines}<div class="{Alt} user_{UserNumber}">{block:Label}<b>{Label}</b>{/block:Label}&nbsp;{Line}</div>{/block:Lines}
  543. {/block:Chat}
  544.  
  545. {block:Video}
  546. {Video-500}
  547. {block:Caption}{Caption}{/block:Caption}
  548. {/block:Video}
  549.  
  550. {block:Audio}
  551. {AudioPlayerWhite}
  552. {block:TrackName}{TrackName}<br>{/block:TrackName}
  553. {block:Artist}{Artist}<br>{/block:Artist}
  554. {block:Album}{Album}{/block:Album}
  555. {block:Caption}{Caption}{/block:Caption}
  556. {/block:Audio}
  557.  
  558. {block:Answer}
  559. <img src="{AskerPortraitURL-48}" align="left" style="border-radius:48px;">
  560. <div class="bubble"><span></span>{Asker} {text:ask text}: {Question}&nbsp;</div>
  561. <div class="answer">{Answer}</div>
  562. {/block:Answer}
  563.  
  564. {block:IndexPage}
  565. <div id="perma">
  566. <div class="nrb">
  567. <a href="{Permalink}" title="{NoteCountWithLabel}">{text:permalink symbol}</a>
  568. {block:RebloggedFrom}<a title="via" href="{ReblogParentURL}">{text:permalink symbol}</a>{/block:RebloggedFrom}
  569. {block:RebloggedFrom}<a title="source" href="{ReblogRootURL}">{text:permalink symbol}</a>{/block:RebloggedFrom}</div>
  570. {block:HasTags}<div class="tags">{block:Tags}<a href="{TagURL}">#{Tag}</a>&nbsp;{/block:Tags}</div>{/block:HasTags}
  571. </div>
  572. {/block:IndexPage}
  573.  
  574. <!--POST NOTES-->
  575.  
  576. {block:PermalinkPage}
  577. {block:PostNotes}{PostNotes}{/block:PostNotes}
  578. {/block:PermalinkPage}
  579.  
  580. </article>
  581.  
  582. {/block:Posts}
  583.  
  584. </div>
  585. </div>
  586.  
  587. <!-- -------------------------- TAB 2 -------------------------- -->
  588.  
  589. <div id="tab2" class="tab">
  590. <div class="tabcontent">
  591.  
  592. <center><h2>Ask & Submit</h2></center>
  593.  
  594. insert ask and faq if you need one!
  595. <p><br>
  596.  
  597. <iframe frameborder="0" scrolling="no" width="100%" height="190" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form"></iframe><!--[if IE]><script type="text/javascript">document.getElementById('ask_form').allowTransparency=true;</script><![endif]-->
  598. <br><br>
  599. <iframe frameborder="0" scrolling="no" width="100%" height="300" src="http://www.tumblr.com/submit_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="submit_form"></iframe><!--[if IE]><script type="text/javascript">document.getElementById('ask_form').allowTransparency=true;</script><![endif]-->
  600.  
  601.  
  602. </div>
  603. </div>
  604.  
  605.  
  606. <!-- -------------------------- TAB 3 -------------------------- -->
  607.  
  608. <div id="tab3" class="tab">
  609. <div class="tabcontent">
  610.  
  611. <center><h2>Tab 3</h2></center>
  612.  
  613. tab 3 content here!<p>
  614.  
  615. </div>
  616. </div>
  617.  
  618.  
  619. <!-- -------------------------- TAB 4 -------------------------- -->
  620.  
  621. <div id="tab4" class="tab">
  622. <div class="tabcontent">
  623.  
  624. <center><h2>Tab 4</h2></center>
  625.  
  626. tab 4 content here!
  627.  
  628. </div>
  629. </div>
  630.  
  631.  
  632. <!-- -------------------------- TAB 5 -------------------------- -->
  633.  
  634. <div id="tab5" class="tab">
  635. <div class="tabcontent">
  636. <center><h2>Tab 5</h2></center>
  637.  
  638. tab 5 content here!
  639.  
  640. </div>
  641. </div>
  642.  
  643.  
  644.  
  645. <!-- END OF TABS -->
  646.  
  647. </div>
  648. </div>
  649. </div>
  650. </div>
  651. </div>
  652.  
  653.  
  654. <!-- TABS/ALL-INN-ONE SCRIPTS DO NOT REMOVE!!! -->
  655.  
  656. <script>
  657. $(document).ready(function() {
  658. $('.tabs .tab-links a').on('click', function(e) {
  659. var currentAttrValue = $(this).attr('href');
  660.  
  661. // Show/Hide Tabs
  662. $('.tabs ' + currentAttrValue).fadeIn(600).siblings().hide();
  663.  
  664. // Change/remove current tab to active
  665. $(this).parent('li').addClass('active').siblings().removeClass('active');
  666.  
  667. e.preventDefault();
  668. });
  669. });
  670. </script>
  671.  
  672. <script>
  673. $(document).ready(function() {
  674. $('#filterOptions li a').click(function() {
  675. // fetch the class of the clicked item
  676. var ourClass = $(this).attr('class');
  677.  
  678. // reset the active class on all the buttons
  679. $('#filterOptions li').removeClass('active');
  680. // update the active state on our clicked button
  681. $(this).parent().addClass('active');
  682.  
  683. if(ourClass == 'all') {
  684. // show all our items
  685. $('#ourHolder').children('div.item').show();
  686. }
  687. else {
  688. // hide all elements that don't share ourClass
  689. $('#ourHolder').children('div:not(.' + ourClass + ')').hide();
  690. // show all elements that do share ourClass
  691. $('#ourHolder').children('div.' + ourClass).show();
  692. }
  693. return false;
  694. });
  695. });
  696. </script>
  697.  
  698. </div>
  699.  
  700. {block:IndexPage}
  701. {block:Pagination}
  702. {block:PreviousPage}<div id="back"><a href="{PreviousPage}">{text:back title}</a></div>{/block:PreviousPage}
  703. {block:NextPage}<div id="next"><a href="{NextPage}">{text:next title}</a></div>{/block:NextPage}
  704. {/block:Pagination}
  705. {/block:IndexPage}
  706.  
  707.  
  708. {block:ifrender}<div style="position:fixed; left:{text:render left}px; bottom:{text:render bottom}px; z-index:1;"><img src="{image:render}" width="{text:render width}"></div>{/block:ifrender}
  709.  
  710. <div class="credit"><a href="http://xollyx.tumblr.com/" title="theme"><img src="http://orig04.deviantart.net/151c/f/2015/334/6/e/tumblr_inline_mij52fv1gc1qz4rgp_by_kittystuff-d9il7w5.gif" /></a></div>
  711.  
  712. </body>
  713. </html>
Advertisement
Add Comment
Please, Sign In to add comment