common.css 3.5 KB

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