common.css 4.0 KB

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