Advertisement
hunterthemes

- Updates tab #2 (left)

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