mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-06-19 15:20:31 +00:00
feat: add annimation on link + fix toc + modify sidebar button
This commit is contained in:
parent
301c7c5fb9
commit
c2d67b677c
5 changed files with 62 additions and 18 deletions
static/js
|
@ -228,6 +228,16 @@ jQuery(document).ready(function() {
|
|||
}
|
||||
});
|
||||
|
||||
$('#top-bar a:not(:has(img))').addClass('highlight');
|
||||
$('#body-inner a:not(:has(img))').addClass('highlight');
|
||||
|
||||
$('#toc-menu a').hover(function() {
|
||||
$('.progress').stop(true, false, true).fadeToggle(100);
|
||||
});
|
||||
|
||||
$('.progress').hover(function() {
|
||||
$('.progress').stop(true, false, true).fadeToggle(100);
|
||||
});
|
||||
});
|
||||
|
||||
jQuery(window).on('load', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue