@@ -735,80 +735,103 @@ body.dark .reading-time {
735735 color : # 888 ;
736736}
737737
738- /* Details/Summary (collapsible sections) */
739- details {
740- background : # FFFFFF ;
741- border : 1px solid # E8E5EB ;
742- border-radius : 12px ;
743- margin-bottom : 16px ;
744- box-shadow : 0 2px 8px rgba (39 , 35 , 42 , 0.06 );
738+ /* Details/Summary (collapsible FAQ sections) */
739+ details .faq-item {
740+ background : # FFFFFF !important ;
741+ border : 1px solid # E8E5EB !important ;
742+ border-radius : 12px !important ;
743+ margin-bottom : 16px !important ;
744+ box-shadow : 0 2px 8px rgba (39 , 35 , 42 , 0.06 ) !important ;
745+ overflow : hidden !important ;
745746}
746747
747- details [open ] {
748- border-color : # 785D8F ;
748+ details .faq-item [open ] {
749+ border-color : # 785D8F !important ;
750+ box-shadow : 0 4px 12px rgba (120 , 93 , 143 , 0.15 ) !important ;
749751}
750752
751- summary {
752- padding : 16px 20px ;
753- cursor : pointer;
754- font-weight : 600 ;
755- font-size : 16px ;
756- color : # 27232A ;
757- list-style : none;
758- display : block;
753+ details .faq-item summary {
754+ padding : 18px 24px !important ;
755+ cursor : pointer !important ;
756+ font-weight : 600 !important ;
757+ font-size : 16px !important ;
758+ color : # 27232A !important ;
759+ list-style : none !important ;
760+ display : block !important ;
761+ background : # FAFAFA !important ;
762+ margin : 0 !important ;
759763}
760764
761- summary ::-webkit-details-marker {
762- display : none;
765+ details . faq-item summary ::-webkit-details-marker {
766+ display : none !important ;
763767}
764768
765- summary ::marker {
766- display : none;
769+ details .faq-item summary ::marker {
770+ display : none !important ;
771+ content : "" !important ;
767772}
768773
769- summary : hover {
770- background : # F5F3F7 ;
771- border-radius : 12px ;
774+ details .faq-item summary : hover {
775+ background : # F0EDF3 !important ;
772776}
773777
774- details [open ] > summary {
775- color : # 785D8F ;
776- border-bottom : 1 px solid # E8E5EB ;
777- border-radius : 12 px 12 px 0 0 ;
778+ details . faq-item [open ] > summary {
779+ color : # 785D8F !important ;
780+ background : # F5F3F7 !important ;
781+ border-bottom : 1 px solid # E8E5EB !important ;
778782}
779783
780- details > p {
781- padding : 16px 20px ;
782- margin : 0 ;
783- color : # 4a4a4a ;
784- line-height : 1.7 ;
784+ details .faq-item .faq-answer {
785+ padding : 20px 24px !important ;
786+ margin : 0 !important ;
787+ color : # 4a4a4a !important ;
788+ line-height : 1.8 !important ;
789+ background : # FFFFFF !important ;
790+ font-size : 15px !important ;
785791}
786792
787- /* Dark mode details */
788- body .dark details {
789- background : # 1a1a1a ;
790- border-color : # 333 ;
793+ details .faq-item .faq-answer code {
794+ background : # F5F3F7 !important ;
795+ padding : 2px 6px !important ;
796+ border-radius : 4px !important ;
797+ font-size : 14px !important ;
791798}
792799
793- body .dark details [open ] {
794- border-color : # a88bc4 ;
800+ /* Dark mode FAQ */
801+ body .dark details .faq-item {
802+ background : # 1a1a1a !important ;
803+ border-color : # 333 !important ;
804+ box-shadow : 0 2px 8px rgba (0 , 0 , 0 , 0.3 ) !important ;
795805}
796806
797- body .dark summary {
798- color : # e0e0e0 ;
807+ body .dark details .faq-item [open ] {
808+ border-color : # a88bc4 !important ;
809+ box-shadow : 0 4px 12px rgba (168 , 139 , 196 , 0.2 ) !important ;
799810}
800811
801- body .dark summary : hover {
802- background : # 2a2a2a ;
812+ body .dark details .faq-item summary {
813+ color : # e0e0e0 !important ;
814+ background : # 222 !important ;
803815}
804816
805- body .dark details [open ] > summary {
806- color : # a88bc4 ;
807- border-bottom-color : # 333 ;
817+ body .dark details .faq-item summary : hover {
818+ background : # 2a2a2a !important ;
808819}
809820
810- body .dark details > p {
811- color : # b0b0b0 ;
821+ body .dark details .faq-item [open ] > summary {
822+ color : # a88bc4 !important ;
823+ background : # 252525 !important ;
824+ border-bottom-color : # 333 !important ;
825+ }
826+
827+ body .dark details .faq-item .faq-answer {
828+ color : # b0b0b0 !important ;
829+ background : # 1a1a1a !important ;
830+ }
831+
832+ body .dark details .faq-item .faq-answer code {
833+ background : # 2a2a2a !important ;
834+ color : # a88bc4 !important ;
812835}
813836
814837/* Print styles */
0 commit comments