File tree Expand file tree Collapse file tree 2 files changed +21
-18
lines changed
Expand file tree Collapse file tree 2 files changed +21
-18
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ source 'https://rubygems.org'
33gem 'jekyll' , '4.3.4'
44
55group :jekyll_plugins do
6- gem 'nokogiri' , '= 1.16.7 '
6+ gem 'nokogiri' , '= 1.18.2 '
77 gem 'jekyll-paginate' , '= 1.1.0'
88 gem 'jemoji' , '= 0.13.0'
99 gem 'premonition' , '= 4.0.2'
1010 gem 'jekyll-last-modified-at' , '= 1.3.2'
11- gem 'jekyll-polyglot' , '= 1.8.1 '
11+ gem 'jekyll-polyglot' , '= 1.9.0 '
1212 gem 'jekyll_picture_tag' , '= 2.1.0'
1313 gem 'addressable' , '= 2.8.7'
1414 gem 'csv' , '= 3.3.2'
1515end
1616
17- gem 'webrick' , '= 1.8.2 '
17+ gem 'webrick' , '= 1.9.1 '
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ sitemap:
1818 --discreet-color : #b4b4b4 ;
1919 --shadow-color-flashy : 10 , 16 , 34 ;
2020 --shadow-color : #0a1022 ;
21- --link-color : #3e64ff ;
21+ --link-color : #38c341 ;
2222 --code-background : #747474 ;
2323 --code-color : #fbfbfb ;
2424}
@@ -391,11 +391,20 @@ a.toc-link {
391391 color : currentColor ;
392392 height : 100% ;
393393 text-decoration : none ;
394+ & :hover {
395+ color : var (--link-color );
396+ }
397+ }
398+ .is-active-li {
399+ > .toc-link {
400+ font-weight : 700 ;
401+ color : var (--link-color );
402+ }
394403}
395404.is-collapsible {
396405 max-height : 1000px ;
397406 overflow : hidden ;
398- transition : all 300 ms ease-in-out ;
407+ transition : all 0.2 s ease-in-out ;
399408}
400409.is-collapsed {
401410 max-height : 0 ;
@@ -404,26 +413,20 @@ a.toc-link {
404413 position : fixed !important ;
405414 top : 0 ;
406415}
407- .is-active-li {
408- color : var (--link-color );
409- }
410- .is-active-link {
411- font-weight : 700 ;
412- color : var (--link-color );
413- }
414416.toc-link ::before {
415- background-color : #eee ;
417+ background-color : var ( --body-color ) ;
416418 content : " " ;
417419 display : inline-block ;
418- height : inherit ;
420+ height : 100 % ;
419421 left : 0 ;
420- margin-top : -1 px ;
422+ margin-top : 0 ;
421423 position : absolute ;
422- width : 4px ;
424+ width : 3px ;
425+ transition : background-color 0.2s ease , width 0.2s ease ;
423426}
424- .is-active-link ::before {
427+ .is-active-li > .toc- link::before {
425428 background-color : var (--link-color );
426- }
429+ }
427430// Tocbot
428431
429432.share-links {
You can’t perform that action at this time.
0 commit comments