Advertisement
hunterthemes

- Updates tab #2 (right)

Jun 28th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.60 KB | None | 0 0
  1. /*-- U P D A T E S T A B #2 BY H U N T E R T H E M E S --*/
  2.  
  3. PASTE THIS UNDER <style type="text/css">
  4.  
  5. /*-- UPDATES TAB #2 BY @HUNTERTHEMES (right) --*/
  6.  
  7. #updates-tab{
  8. position:fixed;
  9. top:40px;
  10. right:0px;
  11. width:10px;
  12. height:auto;
  13. z-index:100000;
  14. /* Stye of the text inside boxes */
  15. font-family:Arial;
  16. font-size:12px;
  17. line-height:20px;
  18. color:#bbb;
  19. }
  20.  
  21. /* Box 1 */
  22.  
  23. #box1, #box2, #box3, #box4{
  24. position:absolute;
  25. margin-top:0px;
  26. margin-left:5px;
  27. width:120px;
  28. height:auto;
  29. min-height:140px;
  30. padding-right:55px;
  31. padding-left:10px;
  32. color:#bbb;
  33. background:#fff;
  34. border:1px solid #eee;
  35. text-align:right;
  36. z-index:10;
  37. }
  38.  
  39. #box2{ margin-top:35px; }
  40.  
  41. #box3{ margin-top:70px; }
  42.  
  43. #box4{ margin-top:105px; }
  44.  
  45. /* Boxes on hover, don't change */
  46.  
  47. #box1:hover, #box2:hover, #box3:hover, #box4:hover{
  48. margin-left:-180px;
  49. -webkit-transition: all .7s ease;
  50. -moz-transition: all .7s ease;
  51. -o-transition: all .7s ease;
  52. transition: all .7s ease;
  53. }
  54.  
  55. /* Updates tab titles */
  56.  
  57. #updates-tab h1{
  58. margin-top:0px;
  59. margin-bottom:10px;
  60. margin-left:-10px;
  61. padding-right:10px;
  62. width:180px;
  63. height:29px;
  64. line-height:29px;
  65. font-size:15px;
  66. color:#333;
  67. border-bottom:1px solid #eee;
  68. font-family:Arial;
  69. /* Background of the titles */
  70. background-image:url(http://static.tumblr.com/fd25cf263f97e81a3b403a06dae0013e/6dvmes1/ptEnnzfpe/tumblr_static_e0ujg22c7o8c48sgkokw8woss.png);
  71. }
  72.  
  73. /* Updates tab icons */
  74.  
  75. #box1icon, #box2icon, #box3icon, #box4icon{
  76. position:absolute;
  77. margin-top:-1px;
  78. margin-left:-42px;
  79. width:20px;
  80. height:20px;
  81. padding:5px;
  82. /* Background of the first icon */
  83. background:#BDC6C8;
  84. border:1px solid #eee;
  85. border-top-left-radius:5px;
  86. border-bottom-left-radius:5px;
  87. text-align:center;
  88. cursor:pointer;
  89. z-index:100;
  90. }
  91.  
  92. #box2icon{ /* Background of the second icon */ background:#D7CBCB; }
  93.  
  94. #box3icon{ /* Background of the third icon */ background:#B6D09C; }
  95.  
  96. #box4icon{ /* Background of the fourth icon */ background:#E6E190;}
  97.  
  98. /* Style of the icons */
  99.  
  100. #box1icon i, #box2icon i, #box3icon i, #box4icon i{
  101. font-size:12px;
  102. line-height:20px;
  103. color:#333;
  104. }
  105.  
  106. /* Updates tab links */
  107.  
  108. #updates-tab a{
  109. color:#777;
  110. }
  111.  
  112. /* Updates tab links on hover */
  113.  
  114. #updates-tab a:hover{
  115. color: #333;
  116. }
  117.  
  118. /* END CSS */
  119.  
  120.  
  121. PASTE THIS UNDER <body>
  122.  
  123. <!-- UPDATES TAB #2 BY @HUNTERTHEMES (right) -->
  124.  
  125. <div id="updates-tab">
  126.  
  127. <div id="box1">
  128. <!-- To change the first icon go to http://fontawesome.io/icons/ and choose the icon of your liking then replace "user" with your icon's name -->
  129. <div id="box1icon"><i class="fa fa-user" aria-hidden="true"></i></div>
  130. <h1>Title 1</h1>
  131. Add content <br>
  132.  
  133. <hr>
  134.  
  135. <a href="/">link</a>
  136. <b>bold</> <i>italic</i>
  137. </div>
  138. <!--End box1-->
  139.  
  140. <div id="box2">
  141. <!-- To change the second icon go to http://fontawesome.io/icons/ and choose the icon of your liking then replace "star" with your icon's name -->
  142. <div id="box2icon"><i class="fa fa-star" aria-hidden="true"></i></div>
  143. <h1>Title 2</h1>
  144. Add content
  145. </div>
  146. <!--End box2-->
  147.  
  148. <div id="box3">
  149. <!-- To change the third icon go to http://fontawesome.io/icons/ and choose the icon of your liking then replace "heart" with your icon's name -->
  150. <div id="box3icon"><i class="fa fa-heart" aria-hidden="true"></i></div>
  151. <h1>Title 3</h1>
  152. Add content
  153. </div>
  154. <!--End box3-->
  155.  
  156. <div id="box4">
  157. <!-- To change the fourth icon go to http://fontawesome.io/icons/ and choose the icon of your liking then replace "bell" with your icon's name -->
  158. <div id="box4icon"><i class="fa fa-bell" aria-hidden="true"></i></div>
  159. <h1>Title 4</h1>
  160. Add content
  161. </div>
  162. <!--End box4-->
  163.  
  164. </div>
  165. <!--End updates tab -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement