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
+ @import url (" https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600;700&display=swap" );
9
9
10
10
@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 ;
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 ;
16
16
}
17
17
18
18
: root {
19
- --ifm-font-family-base : ' IBM Plex Mono' , sans-serif; /* Set the default font to IBM Plex Sans */
19
+ --ifm-font-family-base : " IBM Plex Mono" , sans-serif; /* Set the default font to IBM Plex Sans */
20
20
--ifm-color-primary : # 000 ;
21
21
--ifm-color-primary-dark : # 000033 ;
22
22
--ifm-color-primary-darkest : # 0048f8 ;
29
29
/* NEw COLORS */
30
30
--background-color : # fff ;
31
31
--text-color : # 202020 ;
32
- --link-active : # 9E6C00 ;
32
+ --link-active : # 9e6c00 ;
33
33
--neutral-6 : # d9d9d9 ;
34
-
34
+ --neutral-7 : # cecece ;
35
+ --neutral-11 : # 646464 ;
36
+
35
37
--ifm-navbar-background-color : var (--background-color );
36
38
--ifm-navbar-link-color : var (--text-color );
37
39
--ifm-navbar-link-hover-color : var (--link-active );
38
40
39
41
--ifm-menu-color : var (--text-color );
40
42
--sidebar-menu-item_border : # d9d9d9 ;
41
-
43
+
42
44
--ifm-color-primary-darker : var (--link-active );
43
45
44
46
--ifm-footer-link-color : var (--text-color );
49
51
--ifm-pagination-nav-color-hover : var (--link-active );
50
52
--ifm-font-weight-base : var (--ifm-font-weight-light );
51
53
--ifm-heading-color : var (--text-color );
54
+ --docsearch-searchbox-focus-background : var (--background-color ) !important ;
55
+ --docsearch-modal-background : var (--background-color ) !important ;
56
+ --docsearch-hit-background : var (--neutral-6 ) !important ;
57
+ --docsearch-hit-active-color : var (--link-active ) !important ;
58
+ --docsearch-highlight-color : var (--text-color ) !important ;
59
+ --docsearch-text-color : var (--text-color ) !important ;
60
+ --docsearch-hit-color : var (--text-color ) !important ;
61
+ --docsearch-muted-color : var (--text-color ) !important ;
62
+
63
+ --ifm-link-color : var (--text-color );
64
+ --ifm-color-content-secondary : var (--text-color ) !important ;
65
+ --docsearch-primary-color : var (--text-color ) !important ;
52
66
}
53
67
54
68
/* For readability concerns, you should choose a lighter palette in dark mode. */
55
- [data-theme = ' dark' ] {
69
+ [data-theme = " dark" ] {
56
70
--ifm-color-primary : # fff ;
57
71
--ifm-color-primary-dark : # 98beff ;
58
72
--ifm-color-primary-darkest : # 0048f8 ;
63
77
--docusaurus-highlighted-code-line-bg : rgba (0 , 0 , 0 , 0.3 );
64
78
}
65
79
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
- }
80
+ @import url ("./navbar.css" );
81
+ @import url ("./sidebar.css" );
82
+ @import url ("./tags.css" );
83
+ @import url ("./pagination-nav.css" );
84
+ @import url ("./breadcrumbs.css" );
85
+ @import url ("./typography.css" );
86
+ @import url ("./toc.css" );
78
87
79
88
.main-wrapper a ,
80
89
.main-wrapper span ,
92
101
z-index : -1 ;
93
102
}
94
103
95
- html [data-theme = ' dark' ] {
104
+ html [data-theme = " dark" ] {
96
105
background : var (--background-color );
97
106
color : var (--text-color );
98
107
}
99
108
100
- [data-theme = ' dark' ] .footer {
109
+ [data-theme = " dark" ] .footer {
101
110
background : transparent;
102
111
border-top : 1px solid var (--neutral-6 );
103
112
}
104
113
114
+ div [class *= "docRoot_node_modules-@docusaurus-theme-classic-lib-theme-DocRoot-Layout-styles-module" ] {
115
+ max-width : 1440px ;
116
+ margin : 0 auto;
117
+ width : 100% ;
118
+ }
119
+
105
120
.alert {
106
121
background : transparent;
107
122
border : 1px solid var (--sidebar-menu-item_border );
@@ -135,10 +150,6 @@ div[class*=" searchLogoColumn"],
135
150
display : none;
136
151
}
137
152
138
- div [class *= "docItemContainer" ] {
139
- padding : 20px ;
140
- }
141
-
142
153
@media (min-width : 996px ) {
143
154
.footer .container {
144
155
padding : 0 ;
@@ -156,8 +167,8 @@ div[class*="docItemContainer"] {
156
167
157
168
@media (max-width : 996px ) {
158
169
.footer__col {
159
- margin-bottom : 0 ;
160
- flex-basis : 0 ;
170
+ margin-bottom : 0 ;
171
+ flex-basis : 0 ;
161
172
}
162
173
163
174
.footer__links {
@@ -166,11 +177,9 @@ div[class*="docItemContainer"] {
166
177
padding-left : 4rem ;
167
178
}
168
179
169
-
170
180
.footer__title {
171
181
display : none;
172
182
}
173
-
174
183
}
175
184
176
185
/* Main wrapper */
@@ -207,8 +216,7 @@ main > .container > .row {
207
216
.DocSearch-Button : hover svg {
208
217
opacity : 1 ;
209
218
}
210
- §
211
- .DocSearch-Container > .DocSearch-Modal ,
219
+ § .DocSearch-Container > .DocSearch-Modal ,
212
220
.DocSearch-Modal .DocSearch-Form {
213
221
box-shadow : none;
214
222
border : 1px solid var (--ifm-toc-border-color );
@@ -269,9 +277,7 @@ article h1,
269
277
border-left-style : dashed;
270
278
}
271
279
272
- .markdown img
273
-
274
- .table-of-contents li a : hover {
280
+ .markdown img .table-of-contents li a : hover {
275
281
text-decoration : underline;
276
282
}
277
283
@@ -293,8 +299,7 @@ article h1,
293
299
text-transform : capitalize;
294
300
}
295
301
296
-
297
- .youtube-player iframe {
302
+ .youtube-player iframe {
298
303
width : 100% ;
299
304
aspect-ratio : 16 / 9 ;
300
305
}
@@ -305,4 +310,4 @@ article h1,
305
310
306
311
aside .theme-doc-sidebar-container {
307
312
border-right : none;
308
- }
313
+ }
0 commit comments