Advertisement
teruteru

Tangerine - 【 THEME 1v2 by Anomaly ☽】

May 2nd, 2017
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.85 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <!--
  6.  
  7. THEME #1 v2 (v3 actually) by Anomaly ☾ tumblr user xollyx ☽ : TANGERINE !!
  8.  
  9. - i made the base code
  10. - please abide by all the rules
  11.  
  12. 【 All themes and pages can be found here : http://xollyx.tumblr.com/thm 】
  13.  
  14. Thank you for using! Or just looking at the code. Whatever you're here for. Either way, it's appreciated!
  15. Feel free to message me if you need any help, my ask box is always open!
  16.  
  17. -->
  18.  
  19. <script src="http://assets.tumblr.com/assets/scripts/tumblelog_post_message_queue.js?_v=ae06d1ab69efc6f29297bf2b7a4160af"></script>
  20. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  21. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  22. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  23.  
  24. <script>
  25. (function($){
  26. $(document).ready(function(){
  27. $("a[title]").style_my_tooltips({
  28. tip_follows_cursor:true,
  29. tip_delay_time:90,
  30. tip_fade_speed:600,
  31. attribute:"title"
  32. });
  33. });
  34. })(jQuery);
  35. </script>
  36.  
  37. <script>
  38. $(document).ready(function() {
  39. //
  40. $('a.poplight[href^=#]').click(function() {
  41. var popID = $(this).attr('rel'); //Get Popup Name
  42. var popURL = $(this).attr('href'); //Get Popup href to define size
  43. var query= popURL.split('?');
  44. var dim= query[1].split('&');
  45. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  46. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="{image:close}" class="btn_close" title="Close" alt="Close" /></a>');
  47. var popMargTop = ($('#' + popID).height() + 0) / 2;
  48. var popMargLeft = ($('#' + popID).width() + 0) / 2;
  49. //Apply Margin to Popup
  50. $('#' + popID).css({
  51. 'margin-top' : -popMargTop,
  52. 'margin-left' : -popMargLeft
  53. });
  54. $('body').append('<div id="fade"></div>');
  55. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  56. return false;
  57. });
  58. $('a.close, #fade').live('click', function() {
  59. $('#fade , .popup_block').fadeOut(function() {
  60. $('#fade, a.close').remove(); //fade them both out
  61. });
  62. return false;
  63. });
  64. });
  65. </script>
  66.  
  67. <title>{Title}</title>
  68.  
  69. <link rel="shortcut icon" href="{image:favicon}">
  70. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  71. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  72.  
  73. <!--default variables-->
  74.  
  75. <meta name="color:background" content="">
  76. <meta name="color:blockquote" content="">
  77. <meta name="color:ask" content="">
  78. <meta name="color:text" content="">
  79. <meta name="color:link" content="">
  80. <meta name="color:hover" content="">
  81. <meta name="color:links bg" content="">
  82. <meta name="color:selection" content="">
  83. <meta name="color:selection text" content="">
  84. <meta name="color:tooltip" content="">
  85. <meta name="color:tooltip text" content="">
  86. <meta name="color:scrollbar" content="">
  87.  
  88. <meta name="image:favicon" content="">
  89. <meta name="image:background" content="">
  90. <meta name="image:cursor" content="">
  91. <meta name="image:sidebar" content="">
  92. <meta name="image:close" content="">
  93. <meta name="image:render" content="">
  94.  
  95. <meta name="text:ask text" content="asked">
  96. <meta name="text:about url" content="">
  97. <meta name="text:links url" content="">
  98. <meta name="text:back title" content="">
  99. <meta name="text:next title" content="">
  100.  
  101. <meta name="select:font" content="consolas">
  102. <meta name="select:font" content="arial">
  103. <meta name="select:font" content="calibri">
  104. <meta name="select:font" content="courier new">
  105. <meta name="select:font" content="verdana">
  106. <meta name="select:font" content="tahoma">
  107. <meta name="select:font" content="opendyslexic-regular">
  108.  
  109. <meta name="if:bg cover" content="">
  110. <meta name="if:cursor" content="">
  111. <meta name="if:round icon" content="">
  112. <meta name="if:popups" content="">
  113. <meta name="if:tags" content="">
  114. <meta name="if:render" content="">
  115.  
  116. <meta name="text:lace height" content="">
  117. <meta name="text:render left" content="">
  118. <meta name="text:render bottom" content="">
  119. <meta name="text:render width" content="">
  120.  
  121. <style type="text/css">
  122.  
  123. @font-face { font-family: "OpenDyslexic-Regular"; src: url('https://dl.dropboxusercontent.com/s/7lk7boh8v38kbh8/OpenDyslexic-Regular.otf?dl=0'); format("truetype");}
  124.  
  125. ::-webkit-scrollbar {
  126. width: 9px;
  127. height: 4px;
  128. background:{color:scrollbar};
  129. border:4px solid {color:background};
  130. }
  131.  
  132. ::-webkit-scrollbar-thumb {
  133. background-color:{color:scrollbar};
  134. border-radius:5px;
  135. }
  136.  
  137. #s-m-t-tooltip {
  138. max-width:300px;
  139. margin:10px 0px 0px 10px;
  140. background-color:{color:tooltip};
  141. font-family:consolas;
  142. font-size:8px;
  143. padding:3px;
  144. color:{color:tooltip text};
  145. z-index:999999999999999999999999999999999999;
  146. }
  147.  
  148. #s-m-t-tooltip:after {
  149. position: absolute;
  150. display: block; content: "";
  151. border-color: transparent {color:tooltip} transparent transparent ;
  152. border-style: solid;
  153. border-width: 5px;
  154. height:0;
  155. width:0;
  156. position:absolute;
  157. top:3px;
  158. left:-10px;
  159. }
  160.  
  161. ::selection {
  162. background: {color:selection};
  163. color: {color:selection text};
  164. }
  165.  
  166. ::-moz-selection {
  167. background: {color:selection};
  168. color: {color:selection text};
  169. }
  170.  
  171. ::-webkit-selection {
  172. background: {color:selection};
  173. color: {color:selection text};
  174. }
  175.  
  176. {block:ifcursor}body, a, a:hover {cursor: url('{image:cursor}'), progress;}{/block:ifcursor}
  177.  
  178. body {
  179. margin:0px;
  180. background:{color:background};
  181. background-image:url('{image:background}');
  182. background-attachment:fixed;
  183. {block:ifbgcover}
  184. background-repeat:no-repeat;
  185. background-size:cover;
  186. {/block:ifbgcover}
  187. color:{color:text};
  188. font-family:{select:font};
  189. font-size:11px;
  190. }
  191.  
  192. a {
  193. color:{color:link};
  194. text-decoration:none;
  195. }
  196.  
  197. a:hover {
  198. color:{color:hover};
  199. -webkit-transition: all 0.7s ease;
  200. -moz-transition: all 0.7s ease;
  201. -o-transition: all 0.7s ease;
  202. transition: all 0.7s ease;
  203. }
  204.  
  205. blockquote {
  206. border-left:1px solid {color:blockquote};
  207. padding-left:10px;
  208. }
  209.  
  210. blockquote img {
  211. max-width:100%;
  212. }
  213.  
  214. iframe, img, embed, object, video {
  215. }
  216.  
  217. img {
  218. max-width:auto;
  219. height:auto;
  220. }
  221.  
  222. article {
  223. float:left;
  224. position:relative;
  225. margin-left:400px;
  226. padding:10px;
  227. width:500px;
  228. margin-top:50px;
  229. margin-bottom:50px;
  230. }
  231.  
  232. .posts img {
  233. max-width:100%;
  234. }
  235.  
  236. {block:iflace}
  237. #lace {
  238. background-image: url('{image:lace}');
  239. top: 0px;
  240. left: 0px;
  241. width: 100%;
  242. height: {text:lace height}px;
  243. position: fixed;
  244. z-index:1;
  245. }
  246. {/block:iflace}
  247.  
  248. #wrapper {
  249. width:800px;
  250. position:relative;
  251. }
  252.  
  253. #sidebar {
  254. position:fixed;
  255. width:200px;
  256. margin-left:125px;
  257. margin-top:200px;
  258. padding:10px;
  259. }
  260.  
  261. .pagi {
  262. position:fixed;
  263. width:200px;
  264. text-align:center;
  265. }
  266.  
  267. .pagi a {
  268. background:{color:links bg};
  269. padding:1px;
  270. }
  271.  
  272. #links {
  273. position:fixed;
  274. margin-left:295px;
  275. margin-top:210px;
  276. z-index:1;
  277. }
  278.  
  279. #links a {
  280. background:{color:links bg};
  281. padding:1px;
  282. }
  283.  
  284. #fade { /*--Transparent background layer--*/
  285. display: none; /*--hidden by default--*/
  286. background:{color:background};
  287. background-image:url('{image:Background}');
  288. position: fixed; left: 0; top: 0; {block:ifbgcover} background-repeat:no-repeat; background-size:cover;{/block:ifbgcover}
  289. position: fixed;
  290. left:400px;
  291. width: 560px;
  292. padding:10px;
  293. height:100%;
  294. top:0px;
  295. z-index: 9999;
  296. }
  297.  
  298. .element.style {
  299. display: block;
  300. width: 500px;
  301. margin-top: -148px;
  302. margin-left: -290px;
  303. }
  304.  
  305. .popup_block{
  306. display: none; /*--hidden by default--*/
  307. padding: 10px;
  308. position: fixed;
  309. top:30%;
  310. left:640px;
  311. z-index: 99999;
  312. }
  313.  
  314. img.btn_close {
  315. float: left;
  316. margin: 0 0px 0 0;
  317. }
  318.  
  319. /*--Making IE6 Understand Fixed Positioning--*/
  320. *html #fade {
  321. position: absolute;
  322. }
  323.  
  324. *html .popup_block {
  325. position: absolute;
  326. }
  327.  
  328. .title{
  329. font-weight:normal;
  330. font-size:16px;
  331. margin:0 0 10px 0;
  332. text-align:center;
  333. }
  334.  
  335. .title a {
  336. background:{color:links bg};
  337. padding:1px;
  338. }
  339.  
  340. .quote{
  341. font-weight:normal;
  342. font-size:16px;
  343. font-style:italic;
  344. margin:0 0 10px 0;
  345. text-align:center;
  346. }
  347.  
  348. .quotesource {
  349. margin:0 0 10px 0;
  350. text-align:right;
  351. }
  352.  
  353. #ask{
  354. font-family:consolas;
  355. font-size:11px;
  356. line-height:13px;
  357. padding:5px;
  358. color:{color:Title};
  359. }
  360.  
  361. .bubble {
  362. align:right;
  363. background: {color:ask};
  364. margin:7px 0px 5px 66px;
  365. padding:10px;
  366. position: relative;
  367. -moz-border-radius:5px;
  368. -webkit-border-radius:5px;
  369. border-radius:5px;
  370. }
  371.  
  372. .bubble p {
  373. margin:1px 0px;
  374. }
  375.  
  376. .bubble span {
  377. position:absolute;
  378. width:1px;
  379. height:1px;
  380. font-size: 0;
  381. line-height: 1px;
  382. left:-10px;
  383. top:10px;
  384. border-top:7px solid transparent;
  385. border-bottom:7px solid transparent;
  386. border-right:10px solid {color:ask};
  387. }
  388.  
  389. .perma {
  390. margin-top:10px;
  391. padding:5px;
  392. }
  393.  
  394. .perma a {
  395. background:{color:links bg};
  396. padding:1px;
  397. }
  398.  
  399. .t {
  400. text-align:center;
  401. }
  402.  
  403. .credit {
  404. position:fixed;
  405. bottom:4px;
  406. left:8px;
  407. font: 9px consolas;
  408. text-transform:uppercase;
  409. letter-spacing: 0px;
  410. padding: 2px;
  411. }
  412.  
  413. </style>
  414. </head>
  415. <body>
  416.  
  417. <div id="lace"></div>
  418.  
  419. <div id="wrapper">
  420.  
  421. <div id="links">
  422. {block:ifpopups}
  423. <a href="/">home</a><p>
  424. <a href="#?w=500" rel="ask" class="poplight">ask</a><p>
  425. <a href="#?w=500" rel="gift" class="poplight">submit</a><p>
  426. <a href="#?w=500" rel="abt" class="poplight">about</a><p>
  427. <a href="#?w=500" rel="link" class="poplight">links</a>
  428. {/block:ifpopups}
  429. {block:ifnotpopups}
  430. <a href="/">home</a><p>
  431. <a href="/ask">ask</a><p>
  432. <a href="/submit">submit</a><p>
  433. <a href="{text:about url}">about</a><p>
  434. <a href="{text:links url}">links</a>
  435. {/block:ifnotpopups}
  436. </div>
  437.  
  438. <div id="sidebar">
  439. <img style="width:150px; height:150px; {block:ifroundicon}border-radius:100%;{/block:ifroundicon}" src="{image:sidebar}">
  440. <br>
  441. {block:Description}{Description}{/block:Description}
  442. <p>
  443.  
  444. <div class="pagi">
  445. {block:IndexPage}
  446. {block:Pagination}
  447. {block:PreviousPage}<a href="{PreviousPage}">{text:back title}</a>{/block:PreviousPage}
  448. {block:NextPage}<a href="{NextPage}">{text:next title}</a>
  449. {/block:NextPage}
  450. {/block:Pagination}
  451. {/block:IndexPage}
  452. </div>
  453.  
  454. </div>
  455.  
  456.  
  457. {block:Posts}
  458. <article>
  459.  
  460. {block:Text}
  461. {block:Title}<div class="title">{Title}</div>{/block:Title}
  462. {Body}
  463. {/block:Text}
  464.  
  465. {block:Photo}
  466. <center>{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</center>
  467. {block:Caption}{Caption}{/block:Caption}
  468. {/block:Photo}
  469.  
  470. {block:Photoset}
  471. {Photoset-500}
  472. {block:Caption}{Caption}{/block:Caption}
  473. {/block:Photoset}
  474.  
  475. {block:Quote}
  476. <div class="quote">"{Quote}"</div>
  477. {block:Source}<div class="quotesource">{Source}</div>{/block:Source}
  478. {/block:Quote}
  479.  
  480. {block:Link}
  481. <div class="title"><a href="{URL}">{Name}</a></div>
  482. {block:Description}<div class="description">{Description}</div>{/block:Description}
  483. {/block:Link}
  484.  
  485. {block:Chat}
  486. {block:Title}<div class="title">{Title}</div>{/block:Title}
  487. {block:Lines}<div class="{Alt} user_{UserNumber}">{block:Label}<b>{Label}</b>{/block:Label}&nbsp;{Line}</div>{/block:Lines}
  488. {/block:Chat}
  489.  
  490. {block:Video}
  491. {Video-500}
  492. {block:Caption}{Caption}{/block:Caption}
  493. {/block:Video}
  494.  
  495. {block:Audio}
  496. {AudioPlayerWhite}
  497. {block:TrackName}{TrackName}<br>{/block:TrackName}
  498. {block:Artist}{Artist}<br>{/block:Artist}
  499. {block:Album}{Album}{/block:Album}
  500. {block:Caption}{Caption}{/block:Caption}
  501. {/block:Audio}
  502.  
  503. {block:Answer}
  504. <img src="{AskerPortraitURL-48}" align="left" style="border-radius:48px;">
  505. <div class="bubble"><span></span>{Asker} {text:ask text}: {Question}&nbsp;</div>
  506. <div class="answer">{Answer}</div>
  507. {/block:Answer}
  508.  
  509. {block:IndexPage}
  510. <div class="perma"><a href="{Permalink}">{NoteCountWithLabel}</a>
  511. <div style="float:right;"><a href="{ReblogURL}">reblog?</a></div>
  512. {block:iftags}
  513. <div class="t">
  514. {block:Tags}<a href="{TagURL}">#{Tag}</a>&nbsp;{/block:Tags}
  515. </div>
  516. {/block:iftags}
  517. </div>
  518. {block:IndexPage}
  519.  
  520. {block:PermalinkPage}
  521. <div class="perma">
  522. <center>
  523. {block:Date}Posted on {DayOfWeek}, {Month} {DayOfMonth}{DayOfMonthSuffix} at {12HourWithZero}:{Minutes}{CapitalAmPm}{/block:Date} {block:NoteCount}with {NoteCountWithLabel}{/block:NoteCount}
  524. {block:RebloggedFrom}<br><a title="{ReblogParentName}" href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}
  525. {block:RebloggedFrom}• <a title="{ReblogRootName}" href="{ReblogRootURL}">source</a>{/block:RebloggedFrom}
  526. {block:HasTags}<br> tagged as: {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags} {/block:HasTags}
  527. </center>
  528. </div>
  529. {PostNotes}
  530. </div>
  531. {/block:PermalinkPage}
  532.  
  533. </article>
  534.  
  535. {/block:Posts}
  536. </div>
  537.  
  538.  
  539. {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}
  540.  
  541. <div id="ask" class="popup_block">
  542. <br><br>
  543.  
  544. faq here!
  545.  
  546. <p>
  547. <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]-->
  548. </div></div></div></div></div></div></div></div></div></div>
  549.  
  550. <div id="gift" class="popup_block">
  551. <br><br>
  552.  
  553. submission guidelines here!
  554.  
  555. <p>
  556. <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]-->
  557.  
  558. </div></div></div></div></div></div></div></div></div></div>
  559.  
  560. <div id="abt" class="popup_block">
  561. <br><br>
  562.  
  563. about here!
  564.  
  565. </div></div></div></div></div></div></div></div></div></div>
  566.  
  567. <div id="link" class="popup_block">
  568. <br><br>
  569.  
  570. links here!
  571.  
  572. </div></div></div></div></div></div></div></div></div></div>
  573.  
  574.  
  575. <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>
  576.  
  577. </body>
  578. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement