|
50 | 50 | } |
51 | 51 | @font-face { |
52 | 52 | font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ |
53 | | - font-family: 'Noto Sans'; |
| 53 | + font-family: 'Noto Sans SC'; |
54 | 54 | font-style: normal; |
55 | 55 | font-weight: 400; |
56 | 56 | src: url('../fonts/noto-sans-sc-chinese-simplified-400-normal.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ |
57 | 57 | } |
58 | 58 |
|
| 59 | +@font-face { |
| 60 | + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ |
| 61 | + font-family: 'Noto Serif JP'; |
| 62 | + font-style: normal; |
| 63 | + font-weight: 200; |
| 64 | + src: url('../fonts/noto-serif-jp-japanese-200-normal.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ |
| 65 | +} |
| 66 | + |
| 67 | +@font-face { |
| 68 | + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ |
| 69 | + font-family: 'Noto Serif JP'; |
| 70 | + font-style: normal; |
| 71 | + font-weight: 400; |
| 72 | + src: url('../fonts/noto-serif-jp-japanese-400-normal.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ |
| 73 | +} |
| 74 | + |
| 75 | +@font-face { |
| 76 | + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ |
| 77 | + font-family: 'Noto Serif JP'; |
| 78 | + font-style: normal; |
| 79 | + font-weight: 900; |
| 80 | + src: url('../fonts/noto-serif-jp-japanese-900-normal.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ |
| 81 | +} |
| 82 | + |
| 83 | +@font-face { |
| 84 | + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ |
| 85 | + font-family: 'Noto Sans JP'; |
| 86 | + font-style: normal; |
| 87 | + font-weight: 400; |
| 88 | + src: url('../fonts/noto-sans-jp-japanese-400-normal.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ |
| 89 | +} |
| 90 | + |
59 | 91 | :root { |
60 | 92 | --color-highlight: #F5DEB3FF; |
61 | 93 | --color-background-dark: #3b3b3b; |
62 | 94 | --color-background-dark-light: #5c5c5c; |
63 | 95 | --color-text-white: #e3e3e3; |
64 | 96 | --color-text-gray: #c0c0c0; |
65 | | - --serif-font: "Fraunces", 'Noto Serif SC', 'PingFang SC', 'Microsoft YaHei', serif;; |
| 97 | + --serif-font: "Fraunces", 'Noto Serif SC', 'PingFang SC', 'Microsoft YaHei', serif; |
66 | 98 | --memories-header-height: 550px; |
67 | 99 | --box-shadow: 0 8px 25px rgba(245, 222, 179, 0.2); |
68 | | - --sans-serif-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; |
| 100 | + --sans-serif-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; |
| 101 | +} |
| 102 | + |
| 103 | +/* CJK Language-specific font stacks */ |
| 104 | +:root:lang(ja) { |
| 105 | + --serif-font: "Fraunces", 'Noto Serif JP', 'Hiragino Mincho ProN', 'YuMincho', serif; |
| 106 | + --sans-serif-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'YuGothic', 'Meiryo', sans-serif; |
| 107 | +} |
| 108 | + |
| 109 | +:root:lang(zh-CN) { |
| 110 | + --serif-font: "Fraunces", 'Noto Serif SC', 'PingFang SC', 'Microsoft YaHei', serif; |
| 111 | + --sans-serif-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; |
69 | 112 | } |
70 | 113 |
|
71 | 114 | body { |
|
0 commit comments