|
12 | 12 | .article { |
13 | 13 | display: flex; |
14 | 14 | flex-direction: column; |
15 | | - |
16 | 15 | grid-column: span 6; |
17 | | - max-width: 48.5rem; |
| 16 | + max-width: 46rem; |
18 | 17 | justify-self: center; |
19 | 18 |
|
20 | 19 | @media #{$breakpoint-dimension-sm} { |
|
35 | 34 | font-size: 2rem; |
36 | 35 | line-height: 2.5rem; |
37 | 36 | font-style: normal; |
38 | | - font-weight: 400; |
| 37 | + font-weight: 500; |
39 | 38 | letter-spacing: -0.05rem; |
40 | 39 | margin-bottom: 1.5rem; |
41 | 40 | font-family: var(--font-secondary), sans-serif; |
|
56 | 55 |
|
57 | 56 | h3 { |
58 | 57 | color: var(--color_fg_bold); |
59 | | - |
60 | 58 | font-size: 1.5rem; |
61 | 59 | line-height: 2rem; |
62 | 60 | font-style: normal; |
63 | | - font-weight: 400; |
| 61 | + font-weight: 500; |
64 | 62 | letter-spacing: -0.05rem; |
65 | | - margin-bottom: 2rem; |
| 63 | + margin-bottom: 1.5rem; |
66 | 64 | font-family: var(--font-secondary), sans-serif; |
67 | 65 |
|
68 | 66 | :global(html[lang="ja"]) & { |
|
77 | 75 | "clig" off, |
78 | 76 | "liga" off; |
79 | 77 | font-size: 1rem; |
80 | | - line-height: 1.5em; |
| 78 | + line-height: 1.45; |
81 | 79 | font-style: normal; |
82 | 80 | font-weight: 400; |
83 | 81 | letter-spacing: -0.005rem; |
84 | | - margin-bottom: 2rem; |
| 82 | + margin-bottom: 1rem; |
85 | 83 |
|
86 | 84 | :global(html[lang="ja"]) & { |
87 | 85 | @include LocaleLineHeight("ja", 1.5rem); |
|
95 | 93 |
|
96 | 94 | ul, |
97 | 95 | ol { |
98 | | - list-style-position: inside; |
99 | 96 | margin-top: 0; |
100 | 97 |
|
101 | 98 | ul, |
102 | 99 | ol { |
103 | | - list-style-position: inside; |
104 | 100 | margin-left: 1.5rem; |
105 | 101 | padding-left: 0; |
106 | 102 | } |
|
109 | 105 | li { |
110 | 106 | margin-bottom: 0.75rem; |
111 | 107 | font-size: 1rem; |
112 | | - line-height: 2rem; |
| 108 | + line-height: 1.45; |
113 | 109 | color: var(--color_fg_default); |
114 | 110 | letter-spacing: -0.01px; |
115 | | - text-indent: -1.5rem; |
116 | | - padding-left: 1.5rem; |
| 111 | + margin-left: 1rem; |
| 112 | + padding-left: 1rem; |
117 | 113 |
|
118 | 114 | :global(html[lang="ja"]) & { |
119 | 115 | @include LocaleLineHeight("ja", 2rem); |
|
124 | 120 | &, |
125 | 121 | &:hover, |
126 | 122 | &:active { |
127 | | - color: var(--color_fg_link_primary); |
128 | 123 | text-decoration: underline; |
129 | | - font-weight: 400; |
| 124 | + font-weight: 500; |
| 125 | + text-underline-offset: 0.25rem; |
130 | 126 | } |
131 | 127 | } |
132 | 128 |
|
|
136 | 132 | } |
137 | 133 |
|
138 | 134 | pre { |
139 | | - margin-bottom: 2rem; |
140 | | - background-color: var(--color_bg_code-editor); |
| 135 | + margin-bottom: 1rem; |
| 136 | + background-color: var(--color_bg_layer_alternate); |
141 | 137 | color: var(--color_fg_default); |
142 | 138 | font-size: 0.875rem; |
143 | 139 | line-height: 1.375rem; |
144 | 140 | font-style: normal; |
145 | 141 | font-weight: 400; |
146 | 142 | letter-spacing: 0.15px; |
147 | | - padding: 0.75rem; |
| 143 | + padding: 0.25rem; |
148 | 144 | border: 1px solid var(--color_border_bold); |
149 | | - border-radius: 0.25rem; |
| 145 | + border-radius: 1rem; |
150 | 146 |
|
151 | 147 | code { |
152 | | - color: var(--color_code_dark_blue2); |
| 148 | + display: block; |
| 149 | + width: 100%; |
| 150 | + color: var(--color_code_gray); |
153 | 151 | background-color: var(--color_bg_code-editor); |
154 | 152 | font-weight: 500; |
155 | | - } |
156 | | - |
157 | | - @media #{$breakpoint-dimension-sm} { |
158 | | - border-radius: 0.5rem; |
159 | | - padding: 1rem; |
| 153 | + font-size: 0.875rem; |
| 154 | + line-height: 1.35; |
| 155 | + border-radius: 0.75rem; |
| 156 | + padding: 0.75rem; |
| 157 | + box-shadow: |
| 158 | + 0 0 0 0.5px rgba(0, 0, 0, 0.12), |
| 159 | + 0 2px 2px -1px rgba(0, 0, 0, 0.04), |
| 160 | + 0 4px 4px -2px rgba(0, 0, 0, 0.04), |
| 161 | + 0 6px 6px -3px rgba(0, 0, 0, 0.04); |
160 | 162 | } |
161 | 163 | } |
162 | 164 |
|
163 | 165 | blockquote { |
164 | | - background-color: var(--color_bg_state_info_subtle); |
165 | | - padding: 1rem 1.5rem; |
166 | | - margin: 2rem 0 2rem 0; |
167 | | - border-radius: 0 0.5rem 0.5rem 0; |
168 | | - border-left: 4px solid var(--color_border_state_info); |
| 166 | + background-color: var(--color_bg_layer); |
| 167 | + font-size: 0.875rem; |
| 168 | + padding: 1rem; |
| 169 | + margin: 2rem 0; |
| 170 | + border-radius: 1rem; |
| 171 | + border: 1px solid var(--color_border_default); |
| 172 | + box-shadow: |
| 173 | + 0 0 0 0.5px rgba(0, 0, 0, 0.12), |
| 174 | + 0 2px 2px -1px rgba(0, 0, 0, 0.04), |
| 175 | + 0 4px 4px -2px rgba(0, 0, 0, 0.04), |
| 176 | + 0 6px 6px -3px rgba(0, 0, 0, 0.04); |
169 | 177 |
|
170 | 178 | & * { |
171 | | - color: var(--color_fg_on_state_info_subtle); |
| 179 | + color: var(--color_fg_default); |
172 | 180 | padding: 0; |
173 | 181 | margin: 0; |
174 | 182 | } |
| 183 | + |
| 184 | + p { |
| 185 | + display: flex; |
| 186 | + flex-direction: row; |
| 187 | + font-size: 0.875rem; |
| 188 | + align-items: center; |
| 189 | + gap: 0.75rem; |
| 190 | + } |
| 191 | + |
| 192 | + ::before { |
| 193 | + content: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 0.5C9.03757 0.5 11.5 2.96243 11.5 6C11.5 9.03757 9.03757 11.5 6 11.5C2.96243 11.5 0.5 9.03757 0.5 6C0.5 2.96243 2.96243 0.5 6 0.5ZM6 5.25C5.72386 5.25 5.5 5.47386 5.5 5.75V8.75H6.5V5.75C6.5 5.47386 6.27614 5.25 6 5.25ZM6 3.125C5.65482 3.125 5.375 3.40482 5.375 3.75C5.375 4.09518 5.65482 4.375 6 4.375C6.34518 4.375 6.625 4.09518 6.625 3.75C6.625 3.40482 6.34518 3.125 6 3.125Z' fill='%235C5650'/%3E%3C/svg%3E%0A"); |
| 194 | + display: block; |
| 195 | + padding: 0.25rem 0.4rem 0.125rem; |
| 196 | + border-radius: 9999px; |
| 197 | + background-color: var(--color_bg_layer_alternate); |
| 198 | + } |
175 | 199 | } |
176 | 200 |
|
177 | 201 | *:has(+ blockquote) { |
|
0 commit comments