@@ -263,6 +263,43 @@ body {
263263 color : var (--abstract-text-color );
264264}
265265
266+ /* Enhanced styling for bold text in dark mode - making it more visible */
267+ [data-theme = "dark" ] strong ,
268+ [data-theme = "dark" ] b {
269+ color : # 78b9ff !important ; /* Lighter, more vibrant blue */
270+ font-weight : 600 ;
271+ background-color : rgba (50 , 115 , 220 , 0.15 ); /* Subtle highlight background */
272+ padding : 0 4px ;
273+ border-radius : 3px ;
274+ display : inline-block; /* Ensure proper display */
275+ text-shadow : 0 0 1px rgba (120 , 185 , 255 , 0.3 ); /* Add slight text shadow for better visibility */
276+ position : relative; /* For z-index positioning */
277+ z-index : 2 ; /* Ensure text appears above backgrounds */
278+ }
279+
280+ /* Special styling for bold text in specific contexts */
281+ [data-theme = "dark" ] td strong ,
282+ [data-theme = "dark" ] th strong ,
283+ [data-theme = "dark" ] li strong ,
284+ [data-theme = "dark" ] h1 strong ,
285+ [data-theme = "dark" ] h2 strong ,
286+ [data-theme = "dark" ] h3 strong ,
287+ [data-theme = "dark" ] h4 strong ,
288+ [data-theme = "dark" ] h5 strong ,
289+ [data-theme = "dark" ] h6 strong ,
290+ [data-theme = "dark" ] .tldr-box strong ,
291+ [data-theme = "dark" ] p strong ,
292+ [data-theme = "dark" ] .abstract-text strong {
293+ color : # 78b9ff !important ;
294+ background-color : rgba (50 , 115 , 220 , 0.15 );
295+ padding : 0 4px ;
296+ border-radius : 3px ;
297+ display : inline-block;
298+ position : relative;
299+ z-index : 2 ;
300+ text-shadow : 0 0 1px rgba (120 , 185 , 255 , 0.3 );
301+ }
302+
266303/* Override for card text gradient */
267304[data-theme = "dark" ] .expandable-card : not (.expanded ) .card-text-container : after {
268305 background : var (--expand-gradient ) !important ;
@@ -309,4 +346,55 @@ figcaption {
309346.theme-toggle i {
310347 font-size : 20px ;
311348 color : var (--text-color );
349+ }
350+
351+ /* Enhanced aesthetics for dark mode elements */
352+ [data-theme = "dark" ] .section {
353+ background-color : # 1a1a1a !important ; /* Slightly darker for better contrast */
354+ border : 1px solid rgba (255 , 255 , 255 , 0.08 ) !important ; /* Subtler border */
355+ box-shadow : 0 8px 24px rgba (0 , 0 , 0 , 0.2 ), 0 2px 8px rgba (0 , 0 , 0 , 0.1 ) !important ; /* Enhanced shadow */
356+ transition : transform 0.3s ease, box-shadow 0.3s ease !important ;
357+ }
358+
359+ [data-theme = "dark" ] .section : hover {
360+ transform : translateY (-2px );
361+ box-shadow : 0 12px 30px rgba (0 , 0 , 0 , 0.25 ), 0 4px 10px rgba (0 , 0 , 0 , 0.15 ) !important ;
362+ }
363+
364+ /* Make titles more vibrant in dark mode */
365+ [data-theme = "dark" ] h2 .title {
366+ background : linear-gradient (90deg , # 4e8cff, # 7a97ff );
367+ -webkit-background-clip : text;
368+ -webkit-text-fill-color : transparent;
369+ font-weight : 600 !important ;
370+ letter-spacing : -0.02em ;
371+ text-shadow : 0 2px 10px rgba (78 , 140 , 255 , 0.2 );
372+ }
373+
374+ /* Add subtle animation to buttons in dark mode */
375+ [data-theme = "dark" ] .external-link .button {
376+ transition : all 0.3s ease !important ;
377+ border : 1px solid rgba (255 , 255 , 255 , 0.08 ) !important ;
378+ }
379+
380+ [data-theme = "dark" ] .external-link .button : hover {
381+ transform : translateY (-3px ) !important ;
382+ box-shadow : 0 7px 14px rgba (0 , 0 , 0 , 0.25 ), 0 5px 5px rgba (0 , 0 , 0 , 0.22 ) !important ;
383+ background : linear-gradient (135deg , # 2b2b2b, # 383838 ) !important ;
384+ }
385+
386+ /* Improve figures in dark mode */
387+ [data-theme = "dark" ] figure {
388+ border : 1px solid rgba (255 , 255 , 255 , 0.08 );
389+ transition : transform 0.3s ease, box-shadow 0.3s ease;
390+ }
391+
392+ [data-theme = "dark" ] figure : hover {
393+ transform : translateY (-3px );
394+ box-shadow : 0 10px 20px rgba (0 , 0 , 0 , 0.25 );
395+ }
396+
397+ /* Smoother dark mode background */
398+ [data-theme = "dark" ] body {
399+ background : linear-gradient (135deg , # 121212, # 1a1a1a ) !important ;
312400}
0 commit comments