@@ -589,3 +589,118 @@ mark {
589589 border-radius : 4px ;
590590 white-space : pre-wrap;
591591}
592+
593+ : root {
594+ --vp-home-hero-image-background-image : url ('/images/smiletown.svg' );
595+ --vp-home-hero-image-filter : blur (0px );
596+ }
597+
598+ .VPHomeHero {
599+ position : relative;
600+ min-height : 70vh ;
601+ z-index : 1 ;
602+ }
603+
604+ /* Create a pseudo-element for the full-screen background */
605+ .VPHomeHero ::before {
606+ content : '' ;
607+ position : fixed;
608+ top : 0 ;
609+ left : 0 ;
610+ width : 100% ;
611+ height : 100% ;
612+ background-image : var (--vp-home-hero-image-background-image );
613+ background-size : cover;
614+ background-position : top right;
615+ background-repeat : no-repeat;
616+ background-position-y : calc (0px - max (0px , (100vw - 900px ) * 0.5 ));
617+ z-index : -1 ;
618+ overflow : hidden;
619+ }
620+
621+ /* Adjust content elements for better visibility on the background */
622+ .VPHomeHero .container ,
623+ .VPHomeHero .main {
624+ position : relative;
625+ z-index : 1 ;
626+ }
627+
628+ /* Optional: Add an overlay to improve text readability */
629+ .VPHomeHero ::after {
630+ content : '' ;
631+ position : fixed;
632+ top : 0 ;
633+ left : 0 ;
634+ width : 100% ;
635+ height : 100% ;
636+ z-index : -1 ;
637+ }
638+
639+ /* Target the footer only on home layout */
640+ .VPFooter ,
641+ html [class *= 'index' ] .VPFooter {
642+ background-color : transparent !important ;
643+ border-top : none !important ;
644+ }
645+
646+ /* Adjust text color for footer on home page */
647+ .VPFooter .container ,
648+ html [class *= 'index' ] .VPFooter .container {
649+ color : rgba (255 , 255 , 255 , 0.8 );
650+ }
651+
652+ /* Adjust text color for footer on home page */
653+ .VPFooter .container ,
654+ html [class *= 'index' ] .VPFooter .container {
655+ color : rgba (255 , 255 , 255 , 0.8 );
656+ }
657+
658+ /* Footer links on home page */
659+ .VPFooter a ,
660+ html [class *= 'index' ] .VPFooter a {
661+ color : rgba (255 , 255 , 255 , 0.9 );
662+ }
663+
664+ .VPFooter a : hover,
665+ html [class *= 'index' ] .VPFooter a : hover {
666+ color : rgba (255 , 255 , 255 , 1 );
667+ }
668+
669+ /* For home hero alt buttons */
670+ .VPHero .VPButton .alt ,
671+ .VPHomeHero .VPButton .alt {
672+ background-color : # 32363f !important ;
673+ border-color : # 32363f !important ;
674+ color : # fff !important ;
675+ }
676+
677+ /* Hover state */
678+ .VPHero .VPButton .alt : hover ,
679+ .VPHomeHero .VPButton .alt : hover {
680+ background-color : # f4bd22 !important ;
681+ border-color : # f4bd22 !important ;
682+ color : # 32363f !important ;
683+ }
684+
685+ .VPHome .text {
686+ color : # 32363f !important ;
687+ }
688+
689+ .VPHome .main {
690+ margin-top : 40px ;
691+ }
692+
693+ .VPNavBar {
694+ background-color : transparent !important ;
695+ border-bottom : none !important ;
696+ }
697+
698+ .VPNav ,
699+ .Layout {
700+ background-color : transparent !important ;
701+ border-bottom : none !important ;
702+ }
703+
704+ .VPNavBarTitle {
705+ color : # 32363f !important ;
706+ }
0 commit comments