Advertisement
bsethemes

UPDATES TAB #1

Jan 30th, 2015
1,263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.23 KB | None | 0 0
  1. <!-- PASTE THIS BETWEEN <head> AND </head> -->
  2.  
  3. <script type="text/javascript">
  4. WebFontConfig = {
  5. google: { families: [ 'VT323::latin' ] }
  6. };
  7. (function() {
  8. var wf = document.createElement('script');
  9. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  10. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  11. wf.type = 'text/javascript';
  12. wf.async = 'true';
  13. var s = document.getElementsByTagName('script')[0];
  14. s.parentNode.insertBefore(wf, s);
  15. })(); </script>
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28. /* UPDATES TAB #1*/
  29.  
  30. /* PASTE THIS UNDER <style type="text/css">*/
  31.  
  32. /* DON'T TOUCH ANYTHING THAT IS NOT COMMENTED ON!!*/
  33.  
  34.  
  35. #updates1 {
  36. position:absolute;
  37. margin-left:1000px; /* add to move to the right and subtract to move to the left */
  38. margin-top:20px; /* add to move higher and subtract to move lower */
  39. color:#000; /* text color */
  40. }
  41.  
  42.  
  43.  
  44. #updates1image{
  45. content: url(http://i57.tinypic.com/2cqo3rl.png);
  46. z-index:0;
  47. margin-top:-5px;
  48. }
  49.  
  50.  
  51.  
  52. #updates1 a {
  53. color:#000; /* link color */
  54. text-decoration:underline; /* link decoration, if you don't want anything just delete underline and type in none */
  55. }
  56.  
  57.  
  58.  
  59. .closebutton {
  60. width:5px;
  61. height:5px;
  62. font-family:'VT323'; /* the font */
  63. font-size:13px; /* text size */
  64. background:#c0c0c0;
  65. padding:5px;
  66. margin-top:-16px;
  67. margin-left:35px;
  68. border-bottom:1px solid gray;
  69. border-right:1px solid gray;
  70. border-top:1px solid white;
  71. border-left:1px solid white;
  72. overflow:auto;
  73. overflow-x:hidden;
  74. opacity:.0;
  75. -webkit-transition: opacity 0.8s linear;
  76. -webkit-transition: all 0.8s ease-in-out;
  77. -moz-transition: all 0.8s ease-in-out;
  78. -o-transition: all 0.8s ease-in-out;
  79. -webkit-box-shadow: 1px 1px 0px 1px rgba(0,0,0,0.75);
  80. -moz-box-shadow: 1px 1px 0px 1px rgba(0,0,0,0.75);
  81. box-shadow: 1px 1px 0px 1px rgba(0,0,0,0.75);
  82. }
  83.  
  84.  
  85. .closebutton:hover {
  86. position:absolute;
  87. z-index:100;
  88. width:100px; /* the width of the first tab */
  89. height:100px; /* the height of the first tab */
  90. opacity:1;
  91. -webkit-transition: all 0.4s ease-in-out;
  92. -moz-transition: all 0.4s ease-in-out;
  93. -o-transition: all 0.4s ease-in-out;
  94. transition: all 0.4s ease-in-out;
  95. }
  96.  
  97.  
  98.  
  99. .resizebutton {
  100. width:2px;
  101. height:2px;
  102. font-family:'VT323'; /* the font */
  103. font-size:13px; /* text size */
  104. background:#c0c0c0;
  105. padding:5px;
  106. margin-top:-16px;
  107. margin-left:17px;
  108. border-bottom:1px solid gray;
  109. border-right:1px solid gray;
  110. border-top:1px solid white;
  111. border-left:1px solid white;
  112. overflow:auto;
  113. overflow-x:hidden;
  114. opacity:.0;
  115. -webkit-transition: opacity 0.8s linear;
  116. -webkit-transition: all 0.8s ease-in-out;
  117. -moz-transition: all 0.8s ease-in-out;
  118. -o-transition: all 0.8s ease-in-out;
  119. -webkit-box-shadow: 1px 1px 0px 1px rgba(0,0,0,0.75);
  120. -moz-box-shadow: 1px 1px 0px 1px rgba(0,0,0,0.75);
  121. box-shadow: 1px 1px 0px 1px rgba(0,0,0,0.75);
  122. }
  123.  
  124.  
  125.  
  126. .resizebutton:hover {
  127. position:absolute;
  128. z-index:100;
  129. width:100px; /* the width of the second tab*/
  130. height:100px; /* the height of the second tab*/
  131. opacity:1;
  132. -webkit-transition: all 0.4s ease-in-out;
  133. -moz-transition: all 0.4s ease-in-out;
  134. -o-transition: all 0.4s ease-in-out;
  135. transition: all 0.4s ease-in-out;
  136. }
  137.  
  138. .minimizebutton {
  139. width:2px;
  140. height:2px;
  141. font-family:'VT323'; /* the font */
  142. font-size:13px; /* text size */
  143. background:#c0c0c0;
  144. padding:5px;
  145. margin-top:-17px;
  146. margin-left:0px;
  147. border-bottom:1px solid gray;
  148. border-right:1px solid gray;
  149. border-top:1px solid white;
  150. border-left:1px solid white;
  151. overflow:auto;
  152. overflow-x:hidden;
  153. opacity:.0;
  154. -webkit-transition: opacity 0.8s linear;
  155. -webkit-transition: all 0.8s ease-in-out;
  156. -moz-transition: all 0.8s ease-in-out;
  157. -o-transition: all 0.8s ease-in-out;
  158. -webkit-box-shadow: 1px 1px 0px 1px rgba(0,0,0,0.75);
  159. -moz-box-shadow: 1px 1px 0px 1px rgba(0,0,0,0.75);
  160. box-shadow: 1px 1px 0px 1px rgba(0,0,0,0.75);
  161. }
  162.  
  163. .minimizebutton:hover {
  164. position:absolute;
  165. z-index:100;
  166. width:100px; /* the width of the third tab*/
  167. height:100px; /* the height of the third tab*/
  168. opacity:1;
  169. -webkit-transition: all 0.4s ease-in-out;
  170. -moz-transition: all 0.4s ease-in-out;
  171. -o-transition: all 0.4s ease-in-out;
  172. transition: all 0.4s ease-in-out;
  173. }
  174.  
  175. /* END UPDATES TAB 1 */
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190. <!-- UPDATES TAB 1 TEXT -->
  191.  
  192. <!-- PASTE THIS UNDER <body>-->
  193.  
  194. <div id="updates1">
  195. <div id="updates1image"></div>
  196. <div class="closebutton">
  197.  
  198. this is the first tab text!!!
  199.  
  200. </div>
  201.  
  202. <div class="resizebutton">
  203.  
  204. and this is the second tab text!!!
  205. <a href="/" class="tooltip" title="AND THIS IS A TOOLTIP">also a link</a>
  206.  
  207. </div>
  208.  
  209.  
  210. <div class="minimizebutton">
  211.  
  212. and this is the third tab text!!!
  213.  
  214. </div>
  215.  
  216.  
  217. </div>
  218.  
  219. <!-- END UPDATES TAB 1 TEXT -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement