Advertisement
alydae

update tab ii - widget version

Dec 15th, 2019 (edited)
1,472
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. <style type="text/css">
  2.  
  3. /* --
  4.  
  5. UPDATE TAB II - WIDGET VERSION
  6. by alydae
  7.  
  8. released: december 15, 2019
  9.  
  10. - as this is a widget, it can be added anywhere.
  11. if you want it as anupdate tab, there's another version.
  12. - do not steal any part of this code
  13. - do not even TOUCH the credit
  14. - direct questions to enchantedthemes.tumblr.com
  15.  
  16. thank you for using!!!
  17.  
  18. -- */
  19.  
  20. .updbox {
  21. width:100%;
  22. line-height:150%;
  23. padding:10px;
  24. }
  25.  
  26. .updbox h1 {
  27. margin-left:5px;
  28. margin-bottom:13px;
  29. text-align:left;
  30. }
  31.  
  32. table { border-collapse:collapse; }
  33. td { padding:5px; vertical-align:top; }
  34. td.updinfo { border-left:1px solid #eee; /* colour of vertical line */ }
  35.  
  36. .upddate {
  37. padding-right:10px;
  38. width:50px;
  39. color:#222;
  40. font-style:italic;
  41. font-weight:600;
  42. text-align:left;
  43. text-transform:uppercase;
  44. letter-spacing:0.5px;
  45. }
  46.  
  47. .updinfo {
  48. padding-left:10px;
  49. text-align:left;
  50. }
  51.  
  52. .updinfo:before {
  53. position:absolute;
  54. content:'';
  55. height:9px;
  56. width:9px;
  57. border-radius:50%;
  58. margin-left:-15px;
  59. margin-top:3px;
  60. background:#eee; /* colour of circle */
  61. -webkit-transition: all 0.6s ease-in-out;
  62. -moz-transition: all 0.6s ease-in-out;
  63. -o-transition: all 0.6s ease-in-out;
  64. }
  65.  
  66. .updinfo:hover:before {
  67. background:#aaa; /* colour of circle on hover */
  68. -webkit-transition: all 0.6s ease-in-out;
  69. -moz-transition: all 0.6s ease-in-out;
  70. -o-transition: all 0.6s ease-in-out;
  71. }
  72.  
  73. </style>
  74.  
  75. <!-- update tabs begin -->
  76. <!-- template for new update:
  77. <tr>
  78. <td class="upddate">date</td>
  79. <td class="updinfo">what</td>
  80. </tr>
  81. -->
  82.  
  83. <div class="updbox">
  84. <h1>updates</h1> <!-- should match the title style of your theme -->
  85. <table>
  86. <tr>
  87. <td class="upddate">date</td>
  88. <td class="updinfo">content</td>
  89. </tr>
  90. <tr>
  91. <td class="upddate">date</td>
  92. <td class="updinfo">content</td>
  93. </tr>
  94. <tr>
  95. <td class="upddate">date</td>
  96. <td class="updinfo">content</td>
  97. </tr>
  98. </table>
  99. <!--please don't remove this bit-->
  100. <p><a style="margin-left:5px; font-weight:700" href="http://enchantedthemes.tumblr.com" title="alydae">©</a>
  101. </div>
  102.  
  103. <!-- end update tabs -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement