@@ -31,39 +31,6 @@ body.index-background {
31
31
background-attachment : fixed;
32
32
}
33
33
34
- /* Base styles for the navigation */
35
- nav ul {
36
- list-style : none;
37
- padding : 0 ;
38
- }
39
-
40
- /* Top-level directory labels (1st level nested groups) */
41
- nav ul > li > details > summary .group-label .large {
42
- /* Targets the top-level directory labels only */
43
- font-size : 1em ;
44
- }
45
-
46
- /* Second-level directory labels (2nd level nested groups) */
47
- nav ul li ul li details summary .group-label .large {
48
- /* Targets nested directory labels */
49
- font-size : 0.9em ;
50
- font-weight : normal;
51
- }
52
-
53
- /* Style the text within the anchor tags (documents) */
54
- nav ul li a {
55
- font-size : 0.9em ;
56
- }
57
-
58
- /* Custom styles for index page background */
59
- body .index-background {
60
- background-image : url ('/src/assets/irlogo_background_studio.png' );
61
- background-size : cover;
62
- background-position : center;
63
- background-repeat : no-repeat;
64
- background-attachment : fixed;
65
- }
66
-
67
34
/* Styles for images inside Markdown content */
68
35
.sl-markdown-content img ,
69
36
.sl-markdown-content picture img ,
@@ -75,3 +42,17 @@ body.index-background {
75
42
margin : 1rem 0 ;
76
43
display : block;
77
44
}
45
+
46
+ /* Light mode overrides for index.mdx */
47
+ : root [data-theme = "light" ] {
48
+ /* Target specific elements by class */
49
+ .astro-jbfsktt5 ,
50
+ .astro-yjy4zhro {
51
+ color : # ffffff ; /* Set text color to white */
52
+ }
53
+
54
+ /* Target anchor text within the action button */
55
+ .astro-yjy4zhro a {
56
+ color : # ffffff ; /* Ensure link text is also white */
57
+ }
58
+ }
0 commit comments