|
12 | 12 | --notion-header-height: 54px;
|
13 | 13 | }
|
14 | 14 |
|
| 15 | +.notion-frame { |
| 16 | + padding: 0; |
| 17 | +} |
| 18 | + |
15 | 19 | .notion-page {
|
16 | 20 | padding-bottom: calc(max(5vh, 32px)) !important;
|
17 | 21 | line-height: 1.65;
|
|
34 | 38 | margin-bottom: 1em;
|
35 | 39 | }
|
36 | 40 |
|
37 |
| -.notion-asset-wrapper-video > div, |
| 41 | +.notion-asset-wrapper-video>div, |
38 | 42 | .notion-asset-wrapper-video video {
|
39 | 43 | width: 100% !important;
|
40 | 44 | }
|
|
98 | 102 |
|
99 | 103 | /* only target safari */
|
100 | 104 | @media screen and (-webkit-min-device-pixel-ratio: 0) {
|
| 105 | + |
101 | 106 | _::-webkit-full-page-media,
|
102 | 107 | _:future,
|
103 | 108 | :root,
|
|
180 | 185 | }
|
181 | 186 |
|
182 | 187 | @media only screen and (max-width: 1200px) {
|
| 188 | + |
183 | 189 | .notion-page-cover-wrapper,
|
184 | 190 | .notion-page-cover-wrapper span,
|
185 | 191 | .notion-page-cover-wrapper img {
|
|
229 | 235 | background-color: none;
|
230 | 236 |
|
231 | 237 | /* light yellow */
|
232 |
| - background-image: linear-gradient( |
233 |
| - 90deg, |
234 |
| - var(--bg-color), |
235 |
| - #fdeed2 10.5%, |
236 |
| - #fde4b5 85.29%, |
237 |
| - var(--bg-color) |
238 |
| - ); |
| 238 | + background-image: linear-gradient(90deg, |
| 239 | + var(--bg-color), |
| 240 | + #fdeed2 10.5%, |
| 241 | + #fde4b5 85.29%, |
| 242 | + var(--bg-color)); |
239 | 243 | }
|
240 | 244 |
|
241 | 245 | .notion-purple_background {
|
242 | 246 | /* light pink */
|
243 |
| - background-image: linear-gradient( |
244 |
| - 90deg, |
245 |
| - var(--bg-color), |
246 |
| - #e4d3fd 10.5%, |
247 |
| - #d3b6ff 85.29%, |
248 |
| - var(--bg-color) |
249 |
| - ); |
| 247 | + background-image: linear-gradient(90deg, |
| 248 | + var(--bg-color), |
| 249 | + #e4d3fd 10.5%, |
| 250 | + #d3b6ff 85.29%, |
| 251 | + var(--bg-color)); |
250 | 252 | }
|
251 | 253 |
|
252 | 254 | .notion-pink_background {
|
253 | 255 | /* light pink */
|
254 |
| - background-image: linear-gradient( |
255 |
| - 90deg, |
256 |
| - var(--bg-color), |
257 |
| - #ffd2e7 10.5%, |
258 |
| - #ffadd3 85.29%, |
259 |
| - var(--bg-color) |
260 |
| - ); |
| 256 | + background-image: linear-gradient(90deg, |
| 257 | + var(--bg-color), |
| 258 | + #ffd2e7 10.5%, |
| 259 | + #ffadd3 85.29%, |
| 260 | + var(--bg-color)); |
261 | 261 | }
|
262 | 262 |
|
263 | 263 | .notion-gray_background {
|
264 | 264 | /* light blue */
|
265 |
| - background-image: linear-gradient( |
266 |
| - 90deg, |
267 |
| - var(--bg-color), |
268 |
| - #cfcfcf 10.5%, |
269 |
| - #a0a0a0 85.29%, |
270 |
| - var(--bg-color) |
271 |
| - ); |
| 265 | + background-image: linear-gradient(90deg, |
| 266 | + var(--bg-color), |
| 267 | + #cfcfcf 10.5%, |
| 268 | + #a0a0a0 85.29%, |
| 269 | + var(--bg-color)); |
272 | 270 | }
|
273 | 271 |
|
274 | 272 | .notion-blue_background {
|
275 | 273 | /* light blue */
|
276 |
| - background-image: linear-gradient( |
277 |
| - 90deg, |
278 |
| - var(--bg-color), |
279 |
| - #d9eafd 10.5%, |
280 |
| - #b3d6ff 85.29%, |
281 |
| - var(--bg-color) |
282 |
| - ); |
| 274 | + background-image: linear-gradient(90deg, |
| 275 | + var(--bg-color), |
| 276 | + #d9eafd 10.5%, |
| 277 | + #b3d6ff 85.29%, |
| 278 | + var(--bg-color)); |
283 | 279 | }
|
284 | 280 |
|
285 | 281 | .notion-red_background {
|
286 | 282 | /* light red */
|
287 |
| - background-image: linear-gradient( |
288 |
| - 90deg, |
289 |
| - var(--bg-color), |
290 |
| - #ffc3c3 10.5%, |
291 |
| - #fba6a3 85.29%, |
292 |
| - var(--bg-color) |
293 |
| - ); |
| 283 | + background-image: linear-gradient(90deg, |
| 284 | + var(--bg-color), |
| 285 | + #ffc3c3 10.5%, |
| 286 | + #fba6a3 85.29%, |
| 287 | + var(--bg-color)); |
294 | 288 | }
|
295 | 289 |
|
296 | 290 | .notion-orange_background {
|
297 | 291 | /* light red */
|
298 |
| - background-image: linear-gradient( |
299 |
| - 90deg, |
300 |
| - var(--bg-color), |
301 |
| - #ffe6b1 10.5%, |
302 |
| - #ffd09b 85.29%, |
303 |
| - var(--bg-color) |
304 |
| - ); |
| 292 | + background-image: linear-gradient(90deg, |
| 293 | + var(--bg-color), |
| 294 | + #ffe6b1 10.5%, |
| 295 | + #ffd09b 85.29%, |
| 296 | + var(--bg-color)); |
305 | 297 | }
|
306 | 298 |
|
307 | 299 | .notion-teal_background {
|
308 | 300 | /* light green */
|
309 |
| - background-image: linear-gradient( |
310 |
| - 90deg, |
311 |
| - var(--bg-color), |
312 |
| - #d4eabc 10.5%, |
313 |
| - #d2eabc 85.29%, |
314 |
| - var(--bg-color) |
315 |
| - ); |
| 301 | + background-image: linear-gradient(90deg, |
| 302 | + var(--bg-color), |
| 303 | + #d4eabc 10.5%, |
| 304 | + #d2eabc 85.29%, |
| 305 | + var(--bg-color)); |
316 | 306 | }
|
317 | 307 |
|
318 | 308 | .notion-brown_background {
|
319 | 309 | /* dark blue */
|
320 |
| - background-image: linear-gradient( |
321 |
| - 90deg, |
322 |
| - var(--bg-color), |
323 |
| - #cab7ae 10.5%, |
324 |
| - #b1998d 85.29%, |
325 |
| - var(--bg-color) |
326 |
| - ); |
| 310 | + background-image: linear-gradient(90deg, |
| 311 | + var(--bg-color), |
| 312 | + #cab7ae 10.5%, |
| 313 | + #b1998d 85.29%, |
| 314 | + var(--bg-color)); |
327 | 315 | }
|
328 | 316 |
|
329 | 317 | .dark-mode .notion-red_background,
|
|
346 | 334 | border-radius: 50%;
|
347 | 335 | box-shadow: 0 8px 40px 0 rgb(0 0 0 / 21%);
|
348 | 336 | }
|
| 337 | + |
349 | 338 | .notion-page-icon-hero.notion-page-icon-image span,
|
350 | 339 | .notion-page-icon-hero.notion-page-icon-image img {
|
351 | 340 | border-radius: 50%;
|
|
394 | 383 |
|
395 | 384 | .notion-aside {
|
396 | 385 | overflow-x: hidden;
|
397 |
| - padding-left: 24px; /* Adjust the space between the main content and the table of content here */ |
| 386 | + padding-left: 24px; |
| 387 | + /* Adjust the space between the main content and the table of content here */ |
398 | 388 | }
|
399 | 389 |
|
400 | 390 | .notion-aside-table-of-contents {
|
|
405 | 395 | overflow: hidden;
|
406 | 396 | text-overflow: ellipsis;
|
407 | 397 | }
|
| 398 | + |
| 399 | +::-webkit-scrollbar { |
| 400 | + width: 5px; |
| 401 | + height: 5px; |
| 402 | + background-color: #F5F5F5; |
| 403 | + background-color: var(--bg-color-1); |
| 404 | +} |
| 405 | + |
| 406 | +::-webkit-scrollbar-thumb { |
| 407 | + border-radius: 10px; |
| 408 | + -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); |
| 409 | + background-color: #555; |
| 410 | + border-radius: 10px; |
| 411 | + -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); |
| 412 | + background-color: var(--fg-color-1); |
| 413 | +} |
| 414 | + |
| 415 | +::-webkit-scrollbar-track { |
| 416 | + background-color: var(--bg-color); |
| 417 | +} |
0 commit comments