Advertisement
NitrogenFixation

Untitled

Nov 19th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2.  
  3. <head>
  4.  
  5. <title>{Title}</title>
  6. <link href="{Favicon}" rel="shortcut icon">
  7.  
  8.  
  9.  
  10. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  11. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  12. <script>
  13. (function($){
  14. $(document).ready(function(){
  15. $("a[title]").style_my_tooltips({
  16. tip_follows_cursor:true,
  17. tip_delay_time:30,
  18. tip_fade_speed:300,
  19. attribute:"title"
  20. });
  21. });
  22. })(jQuery);
  23. </script>
  24.  
  25.  
  26.  
  27. <link href='http://fonts.googleapis.com/css?family=Exo+2:400,400italic,700,700italic|Tulpen+One|Economica|Ruthie|Homemade+Apple' rel='stylesheet' type='text/css'>
  28.  
  29.  
  30.  
  31. <style type="text/css">
  32.  
  33. #s-m-t-tooltip {
  34. max-width:300px;
  35. position:absolute;
  36. z-index:99999;
  37. margin-top:20px;
  38. padding:2px 4px 2px 4px;
  39. background-color:#fff;
  40. font-family:arial;
  41. font-size:11px;
  42. color:#000;
  43. }
  44.  
  45. ::-webkit-scrollbar {width:6px;height:6px;}
  46. ::-webkit-scrollbar-track {background-color:transparent;}
  47. ::-webkit-scrollbar-thumb {background-color:#BD7AFF;}
  48. ::selection {background-color:#BD7AFF;}
  49. ::-moz-selection {background-color:#BD7AFF;}
  50.  
  51. body {
  52. font-family:'gibson';
  53. font-size:12px;
  54. background-color:#200028;
  55. }
  56.  
  57. #book {
  58. height:405px;
  59. width:550px;
  60. margin-left:auto;
  61. margin-right:auto;
  62. margin-top:80px;
  63. background-image: url('http://redwood.colorado.edu/mepl3109/DM2/images/notebook_background.png');
  64. -webkit-background-size: 550px;
  65. -moz-background-size: 550px;
  66. -o-background-size: 550px;
  67. background-size: 550px;
  68. background-position: center;
  69. background-repeat:no-repeat;
  70. }
  71.  
  72. #NightmareBaby {
  73. width:235px;
  74. height:300px;
  75. margin-left:260px;
  76. font-family:'Homemade Apple';
  77. }
  78.  
  79. #NightmareBaby a {
  80. font-size:12pt;
  81. font-style:italic;
  82. font-weight:bold;
  83. }
  84.  
  85. .tabs {
  86. position: relative;
  87. min-height: 200px; /* This part sucks */
  88. clear: both;
  89. margin: 25px 0;
  90. }
  91. .tab {
  92. float: bottom;
  93. margin-bottom:15px;
  94. width:20px;
  95. }
  96. .tab label {
  97. display:block;
  98. background: #eee;
  99. width:15px;
  100. padding: 3px;
  101. border: 1px solid #ccc;
  102. margin-left: 531px;
  103. position: relative;
  104. top: 60px;
  105. z-index:2;
  106. font-family:'Homemade Apple';
  107. font-size:11pt;
  108. text-align:center;
  109. -webkit-transition: all .6s ease-in-out .6s;
  110. -moz-transition: all .6s ease-in-out .6s;
  111. -o-transition: all .6s ease-in-out .6s;
  112. transition: all .6s ease-in-out .6s;
  113. }
  114. .tab [type=radio] {
  115. display: none;
  116. }
  117. .content {
  118. position: absolute;
  119. width:480px;
  120. height:335px;
  121. padding:35px;
  122. padding-top:70px;
  123. top:80px;
  124. margin-top:0px;
  125. opacity:0;
  126. z-index:0;
  127. -webkit-transition: all .6s ease-in-out;
  128. -moz-transition: all .6s ease-in-out;
  129. -o-transition: all .6s ease-in-out;
  130. transition: all .6s ease-in-out;
  131. }
  132. [type=radio]:checked ~ label {
  133. background: white;
  134. border-bottom: 1px solid white;
  135. z-index: 2;
  136. padding-left:10px;
  137. margin-left:525px;
  138. border-left:0;
  139. -webkit-transition: all .6s ease-in .8s;
  140. -moz-transition: all .6s ease-in .8s;
  141. -o-transition: all .6s ease-in .8s;
  142. transition: all .6s ease-in .8s;
  143. }
  144. [type=radio]:checked ~ label ~ .content {
  145. z-index: 1;
  146. opacity:1;
  147. -webkit-transition: all .6s ease-in .8s;
  148. -moz-transition: all .6s ease-in .8s;
  149. -o-transition: all .6s ease-in .8s;
  150. transition: all .6s ease-in .8s;
  151. }
  152.  
  153. </style>
  154.  
  155. </head>
  156.  
  157. <body>
  158.  
  159. <div id="book">
  160.  
  161. <div class="tab"><input type="radio" id="tab-1" name="tab-group-1" checked><label for="tab-1">1</label>
  162. <div id="Father" class="content">
  163. <div id="NightmareBaby">
  164. <a>Father</a>
  165. <br>
  166. I wish he knew how great he is. He's my hero.
  167. </div>
  168. </div>
  169. </div>
  170.  
  171.  
  172.  
  173. <div class="tab"><input type="radio" id="tab-2" name="tab-group-1"><label for="tab-2">2</label>
  174. <div id="Test" class="content">
  175. <div id="NightmareBaby">
  176. <a>Test</a>
  177. <br>
  178. boop
  179. </div>
  180. </div>
  181. </div>
  182.  
  183.  
  184. <div class="tab"><input type="radio" id="tab-3" name="tab-group-1"><label for="tab-3">3</label>
  185. <div id="Test2" class="content">
  186. <div id="NightmareBaby">
  187. <a>Test 2</a>
  188. <br>
  189. bloop
  190. </div>
  191. </div>
  192. </div>
  193.  
  194.  
  195. <div class="tab"><input type="radio" id="tab-4" name="tab-group-1"><label for="tab-4">4</label>
  196. <div id="Test3" class="content">
  197. <div id="NightmareBaby">
  198. <a>Test 3</a>
  199. <br>
  200. blechl</div>
  201. </div>
  202. </div>
  203. </div>
  204.  
  205. </body>
  206.  
  207. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement