common.css 3.6 KB

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