Advertisement
teruteru

Rolling Acres - 【 THEME 46 by Anomaly ☽】

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