common.css 3.7 KB

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