|
3 | 3 | .border-border { |
4 | 4 | @apply border-zinc-900/10 dark:border-zinc-700; |
5 | 5 | } |
| 6 | + |
| 7 | + .mask-both { |
| 8 | + mask-image: linear-gradient( |
| 9 | + rgba(255, 255, 255, 0) 0%, |
| 10 | + rgb(255, 255, 255) 20px, |
| 11 | + rgb(255, 255, 255) calc(100% - 20px), |
| 12 | + rgba(255, 255, 255, 0) 100% |
| 13 | + ); |
| 14 | + } |
| 15 | + .mask-both-lg { |
| 16 | + mask-image: linear-gradient( |
| 17 | + rgba(255, 255, 255, 0) 0%, |
| 18 | + rgb(255, 255, 255) 50px, |
| 19 | + rgb(255, 255, 255) calc(100% - 50px), |
| 20 | + rgba(255, 255, 255, 0) 100% |
| 21 | + ); |
| 22 | + } |
| 23 | + |
| 24 | + .mask-b { |
| 25 | + mask-image: linear-gradient( |
| 26 | + rgb(255, 255, 255) calc(100% - 20px), |
| 27 | + rgba(255, 255, 255, 0) 100% |
| 28 | + ); |
| 29 | + } |
| 30 | + |
| 31 | + .mask-b-lg { |
| 32 | + mask-image: linear-gradient( |
| 33 | + rgb(255, 255, 255) calc(100% - 50px), |
| 34 | + rgba(255, 255, 255, 0) 100% |
| 35 | + ); |
| 36 | + } |
| 37 | + |
| 38 | + .mask-t { |
| 39 | + mask-image: linear-gradient( |
| 40 | + rgba(255, 255, 255, 0) 0%, |
| 41 | + rgb(255, 255, 255) 20px |
| 42 | + ); |
| 43 | + } |
| 44 | + |
| 45 | + .mask-t-lg { |
| 46 | + mask-image: linear-gradient( |
| 47 | + rgba(255, 255, 255, 0) 0%, |
| 48 | + rgb(255, 255, 255) 50px |
| 49 | + ); |
| 50 | + } |
| 51 | + |
| 52 | + .cover-mask-b { |
| 53 | + mask-image: linear-gradient(180deg, #fff -17.19%, #00000000 92.43%); |
| 54 | + } |
6 | 55 | } |
7 | 56 |
|
8 | 57 | @layer components { |
|
154 | 203 | } |
155 | 204 | } |
156 | 205 |
|
157 | | -.mask-both { |
158 | | - mask-image: linear-gradient( |
159 | | - rgba(255, 255, 255, 0) 0%, |
160 | | - rgb(255, 255, 255) 20px, |
161 | | - rgb(255, 255, 255) calc(100% - 20px), |
162 | | - rgba(255, 255, 255, 0) 100% |
163 | | - ); |
164 | | -} |
165 | | -.mask-both-lg { |
166 | | - mask-image: linear-gradient( |
167 | | - rgba(255, 255, 255, 0) 0%, |
168 | | - rgb(255, 255, 255) 50px, |
169 | | - rgb(255, 255, 255) calc(100% - 50px), |
170 | | - rgba(255, 255, 255, 0) 100% |
171 | | - ); |
172 | | -} |
173 | | - |
174 | | -.mask-b { |
175 | | - mask-image: linear-gradient( |
176 | | - rgb(255, 255, 255) calc(100% - 20px), |
177 | | - rgba(255, 255, 255, 0) 100% |
178 | | - ); |
179 | | -} |
180 | | - |
181 | | -.mask-b-lg { |
182 | | - mask-image: linear-gradient( |
183 | | - rgb(255, 255, 255) calc(100% - 50px), |
184 | | - rgba(255, 255, 255, 0) 100% |
185 | | - ); |
186 | | -} |
187 | | - |
188 | | -.mask-t { |
189 | | - mask-image: linear-gradient( |
190 | | - rgba(255, 255, 255, 0) 0%, |
191 | | - rgb(255, 255, 255) 20px |
192 | | - ); |
193 | | -} |
194 | | - |
195 | | -.mask-t-lg { |
196 | | - mask-image: linear-gradient( |
197 | | - rgba(255, 255, 255, 0) 0%, |
198 | | - rgb(255, 255, 255) 50px |
199 | | - ); |
200 | | -} |
201 | | - |
202 | | -.cover-mask-b { |
203 | | - mask-image: linear-gradient(180deg, #fff -17.19%, #00000000 92.43%); |
204 | | -} |
205 | | - |
206 | 206 | .code-wrap { |
207 | 207 | white-space: break-spaces !important; |
208 | 208 | overflow: auto !important; |
|
0 commit comments