File tree Expand file tree Collapse file tree
templates/monogame/public Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ html, body {
5959
6060<div class =" cover-page " >
6161 <img src =" ../images/logo_light.svg " alt =" MonoGame Logo " class =" logo " />
62- <div class =" title " >MonoGame Documentation</div >
6362 <div class =" subtitle " >Complete Reference Guide</div >
6463 <div class =" description " >
6564 One framework for creating powerful cross-platform games.
Original file line number Diff line number Diff line change 11---
2- title : Documentation
3- description : Welcome to the MonoGame documentation!
2+ title :
3+ description :
44---
55
6- Welcome to the MonoGame documentation
6+ ![ MonoGame Logo] ( ../images/logo_light.svg )
7+
8+ Thank you for downloading the MonoGame Documentation. We hope it helps you on your game development journey.
9+
10+ If you would like to help to support the continued development and maintenance of MonoGame please consider donating.
11+
12+ [ ![ Donate] ( https://img.shields.io/badge/donate-F1465A?style=flat-square&logo=monogame&logoColor=FFFFFF )] ( https://monogame.net/donate/ )
Original file line number Diff line number Diff line change @@ -455,6 +455,38 @@ td > .xref {
455455 display : none !important ;
456456 }
457457
458+ /* Hide video elements */
459+ video ,
460+ iframe [src *= "youtube" ],
461+ iframe [src *= "vimeo" ],
462+ .video-container ,
463+ .embed-responsive {
464+ display : none !important ;
465+ }
466+
467+ /* Force question-answer elements to be revealed in PDF */
468+ .question-answer ,
469+ .question-answer : not (.revealed ) {
470+ color : var (--bs-body-color ) !important ;
471+ background-color : var (--bs-body-bg ) !important ;
472+ user-select : auto !important ;
473+ }
474+
475+ .question-answer : not (.revealed )::before {
476+ display : none !important ;
477+ }
478+
479+ .question-answer * ,
480+ .question-answer : not (.revealed ) * {
481+ opacity : 1 !important ;
482+ }
483+
484+ /* Prevent page breaks inside question-answer blocks */
485+ .question-answer {
486+ page-break-inside : avoid !important ;
487+ break-inside : avoid !important ;
488+ }
489+
458490 /* Ensure proper page breaks */
459491 h1 , h2 , h3 , h4 {
460492 page-break-after : avoid;
You can’t perform that action at this time.
0 commit comments