Commit 92ecb4ce5e
Unsigned
Layout: unified · split
docs/.vitepress/theme/styles/style.scss +17 −12
| @@ -387,34 +387,39 @@ main figure figcaption { | |||
| 387 | } | 387 | } |
| 388 | 388 | ||
| 389 | .vp-doc h1 { | 389 | .vp-doc h1 { |
| 390 | font-size: 2.5rem; /* Adjust the size as needed */ | 390 | font-size: 2.25rem; |
| 391 | } | 391 | } |
| 392 | 392 | ||
| 393 | .vp-doc h2 { | 393 | .vp-doc h2 { |
| 394 | font-size: 1.75rem; /* Adjust the size as needed */ | 394 | font-size: 1.75rem; |
| 395 | } | 395 | } |
| 396 | 396 | ||
| 397 | .vp-doc h3 { | 397 | .vp-doc h3 { |
| 398 | font-size: 1.4rem; /* Adjust the size as needed */ | 398 | font-size: 1.4rem; |
| 399 | } | 399 | } |
| 400 | 400 | ||
| 401 | .vp-doc h4 { | 401 | .vp-doc h4 { |
| 402 | font-size: 1.2rem; /* Adjust the size as needed */ | 402 | font-size: 1.2rem; |
| 403 | } | 403 | } |
| 404 | 404 | ||
| 405 | .vp-doc h1 { | 405 | .vp-doc h1 { |
| 406 | margin-top: -0.5rem; /* Adjust the top margin as needed */ | 406 | margin-top: 0.5rem; |
| 407 | margin-bottom: -1.5rem; /* Adjust the bottom margin as needed */ | 407 | margin-bottom: 0rem; |
| 408 | } | 408 | } |
| 409 | 409 | ||
| 410 | .vp-doc h4 { | 410 | .vp-doc h2 { |
| 411 | margin-top: 1rem; /* Adjust the top margin as needed */ | 411 | margin-top: 0.5rem; |
| 412 | margin-bottom: 1rem; /* Adjust the bottom margin as needed */ | 412 | margin-bottom: 0rem; |
| 413 | } | 413 | } |
| 414 | 414 | ||
| 415 | .vp-doc._credits div h1 { | 415 | .vp-doc h1 + h2 { |
| 416 | margin-top: 35px; | 416 | margin-top: 1rem; |
| 417 | margin-bottom: 15px; | 417 | padding-top: 1rem; |
| 418 | } | ||
| 419 | |||
| 420 | .vp-doc h4 { | ||
| 421 | margin-top: 1rem; | ||
| 422 | margin-bottom: 1rem; | ||
| 418 | } | 423 | } |
| 419 | 424 | ||
| 420 | /* Make the page half the width for class `sandbox` */ | 425 | /* Make the page half the width for class `sandbox` */ |