@@ -695,7 +695,7 @@ body {
695695
696696/* Force left alignment for all tabs */
697697.tabs ,
698- [class *= " tabs--" ] {
698+ [class *= ' tabs--' ] {
699699 display : flex !important ;
700700 justify-content : flex-start !important ;
701701 text-align : left !important ;
@@ -706,18 +706,18 @@ body {
706706
707707/* Target all possible tab item variations */
708708.tabs__item ,
709- [class *= " tabs__item" ],
709+ [class *= ' tabs__item' ],
710710.tabItem_LNqP ,
711- [role = " tab" ] {
711+ [role = ' tab' ] {
712712 text-align : left !important ;
713713 justify-content : flex-start !important ;
714714}
715715
716716/* Active tab styles */
717717.tabs__item--active ,
718- [class *= " tabs__item--active" ],
719- .tabItem_LNqP [aria-selected = " true" ],
720- [role = " tab" ][aria-selected = " true" ] {
718+ [class *= ' tabs__item--active' ],
719+ .tabItem_LNqP [aria-selected = ' true' ],
720+ [role = ' tab' ][aria-selected = ' true' ] {
721721 border-color : var (--ifm-toc-border-color ) !important ;
722722 border-bottom-color : var (--ifm-background-color ) !important ;
723723 background : var (--ifm-background-color ) !important ;
@@ -727,21 +727,21 @@ body {
727727
728728/* Hover state */
729729.tabs__item : not (.tabs__item--active ): hover,
730- [class *= " tabs__item" ]: not ([class *= " --active" ]): hover ,
731- [role = " tab" ]: not ([aria-selected = " true" ]): hover {
730+ [class *= ' tabs__item' ]: not ([class *= ' --active' ]): hover,
731+ [role = ' tab' ]: not ([aria-selected = ' true' ]): hover {
732732 background-color : var (--ifm-menu-color-background-active ) !important ;
733733}
734734
735735/* Remove any right margin/padding that might be pushing content */
736736.tabs-container ,
737- [class *= " tabs-container" ] {
737+ [class *= ' tabs-container' ] {
738738 width : 100% !important ;
739739 margin : 0 !important ;
740740 padding : 0 !important ;
741741}
742742
743743/* Ensure tab list takes full width */
744- [role = " tablist" ] {
744+ [role = ' tablist' ] {
745745 width : 100% !important ;
746746 display : flex !important ;
747747 justify-content : flex-start !important ;
@@ -776,8 +776,7 @@ html.theme-light .text-gray-900 {
776776}
777777
778778.modern-card-shadow {
779- box-shadow : 0 20px 25px -5px rgba (0 , 0 , 0 , 0.1 ),
780- 0 10px 10px -5px rgba (0 , 0 , 0 , 0.04 );
779+ box-shadow : 0 20px 25px -5px rgba (0 , 0 , 0 , 0.1 ), 0 10px 10px -5px rgba (0 , 0 , 0 , 0.04 );
781780}
782781
783782.modern-card-shadow-hover {
@@ -832,82 +831,63 @@ html {
832831
833832/* ===== BASIC FOOTER PROTECTION ===== */
834833/* Prevent global dark theme container rule from affecting footer */
835- [data-theme = " dark" ] .enhanced-footer .container {
834+ [data-theme = ' dark' ] .enhanced-footer .container {
836835 background-color : transparent !important ;
837836}
838837
839838/* ===== FOOTER BACKGROUND PROTECTION ===== */
840839/* Ensure footer maintains its gradient background in dark mode */
841- [data-theme = "dark" ] .enhanced-footer {
842- background : linear-gradient (
843- 135deg ,
844- # 0f0f23 0% ,
845- # 1a1a2e 25% ,
846- # 16213e 50% ,
847- # 0f3460 75% ,
848- # 533483 100%
849- ) !important ;
840+ [data-theme = 'dark' ] .enhanced-footer {
841+ background : linear-gradient (135deg , # 0f0f23 0% , # 1a1a2e 25% , # 16213e 50% , # 0f3460 75% , # 533483 100% ) !important ;
850842 color : # e2e8f0 !important ;
851843}
852844
853845/* ===== STEP 5: FOOTER SECTION PROTECTION ===== */
854846/* Protect specific footer sections from global overrides */
855- [data-theme = " dark" ] .enhanced-footer .footer-links-section {
847+ [data-theme = ' dark' ] .enhanced-footer .footer-links-section {
856848 background : rgba (0 , 0 , 0 , 0.15 ) !important ;
857849}
858850
859- [data-theme = " dark" ] .enhanced-footer .footer-bottom {
851+ [data-theme = ' dark' ] .enhanced-footer .footer-bottom {
860852 background : rgba (0 , 0 , 0 , 0.2 ) !important ;
861853}
862854
863855/* ===== STEP 6: MAXIMUM SPECIFICITY PROTECTION ===== */
864856/* Override the exact problematic global rule with same specificity */
865- [data-theme = "dark" ]
866- body : not (: has (.community-page ))
867- .enhanced-footer
868- .container {
857+ [data-theme = 'dark' ] body : not (: has (.community-page )) .enhanced-footer .container {
869858 background-color : transparent !important ;
870859}
871860
872- [data-theme = "dark" ] body : not (: has (.community-page )) .enhanced-footer {
873- background : linear-gradient (
874- 135deg ,
875- # 0f0f23 0% ,
876- # 1a1a2e 25% ,
877- # 16213e 50% ,
878- # 0f3460 75% ,
879- # 533483 100%
880- ) !important ;
861+ [data-theme = 'dark' ] body : not (: has (.community-page )) .enhanced-footer {
862+ background : linear-gradient (135deg , # 0f0f23 0% , # 1a1a2e 25% , # 16213e 50% , # 0f3460 75% , # 533483 100% ) !important ;
881863 color : # e2e8f0 !important ;
882864}
883865
884866/* ===== STEP 7: COMPREHENSIVE ELEMENT PROTECTION ===== */
885867/* Protect all footer elements from any global overrides */
886- [data-theme = " dark" ] .enhanced-footer * ,
887- [data-theme = " dark" ] .enhanced-footer .row ,
888- [data-theme = " dark" ] .enhanced-footer .col ,
889- [data-theme = " dark" ] .enhanced-footer div ,
890- [data-theme = " dark" ] .enhanced-footer section {
868+ [data-theme = ' dark' ] .enhanced-footer * ,
869+ [data-theme = ' dark' ] .enhanced-footer .row ,
870+ [data-theme = ' dark' ] .enhanced-footer .col ,
871+ [data-theme = ' dark' ] .enhanced-footer div ,
872+ [data-theme = ' dark' ] .enhanced-footer section {
891873 background-color : transparent !important ;
892874}
893875
894876/* Ensure text colors inherit properly */
895- [data-theme = " dark" ] .enhanced-footer ,
896- [data-theme = " dark" ] .enhanced-footer * {
877+ [data-theme = ' dark' ] .enhanced-footer ,
878+ [data-theme = ' dark' ] .enhanced-footer * {
897879 color : inherit !important ;
898880}
899881
900882/* ===== REMOVE THEME TOGGLE FROM MOBILE SIDEBAR AS THERE IS ONE ON THE NAVBAR ===== */
901883@media (max-width : 1200px ) {
902884 /* Aggressively hide theme toggle in mobile sidebar */
903- .navbar-sidebar__brand
904- button : not (.navbar-sidebar__close ): not ([class *= "close" ]),
885+ .navbar-sidebar__brand button : not (.navbar-sidebar__close ): not ([class *= "close" ]),
905886 .navbar-sidebar__brand .colorModeToggle ,
906887 .navbar-sidebar .colorModeToggle ,
907888 .navbar-sidebar__brand button [class *= "colorModeToggle" ],
908889 .navbar-sidebar button [class *= "colorModeToggle" ],
909- .navbar-sidebar__brand
910- .clean-btn [class *= "toggle" ]: not (.navbar-sidebar__close ),
890+ .navbar-sidebar__brand .clean-btn [class *= "toggle" ]: not (.navbar-sidebar__close ),
911891 .navbar-sidebar .clean-btn [class *= "toggle" ]: not (.navbar-sidebar__close ),
912892 .navbar-sidebar__brand [class *= "toggle_" ]: not (.navbar-sidebar__close ),
913893 .navbar-sidebar [class *= "toggle_" ]: not (.navbar-sidebar__close ),
0 commit comments