免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
Board logo

標題: [已回答] 各位坛主站长这串颜色代码能否合并一下,主题分类太多了 [打印本頁]

作者: huaekin    時間: 2024-9-10 15:19     標題: 各位坛主站长这串颜色代码能否合并一下,主题分类太多了

本帖最後由 huaekin 於 2024-9-10 23:47 編輯
  1. /* ~~~~~~~~~~~~~~~~~~~~ 主题分类1底部颜色开始 ~~~~~~~~~~~~~~~~~~~~ */
  2. #khp{font-weight: 100;
  3. color: #fff;
  4. padding: 2px 6px;
  5. border: 1px solid #FFF;
  6. background: none scroll 0% 0% #ee5567 !important;
  7. border-radius: 0px;text-align: center;}

  8. #zzp{font-weight: 100;
  9. color: #fff;
  10. padding: 2px 6px;
  11. border: 1px solid #FFF;
  12. background: none scroll 0% 0% #0080FF !important;
  13. border-radius: 0px;text-align: center;}

  14. #dzp{font-weight: 100;
  15. color: #fff;
  16. padding: 2px 6px;
  17. border: 1px solid #FFF;
  18. background: none scroll 0% 0% #FF5809 !important;
  19. border-radius: 0px;text-align: center;}

  20. #gzp{font-weight: 100;color: #fff;
  21. padding: 2px 6px;
  22. border: 1px solid #FFF;
  23. background: none scroll 0% 0% #8B008B !important;
  24. border-radius: 0px;text-align: center;}

  25. #shp{font-weight: 100;
  26. color: #fff;
  27. padding: 2px 6px;
  28. border: 1px solid #FFF;
  29. background: none scroll 0% 0% #00BFFF !important;
  30. border-radius: 0px;text-align: center;}

  31. #xjp{font-weight: 100;
  32. color: #fff;
  33. padding: 2px 6px;
  34. border: 1px solid #FFF;
  35. background: none scroll 0% 0% #006400 !important;
  36. border-radius: 0px;text-align: center;}

  37. #dhp{font-weight: 100;
  38. color: #fff;
  39. padding: 2px 6px;
  40. border: 1px solid #FFF;
  41. background: none scroll 0% 0% #FFA500 !important;
  42. border-radius: 0px;text-align: center;}

  43. #bwzdy{font-weight: 100;
  44. color: #fff;
  45. padding: 2px 6px;
  46. border: 1px solid #FFF;
  47. background: none scroll 0% 0% #696969 !important;
  48. border-radius: 0px;text-align: center;}

  49. /* ~~~~~~~~~~~~~~~~~~~~ 主题分类2底部颜色开始 ~~~~~~~~~~~~~~~~~~~~ */

  50. #czyy{font-weight: 100;
  51. color: #fff;
  52. padding: 2px 6px;
  53. border: 1px solid #FFF;
  54. background: none scroll 0% 0% #ee5567 !important;
  55. border-radius: 0px;text-align: center;}

  56. #wqyy{font-weight: 100;
  57. color: #fff;
  58. padding: 2px 6px;
  59. border: 1px solid #FFF;
  60. background: none scroll 0% 0% #0080FF !important;
  61. border-radius: 0px;text-align: center;}

  62. #lxyy{font-weight: 100;
  63. color: #fff;
  64. padding: 2px 6px;
  65. border: 1px solid #FFF;
  66. background: none scroll 0% 0% #FF5809 !important;
  67. border-radius: 0px;text-align: center;}

  68. #whyy{font-weight: 100;color: #fff;
  69. padding: 2px 6px;
  70. border: 1px solid #FFF;
  71. background: none scroll 0% 0% #8B008B !important;
  72. border-radius: 0px;text-align: center;}

  73. #ytbzz{font-weight: 100;
  74. color: #fff;
  75. padding: 2px 6px;
  76. border: 1px solid #FFF;
  77. background: none scroll 0% 0% #00BFFF !important;
  78. border-radius: 0px;text-align: center;}

  79. #bwzyy{font-weight: 100;
  80. color: #fff;
  81. padding: 2px 6px;
  82. border: 1px solid #FFF;
  83. background: none scroll 0% 0% #006400 !important;
  84. border-radius: 0px;text-align: center;}

  85. /* ~~~~~~~~~~~~~~~~~~~~ 主题分类3底部颜色开始 ~~~~~~~~~~~~~~~~~~~~ */

  86. #gjzt{font-weight: 100;
  87. color: #fff;
  88. padding: 2px 6px;
  89. border: 1px solid #FFF;
  90. background: none scroll 0% 0% #ee5567 !important;
  91. border-radius: 0px;text-align: center;}

  92. #lygs{font-weight: 100;
  93. color: #fff;
  94. padding: 2px 6px;
  95. border: 1px solid #FFF;
  96. background: none scroll 0% 0% #0080FF !important;
  97. border-radius: 0px;text-align: center;}

  98. #cpxs{font-weight: 100;
  99. color: #fff;
  100. padding: 2px 6px;
  101. border: 1px solid #FFF;
  102. background: none scroll 0% 0% #FF5809 !important;
  103. border-radius: 0px;text-align: center;}

  104. #gsh{font-weight: 100;
  105. color: #fff;
  106. padding: 2px 6px;
  107. border: 1px solid #FFF;
  108. background: none scroll 0% 0% #8B008B !important;
  109. border-radius: 0px;text-align: center;}

  110. #bwzgs{font-weight: 100;
  111. color: #fff;
  112. padding: 2px 6px;
  113. border: 1px solid #FFF;
  114. background: none scroll 0% 0% #00BFFF !important;
  115. border-radius: 0px;text-align: center;}

  116. /* ~~~~~~~~~~~~~~~~~~~~ 主题分类4底部颜色开始 ~~~~~~~~~~~~~~~~~~~~ */

  117. #dnrj{font-weight: 100;
  118. color: #fff;
  119. padding: 2px 6px;
  120. border: 1px solid #FFF;
  121. background: none scroll 0% 0% #ee5567 !important;
  122. border-radius: 0px;text-align: center;}

  123. #pgrj{font-weight: 100;
  124. color: #fff;
  125. padding: 2px 6px;
  126. border: 1px solid #FFF;
  127. background: none scroll 0% 0% #0080FF !important;
  128. border-radius: 0px;text-align: center;}

  129. #azrj{font-weight: 100;
  130. color: #fff;
  131. padding: 2px 6px;
  132. border: 1px solid #FFF;
  133. background: none scroll 0% 0% #FF5809 !important;
  134. border-radius: 0px;text-align: center;}

  135. #bwzrj{font-weight: 100;
  136. color: #fff;
  137. padding: 2px 6px;
  138. border: 1px solid #FFF;
  139. background: none scroll 0% 0% #8B008B !important;
  140. border-radius: 0px;text-align: center;}

  141. /* ~~~~~~~~~~~~~~~~~~~~ 主题分类5底部颜色开始 ~~~~~~~~~~~~~~~~~~~~ */

  142. #dnbz{font-weight: 100;
  143. color: #fff;
  144. padding: 2px 6px;
  145. border: 1px solid #FFF;
  146. background: none scroll 0% 0% #ee5567 !important;
  147. border-radius: 0px;text-align: center;}

  148. #sjbz{font-weight: 100;
  149. color: #fff;
  150. padding: 2px 6px;
  151. border: 1px solid #FFF;
  152. background: none scroll 0% 0% #0080FF !important;
  153. border-radius: 0px;text-align: center;}

  154. #mnxz{font-weight: 100;
  155. color: #fff;
  156. padding: 2px 6px;
  157. border: 1px solid #FFF;
  158. background: none scroll 0% 0% #FF5809 !important;
  159. border-radius: 0px;text-align: center;}

  160. #fjtp{font-weight: 100;color: #fff;
  161. padding: 2px 6px;
  162. border: 1px solid #FFF;
  163. background: none scroll 0% 0% #8B008B !important;
  164. border-radius: 0px;text-align: center;}

  165. #bwztp{font-weight: 100;
  166. color: #fff;
  167. padding: 2px 6px;
  168. border: 1px solid #FFF;
  169. background: none scroll 0% 0% #00BFFF !important;
  170. border-radius: 0px;text-align: center;}
複製代碼

作者: 無名.    時間: 2024-9-10 16:17

background 要统一的颜色才能合并,可以试试这样写:
  1. #khp,#zzp,#dzp,#gzp{font-weight: 100;
  2. color: #fff;
  3. padding: 2px 6px;
  4. border: 1px solid #FFF;
  5. background: none scroll 0% 0% #ee5567 !important;
  6. border-radius: 0px;text-align: center;}
複製代碼

作者: huaekin    時間: 2024-9-10 20:16

本帖最後由 huaekin 於 2024-9-11 10:50 編輯

回復 2# 無名.


    谢谢,方法有效,已经合并好了,我记得你以前有过sclub坛子




歡迎光臨 SCLUB免費論壇申請-使用者論壇 (http://weclub.info/discuz/) Powered by Discuz! 7.2