5
5
*/
6
6
7
7
/* You can override the default Infima variables here. */
8
- @import url ('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600;700&display=swap' );
8
+ @font-face {
9
+ font-family : "IBMPlexMono" ;
10
+ src : url ("/fonts/IBMPlexMono-Light.woff2" ) format ("woff2" );
11
+ font-weight : 300 ;
12
+ font-style : normal;
13
+ font-display : swap;
14
+ }
15
+
16
+ @font-face {
17
+ font-family : "IBMPlexMono" ;
18
+ src : url ("/fonts/IBMPlexMono-Regular.woff2" ) format ("woff2" );
19
+ font-weight : 400 ;
20
+ font-style : normal;
21
+ font-display : swap;
22
+ }
9
23
10
24
@font-face {
11
- font-family : 'Atyp' ;
12
- src : url ('/fonts/AtypDisplay-Regular.woff2' ) format ('woff2' ) font-weight 400 ;
13
- src : url ('/fonts/AtypDisplay-Medium.woff2' ) format ('woff2' ) font-weight 500 ;
14
- src : url ('/fonts/AtypDisplay-Semibold.woff2' ) format ('woff2' ) font-weight 600 ;
15
- src : url ('/fonts/AtypDisplay-Bold.woff2' ) format ('woff2' ) font-weight 700 ;
25
+ font-family : "IBMPlexMono" ;
26
+ src : url ("/fonts/IBMPlexMono-Medium.woff2" ) format ("woff2" );
27
+ font-weight : 500 ;
28
+ font-style : normal;
29
+ font-display : swap;
30
+ }
31
+
32
+ @font-face {
33
+ font-family : "IBMPlexMono" ;
34
+ src : url ("/fonts/IBMPlexMono-SemiBold.woff2" ) format ("woff2" );
35
+ font-weight : 600 ;
36
+ font-style : normal;
37
+ font-display : swap;
38
+ }
39
+
40
+ @font-face {
41
+ font-family : "IBMPlexMono" ;
42
+ src : url ("/fonts/IBMPlexMono-Bold.woff2" ) format ("woff2" );
43
+ font-weight : 700 ;
44
+ font-style : normal;
45
+ font-display : swap;
46
+ }
47
+
48
+ @font-face {
49
+ font-family : "Atyp" ;
50
+ src : url ("/fonts/AtypDisplay-Regular.woff2" ) format ("woff2" ) font-weight 400 ;
51
+ src : url ("/fonts/AtypDisplay-Medium.woff2" ) format ("woff2" ) font-weight 500 ;
52
+ src : url ("/fonts/AtypDisplay-Semibold.woff2" ) format ("woff2" ) font-weight 600 ;
53
+ src : url ("/fonts/AtypDisplay-Bold.woff2" ) format ("woff2" ) font-weight 700 ;
16
54
}
17
55
18
56
: root {
19
- --ifm-font-family-base : 'IBM Plex Mono' , sans-serif; /* Set the default font to IBM Plex Sans */
57
+ --ifm-font-family-base : "IBMPlexMono" , serif , sans-serif; /* Set the default font to IBM Plex Sans */
20
58
--ifm-color-primary : # 000 ;
21
59
--ifm-color-primary-dark : # 000033 ;
22
60
--ifm-color-primary-darkest : # 0048f8 ;
29
67
/* NEw COLORS */
30
68
--background-color : # fff ;
31
69
--text-color : # 202020 ;
32
- --link-active : # 9E6C00 ;
70
+ --link-active : # 9e6c00 ;
71
+ --neutral-3 : # f0f0f0 ;
33
72
--neutral-6 : # d9d9d9 ;
34
-
73
+ --neutral-7 : # cecece ;
74
+ --neutral-11 : # 646464 ;
75
+
35
76
--ifm-navbar-background-color : var (--background-color );
36
77
--ifm-navbar-link-color : var (--text-color );
37
78
--ifm-navbar-link-hover-color : var (--link-active );
38
79
39
80
--ifm-menu-color : var (--text-color );
40
81
--sidebar-menu-item_border : # d9d9d9 ;
41
-
82
+
42
83
--ifm-color-primary-darker : var (--link-active );
43
84
44
85
--ifm-footer-link-color : var (--text-color );
49
90
--ifm-pagination-nav-color-hover : var (--link-active );
50
91
--ifm-font-weight-base : var (--ifm-font-weight-light );
51
92
--ifm-heading-color : var (--text-color );
93
+ --docsearch-searchbox-focus-background : var (--background-color ) !important ;
94
+ --docsearch-modal-background : var (--background-color ) !important ;
95
+ --docsearch-hit-background : var (--neutral-6 ) !important ;
96
+ --docsearch-hit-active-color : var (--link-active ) !important ;
97
+ --docsearch-highlight-color : var (--text-color ) !important ;
98
+ --docsearch-text-color : var (--text-color ) !important ;
99
+ --docsearch-hit-color : var (--text-color ) !important ;
100
+ --docsearch-muted-color : var (--text-color ) !important ;
101
+
102
+ --ifm-link-color : var (--text-color );
103
+ --ifm-color-content-secondary : var (--text-color ) !important ;
104
+ --docsearch-primary-color : var (--text-color ) !important ;
52
105
}
53
106
54
107
/* For readability concerns, you should choose a lighter palette in dark mode. */
55
- [data-theme = ' dark' ] {
108
+ [data-theme = " dark" ] {
56
109
--ifm-color-primary : # fff ;
57
110
--ifm-color-primary-dark : # 98beff ;
58
111
--ifm-color-primary-darkest : # 0048f8 ;
63
116
--docusaurus-highlighted-code-line-bg : rgba (0 , 0 , 0 , 0.3 );
64
117
}
65
118
66
- @import url ('./navbar.css' );
67
- @import url ('./sidebar.css' );
68
- @import url ('./tags.css' );
69
- @import url ('./pagination-nav.css' );
70
- @import url ('./breadcrumbs.css' );
71
- @import url ('./typography.css' );
72
- @import url ('./toc.css' );
73
-
74
- : root {
75
- --docsearch-modal-background : # 000 !important ;
76
- --custom-color-gray-blue : rgb (62 72 105 / 37.5% );
77
- }
119
+ @import url ("./navbar.css" );
120
+ @import url ("./sidebar.css" );
121
+ @import url ("./tags.css" );
122
+ @import url ("./pagination-nav.css" );
123
+ @import url ("./breadcrumbs.css" );
124
+ @import url ("./typography.css" );
125
+ @import url ("./toc.css" );
78
126
79
127
.main-wrapper a ,
80
128
.main-wrapper span ,
92
140
z-index : -1 ;
93
141
}
94
142
95
- html [data-theme = ' dark' ] {
143
+ html [data-theme = " dark" ] {
96
144
background : var (--background-color );
97
145
color : var (--text-color );
98
146
}
99
147
100
- [data-theme = ' dark' ] .footer {
148
+ [data-theme = " dark" ] .footer {
101
149
background : transparent;
102
150
border-top : 1px solid var (--neutral-6 );
103
151
}
104
152
153
+ div [class *= "docRoot_node_modules-@docusaurus-theme-classic-lib-theme-DocRoot-Layout-styles-module" ] {
154
+ max-width : 1440px ;
155
+ margin : 0 auto;
156
+ width : 100% ;
157
+ }
158
+
105
159
.alert {
106
160
background : transparent;
107
161
border : 1px solid var (--sidebar-menu-item_border );
@@ -135,10 +189,6 @@ div[class*=" searchLogoColumn"],
135
189
display : none;
136
190
}
137
191
138
- div [class *= "docItemContainer" ] {
139
- padding : 20px ;
140
- }
141
-
142
192
@media (min-width : 996px ) {
143
193
.footer .container {
144
194
padding : 0 ;
@@ -156,8 +206,8 @@ div[class*="docItemContainer"] {
156
206
157
207
@media (max-width : 996px ) {
158
208
.footer__col {
159
- margin-bottom : 0 ;
160
- flex-basis : 0 ;
209
+ margin-bottom : 0 ;
210
+ flex-basis : 0 ;
161
211
}
162
212
163
213
.footer__links {
@@ -166,11 +216,9 @@ div[class*="docItemContainer"] {
166
216
padding-left : 4rem ;
167
217
}
168
218
169
-
170
219
.footer__title {
171
220
display : none;
172
221
}
173
-
174
222
}
175
223
176
224
/* Main wrapper */
@@ -207,8 +255,7 @@ main > .container > .row {
207
255
.DocSearch-Button : hover svg {
208
256
opacity : 1 ;
209
257
}
210
- §
211
- .DocSearch-Container > .DocSearch-Modal ,
258
+ § .DocSearch-Container > .DocSearch-Modal ,
212
259
.DocSearch-Modal .DocSearch-Form {
213
260
box-shadow : none;
214
261
border : 1px solid var (--ifm-toc-border-color );
@@ -218,6 +265,10 @@ main > .container > .row {
218
265
font-size : 1em ;
219
266
}
220
267
268
+ .DocSearch-Hit [aria-selected = "true" ] a {
269
+ background : var (--neutral-3 ) !important ;
270
+ }
271
+
221
272
input [class ^= "searchQueryInput_" ] {
222
273
border : 1px solid var (--ifm-toc-border-color );
223
274
max-width : 480px ;
@@ -269,9 +320,7 @@ article h1,
269
320
border-left-style : dashed;
270
321
}
271
322
272
- .markdown img
273
-
274
- .table-of-contents li a : hover {
323
+ .markdown img .table-of-contents li a : hover {
275
324
text-decoration : underline;
276
325
}
277
326
@@ -293,8 +342,7 @@ article h1,
293
342
text-transform : capitalize;
294
343
}
295
344
296
-
297
- .youtube-player iframe {
345
+ .youtube-player iframe {
298
346
width : 100% ;
299
347
aspect-ratio : 16 / 9 ;
300
348
}
@@ -305,4 +353,4 @@ article h1,
305
353
306
354
aside .theme-doc-sidebar-container {
307
355
border-right : none;
308
- }
356
+ }
0 commit comments