older version of ivory?
This commit is contained in:
parent
bb0094a7b7
commit
e7b36a6f16
15 changed files with 912 additions and 0 deletions
21
mkdocs_ivory/js/theme.js
Normal file
21
mkdocs_ivory/js/theme.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
function ready() {
|
||||
$('.nav .section').each(function() {
|
||||
$(this).click(function(e) {
|
||||
$(this).toggleClass("hide");
|
||||
$(this).parent().children(".subnav").toggleClass("hide");
|
||||
});
|
||||
});
|
||||
|
||||
$('.hamburger').click(function(e) {
|
||||
$('html').toggleClass("show");
|
||||
$('aside').toggleClass("show");
|
||||
$('.home-top .site-name').toggleClass("hide");
|
||||
});
|
||||
|
||||
$('.arrow').click(function(e) {
|
||||
$('aside').toggleClass("hide");
|
||||
$(this).toggleClass("hide");
|
||||
});
|
||||
}
|
||||
|
||||
$(ready);
|
Loading…
Add table
Add a link
Reference in a new issue