Advertisement
teruteru

Gentle Breeze -【 THEME 49 by Anomaly ☽】

May 22nd, 2017
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.25 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <!--
  6.  
  7. THEME #49 by Anomaly ☾ tumblr user xollyx ☽ : GENTLE BREEZE !!
  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. {block:ifbacktotopbutton}
  38. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script><script type="text/javascript" >/***********************************************
  39. * Scroll To Top Control script- &#169; Dynamic Drive DHTML code library(www.dynamicdrive.com)* Modified byNyimasAmalia***********************************************/var scrolltotop={
  40. setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
  41. controlHTML: '<img src="{image:back to top}" />',
  42. controlattrs: {offsetx:5, offsety:5},
  43. anchorkeyword: '#top',
  44. state: {isvisible:false, shouldvisible:false},
  45. scrollup:function(){
  46. if (!this.cssfixedsupport)
  47. this.$control.css({opacity:0})
  48. var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
  49. if (typeof dest=="string" && jQuery('#'+dest).length==1)
  50. dest=jQuery('#'+dest).offset().top
  51. else
  52. dest=0
  53. this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
  54. },
  55. keepfixed:function(){
  56. var $window=jQuery(window)
  57. var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
  58. var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
  59. this.$control.css({left:controlx+'px', top:controly+'px'})
  60. },
  61. togglecontrol:function(){
  62. var scrolltop=jQuery(window).scrollTop()
  63. if (!this.cssfixedsupport)
  64. this.keepfixed()
  65. this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
  66. if (this.state.shouldvisible && !this.state.isvisible){
  67. this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
  68. this.state.isvisible=true
  69. }
  70. else if (this.state.shouldvisible==false && this.state.isvisible){
  71. this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
  72. this.state.isvisible=false
  73. }
  74. },
  75. init:function(){
  76. jQuery(document).ready(function($){
  77. var mainobj=scrolltotop
  78. var iebrws=document.all
  79. mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest
  80. mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
  81. mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
  82. .css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
  83. .attr({title:'{text:back to top title}'})
  84. .click(function(){mainobj.scrollup(); return false})
  85. .appendTo('body')
  86. if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='')
  87. mainobj.$control.css({width:mainobj.$control.width()})
  88. mainobj.togglecontrol()
  89. $('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
  90. mainobj.scrollup()
  91. return false
  92. })
  93. $(window).bind('scroll resize', function(e){
  94. mainobj.togglecontrol()
  95. })
  96. })
  97. }
  98. }
  99. scrolltotop.init()
  100. </script>
  101. {/block:ifbacktotopbutton}
  102.  
  103. <title>{Title}</title>
  104.  
  105. <link rel="shortcut icon" href="{image:favicon}">
  106. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  107. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  108.  
  109. <!--default variables-->
  110.  
  111. <meta name="color:background" content="">
  112. <meta name="color:posts" content="">
  113. <meta name="color:border" content="">
  114. <meta name="color:blockquote" content="">
  115. <meta name="color:ask" content="">
  116. <meta name="color:text" content="">
  117. <meta name="color:link" content="">
  118. <meta name="color:hover" content="">
  119. <meta name="color:header" content="">
  120. <meta name="color:titles" content="">
  121. <meta name="color:titles border" content="">
  122. <meta name="color:permalink" content="">
  123. <meta name="color:permalink border" content="">
  124. <meta name="color:links" content="">
  125. <meta name="color:links border" content="">
  126. <meta name="color:links hover" content="">
  127. <meta name="color:selection" content="">
  128. <meta name="color:selection text" content="">
  129. <meta name="color:tooltip" content="">
  130. <meta name="color:tooltip text" content="">
  131. <meta name="color:scrollbar" content="">
  132.  
  133. <meta name="image:favicon" content="">
  134. <meta name="image:background" content="">
  135. <meta name="image:cursor" content="">
  136. <meta name="image:sidebar" content="">
  137. <meta name="image:lace" content="">
  138. <meta name="image:permalink" content="">
  139. <meta name="image:back to top" content="">
  140. <meta name="image:render" content="">
  141.  
  142. <meta name="text:font" content="">
  143. <meta name="text:font size" content="11">
  144.  
  145. <meta name="text:back to top title" content="">
  146. <meta name="text:ask text" content="asked">
  147. <meta name="text:back title" content="⇠">
  148. <meta name="text:next title" content="⇢">
  149.  
  150. <meta name="if:bg cover" content="">
  151. <meta name="if:cursor" content="">
  152. <meta name="if:render" content="">
  153. <meta name="if:back to top button" content="">
  154.  
  155. <meta name="text:lace height" content="">
  156. <meta name="text:render left" content="">
  157. <meta name="text:render bottom" content="">
  158. <meta name="text:render width" content="">
  159.  
  160. <link href="https://fonts.googleapis.com/css?family=Short+Stack" rel="stylesheet">
  161.  
  162. <style type="text/css">
  163.  
  164. @font-face { font-family: "strawberry limeade"; src: url('https://dl.dropboxusercontent.com/s/sp5q2wls4my17pq/kgstrawberrylimeade.ttf?dl=0'); format("truetype");}
  165.  
  166. @font-face { font-family: "OpenDyslexic-Regular"; src: url('https://dl.dropboxusercontent.com/s/7lk7boh8v38kbh8/OpenDyslexic-Regular.otf?dl=0'); format("truetype");}
  167.  
  168. @font-face {font-family: "handy00";src: url('https://dl.dropboxusercontent.com/s/caarg8rmk5pc58t/handy00.ttf?dl=0'); format("truetype");}
  169.  
  170. ::-webkit-scrollbar {
  171. width: 9px;
  172. height: 4px;
  173. background:{color:scrollbar};
  174. border:4px solid {color:background};
  175. }
  176.  
  177. ::-webkit-scrollbar-thumb {
  178. background-color:{color:scrollbar};
  179. border-radius:5px;
  180. }
  181.  
  182. #s-m-t-tooltip {
  183. max-width:300px;
  184. margin:10px 0px 0px 10px;
  185. background-color:{color:tooltip};
  186. font-family:handy00;
  187. font-size:8px;
  188. padding:3px;
  189. color:{color:tooltip text};
  190. z-index:999999999999999999999999999999999999;
  191. }
  192.  
  193. #s-m-t-tooltip:after {
  194. position: absolute;
  195. display: block; content: "";
  196. border-color: transparent {color:tooltip} transparent transparent ;
  197. border-style: solid;
  198. border-width: 5px;
  199. height:0;
  200. width:0;
  201. position:absolute;
  202. top:3px;
  203. left:-10px;
  204. }
  205.  
  206. ::selection {
  207. background: {color:selection};
  208. color: {color:selection text};
  209. }
  210.  
  211. ::-moz-selection {
  212. background: {color:selection};
  213. color: {color:selection text};
  214. }
  215.  
  216. ::-webkit-selection {
  217. background: {color:selection};
  218. color: {color:selection text};
  219. }
  220.  
  221. {block:ifcursor}body, a, a:hover {cursor: url('{image:cursor}'), progress;}{/block:ifcursor}
  222.  
  223. body {
  224. margin:0px;
  225. background:{color:background};
  226. background-image:url('{image:background}');
  227. background-attachment:fixed;
  228. {block:ifbgcover}
  229. background-repeat:no-repeat;
  230. background-size:cover;
  231. {/block:ifbgcover}
  232. color:{color:text};
  233. font-family:{text:font};
  234. font-size:{text:font size}px;
  235. }
  236.  
  237. a {
  238. color:{color:link};
  239. text-decoration:none;
  240. }
  241.  
  242. a:hover {
  243. color:{color:hover};
  244. -webkit-transition: all 0.7s ease;
  245. -moz-transition: all 0.7s ease;
  246. -o-transition: all 0.7s ease;
  247. transition: all 0.7s ease;
  248. }
  249.  
  250. blockquote {
  251. border-left:1px solid {color:blockquote};
  252. padding-left:10px;
  253. }
  254.  
  255. blockquote img {
  256. max-width:100%;
  257. height:auto;
  258. }
  259.  
  260. iframe, img, embed, object, video {
  261. }
  262.  
  263. img {
  264. max-width:auto;
  265. height:auto;
  266. }
  267.  
  268. h1 {
  269. font-family:strawberry limeade;
  270. font-size:calc({text:font size}px + 5px);
  271. text-align:center;
  272. padding:2px;
  273. background:{color:titles};
  274. border-left:5px solid {color:titles border};
  275. border-right:5px solid {color:titles border};
  276. border-radius:20px;
  277. }
  278.  
  279. article {
  280. float:left;
  281. position:relative;
  282. padding:10px;
  283. width:500px;
  284. background-color:{color:posts};
  285. border:10px solid {color:border};
  286. margin-bottom:35px;
  287. border-radius:20px;
  288. }
  289.  
  290. .posts:blockquote {
  291. border-left:1px solid {color:blockquote};
  292. padding-left:5px;
  293. }
  294.  
  295. .posts img {
  296. max-width:100%;
  297. }
  298.  
  299. #header {
  300. position:fixed;
  301. top:0px;
  302. left:0px;
  303. width:100%;
  304. height:50px;
  305. background:{color:header};
  306. z-index:1;
  307. }
  308.  
  309. #lace {
  310. position:fixed;
  311. top:50px;
  312. left:0%;
  313. width:100%;
  314. background-image:url('{image:lace}');
  315. height:{text:lace height}px;
  316. z-index:1;
  317. }
  318.  
  319. #wrapper {
  320. margin-left:auto;
  321. margin-right:auto;
  322. margin-top:100px;
  323. width:600px;
  324. }
  325.  
  326.  
  327. #links {
  328. position:fixed;
  329. margin-left:30%;
  330. margin-top:5px;
  331. z-index:1;
  332. }
  333.  
  334. #img {
  335. position:fixed;
  336. top:0px;
  337. left:0px;
  338. z-index:1;
  339. }
  340.  
  341. .tabcontent {
  342. background:{color:posts};
  343. width:500px;
  344. left:30%;
  345. padding:10px;
  346. border:10px solid {color:border};
  347. border-radius:20px;
  348. }
  349.  
  350. a.nav {
  351. display:inline-block;
  352. text-align:center;
  353. background:{color:links};
  354. border:5px solid {color:links border};
  355. padding:10px;
  356. font-family:handy00;
  357. font-size:8px;
  358. width:88px;
  359. border-radius:15px;
  360. }
  361.  
  362. a.nav:hover {
  363. background:{color:links hover};
  364. border-radius:20px;
  365. }
  366.  
  367. .title{
  368. font-weight:normal;
  369. font-size:calc({text:font size}px + 5px);
  370. margin:0 0 10px 0;
  371. text-align:center;
  372. }
  373.  
  374. .quote{
  375. font-weight:normal;
  376. font-size:calc({text:font size}px + 5px);
  377. font-style:italic;
  378. margin:0 0 10px 0;
  379. text-align:center;
  380. }
  381.  
  382. .quotesource {
  383. margin:0 0 10px 0;
  384. text-align:right;
  385. }
  386.  
  387. #ask{
  388. padding:5px;
  389. color:{color:Title};
  390. }
  391.  
  392. .bubble {
  393. align:right;
  394. background: {color:ask};
  395. margin:7px 0px 5px 66px;
  396. padding:10px;
  397. position: relative;
  398. -moz-border-radius:5px;
  399. -webkit-border-radius:5px;
  400. border-radius:5px;
  401. }
  402.  
  403. .bubble p {
  404. margin:1px 0px;
  405. }
  406.  
  407. .bubble span {
  408. position:absolute;
  409. width:1px;
  410. height:1px;
  411. font-size: 0;
  412. line-height: 1px;
  413. left:-10px;
  414. top:10px;
  415. border-top:7px solid transparent;
  416. border-bottom:7px solid transparent;
  417. border-right:10px solid {color:ask};
  418. }
  419.  
  420. .perma {
  421. margin-top:10px;
  422. padding:5px;
  423. text-align:center;
  424. background:{color:permalink};
  425. font-family:handy00;
  426. font-size:8px;
  427. border:5px solid {color:permalink border};
  428. border-radius:20px;
  429. }
  430.  
  431. #prev {
  432. position:fixed;
  433. margin-left:-150px;
  434. bottom:25px;
  435. background:{color:posts};
  436. border:5px solid {color:border};
  437. padding:5px;
  438. border-radius:15px;
  439. width:75px;
  440. text-align:left;
  441. }
  442.  
  443. #next {
  444. position:fixed;
  445. margin-left:550px;
  446. bottom:25px;
  447. background:{color:posts};
  448. border:5px solid {color:border};
  449. padding:5px;
  450. border-radius:15px;
  451. width:75px;
  452. text-align:right;
  453. }
  454.  
  455. .credit {
  456. position:fixed;
  457. bottom:4px;
  458. left:8px;
  459. text-transform:uppercase;
  460. letter-spacing: 0px;
  461. padding: 2px;
  462. }
  463.  
  464. </style>
  465. </head>
  466. <body>
  467.  
  468. <div id="header">
  469. <div id="img"><img style="max-width:50px; height:auto;" src="{image:sidebar}"></div>
  470.  
  471. <div id="links">
  472. <a class="nav" href="/">Home</a>
  473. <a class="nav" onClick="document.getElementById('wrapper').innerHTML=document.getElementById('ask').innerHTML">Ask</a>
  474. <a class="nav" onClick="document.getElementById('wrapper').innerHTML=document.getElementById('about').innerHTML">Bio</a>
  475. <a class="nav" onClick="document.getElementById('wrapper').innerHTML=document.getElementById('link').innerHTML">Links</a>
  476. <a class="nav" onClick="document.getElementById('wrapper').innerHTML=document.getElementById('tag').innerHTML">Tags</a>
  477. </div>
  478.  
  479. </div>
  480.  
  481. <div id="lace"></div>
  482.  
  483. {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}
  484.  
  485. <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>
  486.  
  487.  
  488.  
  489. <div id="wrapper">
  490. {block:Posts}
  491. <article>
  492.  
  493. {block:Text}
  494. {block:Title}<div class="title">{Title}</div>{/block:Title}
  495. {Body}
  496. {/block:Text}
  497.  
  498. {block:Photo}
  499. <center>{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</center>
  500. {block:Caption}{Caption}{/block:Caption}
  501. {/block:Photo}
  502.  
  503. {block:Photoset}
  504. {Photoset-500}
  505. {block:Caption}{Caption}{/block:Caption}
  506. {/block:Photoset}
  507.  
  508. {block:Quote}
  509. <div class="quote">"{Quote}"</div>
  510. {block:Source}<div class="quotesource">{Source}</div>{/block:Source}
  511. {/block:Quote}
  512.  
  513. {block:Link}
  514. <div class="title"><a href="{URL}">{Name}</a></div>
  515. {block:Description}<div class="description">{Description}</div>{/block:Description}
  516. {/block:Link}
  517.  
  518. {block:Chat}
  519. {block:Title}<div class="title">{Title}</div>{/block:Title}
  520. {block:Lines}<div class="{Alt} user_{UserNumber}">{block:Label}<b>{Label}</b>{/block:Label}&nbsp;{Line}</div>{/block:Lines}
  521. {/block:Chat}
  522.  
  523. {block:Video}
  524. {Video-500}
  525. {block:Caption}{Caption}{/block:Caption}
  526. {/block:Video}
  527.  
  528. {block:Audio}
  529. {AudioPlayerWhite}
  530. {block:TrackName}{TrackName}<br>{/block:TrackName}
  531. {block:Artist}{Artist}<br>{/block:Artist}
  532. {block:Album}{Album}{/block:Album}
  533. {block:Caption}{Caption}{/block:Caption}
  534. {/block:Audio}
  535.  
  536. {block:Answer}
  537. <img src="{AskerPortraitURL-48}" align="left" style="border-radius:48px;">
  538. <div class="bubble"><span></span>{Asker} {text:ask text}: {Question}&nbsp;</div>
  539. <div class="answer">{Answer}</div>
  540. {/block:Answer}
  541.  
  542. {block:IndexPage}
  543. <div class="perma"><a href="{Permalink}">{NoteCountWithLabel}</a> <img src="{image:permalink}"> <a href="{ReblogURL}">reblog</a>
  544. {block:HasTags}<br>{block:Tags}<a href="{TagURL}">#{Tag}</a>&nbsp;{/block:Tags}{/block:HasTags}
  545. </div>
  546. {block:IndexPage}
  547.  
  548. {block:PermalinkPage}
  549. <center>
  550. {block:Date}Posted on {DayOfWeek}, {Month} {DayOfMonth}{DayOfMonthSuffix} at {12HourWithZero}:{Minutes}{CapitalAmPm}{/block:Date} {block:NoteCount}with {NoteCountWithLabel}{/block:NoteCount}
  551. {block:RebloggedFrom}<br><a title="{ReblogParentName}" href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}
  552. {block:RebloggedFrom}• <a title="{ReblogRootName}" href="{ReblogRootURL}">source</a>{/block:RebloggedFrom}
  553. {block:HasTags}<br> tagged as: {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags} {/block:HasTags}
  554. </center>
  555.  
  556. {block:PostNotes}{PostNotes}{/block:PostNotes}
  557. {/block:PermalinkPage}
  558.  
  559. </article>
  560.  
  561. {/block:Posts}
  562.  
  563. {block:IndexPage}
  564. {block:Pagination}
  565. {block:PreviousPage}<div id="prev"><a href="{PreviousPage}">← {text:back title}</a></div>{/block:PreviousPage}
  566. {block:NextPage}<div id="next"><a href="{NextPage}">{text:next title} →</a></div>{/block:NextPage}
  567. {/block:Pagination}
  568. {/block:IndexPage}
  569.  
  570.  
  571. <div id="ask" style="display:none;">
  572. <div class="tabcontent">
  573. <h1>Message Me</h1>
  574.  
  575. <br><br>
  576. <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]-->
  577. <br><br>
  578. <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]-->
  579. </div>
  580.  
  581. <div id="about" style="display:none">
  582. <div class="tabcontent">
  583.  
  584. <h1>About Me</h1>
  585. <br><br>
  586. about here
  587.  
  588. </div>
  589.  
  590. <div id="link" style="display:none">
  591. <div class="tabcontent">
  592. <h1>Links</h1>
  593. <br><br>
  594. tags here
  595. </div>
  596.  
  597. <div id="tag" style="display:none">
  598. <div class="tabcontent">
  599. <h1>Tags</h1>
  600. <br><br>
  601. tags here
  602. </div>
  603.  
  604. </div>
  605. </div>
  606. </div>
  607. </div>
  608. </div>
  609.  
  610. </body>
  611. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement