globalStyles.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /* en */
  2. @font-face {
  3. font-family: 'Open Sans';
  4. font-style: normal;
  5. font-weight: 300;
  6. font-display: swap;
  7. src: local('Open Sans Light'), local('OpenSans-Light'),
  8. url(/static/fonts/OpenSans-Light.woff) format('woff');
  9. }
  10. @font-face {
  11. font-family: 'Open Sans';
  12. font-style: normal;
  13. font-weight: 400;
  14. font-display: swap;
  15. src: local('Open Sans Regular'), local('OpenSans-Regular'),
  16. url(/static/fonts/OpenSans-Regular.woff) format('woff');
  17. }
  18. @font-face {
  19. font-family: 'Open Sans';
  20. font-style: normal;
  21. font-weight: 700;
  22. font-display: swap;
  23. src: local('Open Sans Bold'), local('OpenSans-Bold'),
  24. url(/static/fonts/OpenSans-Bold.woff) format('woff');
  25. }
  26. /* zh-TW */
  27. @font-face {
  28. font-family: 'Noto Sans TC';
  29. font-style: normal;
  30. font-weight: 300;
  31. font-display: swap;
  32. src: local('Noto Sans TC Light'), local('NotoSansTC-Light'),
  33. url(/static/fonts/NotoSansTC-Light.woff) format('woff');
  34. }
  35. @font-face {
  36. font-family: 'Noto Sans TC';
  37. font-style: normal;
  38. font-weight: 400;
  39. font-display: swap;
  40. src: local('Noto Sans TC Regular'), local('NotoSansTC-Regular'),
  41. url(/static/fonts/NotoSansTC-Regular.woff) format('woff');
  42. }
  43. @font-face {
  44. font-family: 'Noto Sans TC';
  45. font-style: normal;
  46. font-weight: 700;
  47. font-display: swap;
  48. src: local('Noto Sans TC Bold'), local('NotoSansTC-Bold'),
  49. url(/static/fonts/NotoSansTC-Bold.woff) format('woff');
  50. }
  51. html,
  52. body {
  53. margin: 0;
  54. background-color: #c8c8c8;
  55. height: 100%;
  56. font-size: 12px;
  57. overflow: auto;
  58. -ms-overflow-style: -ms-autohiding-scrollbar;
  59. }
  60. div {
  61. box-sizing: border-box;
  62. }
  63. html:lang(en) {
  64. font-family: 'Open Sans', sans-serif;
  65. }
  66. html:lang(zh-TW) {
  67. font-family: 'Noto Sans TC', sans-serif;
  68. }