Commit 92ecb4ce5e

92ecb4ce5e0622fe0c256f84ebc483c21b3d1584

parent: c0c3a91c5c

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-05-19 03:16 UTC

header padding fix

Layout: unified · split

docs/.vitepress/theme/styles/style.scss +17 −12
@@ -387,34 +387,39 @@ main figure figcaption {
387387}
388388
389389.vp-doc h1 {
390 font-size: 2.5rem; /* Adjust the size as needed */
390 font-size: 2.25rem;
391391}
392392
393393.vp-doc h2 {
394 font-size: 1.75rem; /* Adjust the size as needed */
394 font-size: 1.75rem;
395395}
396396
397397.vp-doc h3 {
398 font-size: 1.4rem; /* Adjust the size as needed */
398 font-size: 1.4rem;
399399}
400400
401401.vp-doc h4 {
402 font-size: 1.2rem; /* Adjust the size as needed */
402 font-size: 1.2rem;
403403}
404404
405405.vp-doc h1 {
406 margin-top: -0.5rem; /* Adjust the top margin as needed */
407 margin-bottom: -1.5rem; /* Adjust the bottom margin as needed */
406 margin-top: 0.5rem;
407 margin-bottom: 0rem;
408408}
409409
410.vp-doc h4 {
411 margin-top: 1rem; /* Adjust the top margin as needed */
412 margin-bottom: 1rem; /* Adjust the bottom margin as needed */
410.vp-doc h2 {
411 margin-top: 0.5rem;
412 margin-bottom: 0rem;
413413}
414414
415.vp-doc._credits div h1 {
416 margin-top: 35px;
417 margin-bottom: 15px;
415.vp-doc h1 + h2 {
416 margin-top: 1rem;
417 padding-top: 1rem;
418}
419
420.vp-doc h4 {
421 margin-top: 1rem;
422 margin-bottom: 1rem;
418423}
419424
420425/* Make the page half the width for class `sandbox` */