@@ -523,35 +523,6 @@ body {
523523 }
524524
525525 .navbar-sidebar .navbar__link : hover {
526- background-color : var (--ifm-color-emphasis-200 ) !important ;
527- }
528-
529- /* Improve sidebar dropdown behavior */
530- .navbar-sidebar .dropdown {
531- display : block !important ;
532- }
533-
534- .navbar-sidebar .dropdown__menu {
535- position : static !important ;
536- display : block !important ;
537- box-shadow : none !important ;
538- border : none !important ;
539- margin : 0 !important ;
540- padding : 0.5rem 0 !important ;
541- background : transparent !important ;
542- overflow : visible !important ;
543- }
544-
545- .navbar-sidebar .dropdown__link {
546- padding : 0.5rem 1rem 0.5rem 2rem !important ;
547- border-radius : 4px !important ;
548- margin : 2px 0 !important ;
549- font-size : 0.9rem !important ;
550- display : block !important ;
551- color : var (--ifm-font-color-base ) !important ;
552- }
553-
554- .navbar-sidebar .dropdown__link : hover {
555526 background-color : var (--ifm-color-emphasis-300 ) !important ;
556527 color : var (--ifm-color-primary ) !important ;
557528 }
@@ -864,6 +835,43 @@ html.theme-light .text-gray-900 {
864835 background-color : # ffffff !important ;
865836}
866837
838+ /* Ensure the specific block is forced light in light mode */
839+ html [data-theme = "light" ] .interview-prep-page .technical-outer {
840+ background-image : linear-gradient (135deg , # eff6ff 0% , # f8fafc 100% ) !important ;
841+ background-color : # ffffff !important ;
842+ -webkit-backdrop-filter : none !important ;
843+ backdrop-filter : none !important ;
844+ mix-blend-mode : normal !important ;
845+ isolation : isolate !important ;
846+ z-index : 10 !important ;
847+ }
848+
849+ /* Companies tab: use white gradients in light mode and remove overlays */
850+ [data-theme = "light" ] .company-outer {
851+ background-image : linear-gradient (135deg , # ffffff 0% , # f8fafc 100% ) !important ;
852+ background-color : # ffffff !important ;
853+ color : # 0f172a !important ;
854+ isolation : isolate !important ;
855+ -webkit-backdrop-filter : none !important ;
856+ backdrop-filter : none !important ;
857+ mix-blend-mode : normal !important ;
858+ }
859+
860+ /* hide the subtle pattern overlay added inside the component */
861+ [data-theme = "light" ] .company-outer > .absolute .inset-0 ,
862+ [data-theme = "light" ] .company-outer .absolute .inset-0 .opacity-5 {
863+ display : none !important ;
864+ background : none !important ;
865+ opacity : 1 !important ;
866+ }
867+
868+ /* ensure badges & inner panels render normally */
869+ [data-theme = "light" ] .company-outer ,
870+ [data-theme = "light" ] .company-outer * {
871+ mix-blend-mode : normal !important ;
872+ background-blend-mode : normal !important ;
873+ }
874+
867875/*==== SECTION 13 Modern Blog Enhancements ======*/
868876.modern-gradient-bg {
869877 background : linear-gradient (135deg , # 667eea 0% , # 764ba2 100% );
@@ -1575,3 +1583,87 @@ a {
15751583[data-theme = 'dark' ] .rounded .dark\:bg-gray-700 {
15761584 background-color : # 374151 !important ; /* gray-700 */
15771585}
1586+
1587+ /* difficulty badge overrides — ensure readable in light mode and lift above overlays */
1588+ .interview-prep-page .difficulty-badge {
1589+ z-index : 50 ;
1590+ background-clip : padding-box;
1591+ box-shadow : 0 1px 2px rgba (0 , 0 , 0 , 0.04 );
1592+ }
1593+
1594+ /* Light mode: explicit background + text for each variant */
1595+ [data-theme = "light" ] .interview-prep-page .difficulty-badge .bg-green-200 {
1596+ background-color : # DCFCE7 !important ; /* green-200 -> higher contrast */
1597+ color : # 14532D !important ;
1598+ }
1599+ [data-theme = "light" ] .interview-prep-page .difficulty-badge .bg-yellow-200 {
1600+ background-color : # FEF3C7 !important ; /* yellow-200 */
1601+ color : # 78350F !important ;
1602+ }
1603+ [data-theme = "light" ] .interview-prep-page .difficulty-badge .bg-red-200 {
1604+ background-color : # FEE2E2 !important ; /* red-200 */
1605+ color : # 7F1D1D !important ;
1606+ }
1607+
1608+ /* Keep all duration badges grey in light mode */
1609+ [data-theme = "light" ] .interview-prep-page .duration-badge {
1610+ background-color : # f3f4f6 !important ; /* gray-100 */
1611+ color : # 1f2937 !important ; /* gray-800 */
1612+ z-index : 50 ;
1613+ }
1614+
1615+ /* Force removal of that Tailwind gradient in light mode */
1616+ html [data-theme = "light" ] .bg-gradient-to-r .from-blue-50 .to-purple-50 {
1617+ background-image : none !important ;
1618+ background-color : # ffffff !important ;
1619+ }
1620+
1621+ /* Companies: force white/near-white surface in light mode for .company-outer */
1622+ html [data-theme = "light" ] .company-outer {
1623+ background-image : linear-gradient (135deg , # ffffff 0% , # f8fafc 100% ) !important ;
1624+ background-color : # ffffff !important ;
1625+ -webkit-backdrop-filter : none !important ;
1626+ backdrop-filter : none !important ;
1627+ mix-blend-mode : normal !important ;
1628+ }
1629+ html [data-theme = "light" ] .company-outer ::before ,
1630+ html [data-theme = "light" ] .company-outer ::after {
1631+ display : none !important ;
1632+ background : none !important ;
1633+ content : none !important ;
1634+ }
1635+
1636+ /* Strong, final overrides for pill buttons and community button text in light mode */
1637+ html [data-theme = "light" ] .pill-badge ,
1638+ html [data-theme = "light" ] .company-outer .pill-badge ,
1639+ html [data-theme = "light" ] [data-slot = "card-header" ] .pill-badge ,
1640+ html [data-theme = "light" ] .company-border .pill-badge ,
1641+ html [data-theme = "light" ] .pill-badge [class *= "bg-" ],
1642+ html [data-theme = "light" ] span .bg-gray-100 .pill-badge {
1643+ background-color : # f3f4f6 !important ; /* gray-100 visible in light mode */
1644+ color : # 1f2937 !important ; /* dark text */
1645+ mix-blend-mode : normal !important ;
1646+ background-clip : padding-box !important ;
1647+ z-index : 9999 !important ;
1648+ opacity : 1 !important ;
1649+ }
1650+
1651+ /* Force link text inside gradient buttons to be white */
1652+ html [data-theme = "light" ] .company-tab-link ,
1653+ html [data-theme = "light" ] .company-tab-community-link ,
1654+ html [data-theme = "light" ] .company-border a ,
1655+ html [data-theme = "light" ] button [class *= "company-tab-link" ],
1656+ html [data-theme = "light" ] a .company-tab-link {
1657+ color : # ffffff !important ;
1658+ text-decoration : none !important ;
1659+ }
1660+
1661+ /* If any Tailwind gradient utility still applies, remove it for these containers in light mode */
1662+ html [data-theme = "light" ] .company-outer .bg-gradient-to-br ,
1663+ html [data-theme = "light" ] [data-slot = "card-header" ].bg-gradient-to-br {
1664+ background-image : linear-gradient (135deg , # ffffff 0% , # f8fafc 100% ) !important ;
1665+ background-color : # ffffff !important ;
1666+ -webkit-backdrop-filter : none !important ;
1667+ backdrop-filter : none !important ;
1668+ mix-blend-mode : normal !important ;
1669+ }
0 commit comments