File tree Expand file tree Collapse file tree 1 file changed +7
-25
lines changed Expand file tree Collapse file tree 1 file changed +7
-25
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ sup {
241
241
color : var (--ifm-color-gray-600 );
242
242
243
243
/* Make the text a bit smaller */
244
- font-size : 0.75 rem ;
244
+ font-size : 0.7 rem ;
245
245
246
246
/* Optional: Add some additional styling */
247
247
font-weight : 600 ;
@@ -253,11 +253,13 @@ sup {
253
253
background-color : transparent !important ;
254
254
}
255
255
256
- .theme-doc-sidebar-item-category-level-2 > .menu__list-item-collapsible > .menu__link ,
257
- .theme-doc-sidebar-item-link-level-2 > .menu__link {
258
- padding-left : 0 ;
259
- }
260
256
257
+ /* Ensure the color doesn't change on hover or when active */
258
+ .theme-doc-sidebar-item-category-level-1 > .menu__list-item-collapsible > .menu__link : hover ,
259
+ .theme-doc-sidebar-item-category-level-1 > .menu__list-item-collapsible > .menu__link--active {
260
+ color : var (--ifm-color-gray-600 );
261
+ background : none;
262
+ }
261
263
262
264
/* Remove hover effects for the parent element as well */
263
265
.theme-doc-sidebar-item-category-level-1 > .menu__list-item-collapsible : hover {
@@ -350,22 +352,6 @@ code {
350
352
}
351
353
}
352
354
353
- /* Adjust these values as needed */
354
- h1 {
355
- font-size : 2rem ;
356
- }
357
-
358
- h2 {
359
- font-size : 1.5rem ;
360
- }
361
-
362
- h3 {
363
- font-size : 1.25rem ;
364
- }
365
-
366
- h4 {
367
- font-size : 1rem ;
368
- }
369
355
370
356
/* Style the Table of Contents */
371
357
.table-of-contents {
388
374
.theme-doc-sidebar-container {
389
375
border-right : none !important ;
390
376
}
391
-
392
- img {
393
- box-shadow : 0 1px 2px rgba (0 , 0 , 0 , 0.1 );
394
- }
You can’t perform that action at this time.
0 commit comments