1
0
mirror of https://github.com/TheGreyDiamond/Enlight.git synced 2025-07-21 05:38:40 +02:00

new theme

This commit is contained in:
TheGreyDiamond
2020-09-18 15:38:02 +02:00
parent 70b6c8492b
commit 4f129d06de
48 changed files with 13112 additions and 727 deletions

26
docs/build/html/_static/theme_extras.js vendored Normal file
View File

@ -0,0 +1,26 @@
$(function() {
var
toc = $('#toc').show(),
items = $('#toc > ul').hide();
$('#toc h3')
.click(function() {
if (items.is(':visible')) {
items.animate({
height: 'hide',
opacity: 'hide'
}, 300, function() {
toc.removeClass('expandedtoc');
});
}
else {
items.animate({
height: 'show',
opacity: 'show'
}, 400);
toc.addClass('expandedtoc');
}
});
});