1
1
2
2
: root {
3
- --ifm-font-family-base : 'Arial' , 'Helvetica' , sans-serif;
4
- --ifm-font-family-monospace : 'Roboto Mono' , monospace; /* For monospace font if needed */
5
- --border : 1px solid # d9d6d6 ;
6
- --selected-border : 1px solid var (--ifm-color-primary );
7
- --ifm-code-font-size : 95% ; /* Adjusted code font size */
8
- --graytext : # 95a1ac ;
9
- --secondary-400 : # ee8b60 ;
10
- --gray500 : # 7c8791 ;
11
- --primary : # 4b39ef ;
12
- --dark-600 : # 1a1f24 ;
13
- --medium-blue : # 3124a1 ;
14
- --dark_600 : # 262d34 ;
15
- --dark_800 : # 14181b ;
16
- --tertiary : # 39d2c0 ;
17
- --light_alternate : # dee2ed ;
18
- --white : white;
19
- --black-700 : # 1d2429 ;
20
- --black-900 : # 090f13 ;
21
- --tertiary600 : # 249689 ;
22
- --light-background : # f8faff ;
23
- --primary-30 : rgba (75 , 57 , 239 , .3 );
24
- --line : # 323b45 ;
25
- --primary200 : # 9489f5 ;
26
- --gradient-1 : # ffb6f5 ;
27
- --error : # e65454 ;
28
- --gradient-2 : # ffedc4 ;
29
- --tertiary-600 : # c3724c ;
30
- --size : 8px ;
31
- --size-2 : 12px ;
32
- }
33
-
34
- html [data-theme = 'light' ] {
35
- --primary-text : var (--black-900 );
36
- --ifm-color-primary : # 4B39EF ; /* Primary brand color */
37
- --ifm-color-primary-dark : # 3B2FBF ; /* Darker shade for hover states */
38
- --ifm-color-primary-darker : # 2D25A1 ; /* Even darker shade for active states */
39
- --ifm-color-primary-darkest : # 1E1A82 ; /* Darkest shade used for accents */
40
- --ifm-color-primary-light : # 5C51FF ; /* Lighter primary shade */
41
- --ifm-color-primary-lighter : # 8A82FF ; /* Even lighter shade for backgrounds */
42
- --ifm-color-primary-lightest : # B7B2FF ; /* Lightest primary shade */ --docusaurus-highlighted-code-line-bg : rgba (0 , 0 , 0 , 0.1 ); /* Line highlighting in code */
43
-
3
+ /*
4
+ See css var + hsl color palette technique:
5
+ https://blog.maximeheckel.com/posts/the-power-of-composition-with-css-variables/
6
+ */
7
+ --site-primary-hue-saturation : 167 68% ;
8
+ --site-color-feedback-background : # f0f8ff ;
9
+ --docusaurus-highlighted-code-line-bg : rgb (0 0 0 / 10% );
10
+ /* Use a darker color to ensure contrast, ideally we don't need important */
11
+ --ifm-breadcrumb-color-active : var (--ifm-color-primary-darker ) !important ;
12
+ --ifm-menu-color-active : var (--ifm-color-primary-darker ) !important ;
44
13
}
45
14
46
15
html [data-theme = 'dark' ] {
16
+ --site-color-feedback-background : # 2a2929 ;
17
+ --docusaurus-highlighted-code-line-bg : rgb (66 66 66 / 35% );
18
+ }
19
+
20
+ [data-theme = 'light' ] {
21
+ --ifm-color-primary : # 4b39ef ; /* Primary brand color */
22
+ --ifm-color-primary-dark : # 3d2fbd ; /* Darker shade for hover states */
23
+ --ifm-color-primary-darker : # 372aae ; /* Even darker shade for active states */
24
+ --ifm-color-primary-darkest : # 211778 ; /* Darkest shade used for accents */
25
+ --ifm-color-primary-light : # 4737dc ; /* Lighter primary shade (Adjusted) */
26
+ --ifm-color-primary-lighter : # 6050f6 ; /* Even lighter shade for backgrounds (Adjusted) */
27
+ --ifm-color-primary-lightest : # 6c5cfa ; /* Lightest primary shade (Adjusted) */
28
+ --docusaurus-highlighted-code-line-bg : rgba (0 , 0 , 0 , 0.1 ); /* Line highlighting in code */
29
+ }
30
+
31
+ [data-theme = 'dark' ] {
47
32
--primary-text : var (--white );
48
- --ifm-color-primary : # 786aff ; /* Primary brand color, lighter purple for visibility on dark backgrounds */
49
- --ifm-color-primary-dark : # 6255c8 ; /* Dark shade for hover states, toned down for dark mode */
50
- --ifm-color-primary-darker : # 5042a3 ; /* Even darker shade for active states, balanced for contrast */
51
- --ifm-color-primary-darkest : # 3d3180 ; /* Darkest shade used for accents, dark yet visible */
52
- --ifm-color-primary-light : # 8e7eff ; /* Lighter primary shade, appears vibrant against dark surfaces */
53
- --ifm-color-primary-lighter : # a295ff ; /* Even lighter shade for backgrounds, soft and subtle */
54
- --ifm-color-primary-lightest : # b6adff ; /* Lightest primary shade, nearly pastel against dark modes */
33
+ --ifm-color-primary : # 39d2c0 ; /* Primary brand color, lighter purple for visibility on dark backgrounds */
34
+ --ifm-color-primary-dark : # 2cb5a5 ; /* Dark shade for hover states, toned down for dark mode */
35
+ --ifm-color-primary-darker : # 24a697 ; /* Even darker shade for active states, balanced for contrast */
36
+ --ifm-color-primary-darkest : # 1b9c8d ; /* Darkest shade used for accents, dark yet visible */
37
+ --ifm-color-primary-light : # 67f6e5 ; /* Lighter primary shade, appears vibrant against dark surfaces (Adjusted) */
38
+ --ifm-color-primary-lighter : # 7bfaeb ; /* Even lighter shade for backgrounds, soft and subtle (Adjusted) */
39
+ --ifm-color-primary-lightest : # 8afbee ; /* Lightest primary shade, nearly pastel against dark modes (Adjusted) */
55
40
--ifm-code-font-size : 95% ; /* Maintained font size for readability */
56
41
--docusaurus-highlighted-code-line-bg : rgba (255 , 255 , 255 , 0.1 ); /* Lighter line highlighting in code for dark mode */
57
- h1 , h2 , h3 , h4 , h5 , h6 , p {
58
- color : # ffffff ; /* Set the text color for headings and body text */
59
- }
60
- ul , ol {
61
- color : # ffffff ; /* Set the text color for lists */
62
- }
63
42
64
43
}
65
-
66
-
67
-
68
44
.small-image {
69
45
width : 400px ;
70
46
height : auto;
@@ -75,69 +51,116 @@ html[data-theme='dark'] {
75
51
height : auto;
76
52
}
77
53
78
- body {
79
- color : # 333 ;
80
- font-size : 16px ;
81
- font-weight : 200 ;
82
- line-height : 20px ;
83
- }
84
-
85
- h1 {
86
- margin-top : 20px ;
87
- margin-bottom : 10px ;
88
- font-size : 38px ;
89
- font-weight : 700 ;
90
- line-height : 44px ;
91
- color : var (--primary-text );
92
- font-family : Product Sans, sans-serif;
93
54
55
+ .footer--dark {
56
+ --ifm-footer-background-color : # 2b3137 ;
94
57
}
95
58
96
- h2 {
97
- margin-top : 20px ;
98
- font-size : 26px ;
99
- font-family : Product Sans, sans-serif;
100
-
59
+ .unique-tabs .tabs__item {
60
+ line-height : 16px ;
61
+ margin-right : 8px ;
101
62
}
102
63
103
- h3 {
104
- color : var (--black-700 );
105
- font-size : 22px ;
106
- font-weight : 700 ;
107
- font-family : Product Sans, sans-serif;
108
-
109
-
64
+ .unique-tabs .tabs__item--active {
65
+ border : 0 ;
66
+ color : # fff ;
67
+ border-radius : var (--ifm-global-radius );
68
+ background-color : var (--ifm-tabs-color-active );
110
69
}
111
70
112
- h4 {
113
- color : var (--black-700 );
114
- font-size : 20px ;
115
- font-weight : 600 ;
116
- font-family : Product Sans, sans-serif;
117
-
71
+ [data-theme = 'light' ] .themedDocusaurus [fill = '#FFFF50' ] {
72
+ fill : rebeccapurple;
118
73
}
119
74
120
- h5 {
121
- color : var (--black-700 );
122
- font-size : 18px ;
123
- font-weight : 600 ;
124
- font-family : Product Sans, sans-serif;
125
-
75
+ [data-theme = 'dark' ] .themedDocusaurus [fill = '#FFFF50' ] {
76
+ fill : rebeccapurple;
126
77
}
127
78
79
+ [data-theme = 'light' ] .DocSearch {
80
+ /* --docsearch-primary-color: var(--ifm-color-primary); */
81
+ /* --docsearch-text-color: var(--ifm-font-color-base); */
82
+ --docsearch-muted-color : var (--ifm-color-emphasis-700 );
83
+ --docsearch-container-background : rgb (94 100 112 / 70% );
84
+ /* Modal */
85
+ --docsearch-modal-background : var (--ifm-color-secondary-lighter );
86
+ /* Search box */
87
+ --docsearch-searchbox-background : var (--ifm-color-secondary );
88
+ --docsearch-searchbox-focus-background : var (--ifm-color-white );
89
+ /* Hit */
90
+ --docsearch-hit-color : var (--ifm-font-color-base );
91
+ --docsearch-hit-active-color : var (--ifm-color-white );
92
+ --docsearch-hit-background : var (--ifm-color-white );
93
+ /* Footer */
94
+ --docsearch-footer-background : var (--ifm-color-white );
95
+ }
128
96
97
+ [data-theme = 'dark' ] .DocSearch {
98
+ --docsearch-text-color : var (--ifm-font-color-base );
99
+ --docsearch-muted-color : var (--ifm-color-secondary-darkest );
100
+ --docsearch-container-background : rgb (47 55 69 / 70% );
101
+ /* Modal */
102
+ --docsearch-modal-background : var (--ifm-background-color );
103
+ /* Search box */
104
+ --docsearch-searchbox-background : var (--ifm-background-color );
105
+ --docsearch-searchbox-focus-background : var (--ifm-color-black );
106
+ /* Hit */
107
+ --docsearch-hit-color : var (--ifm-font-color-base );
108
+ --docsearch-hit-active-color : var (--ifm-color-white );
109
+ --docsearch-hit-background : var (--ifm-color-emphasis-100 );
110
+ /* Footer */
111
+ --docsearch-footer-background : var (--ifm-background-surface-color );
112
+ --docsearch-key-gradient : linear-gradient (
113
+ -26.5deg ,
114
+ var (--ifm-color-emphasis-200 ) 0% ,
115
+ var (--ifm-color-emphasis-100 ) 100%
116
+ );
117
+ }
129
118
119
+ div [class ^= 'announcementBar_' ] {
120
+ font-size : 20px ;
130
121
131
- .centered-caption {
132
- text-align : center;
133
- font-size : 12px ; /* Set the font size to 16px */
122
+ /*
123
+ --site-announcement-bar-stripe-color1: hsl(
124
+ var(--site-primary-hue-saturation) 85%
125
+ );
126
+ --site-announcement-bar-stripe-color2: hsl(
127
+ var(--site-primary-hue-saturation) 95%
128
+ );
129
+ */
130
+ --site-announcement-bar-stripe-color1 : # e8d7ff ;
131
+ --site-announcement-bar-stripe-color2 : # ffe9d1 ;
132
+
133
+ background : repeating-linear-gradient (
134
+ 35deg ,
135
+ var (--site-announcement-bar-stripe-color1 ),
136
+ var (--site-announcement-bar-stripe-color1 ) 20px ,
137
+ var (--site-announcement-bar-stripe-color2 ) 10px ,
138
+ var (--site-announcement-bar-stripe-color2 ) 40px
139
+ );
140
+ font-weight : bold;
141
+ }
142
+
143
+ .screen-reader-only {
144
+ border : 0 ;
145
+ clip : rect (0 0 0 0 );
146
+ clip-path : polygon (0 0 , 0 0 , 0 0 );
147
+ height : 1px ;
148
+ margin : -1px ;
149
+ overflow : hidden;
150
+ padding : 0 ;
151
+ position : absolute;
152
+ width : 1px ;
153
+ white-space : nowrap;
134
154
}
135
- div .alert {
136
- margin-bottom : 24px ;
155
+
156
+ [data-theme = 'light' ] img [src $= '#gh-dark-mode-only' ],
157
+ [data-theme = 'dark' ] img [src $= '#gh-light-mode-only' ] {
158
+ display : none;
137
159
}
138
160
139
- .arcade-container {
140
- margin-bottom : 24px ;
161
+ /* Used to test CSS insertion order */
162
+ .test-marker-site-custom-css-unique-rule {
163
+ content : 'site-custom-css-unique-rule' ;
141
164
}
142
165
143
166
.video-container {
@@ -153,15 +176,45 @@ margin-bottom: 24px;
153
176
top : 0 ;
154
177
left : 0 ;
155
178
width : 100% ;
156
- height : 100% ;
179
+ max-width : 560px ;
180
+ margin : 0 auto;
181
+ }
182
+
183
+ .yt-lite > .lty-playbtn {
184
+ cursor : pointer;
185
+ border : 0 ;
186
+ }
187
+
188
+ .dropdown-separator {
189
+ margin : 0.3rem 0 ;
157
190
}
158
191
159
- /* table {
160
- max-height: 20px;
161
- } */
192
+ .dropdown-archived-versions {
193
+ font-size : 0.875rem ;
194
+ padding : 0.2rem 0.5rem ;
195
+ }
162
196
197
+ .code-block-error-line {
198
+ background-color : # ff000020 ;
199
+ display : block;
200
+ margin : 0 calc (-1 * var (--ifm-pre-padding ));
201
+ padding : 0 var (--ifm-pre-padding );
202
+ border-left : 3px solid # ff000080 ;
203
+ }
163
204
164
205
.landscape-image {
165
206
width : auto;
166
207
height : 400px ;
167
208
}
209
+
210
+ [data-theme = 'dark' ] [data-rmiz-modal-overlay = 'visible' ] {
211
+ background-color : rgba (0 0 0 / 95% );
212
+ }
213
+
214
+ html [data-navbar = 'false' ] .navbar {
215
+ display : none;
216
+ }
217
+
218
+ html [data-red-border ] div # __docusaurus {
219
+ border : red solid thick;
220
+ }
0 commit comments