common.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. @property --vw{
  2. syntax: '<length>';
  3. inherits:true;
  4. initial-value:100vw;
  5. }
  6. @property --vh{
  7. syntax: '<length>';
  8. inherits:true;
  9. initial-value:100vh;
  10. }
  11. @font-face {
  12. font-family: puhuiti;
  13. src: url(../font/font/PuHuiTi/Alibaba_PuHuiTi_2.0_55_Regular_55_Regular.ttf);
  14. }
  15. @font-face {
  16. font-family: smileysans-oblique;
  17. src: url(../font/font/SmileySans-Oblique/SmileySans-Oblique.woff2);
  18. }
  19. :root{
  20. --festive-color:#f00;
  21. --funeral-color:#1212;
  22. --red:#122;
  23. --green:#122;
  24. --blue:#122;
  25. --black:#122;
  26. --white:#122;
  27. --gray:#122;
  28. --yellow:#122;
  29. --purple:#122;
  30. --pink:#122;
  31. --orange:#122;
  32. --brown:#122;
  33. --cyan:#122;
  34. --magenta:#122;
  35. --C:#122;
  36. --M:#122;
  37. --Y:#122;
  38. --K:#122;
  39. --body-background-color:rgba(53, 139, 225, 0.333);
  40. --background-color:rgba(53, 139, 225, 0.333);
  41. --backdrop-color:rgba(94, 164, 235, 0.3);
  42. --font-color:rgb(91, 158, 91);
  43. --font-shadow-color:rgb(91, 158, 91);
  44. --filter-color:rgb(91, 158, 91);
  45. --filter-shadow-color:rgb(91, 158, 91);
  46. --hover-color:rgba(71, 220, 71, 0.133);
  47. --a-color:rgba(71, 220, 71, 0.133);
  48. --a-link-color:rgba(71, 220, 71, 0.133);
  49. --a-hover-color:rgba(71, 220, 71, 0.133);
  50. --a-active-color:rgba(71, 220, 71, 0.133);
  51. --a-visited-color:rgba(71, 220, 71, 0.133);
  52. --normal-color:rgba(190, 243, 238, 0.133);
  53. --notice-color:rgba(88, 144, 235, 0.133);
  54. --warming-color:rgba(240, 218, 75, 0.133);
  55. --wrong-color:rgba(243, 31, 31, 0.133);
  56. --plate-size-default:98%;
  57. --body-width-default:100%;
  58. --body-height-default:100%;
  59. --font-size:12px;
  60. --font-default-size:12px;
  61. --font-family: puhuiti;
  62. --line-height: 30px;
  63. --default-font-family: puhuiti;
  64. --font-scale-font-size:24px;
  65. --font-scale-default-font-size:24px;
  66. --title-font-size:18px;
  67. --title-default-font-size:18px;
  68. --title-font-family: puhuiti;
  69. --title-default-font-family: puhuiti;
  70. --subhead-font-size:16px;
  71. --subhead-default-font-size:16px;
  72. --subhead-font-family: smileysans-oblique;
  73. --subhead-default-font-family: smileysans-oblique;
  74. --content-font-size:12px;
  75. --content-default-font-size:12px;
  76. --content-font-family: smileysans-oblique;
  77. --content-default-font-family: smileysans-oblique;
  78. --button-text-font-size:15px;
  79. --button-text-default-font-size:15px;
  80. --test-border:2px solid black;
  81. --test-border-hover:2px solid rgb(228, 20, 20);
  82. --production-border:2px solid black;
  83. }
  84. html[data-theme="light"]{
  85. --body-background-color:#DED8D4;
  86. --font-color:#121929;
  87. --a-color:#862930;
  88. --a-link-color:rgba(71, 220, 71, 0.133);
  89. --a-hover-color:rgba(71, 220, 71, 0.133);
  90. --a-active-color:#862930;
  91. --a-visited-color:#862930;
  92. }
  93. html[data-theme="dark"]{
  94. --body-background-color:#121929;
  95. --font-color:#DED8D4;
  96. --a-color:#DED8D4;
  97. --a-link-color:#862930;
  98. --a-hover-color:#862930;
  99. --a-active-color:#DED8D4;
  100. --a-visited-color:#DED8D4;
  101. }
  102. body{
  103. /* width:var(--body-width-default); */
  104. /* height:var(--body-height-default); */
  105. font-family: var(--font-family);
  106. background-color: var(--body-background-color);
  107. color: var(--font-color);
  108. }
  109. body a{
  110. color:var(--a-color);
  111. text-decoration: none;
  112. }
  113. body a:hover{
  114. color:var(--a-hover-color);
  115. }
  116. body a:visited{
  117. color:var(--a-visited-color);
  118. }