9
9
10
10
/* You can override the default Infima variables here. */
11
11
: root {
12
- --ifm-color-link : # 289EF9 ;
12
+ --ifm-color-link : # 289ef9 ;
13
13
--ifm-color-primary : # 1eb1fc ;
14
14
--ifm-color-primary-dark : # 03a7fa ;
15
15
--ifm-color-primary-darker : # 039eed ;
21
21
--ifm-color-info : # 1eb1fc ;
22
22
--ifm-color-success : # 1eb1fc ;
23
23
--ifm-color-warning : # c94b4b ;
24
- --ifm-font-family-base : -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, 'Segoe UI' , Helvetica, Arial, sans-serif, 'Apple Color Emoji' , 'Segoe UI Emoji' , 'Segoe UI Symbol' ;
24
+ --ifm-font-family-base : -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
25
+ Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI" , Helvetica, Arial,
26
+ sans-serif, "Apple Color Emoji" , "Segoe UI Emoji" , "Segoe UI Symbol" ;
25
27
--ifm-background-color : # fff ;
26
28
--ifm-footer-background-color : # f9f9f9 ;
27
29
--ifm-hero-background-color : # f5f5f5 ;
28
- --ifm-navbar-background-color : rgba (255 , 255 , 255 , 0.95 );
30
+ --ifm-navbar-background-color : rgba (255 , 255 , 255 , 0.95 );
29
31
--ifm-h1-font-size : 3rem ;
30
32
--ifm-h1-font-size : 2rem ;
31
33
}
32
34
33
- html [data-theme = ' dark' ]: root {
34
- --ifm-color-link : # 289EF9 ;
35
+ html [data-theme = " dark" ]: root {
36
+ --ifm-color-link : # 289ef9 ;
35
37
--ifm-footer-background-color : # 111 ;
36
38
--ifm-html-background-color : # 242526 ;
37
39
--ifm-background-color : # 000000 ;
38
40
--ifm-hero-background-color : # 111111 ;
39
- --ifm-navbar-background-color : rgba (0 , 0 , 0 , 0.95 );
41
+ --ifm-navbar-background-color : rgba (0 , 0 , 0 , 0.95 );
40
42
}
41
43
42
44
@import "hero.css" ;
63
65
a ,
64
66
a : hover ,
65
67
.navbar .navbar__link : hover {
66
- text-decoration : underline;
67
68
color : var (--ifm-color-link );
68
69
}
69
70
@@ -109,12 +110,12 @@ a:hover,
109
110
110
111
.navbar__title {
111
112
font-size : 1.2rem ;
112
- margin-left : .2rem ;
113
+ margin-left : 0 .2rem ;
113
114
display : none;
114
115
}
115
116
116
- .navbar-sidebar__brand .navbar__title {
117
- display : inline;
117
+ .navbar-sidebar__brand .navbar__title {
118
+ display : inline;
118
119
}
119
120
120
121
@media screen and (min-width : 420px ) {
@@ -137,14 +138,14 @@ a:hover,
137
138
padding : 0 ;
138
139
height : 100% ;
139
140
font-size : 0.9rem ;
140
- background : # 1E1E1E ;
141
+ background : # 1e1e1e ;
141
142
overflow : hidden;
142
- border-radius : .5rem ;
143
+ border-radius : 0 .5rem ;
143
144
}
144
145
145
146
.home-main .code .code-heading {
146
- color : rgba (255 , 255 , 255 , 1 );
147
- background : # 191A1B ;
147
+ color : rgba (255 , 255 , 255 , 1 );
148
+ background : # 191a1b ;
148
149
margin : 0 ;
149
150
padding : 0.5rem 1rem ;
150
151
font-size : 1rem ;
171
172
border-color : # ddd ;
172
173
}
173
174
174
- html [data-theme = ' dark' ] hr {
175
+ html [data-theme = " dark" ] hr {
175
176
border-color : # 242526 ;
176
177
}
177
178
@@ -190,20 +191,20 @@ html[data-theme='dark'] hr {
190
191
background-repeat : no-repeat;
191
192
}
192
193
193
- html [data-theme = ' dark' ] .navbar__item .navbar__link [href *= "github" ]: before {
194
+ html [data-theme = " dark" ] .navbar__item .navbar__link [href *= "github" ]: before {
194
195
background-image : url ("/img/brand-github-inverted.svg" );
195
196
}
196
197
197
198
.navbar__item .navbar__link [href *= "npmjs" ]: before {
198
199
content : "" ;
199
200
width : 3rem ;
200
201
height : 1.2rem ;
201
- margin-top : .2rem ;
202
+ margin-top : 0 .2rem ;
202
203
background-image : url ("/img/brand-npm.svg" );
203
204
background-repeat : no-repeat;
204
205
}
205
206
206
- html [data-theme = ' dark' ] .navbar__item .navbar__link [href *= "npm" ]: before {
207
+ html [data-theme = " dark" ] .navbar__item .navbar__link [href *= "npm" ]: before {
207
208
background-image : url ("/img/brand-npm-inverted.svg" );
208
209
}
209
210
@@ -214,8 +215,8 @@ html[data-theme='dark'] .navbar__item.navbar__link[href*="npm"]:before {
214
215
}
215
216
}
216
217
217
- html [data-theme = ' dark' ] {
218
- --ifm-background-color : # 1F201C ;
218
+ html [data-theme = " dark" ] {
219
+ --ifm-background-color : # 1f201c ;
219
220
}
220
221
221
222
.home-main .feature-image-wrapper {
@@ -225,22 +226,21 @@ html[data-theme='dark'] {
225
226
border-radius : 10rem ;
226
227
overflow : visible;
227
228
background-color : var (--ifm-color-primary );
228
- box-shadow : 0 0 2rem rgba (0 , 0 , 0 , .1 );
229
- background-image : linear-gradient (0deg , # 1786FB 0% , # 45EABA 100% );
229
+ box-shadow : 0 0 2rem rgba (0 , 0 , 0 , 0 .1 );
230
+ background-image : linear-gradient (0deg , # 1786fb 0% , # 45eaba 100% );
230
231
}
231
232
232
233
.home-main .section-features .row .col : nth-child (2 ) .feature-image-wrapper {
233
- background-image : linear-gradient (0deg , # 605BD4 0% , # E95595 100% );
234
+ background-image : linear-gradient (0deg , # 605bd4 0% , # e95595 100% );
234
235
}
235
236
236
-
237
237
.home-main .section-features .row .col : nth-child (3 ) .feature-image-wrapper {
238
- background-image : linear-gradient (0deg , # FD5D21 0% , # FBB12E 100% );
238
+ background-image : linear-gradient (0deg , # fd5d21 0% , # fbb12e 100% );
239
239
}
240
240
241
241
.home-main .feature-image-wrapper img {
242
242
filter : saturate (1.2 ) contrast (2 );
243
- zoom : .80 ;
243
+ zoom : 0.8 ;
244
244
}
245
245
246
246
@media screen and (max-width : 996px ) {
@@ -255,14 +255,14 @@ html[data-theme='dark'] {
255
255
font-size : 1rem !important ;
256
256
color : # 000 ;
257
257
text-align : left;
258
- padding : .1rem 2rem ;
258
+ padding : 0 .1rem 2rem ;
259
259
text-decoration : underline;
260
260
font-weight : bold;
261
261
display : inline;
262
262
opacity : 1 ;
263
263
}
264
264
265
- html [data-theme = ' dark' ] .button .button--secondary .button--sm .menu__button {
265
+ html [data-theme = " dark" ] .button .button--secondary .button--sm .menu__button {
266
266
color : # fff ;
267
267
}
268
268
@@ -271,4 +271,4 @@ html[data-theme='dark'] {
271
271
opacity : 0.8 ;
272
272
display : block;
273
273
}
274
- }
274
+ }
0 commit comments