@@ -1189,13 +1189,64 @@ html[data-theme="light"] .interview-prep-page .technical-outer {
11891189}
11901190
11911191.modern-card-shadow {
1192+ /* layered soft shadows for a realistic elevated card */
11921193 box-shadow :
1193- 0 20px 25px -5px rgba (0 , 0 , 0 , 0.1 ),
1194- 0 10px 10px -5px rgba (0 , 0 , 0 , 0.04 );
1194+ 0 2px 6px rgba (2 , 6 , 23 , 0.06 ),
1195+ /* subtle near shadow */
1196+ 0 12px 24px rgba (2 , 6 , 23 , 0.08 ),
1197+ /* mid shadow for depth */
1198+ 0 32px 60px rgba (2 , 6 , 23 , 0.12 );
1199+ /* long soft ambient shadow */
1200+ transition : box-shadow 280ms cubic-bezier (0.2 , 0.9 , 0.2 , 1 ),
1201+ transform 280ms cubic-bezier (0.2 , 0.9 , 0.2 , 1 );
1202+ position : relative;
1203+ isolation : isolate;
1204+ }
1205+
1206+ /* subtle rim highlight to help cards 'pop' off dark backgrounds */
1207+ .modern-card-shadow ::before {
1208+ content : "" ;
1209+ position : absolute;
1210+ inset : 0 ;
1211+ border-radius : inherit;
1212+ pointer-events : none;
1213+ box-shadow : inset 0 1px 0 rgba (255 , 255 , 255 , 0.02 );
1214+ mix-blend-mode : normal;
1215+ opacity : 1 ;
11951216}
11961217
11971218.modern-card-shadow-hover {
1198- box-shadow : 0 25px 50px -12px rgba (0 , 0 , 0 , 0.25 );
1219+ transform : translateY (-8px ) scale (1.01 );
1220+ box-shadow :
1221+ 0 6px 14px rgba (2 , 6 , 23 , 0.08 ),
1222+ 0 26px 60px rgba (2 , 6 , 23 , 0.14 ),
1223+ 0 64px 140px rgba (2 , 6 , 23 , 0.18 );
1224+ }
1225+
1226+ /* Improve depth for common card types */
1227+ .article-card ,
1228+ .blog-card ,
1229+ .discussion-card ,
1230+ .testimonial-carousel ,
1231+ .testimonial-author ,
1232+ .question-card {
1233+ transition : transform 280ms cubic-bezier (0.2 , 0.9 , 0.2 , 1 ), box-shadow 280ms ease;
1234+ will-change : transform, box-shadow;
1235+ }
1236+
1237+ /* Hover and focus states for accessibility */
1238+ .article-card : hover ,
1239+ .blog-card : hover ,
1240+ .discussion-card : hover ,
1241+ .question-card : hover ,
1242+ .article-card : focus ,
1243+ .blog-card : focus ,
1244+ .discussion-card : focus ,
1245+ .question-card : focus {
1246+ transform : translateY (-6px );
1247+ box-shadow :
1248+ 0 6px 18px rgba (2 , 6 , 23 , 0.08 ),
1249+ 0 28px 70px rgba (2 , 6 , 23 , 0.14 );
11991250}
12001251
12011252.modern-backdrop-blur {
@@ -2727,13 +2778,9 @@ html[data-theme="dark"] .blog-post-page .markdown h4 {
27272778 z-index : 9999 !important ;
27282779 padding : 12px !important ;
27292780 }
2730-
2781+
27312782 .docMainContainer_node_modules-\@docusaurus-theme-classic-lib-theme-DocPage-Layout-Main-styles-module {
27322783 padding-left : 16px !important ;
27332784 padding-right : 16px !important ;
27342785 }
2735- }
2736-
2737-
2738-
2739-
2786+ }
0 commit comments