Advertisement
sailorslayer

iFold theme

Oct 14th, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.61 KB | None | 0 0
  1. <html>
  2.  
  3. <head>
  4.  
  5. <title>TITLE GOES HERE</title>
  6.  
  7. <!--this page has been made by sailorslayer.tumblr.com do not remove credit--->
  8.  
  9. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  10.  
  11. <![endif]-->
  12.  
  13. <style>
  14.  
  15. body
  16.  
  17. {
  18.  
  19. padding: 0;
  20.  
  21. margin: 0;
  22.  
  23. list-style: none;
  24.  
  25. background-color: #FFFFFF;
  26.  
  27. background-attachment: fixed;
  28.  
  29. background-image:url('');
  30.  
  31. margin-bottom: 50px;
  32.  
  33.  
  34. margin: 0;
  35.  
  36. }
  37.  
  38.  
  39.  
  40. section
  41.  
  42. {
  43.  
  44. display: block;
  45.  
  46. }
  47.  
  48.  
  49.  
  50. .accordion
  51.  
  52. {
  53.  
  54. background-color: #FAFAFA;
  55.  
  56. border: 1px solid #ccc;
  57.  
  58. width: 600px;
  59.  
  60. padding: 10px;
  61.  
  62. margin: 50px auto;
  63.  
  64.  
  65.  
  66. -moz-border-radius: 3px;
  67.  
  68. -webkit-border-radius: 3px;
  69.  
  70. border-radius: 3px;
  71.  
  72.  
  73.  
  74. -moz-box-shadow: 0 1px 0 #999;
  75.  
  76. -webkit-box-shadow: 0 1px 0 #999;
  77.  
  78. box-shadow: 0 1px 0 #999;
  79.  
  80. }
  81.  
  82.  
  83.  
  84. .accordion section
  85.  
  86. {
  87.  
  88. border-bottom: 1px solid #ccc;
  89.  
  90. margin: 5px;
  91.  
  92.  
  93.  
  94. background-color: #FFFFFF;
  95.  
  96. background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
  97.  
  98. background-image: -webkit-linear-gradient(top, #FFFFFF, #BBEFFA);
  99.  
  100. background-image: -moz-linear-gradient(top, #FFFFFF, #BBEFFA);
  101.  
  102. background-image: -ms-linear-gradient(top, #FFFFFF, #BBEFFA);
  103.  
  104. background-image: -o-linear-gradient(top, #FFFFFF, #BBEFFA);
  105.  
  106. background-image: linear-gradient(top, #FFFFFF, #BBEFFA);
  107.  
  108.  
  109.  
  110. -moz-border-radius: 5px;
  111.  
  112. -webkit-border-radius: 5px;
  113.  
  114. border-radius: 5px;
  115.  
  116. }
  117.  
  118.  
  119.  
  120. .accordion h2,
  121.  
  122. .accordion p
  123.  
  124. {
  125.  
  126. margin: 0;
  127.  
  128.  
  129.  
  130. }
  131.  
  132.  
  133.  
  134. .accordion p
  135.  
  136. {
  137.  
  138. padding: 10px;
  139.  
  140. }
  141.  
  142.  
  143.  
  144. .accordion h2 a
  145.  
  146. {
  147.  
  148. display: block;
  149.  
  150. position: center;
  151.  
  152. font: 14px/1 'Trebuchet MS', 'Lucida Sans';
  153.  
  154. padding: 10px;
  155.  
  156. color: #0574FA;
  157.  
  158. text-decoration: none;
  159.  
  160. -moz-border-radius: 5px;
  161.  
  162. -webkit-border-radius: 5px;
  163.  
  164. border-radius: 5px;
  165.  
  166. }
  167.  
  168.  
  169.  
  170. .accordion h2 a:hover
  171.  
  172. {
  173.  
  174. background: #335CFF;
  175.  
  176. }
  177.  
  178.  
  179.  
  180. .accordion h2 + div
  181.  
  182. {
  183.  
  184. height: 0;
  185.  
  186. overflow:auto;
  187.  
  188. -moz-transition: height 0.3s ease-in-out;
  189.  
  190. -webkit-transition: height 0.3s ease-in-out;
  191.  
  192. -o-transition: height 0.3s ease-in-out;
  193.  
  194. transition: height 0.3s ease-in-out;
  195.  
  196. font: 12px/1 'Trebuchet MS', 'Lucida Sans';
  197.  
  198. padding: 10px;
  199.  
  200. color: #33CFFF;
  201.  
  202. text-decoration: none;
  203.  
  204. }
  205.  
  206.  
  207.  
  208. .accordion :target h2 a:after
  209.  
  210. {
  211.  
  212. content: '';
  213.  
  214. position: absolute;
  215.  
  216. right: 10px;
  217.  
  218. top: 50%;
  219.  
  220. margin-top: -3px;
  221.  
  222. border-top: 5px solid #333;
  223.  
  224. border-left: 5px solid transparent;
  225.  
  226. border-right: 5px solid transparent;
  227.  
  228. }
  229.  
  230.  
  231.  
  232. .accordion :target h2 + div
  233.  
  234. {
  235.  
  236. height: 100px;
  237.  
  238. }
  239.  
  240. a:link {color:#33DDFF;}      /* unvisited link */
  241. a:visited {color:#1EABC7;}  /* visited link */
  242. a:hover {color:#75E4FA;}  /* mouse over link */
  243. a:active {color:#62E3FC;}  /* selected link */
  244.  
  245. </style>
  246.  
  247. </head>
  248.  
  249.  
  250.  
  251. <body>
  252.  
  253.  
  254.  
  255. <div class="accordion">
  256.  
  257. <center>
  258.  
  259.  
  260.  
  261. <a href="/">Return</a> || <a href="/ask">Ask</a> || <a href="/submit">Submit</a> || <a href="http://sailorslayer.tumblr.com/">Credit
  262.  
  263.  
  264. <section id="one">
  265. <h2><a href="#one">Theme Basics</a></h2>
  266. <div><P>
  267. This theme comes with 5 basic sections but you can add more, if needed (see section 2). You can customize each section, heading, and color (including the gradient for each heading). Width of the sections are 600px.
  268. <P>Put whatever you want in each one of these little boxes. They will adjust to size. To do a list <ul><li>just</li><li>do</li><li>this</li></ul><br><a href="/">You can even put links in</a> or an image if you want<br>
  269. <img src="http://static.tumblr.com/172d40afb9c12c9081721cfe88469bd9/yidacpy/FoZmumkay/tumblr_static_sailorslayer.gif">
  270. </div>
  271. </section>
  272.  
  273.  
  274. <section id="two">
  275.  
  276. <h2><a href="#two">Adding extra sections</a></h2>
  277.  
  278. <div>
  279. <P>Each box can be filled to the brim and adding more is simple.
  280.  
  281.  
  282. <!--to add more sections just reuse each section and change the headings:
  283. <section id="__">
  284. <h2><a href="#__">new heading here</a></h2>
  285. <div><P></div></section>--replace __ with your section head. you can customize them to be whatever you want and not just numbers.---!>
  286.  
  287.  
  288. <p>
  289.  
  290.  
  291. </p>
  292.  
  293. </div>
  294.  
  295. </section>
  296.  
  297.  
  298.  
  299. <section id="three">
  300.  
  301. <h2><a href="#three">Theme Usage</a></h2>
  302.  
  303. <div>
  304. <P>
  305. This theme is ideal for people who use a lot of tags, have a lot to add, or RP main pages.<P>
  306. <b>There is free usage on this theme as long as the credit remains intact.</b>
  307.  
  308. </div>
  309.  
  310. </section>
  311.  
  312.  
  313.  
  314. <section id="four">
  315.  
  316. <h2><a href="#four">-heading-</a></h2>
  317.  
  318. <div>
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336. </div>
  337.  
  338. </section>
  339.  
  340.  
  341.  
  342. <section id="five">
  343.  
  344. <h2><a href="#five">-heading-.</a></h2>
  345.  
  346. <div>
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381. <P>
  382.  
  383. </div>
  384.  
  385. </section>
  386.  
  387.  
  388.  
  389. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement