root.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. /*
  2. --svgcolor svg图标的颜色
  3. --main-bg-color主页背景
  4. --main-text-color文本颜色
  5. --gradient标题渐变颜色
  6. --purple-text-color描述紫色文本颜色
  7. --text-bg-color描述紫色文本背景颜色
  8. --item-bg-color项目背景颜色
  9. --item-hover-color项目鼠标移入颜色
  10. --item-left-title-color项目标题颜色
  11. --item-left-text-color项目描述颜色
  12. --footer-text-color底部文本颜色
  13. --left-tag-item左侧标签颜色
  14. --card-filter卡片模糊的数值
  15. --back-filter背景模糊的数值
  16. --back-filter-color全局阴影遮罩
  17. */
  18. /*卡片模糊的数值非常吃性能,背景模糊的数值可以模糊也可以不模糊
  19. 0为不模糊,数值越大模糊程度越高
  20. 这两个任选其一进行模糊
  21. 一个有数字另一个建议为0
  22. 内置4套白天主题修改办法
  23. 每套主题的结构都为html{
  24. }
  25. 只有最下面的会生效,也就是将你要设置的主题剪切到最下面
  26. */
  27. .index-logo{
  28. display: none;
  29. }
  30. /*非常吃性能,低配手机会卡顿*/
  31. /*卡片模糊背景+黑色透明卡片+白色svg**/
  32. html {
  33. --name: 主题1;
  34. --main_bg_color: url(../img/background.jpg);
  35. --main_text_color: #eeeeee;
  36. --gradient: linear-gradient(120deg, #bd34fe, #e0321b 30%, #41d1ff 60%);
  37. --purple_text_color: #747bff;
  38. --text_bg_color: #00000040;
  39. --item_bg_color: #00000038;
  40. --item_hover_color: #33333338;
  41. --item_left_title_color: #ffffff;
  42. --item_left_text_color: #ffffff;
  43. --footer_text_color: #ffffff;
  44. --left_tag_item: rgb(27 42 57 / 20%);
  45. --card_filter: 15px;
  46. --back_filter: 0px;
  47. --back_filter_color: #00000030;
  48. --fill:#ffffff;
  49. }
  50. html {
  51. /*图片模糊背景+白色透明卡片+黑色svg*/
  52. --name: 主题2;
  53. --main_bg_color: url(../img/background.jpg);
  54. --main_text_color: #000000;
  55. --gradient: linear-gradient(120deg, #bd34fe, #e0321b 30%, #41d1ff 60%);
  56. --purple_text_color: #747bff;
  57. --text_bg_color: rgb(121 163 231);
  58. --item_bg_color: rgba(249, 250, 251, 0.42);
  59. --item_hover_color: rgba(244, 245, 246, 0.8);
  60. --item_left_title_color: #000000;
  61. --item_left_text_color: #494949;
  62. --footer_text_color: #ffffff;
  63. --left_tag_item: #c7e1fa;
  64. --card_filter: 0px;
  65. --back_filter: 20px;
  66. --back_filter_color: #00000030;
  67. --fill:#000000;
  68. }
  69. html {
  70. /*蓝色渐变+黑色svg**/
  71. --name: 主题3;
  72. --main_bg_color: linear-gradient(50deg, #a2d1ff, #ffffff);
  73. --main_text_color: #000000;
  74. --gradient: linear-gradient(120deg, #bd34fe, #e0321b 30%, #41d1ff 60%);
  75. --purple_text_color: #747bff;
  76. --text_bg_color: rgb(196 217 251);
  77. --item_bg_color: rgba(249, 250, 251, 0.5);
  78. --item_hover_color: rgba(244, 245, 246, 0.8);
  79. --item_left_title_color: #000000;
  80. --item_left_text_color: #494949;
  81. --footer_text_color: #222222;
  82. --left_tag_item: linear-gradient(50deg, #a2d1ff, #ffffff);
  83. --card_filter: 0px;
  84. --back_filter: 0px;
  85. --back_filter_color: #00000000;
  86. --fill:#000000;
  87. }
  88. html {
  89. /*白色简约+黑色svg**/
  90. --name: 主题4;
  91. --main_bg_color: #ffffff;
  92. --main_text_color: #000000;
  93. --gradient: linear-gradient(120deg, #bd34fe, #e0321b 30%, #41d1ff 60%);
  94. --purple_text_color: #747bff;
  95. --text_bg_color: rgb(240 243 247);
  96. --item_bg_color: rgb(247 247 247);
  97. --item_hover_color: rgba(244, 245, 246, 0.5);
  98. --item_left_title_color: #000000;
  99. --item_left_text_color: #494949;
  100. --footer_text_color: #222222;
  101. --left_tag_item: #ffffff;
  102. --card_filter: 0px;
  103. --back_filter: 0px;
  104. --back_filter_color: #00000000;
  105. --fill:#000000;
  106. }
  107. html {
  108. /*图片模糊背景+黑色透明卡片+白色svg**/
  109. --name: 主题5;
  110. --main_bg_color: url(../img/background.jpg);
  111. --main_text_color: #eeeeee;
  112. --gradient: linear-gradient(120deg, #bd34fe, #e0321b 30%, #41d1ff 60%);
  113. --purple_text_color: #747bff;
  114. --text_bg_color: #00000040;
  115. --item_bg_color: #00000038;
  116. --item_hover_color: #33333338;
  117. --item_left_title_color: #ffffff;
  118. --item_left_text_color: #ffffff;
  119. --footer_text_color: #ffffff;
  120. --left_tag_item: rgb(27 42 57 / 20%);
  121. --card_filter: 0px;
  122. --back_filter: 19px;
  123. --back_filter_color: #00000030;
  124. --fill:#ffffff;
  125. }